File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2222 - name : Generate code
2323 run : |
2424 npm run proto-clone
25- npm run build
25+ npm run proto-all
2626
2727 - name : Create Pull Request
2828 uses : peter-evans/create-pull-request@v4
Original file line number Diff line number Diff line change 88 "proto-clone" : " git clone https://github.com/cloudquery/plugin-pb" ,
99 "proto-prepare" : " cd plugin-pb && git pull && cd .. && rm -rf ./protos && mkdir -p ./protos/plugin/v3 && mkdir -p ./protos/discovery/v1 && cp -r ./plugin-pb/plugin/v3/* ./protos/plugin/v3 && cp -r ./plugin-pb/discovery/v1/* ./protos/discovery/v1" ,
1010 "proto-gen" : " grpc_tools_node_protoc --ts_out=grpc_ts:. ./protos/plugin/v3/*.proto ./protos/discovery/v1/*.proto" ,
11+ "proto-all" : " npm run proto-prepare && npm run proto-gen" ,
1112 "build" : " rm -rf dist && tsc" ,
12- "all" : " npm run proto-prepare && npm run proto-gen && npm run build" ,
13+ "all" : " npm run proto-all && npm run build" ,
1314 "test" : " gulp test"
1415 },
1516 "description" : " This is a low-level auto-generated gRPC client and server for CloudQuery plugins" ,
3839 "@grpc/grpc-js" : " ^1.9.0" ,
3940 "@tsconfig/node16" : " ^16.1.0" ,
4041 "@types/google-protobuf" : " ^3.15.6" ,
41- "grpc_tools_node_protoc_ts" : " ^5.3.3" ,
4242 "grpc-tools" : " ^1.12.4" ,
4343 "protoc-gen-ts" : " ^0.8.6" ,
4444 "typescript" : " ^4.9.5"
You can’t perform that action at this time.
0 commit comments