mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-11 22:49:54 +00:00
35 lines
985 B
YAML
35 lines
985 B
YAML
version: v2
|
|
|
|
inputs:
|
|
- directory: .
|
|
paths:
|
|
- api/proto/teleport/userpreferences/
|
|
- proto/prehog/
|
|
- proto/teleport/lib/teleterm/
|
|
- proto/teleport/lib/vnet/diag/
|
|
|
|
plugins:
|
|
- local:
|
|
- npm
|
|
- exec
|
|
- --yes
|
|
- --package=@protobuf-ts/[email protected]
|
|
- --package=@protobuf-ts/[email protected]
|
|
- --package=@protobuf-ts/[email protected]
|
|
- --package=@protobuf-ts/[email protected]
|
|
- --package=@protobuf-ts/[email protected]
|
|
- --[email protected]
|
|
- --
|
|
- protoc-gen-ts
|
|
out: gen/proto/ts
|
|
opt:
|
|
- add_pb_suffix
|
|
- eslint_disable
|
|
# By default, only the proto files passed as input to protoc are generated, not the files they
|
|
# import (with the exception of well-known types which are always generated when imported).
|
|
# generate_dependencies generates code for dependencies too.
|
|
- generate_dependencies
|
|
- server_grpc1
|
|
- ts_nocheck
|
|
strategy: all
|