Skip to content

Commit

Permalink
chore(rc-grpc-client): package.json generate script greedy pathing
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Mar 6, 2024
1 parent 0f89165 commit 0361aad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rc-grpc-clients/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"build:compile": "tsc -p tsconfig.lib.json",
"prepublishOnly": "npm run build",
"generate": "npm-run-all generate:client generate:server",
"generate:client": "protoc --experimental_allow_proto3_optional --ts_proto_opt=stringEnums=true,outputClientImpl=false,env=node,useOptionals=all,initializeFieldsAsUndefined=false,outputJsonMethods=true,outputSchema=true,useExactTypes=false,outputServices=nice-grpc,outputServices=generic-definitions --proto_path=../protos --plugin=../../node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./src/generated ../protos/io/restorecommerce/*.proto ../protos/grpc/health/v1/*.proto ../protos/grpc/reflection/v1alpha/*.proto ../protos/test/*.proto ../protos/echo/*.proto ../protos/google/**/*.proto",
"generate:server": "protoc --experimental_allow_proto3_optional --ts_proto_opt=stringEnums=true,outputClientImpl=false,env=node,useOptionals=all,initializeFieldsAsUndefined=false,outputJsonMethods=true,outputSchema=true,useExactTypes=false,outputServices=nice-grpc,outputServices=generic-definitions,snakeToCamel=false --proto_path=../protos --plugin=../../node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./src/generated-server ../protos/io/restorecommerce/*.proto ../protos/grpc/health/v1/*.proto ../protos/grpc/reflection/v1alpha/*.proto ../protos/test/*.proto ../protos/echo/*.proto ../protos/google/**/*.proto",
"generate:client": "protoc --experimental_allow_proto3_optional --ts_proto_opt=stringEnums=true,outputClientImpl=false,env=node,useOptionals=all,initializeFieldsAsUndefined=false,outputJsonMethods=true,outputSchema=true,useExactTypes=false,outputServices=nice-grpc,outputServices=generic-definitions --proto_path=../protos --plugin=../../node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./src/generated ../protos/**/*.proto ../protos/**/**/*.proto ../protos/**/**/**/*.proto",
"generate:server": "protoc --experimental_allow_proto3_optional --ts_proto_opt=stringEnums=true,outputClientImpl=false,env=node,useOptionals=all,initializeFieldsAsUndefined=false,outputJsonMethods=true,outputSchema=true,useExactTypes=false,outputServices=nice-grpc,outputServices=generic-definitions,snakeToCamel=false --proto_path=../protos --plugin=../../node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./src/generated-server ../protos/**/*.proto ../protos/**/**/*.proto ../protos/**/**/**/*.proto",
"test": "jest",
"pretest": "run-s prebuild"
},
Expand Down

0 comments on commit 0361aad

Please sign in to comment.