Skip to content

Commit 51dffc3

Browse files
committed
chore: Fix build, add publish
1 parent 194794d commit 51dffc3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/regen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
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",
@@ -38,7 +39,6 @@
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"

0 commit comments

Comments
 (0)