-
-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathbuf.gen.yaml
More file actions
28 lines (24 loc) · 732 Bytes
/
buf.gen.yaml
File metadata and controls
28 lines (24 loc) · 732 Bytes
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
version: v2
clean: true
managed:
enabled: true
disable:
- file_option: go_package_prefix
module: buf.build/bufbuild/protovalidate
# Ensure generated Go import paths live under go/genproto within this example.
override:
- file_option: go_package_prefix
value: github.com/aspect-build/bazel-examples/go/genproto
plugins:
- local: protoc-gen-go
out: protobuf/genproto
opt: paths=source_relative
# TypeScript - Buf's protoc-gen-es (installed via npm in typescript/)
- local: nodejs_apps/buf_printer/node_modules/.bin/protoc-gen-es
out: nodejs_apps/buf_printer/genproto
opt:
- target=js+dts
- import_extension=js
include_imports: true
inputs:
- directory: protobuf