-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuf.gen.yaml
50 lines (46 loc) · 1.21 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: v1
managed:
enabled: true
go_package_prefix:
default: github.com/xmlking/grpc-starter-kit/gen/go
except:
- buf.build/googleapis/googleapis
- buf.build/srikrsna/protoc-gen-gotag
- buf.build/go-sdk/protoc-gen-validate
java_multiple_files: true
# java_package_prefix: com
plugins:
### go ###
# FIXME: https://github.com/srikrsna/protoc-gen-gotag/issues/26
# - name: gotag
# out: gen/go
# opt:
# - paths=source_relative
- remote: buf.build/protocolbuffers/plugins/go:v1.28.0-1
out: gen/go
opt:
- paths=source_relative
- remote: buf.build/grpc/plugins/go:v1.2.0-1
out: gen/go
opt:
- paths=source_relative
- require_unimplemented_servers=false
- remote: buf.build/go-sdk/plugins/protoc-gen-validate:v0.6.7-1
out: gen/go
opt:
- lang=go
- paths=source_relative
### typescript ###
- remote: buf.build/timostamm/plugins/protobuf-ts:v2.4.0-1
out: gen/ts
opt:
- long_type_string
- generate_dependencies
- enable_angular_annotations
# - add_pb_suffix
# - ts_nocheck
# - output_javascript
# strategy: all
### node ###
- remote: buf.build/grpc/plugins/node:v1.11.2-1
out: gen/node