mirror of
https://github.com/gravitational/teleport
synced 2024-10-22 02:03:24 +00:00
2966be6a57
* Tweak protogen to not change protos from cloud * Use strategy: all whenever possible
22 lines
536 B
YAML
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"
|