-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathbuf.gen.yaml
More file actions
32 lines (27 loc) · 1.06 KB
/
buf.gen.yaml
File metadata and controls
32 lines (27 loc) · 1.06 KB
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
28
29
30
31
32
version: v2
clean: true
plugins:
# Remote plugin. You can switch to a local one by using "go".
- remote: buf.build/protocolbuffers/go
out: api/gen/proto/go
opt: paths=source_relative
# Remote plugin. You can switch to a local one by using "go".
- remote: buf.build/connectrpc/go
out: api/gen/proto/go
opt: paths=source_relative
# Remote plugin. You can switch to a local one by using "go-grpc".
- remote: buf.build/grpc/go
out: api/gen/proto/go
opt: paths=source_relative
# Remote plugin. You can switch to a local one by using "timostamm-protobuf-ts".
- remote: buf.build/community/timostamm-protobuf-ts:v2.11.1
out: api/gen/proto/ts
opt: output_javascript,optimize_code_size,long_type_string,add_pb_suffix,ts_nocheck,eslint_disable
# https://buf.build/bufbuild/es?version=v2.9.0
- remote: buf.build/bufbuild/es:v2.9.0
out: api/gen/proto/es
opt: target=js+dts,import_extension=none,json_types=true
include_imports: true
# Local plugin to generate GQL schema
- local: protoc-gen-gql
out: api/gen/proto/gql