Skip to content

Commit

Permalink
Move protobufjs from dependencies to devDependencies
Browse files Browse the repository at this point in the history
And in ts-proto-descriptors, replace long and protobufjs with @bufbuild/protobuf
  • Loading branch information
timostamm committed Jun 14, 2024
1 parent 3ae8889 commit 7ef0c73
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"nice-grpc": "^2.1.4",
"object-hash": "^3.0.0",
"prettier": "^2.8.8",
"protobufjs": "^7.2.4",
"protobufjs-cli": "^1.1.1",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.1",
Expand All @@ -67,7 +68,6 @@
"dependencies": {
"@bufbuild/protobuf": "2.0.0-alpha.4",
"case-anything": "^2.1.13",
"protobufjs": "^7.2.4",
"ts-poet": "^6.7.0",
"ts-proto-descriptors": "1.16.0"
},
Expand Down
6 changes: 3 additions & 3 deletions protos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
"dist/"
],
"dependencies": {
"long": "^5.2.3",
"protobufjs": "^7.2.4"
"@bufbuild/protobuf": "2.0.0-alpha.4"
},
"devDependencies": {
"ts-proto": "^1.175.1",
"typescript": "^5.1.3"
}
},
"packageManager": "[email protected]"
}
22 changes: 19 additions & 3 deletions protos/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ __metadata:
version: 6
cacheKey: 8

"@bufbuild/protobuf@npm:2.0.0-alpha.4":
version: 2.0.0-alpha.4
resolution: "@bufbuild/protobuf@npm:2.0.0-alpha.4"
checksum: 03c5c46e0c76994ed7dcd2bde82bcb33a162db4da69115622fef4ca60adecde12076ac87a4813f9a6bc3a32ad431be831bd00422d8e85377a94f5ca0e1cbb66e
languageName: node
linkType: hard

"@protobufjs/aspromise@npm:^1.1.1, @protobufjs/aspromise@npm:^1.1.2":
version: 1.1.2
resolution: "@protobufjs/aspromise@npm:1.1.2"
Expand Down Expand Up @@ -146,12 +153,21 @@ __metadata:
languageName: node
linkType: hard

"[email protected], ts-proto-descriptors@workspace:.":
version: 0.0.0-use.local
resolution: "ts-proto-descriptors@workspace:."
"ts-proto-descriptors@npm:1.15.0":
version: 1.15.0
resolution: "ts-proto-descriptors@npm:1.15.0"
dependencies:
long: ^5.2.3
protobufjs: ^7.2.4
checksum: 50e77d7c89dc52e9e74ee859e3232cece527d59ddcce515852059df70b4d80b49e73eb65166ec87f6f9238cadc2c77eb05695724f82aa4501bc2378fb2457643
languageName: node
linkType: hard

"ts-proto-descriptors@workspace:.":
version: 0.0.0-use.local
resolution: "ts-proto-descriptors@workspace:."
dependencies:
"@bufbuild/protobuf": 2.0.0-alpha.4
ts-proto: ^1.175.1
typescript: ^5.1.3
languageName: unknown
Expand Down

0 comments on commit 7ef0c73

Please sign in to comment.