8000 feat: codegen for frontend-X modules communication by ilgooz · Pull Request #732 · ignite/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: codegen for frontend-X modules communication #732

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 31 commits into from
Mar 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
04d84c4
empty commit
ilgooz Feb 7, 2021
eff460e
feat: sdk msg discovery from app source (#734)
ilgooz Feb 9, 2021
71f63a9
feat: add pkg/protobufjs (#744)
ilgooz Feb 12, 2021
16b1c36
Merge branch 'develop' into feat/codegen-fx
ilgooz Feb 12, 2021
f7ebdd2
fix gitpod (#754)
ilgooz Feb 13, 2021
bf657b2
fix(gitpod): drop lfs (#755)
ilgooz Feb 13, 2021
2452ca9
feat(pkg/cosmosanalysis): add more detailed msg info (#752)
ilgooz Feb 17, 2021
2eddc71
feat(nodetime): add sta pkg and refactor (#757)
ilgooz Feb 17, 2021
eb4c7fc
feat: upgrade to stable Go 1.16 (#765)
ilgooz Feb 17, 2021
5e1b795
fix: integration tests (#766)
ilgooz Feb 17, 2021
35b235a
feat: enable js proto generation (#751)
ilgooz Feb 19, 2021
53233c5
Merge branch 'develop' into feat/codegen-fx
ilgooz Feb 19, 2021
428ba15
fix linter
ilgooz Feb 19, 2021
ece8b34
chore(integration): disable parallel run to not bottleneck the CI
ilgooz Feb 19, 2021
7e6d3f9
Merge branch 'fix/ci' into feat/codegen-fx
ilgooz Feb 19, 2021
ba8a4aa
Merge branch 'develop' into feat/codegen-fx
ilgooz Feb 20, 2021
2c46f46
feat(codegen): generate rest client for js (#771)
ilgooz Feb 22, 2021
e022c8c
Merge branch 'develop' into feat/codegen-fx
ilgooz Feb 22, 2021
ada8206
Merge branch 'develop' into feat/codegen-fx
ilgooz Feb 27, 2021
2c1445a
feat(codegen/ts-proto): generate app types with ts-proto (#795)
ilgooz Mar 1, 2021
ecf578b
feat(codegen): generated js client (the wrapper) (#772)
ilgooz Mar 1, 2021
1c14fce
feat(codegen): add code generation for 3rd party modules (#797)
ilgooz Mar 2, 2021
fafb446
chore: sync stargate scaffolding for new js gen path (#803)
ilgooz Mar 2, 2021
86ab58d
Merge branch 'develop' into feat/codegen-fx
ilgooz Mar 2, 2021
128aa4d
feat: Updated vue template for codegen (#807)
clockworkgr Mar 2, 2021
dfa853f
Merge branch 'develop' into feat/codegen-fx
ilgooz Mar 3, 2021
78af402
chrore(ui): update versions , add plain eslint config (#812)
clockworkgr Mar 3, 2021
c84c1c6
Merge branch 'develop' into feat/codegen-fx
ilgooz Mar 11, 2021
6192e91
Merge branch 'develop' into feat/codegen-fx
ilgooz Mar 12, 2021
513a162
feat: (codegen/vuex): add Vuex code generation & refactor (#824)
ilgooz Mar 16, 2021
1c2bea3
Merge branch 'develop' into feat/codegen-fx
ilgooz Mar 16, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.16
stable: false

- name: Set up Node
uses: actions/setup-node@v2-beta
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "1.16"
go-version: 1.16

- name: "Get Go 1.15"
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.16"
go-version: 1.16
- run: ./scripts/test-unit
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
build/
dist
nodetime-*
node_modules
.DS_Store
apps/
Expand Down
2 changes: 2 additions & 0 deletions docs/1 Introduction/2 Install.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ brew install tendermint/tap/starport
```

## Build from source
Starport uses [Git LFS](https://git-lfs.github.com/). Please make sure that it is installed before cloning Starport.
If you have installed Git LFS after cloning Starport, checkout to your preferred branch to trigger a pull for large files or run `git lfs pull`.

```
git clone https://github.com/tendermint/starport --depth=1
Expand Down
5 changes: 4 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ require (
github.com/cosmos/relayer v1.0.0-rc1.0.20210205103857-f4b56856caeb
github.com/dariubs/percent v0.0.0-20200128140941-b7801cf1c7e2
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect
github.com/emicklei/proto v1.9.0
github.com/fatih/color v1.10.0
github.com/gertd/go-pluralize v0.1.7
github.com/go-bindata/go-bindata v3.1.2+incompatible
Expand All @@ -22,12 +23,14 @@ require (
github.com/gobuffalo/plush v3.8.3+incompatible
github.com/gobuffalo/plushgen v0.1.2
github.com/goccy/go-yaml v1.8.0
github.com/gookit/color v1.3.6
github.com/gookit/color v1.2.7
github.com/gorilla/mux v1.8.0
github.com/grpc-ecosystem/go-grpc-middleware v1.2.2
github.com/iancoleman/strcase v0.1.3
github.com/imdario/mergo v0.3.11
github.com/improbable-eng/grpc-web v0.13.0
github.com/jpillora/chisel v1.7.3
github.com/kr/pretty v0.1.0
github.com/magefile/mage v1.11.0 // indirect
github.com/manifoldco/promptui v0.8.0
github.com/mattn/go-zglob v0.0.3
Expand Down
7 changes: 5 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5m
github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU=
github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I=
github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M=
github.com/emicklei/proto v1.9.0 h1:l0QiNT6Qs7Yj0Mb4X6dnWBQer4ebei2BFcgQLbGqUDc=
github.com/emicklei/proto v1.9.0/go.mod h1:rn1FgRS/FANiZdD2djyH7TMA9jdRDcYQ9IEN9yvjX0A=
github.com/emirpasic/gods v1.12.0 h1:QAUIPSaCu4G+POclxeqb3F+WPpdKqFGlw36+yOzGlrg=
github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o=
github.com/enigmampc/btcutil v1.0.3-0.20200723161021-e2fb6adb2a25 h1:2vLKys4RBU4pn2T/hjXMbvwTr1Cvy5THHrQkbeY9HRk=
Expand Down Expand Up @@ -352,9 +354,8 @@ github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
github.com/gookit/color v1.2.7 h1:4qePMNWZhrmbfYJDix+J4V2l0iVW+6jQGjicELlN14E=
github.com/gookit/color v1.2.7/go.mod h1:AhIE+pS6D4Ql0SQWbBeXPHw7gY0/sjHoA4s/n1KB7xg=
github.com/gookit/color v1.3.6 h1:Rgbazd4JO5AgSTVGS3o0nvaSdwdrS8bzvIXwtK6OiMk=
github.com/gookit/color v1.3.6/go.mod h1:R3ogXq2B9rTbXoSHJ1HyUVAZ3poOJHpd9nQmyGZsfvQ=
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8=
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg=
Expand Down Expand Up @@ -422,6 +423,8 @@ github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174 h1:WlZsjVhE8Af9IcZDG
github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174/go.mod h1:DqJ97dSdRW1W22yXSB90986pcOyQ7r45iio1KN2ez1A=
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg=
github.com/iancoleman/strcase v0.1.3 h1:dJBk1m2/qjL1twPLf68JND55vvivMupZ4wIzE8CTdBw=
github.com/iancoleman/strcase v0.1.3/go.mod h1:SK73tn/9oHe+/Y0h39VT4UCxmurVJkR5NA7kMEAOgSE=
github.com/ilgooz/analytics-go v3.1.1-0.20200723195510-acde4190c655+incompatible/go.mod h1:36xDpOWfOEZLx5a4Qra2Ntu7by75m/qwZZx9/YrPrtY=
github.com/imdario/mergo v0.3.9/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
github.com/imdario/mergo v0.3.11 h1:3tnifQM4i+fbajXKBHXWEH+KvNHqojZ778UH75j3bGA=
Expand Down
21 changes: 21 additions & 0 deletions scripts/data/gen-nodetime/nodetime
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/env node

var mode = process.argv[2];
process.argv.splice(2, 1);

switch (mode) {
case "ts-proto":
require("./node_modules/ts-proto/protoc-gen-ts_proto");
break;

case "tsc":
require("./node_modules/typescript/bin/tsc");
break;

case "sta":
require("./node_modules/swagger-typescript-api/index");
break;

default:
console.error("unknown cli command");
}
Loading
0