-
Notifications
You must be signed in to change notification settings - Fork 0
/
buf.gen.yaml
32 lines (30 loc) · 742 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/21hack02win/nascalay-v2/pkg/bufgen
plugins:
# server
- name: go
path:
- go
- run
- google.golang.org/protobuf/cmd/protoc-gen-go@latest
out: pkg/bufgen
opt: paths=source_relative
- name: connect-go
path:
- go
- run
- github.com/bufbuild/connect-go/cmd/protoc-gen-connect-go@latest
out: pkg/bufgen
opt: paths=source_relative
# client/web
- name: es
path: client/web/node_modules/.bin/protoc-gen-es
out: client/web/src/generated
opt: target=ts
- name: connect-es
path: client/web/node_modules/.bin/protoc-gen-connect-es
out: client/web/src/generated
opt: target=ts