forked from redhoyasa/grpc-reflection-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change updates the generated reflection files to use @grpc/grpc-js. This feature is enabled by the addition of grpc-tools and [email protected]. In addition to the generated code, this change updates the client module to use @grpc/grpc-js in place of the grpc package.
- Loading branch information
Showing
8 changed files
with
8,281 additions
and
674 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,10 +6,10 @@ | |
"author": "[email protected]", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@grpc/grpc-js": "^1.1.7", | ||
"@types/google-protobuf": "^3.7.2", | ||
"@types/lodash.set": "^4.3.6", | ||
"google-protobuf": "^3.12.2", | ||
"grpc": "^1.24.2", | ||
"lodash.set": "^4.3.2", | ||
"protobufjs": "^6.9.0" | ||
}, | ||
|
@@ -26,12 +26,12 @@ | |
"eslint-plugin-jest": "^23.11.0", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prettier": "^3.1.3", | ||
"grpc_tools_node_protoc_ts": "^4.0.0", | ||
"grpc-tools": "^1.9.1", | ||
"grpc_tools_node_protoc_ts": "^5.0.0", | ||
"gts": "^2.0.2", | ||
"mocha": "^7.2.0", | ||
"nyc": "^15.1.0", | ||
"prettier": "^2.0.5", | ||
"protoc-gen-grpc": "^1.4.0", | ||
"sinon": "^9.0.2", | ||
"ts-node": "^8.10.2", | ||
"typescript": "^3.9.5" | ||
|
@@ -46,9 +46,7 @@ | |
"prepare": "yarn run compile", | ||
"pretest": "yarn run compile && yarn run fix", | ||
"posttest": "yarn run check", | ||
"protoc-pb": "protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --js_out=import_style=commonjs,binary:./src --ts_out=./src -I ./static/grpc/reflection/v1alpha reflection.proto", | ||
"protoc-grpc": "protoc-gen-grpc --js_out=import_style=commonjs,binary:./src --grpc_out=./src -I ./static/grpc/reflection/v1alpha reflection.proto", | ||
"protoc": "yarn run protoc-pb && yarn run protoc-grpc", | ||
"protoc": "grpc_tools_node_protoc --js_out=import_style=commonjs,binary:./src --grpc_out=grpc_js:./src --ts_out=grpc_js:./src --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts -I ./static/grpc/reflection/v1alpha reflection.proto", | ||
"build": "yarn run compile && yarn run fix && yarn run check" | ||
}, | ||
"files": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.