forked from stateful/runme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buf.gen.yaml
27 lines (23 loc) · 1.04 KB
/
buf.gen.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
version: v1
plugins:
# Remote plugin. You can switch to a local one by using "go".
- plugin: buf.build/protocolbuffers/go
out: internal/gen/proto/go
opt: paths=source_relative
# Remote plugin. You can switch to a local one by using "go-grpc".
- plugin: buf.build/grpc/go
out: internal/gen/proto/go
opt: paths=source_relative
# Remote plugin. You can switch to a local one by using "connect-go".
- plugin: buf.build/bufbuild/connect-go
out: internal/gen/proto/go
opt: paths=source_relative
# Remote plugin. You can switch to a local one by using "protoc-gen-es" which
# need to be in the $PATH or you can set path directly using "path: ./node_modules/.bin/protoc-gen-es".
- plugin: buf.build/bufbuild/es
out: internal/gen/proto/ts
opt: target=ts
# Remote plugin. You can switch to a local one by using "timostamm-protobuf-ts".
- plugin: buf.build/community/timostamm-protobuf-ts
out: internal/gen/proto/ts
opt: output_javascript,optimize_code_size,long_type_string,add_pb_suffix,ts_nocheck,eslint_disable