Skip to content

Commit

Permalink
refactor: fumarole-generate command
Browse files Browse the repository at this point in the history
Signed-off-by: Wilfred Almeida <[email protected]>
  • Loading branch information
WilfredAlmeida committed Dec 18, 2024
1 parent cdc3218 commit 862a39e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions yellowstone-grpc-client-nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "pnpm run grpc-generate && tsc -p .",
"build": "npm run grpc-generate && npm run fumarole-generate && tsc -p .",
"fmt": "prettier -w .",
"grpc-generate": "mkdir -p src/grpc && protoc -I../yellowstone-grpc-proto/proto --plugin=node_modules/.bin/protoc-gen-ts_proto --ts_proto_opt=forceLong=string --ts_proto_opt=outputServices=grpc-js --experimental_allow_proto3_optional --ts_proto_out=src/grpc fumarole.proto"
"grpc-generate": "mkdir -p src/grpc && protoc -I../yellowstone-grpc-proto/proto --plugin=node_modules/.bin/protoc-gen-ts_proto --ts_proto_opt=forceLong=string --ts_proto_opt=outputServices=grpc-js --experimental_allow_proto3_optional --ts_proto_out=src/grpc geyser.proto",
"fumarole-generate": "mkdir -p src/grpc && protoc -I../yellowstone-grpc-proto/proto --plugin=node_modules/.bin/protoc-gen-ts_proto --ts_proto_opt=forceLong=string --ts_proto_opt=outputServices=grpc-js --experimental_allow_proto3_optional --ts_proto_out=src/grpc fumarole.proto"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -42,4 +43,4 @@
"files": [
"dist"
]
}
}

0 comments on commit 862a39e

Please sign in to comment.