Skip to content

Commit 258a000

Browse files
committed
Move @grpc/grpc-js to peerDependencies
1 parent c10d367 commit 258a000

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ to each package. Simple direct download proto package from example microservice
77

88
## Install
99
```sh
10-
npm install grpc-js-reflection-client
10+
npm install grpc-js-reflection-client @grpc/grpc-js
1111
```
1212

1313
or
1414
```
15-
yarn add grpc-js-reflection-client
15+
yarn add grpc-js-reflection-client @grpc/grpc-js
1616
```
1717

1818
## How to use

package-lock.json

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "grpc-js-reflection-client",
3-
"version": "1.2.24",
3+
"version": "1.3.0-beta",
44
"description": "Package use Grpc reflection api to download gprc proto descriptor. Now you don't have to add proto file to each package. Simple direct download proto package from example microservice without any files.",
55
"author": "gawsoft.com",
66
"main": "dist/index.js",
@@ -26,8 +26,10 @@
2626
"type": "git",
2727
"url": "https://github.com/gawsoftpl/grpc-js-reflection-api-client.git"
2828
},
29+
"peerDependencies": {
30+
"@grpc/grpc-js": "^1.12.6"
31+
},
2932
"dependencies": {
30-
"@grpc/grpc-js": "^1.12.6",
3133
"@types/lodash": "^4.17.15",
3234
"lodash": "^4.17.21",
3335
"protobufjs": "^7.4.0"

0 commit comments

Comments
 (0)