Files
teleport/buf-ts.gen.yaml
T

43 lines
1.3 KiB
YAML

version: v2
inputs:
- directory: .
paths:
- api/proto/teleport/accesslist/
- api/proto/teleport/devicetrust/
- api/proto/teleport/header/
- api/proto/teleport/trait/
- api/proto/teleport/legacy/types/trusted_device_requirement.proto
- api/proto/teleport/userpreferences/
- proto/prehog/
- proto/teleport/lib/teleterm/
- proto/teleport/lib/vnet/diag/
plugins:
- local:
- npm
- exec
- --yes
# we're using an exact version so if the package is already available
# there's no need to reach out to the registry, even if we could use more
# recent dependencies
- --prefer-offline
# this version should be kept in sync with build.assets/Dockerfile-grpcbox
- --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:
# the next time we tweak the ts codegen we should put the options in
# alphabetical order
- eslint_disable
- add_pb_suffix
- server_grpc1
- ts_nocheck
strategy: all