Skip to content

Commit c999624

Browse files
authored
Merge pull request #326 from Permify/feature/update-protobuf-plugins
chore: update dependencies and configuration in buf.gen.yaml and pack…
2 parents a6487b4 + e813b10 commit c999624

3 files changed

Lines changed: 3298 additions & 7 deletions

File tree

buf.gen.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@ managed:
33
enabled: true
44
inputs:
55
- module: buf.build/permifyco/permify
6+
# Permify proto version - update this when upgrading
67
plugins:
7-
- remote: buf.build/community/timostamm-protobuf-ts:v2.9.1
8+
- remote: buf.build/community/stephenh-ts-proto:v2.6.1
89
out: src/grpc/generated
910
opt:
10-
- long_type_string
11-
- client_grpc1
12-
- generate_dependencies
11+
- oneof=unions
12+
- forceLong=long
13+
- esModuleInterop=true
14+
- env=node
15+
- outputServices=nice-grpc
16+
- outputServices=generic-definitions
17+
- useExactTypes=false

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,23 @@
2525
"author": "permify",
2626
"license": "Apache-2.0",
2727
"dependencies": {
28-
"@bufbuild/protobuf": "^2.1.0",
28+
"@grpc/grpc-js": "^1.9.0",
2929
"nice-grpc": "^2.1.9",
30-
"ts-proto": "^2.8.3"
30+
"nice-grpc-common": "^2.0.0",
31+
"long": "^5.2.3"
3132
},
3233
"devDependencies": {
3334
"@types/jest": "^30.0.0",
35+
"@types/node": "^20.0.0",
3436
"@typescript-eslint/eslint-plugin": "^8.25.0",
3537
"@typescript-eslint/parser": "^8.25.0",
3638
"eslint": "^9.21.0",
3739
"globals": "^16.0.0",
3840
"jasmine": "^5.2.0",
3941
"jest": "^30.0.0",
40-
"ts-jest": "^29.2.4"
42+
"ts-jest": "^29.2.4",
43+
"ts-node": "^10.9.2",
44+
"ts-proto": "^2.8.3",
45+
"typescript": "^5.0.0"
4146
}
4247
}

0 commit comments

Comments
 (0)