teleport/buf-js.gen.yaml
Edoardo Spadolini 2966be6a57
Tweak protogen to not change protos from cloud (#24688)
* Tweak protogen to not change protos from cloud

* Use strategy: all whenever possible
2023-04-18 14:22:12 +00:00

22 lines
536 B
YAML

version: v1
plugins:
# https://github.com/protocolbuffers/protobuf/tree/v3.20.1/js
- name: js
strategy: all
out: gen/proto/js
opt:
- import_style=commonjs,binary
# https://github.com/grpc/grpc-node/tree/grpc-tools%401.12.4/packages/grpc-tools/
- name: grpc
strategy: all
out: gen/proto/js
opt: grpc_js
path: grpc_tools_node_protoc_plugin
# https://github.com/agreatfool/grpc_tools_node_protoc_ts/tree/v5.0.1
- name: ts
strategy: all
out: gen/proto/js
opt: "service=grpc-node"