-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuf.gen.yaml
31 lines (27 loc) · 913 Bytes
/
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
version: v1
managed:
enabled: true
plugins:
# Remote plugins (BSR limit is 7/10) https://buf.build/plugins
# Python official plugin https://github.com/grpc/grpc
- plugin: buf.build/grpc/python
out: src/build/proto/python
# dependencies
- plugin: buf.build/protocolbuffers/python
out: src/build/proto/python
# CSharp
- plugin: buf.build/grpc/csharp
out: src/build/proto/csharp
# dependencies
- plugin: buf.build/protocolbuffers/csharp
out: src/build/proto/csharp
# JS official plugin for Node client and server https://github.com/grpc/grpc-node
- plugin: buf.build/grpc/node
out: src/build/proto/js
# dependencies
- plugin: buf.build/protocolbuffers/js
out: src/build/proto/js
opt: import_style=commonjs
# TS idiomatic protobuf generator https://github.com/stephenh/ts-proto
- plugin: buf.build/community/stephenh-ts-proto
out: src/build/proto/ts