-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathbuf.gen.yaml
More file actions
41 lines (36 loc) · 847 Bytes
/
buf.gen.yaml
File metadata and controls
41 lines (36 loc) · 847 Bytes
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
33
34
35
36
37
38
39
40
version: v2
plugins:
# https://github.com/bufbuild/plugins/tree/main/plugins
- local: protoc-gen-go
out: wogo/proto
opt: paths=source_relative
- local: protoc-gen-connect-go
out: wogo/proto
opt:
- paths=source_relative
- simple
- local: protoc-gen-connect-openapi
out: wogo/proto
strategy: all
opt:
- path=openapi.yaml
- format=yaml
- local: ./node_modules/.bin/protoc-gen-es
out: packages/common/src/protos
opt: target=ts
- local: ./node_modules/.bin/protoc-gen-connect-es
out: packages/common/src/protos
opt: target=ts
#- local: ./node_modules/.bin/protoc-gen-connect-query
# out: packages/common/src/protos
# opt: target=ts
clean: true
managed:
enabled: true
disable:
- file_option: go_package
module: buf.build/googleapis/googleapis
inputs:
- directory: proto
#exclude_paths:
#- proto/google