Skip to content

Commit

Permalink
Use remotes for typescript generation
Browse files Browse the repository at this point in the history
  • Loading branch information
tstirrat15 committed Nov 4, 2024
1 parent 40158eb commit 6a1f9b0
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions buf.gen.yaml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#!/usr/bin/env -S buf generate buf.build/authzed/api:v1.38.0 --template
# To regenerate:
# npm install -g grpc-tools
# ./buf.gen.yaml
version: "v1beta1"
---
version: "v2"
plugins:
- name: "ts"
- remote: buf.build/community/timostamm-protobuf-ts:v2.9.4
out: "src/authzedapi"
opt: generate_dependencies,long_type_string,client_grpc1
path: ./node_modules/@protobuf-ts/plugin/bin/protoc-gen-ts
inputs:
- module: "buf.build/authzed/api:v1.38.0"

0 comments on commit 6a1f9b0

Please sign in to comment.