Skip to content

Commit 6a1f9b0

Browse files
committed
Use remotes for typescript generation
1 parent 40158eb commit 6a1f9b0

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

buf.gen.yaml

100755100644
Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
#!/usr/bin/env -S buf generate buf.build/authzed/api:v1.38.0 --template
2-
# To regenerate:
3-
# npm install -g grpc-tools
4-
# ./buf.gen.yaml
5-
version: "v1beta1"
1+
---
2+
version: "v2"
63
plugins:
7-
- name: "ts"
4+
- remote: buf.build/community/timostamm-protobuf-ts:v2.9.4
85
out: "src/authzedapi"
96
opt: generate_dependencies,long_type_string,client_grpc1
10-
path: ./node_modules/@protobuf-ts/plugin/bin/protoc-gen-ts
7+
inputs:
8+
- module: "buf.build/authzed/api:v1.38.0"

0 commit comments

Comments
 (0)