This project is mirrored from https://gitee.com/linuxsuren/octant.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 10 Aug, 2020 13 commits
  2. 08 Aug, 2020 6 commits
  3. 07 Aug, 2020 2 commits
    • Bryan Liles's avatar
      Merge pull request #1213 from vmware-tanzu/component-annotation · 40dcc3d0
      Bryan Liles authored
      Create prototype for generating ts from components
      40dcc3d0
    • bryanl's avatar
      Create prototype for generating ts from components · 72ed1be7
      bryanl authored
      
      High level:
      * Annotate component with `octant:component` tag
      * Run generator
      
      This command converts components to typescript.
      
      - prettier: `npm i -g prettier`
      
      ```sh
      $ go run ./cmd/ts-component-gen/main.go -dest <directory>
      ```
      
      - Figure out what components exist. This process relies on convention,
      so components are labeled with an `+octant:component` tag in a doc
      comment.
      - Extract type information by building up a new binary that contains
      reflect type information.
      - Convert types to typescript
      - Write typescript components to the supplied destination
      Signed-off-by: default avatarbryanl <bryanliles@gmail.com>
      72ed1be7
  4. 06 Aug, 2020 6 commits
  5. 05 Aug, 2020 7 commits
  6. 04 Aug, 2020 6 commits