mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-11 22:49:54 +00:00
* Add audit events for CreatePairedDeviceEnrollToken * Add Web UI formatter for new audit events * Update audit events reference * Use `OSType` from generated protos
43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
version: v2
|
|
|
|
inputs:
|
|
- directory: .
|
|
paths:
|
|
- api/proto/teleport/userpreferences/
|
|
- api/proto/teleport/desktop/
|
|
- api/proto/teleport/devicetrust/v1/os_type.proto
|
|
- proto/prehog/
|
|
- proto/teleport/lib/teleterm/
|
|
- proto/teleport/lib/vnet/diag/
|
|
- proto/teleport/web/
|
|
|
|
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:
|
|
- 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
|