-
Notifications
You must be signed in to change notification settings - Fork 125
/
buf.gen.yaml
51 lines (47 loc) · 1.5 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
51
version: v2
managed:
enabled: true
disable:
- file_option: go_package
module: buf.build/bufbuild/protovalidate
- file_option: go_package
module: buf.build/googleapis/googleapis
override:
- file_option: go_package_prefix
value: github.com/nucleuscloud/neosync/backend/gen/go/protos
plugins:
- remote: buf.build/protocolbuffers/go:v1.35.1
out: backend/gen/go/protos
opt: paths=source_relative
- remote: buf.build/connectrpc/go:v1.17.0
out: backend/gen/go/protos
opt: paths=source_relative
- remote: buf.build/bufbuild/es:v1.10.0
out: frontend/packages/sdk/src/client
opt:
- target=ts
- import_extension=.js
- remote: buf.build/connectrpc/es:v1.5.0
out: frontend/packages/sdk/src/client
opt:
- target=ts
- import_extension=.js
- remote: buf.build/connectrpc/query-es:v1.4.2
out: frontend/packages/sdk/src/client
opt:
- target=ts
- import_extension=.js
- remote: buf.build/community/pseudomuto-doc:v1.5.1
out: docs/protos
opt: json,proto_docs.json
- local: protoc-gen-connect-openapi
out: docs/openapi
opt:
- content-types=json,base=neosync.openapi.template.yaml
- remote: buf.build/protocolbuffers/python:v28.2 # generates messages and enums
out: python/src/neosync
include_imports: true
- remote: buf.build/protocolbuffers/pyi:v28.2 # generates type hints
out: python/src/neosync
- remote: buf.build/grpc/python:v1.67.0 # generates grpc client
out: python/src/neosync