forked from gravitational/teleport
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuf-ts.gen.yaml
More file actions
39 lines (37 loc) · 1.25 KB
/
buf-ts.gen.yaml
File metadata and controls
39 lines (37 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
# 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/plugin@2.9.3
- --package=@protobuf-ts/plugin-framework@2.9.3
- --package=@protobuf-ts/protoc@2.9.3
- --package=@protobuf-ts/runtime@2.9.3
- --package=@protobuf-ts/runtime-rpc@2.9.3
- --package=typescript@3.9.10
- --
- 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