-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuf.gen.yaml
More file actions
44 lines (44 loc) · 1.03 KB
/
buf.gen.yaml
File metadata and controls
44 lines (44 loc) · 1.03 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
33
34
35
36
37
38
39
40
41
42
43
44
version: v2
clean: false
plugins:
# Golang
- remote: buf.build/protocolbuffers/go:v1.36.10
out: ./gen/go/proto
opt:
- paths=source_relative
- default_api_level=API_HYBRID
include_wkt: false
exclude_types:
- buf.validate
- remote: buf.build/grpc/go:v1.5.1
out: ./gen/go/proto
opt:
- paths=source_relative
include_wkt: false
exclude_types:
- buf.validate
- local: ["go", "run", "./internal/cmd/protoc-gen-backend"]
out: ./gen/go/proto
opt:
- paths=source_relative
strategy: all
# TypeScript
- local: ./node_modules/@protobuf-ts/plugin/bin/protoc-gen-ts
out: ./gen/ts
opt:
- force_server_none
- long_type_number
- optimize_speed
- ts_nocheck
strategy: all
- local: ["go", "run", "./internal/cmd/protoc-gen-frontend"]
out: ./gen/ts
opt:
- paths=source_relative
strategy: all
# Docs
- local: protoc-gen-doc
out: ./gen
opt:
- ./internal/protoc-gen-doc.md.tmpl,grpc-api.md
strategy: all