forked from redpanda-data/console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuf.gen.yaml
32 lines (29 loc) · 786 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
32
version: v1
managed:
enabled: true
go_package_prefix:
default: github.com/redpanda-data/console/backend/pkg/protogen
except:
- buf.build/googleapis/googleapis
- buf.build/bufbuild/protovalidate
plugins:
# Go Plugins
- plugin: buf.build/protocolbuffers/go:v1.35.2
opt: paths=source_relative
out: backend/pkg/protogen
- plugin: buf.build/connectrpc/go:v1.17.0
opt:
- paths=source_relative
- require_unimplemented_servers=false
out: backend/pkg/protogen
# Typescript plugins
- plugin: buf.build/bufbuild/es:v1.6.0
opt:
- target=ts
- import_extension=
out: frontend/src/protogen
- plugin: buf.build/connectrpc/es:v1.2.0
opt:
- target=ts
- import_extension=
out: frontend/src/protogen