-
Notifications
You must be signed in to change notification settings - Fork 5
/
buf.gen.e2e.yaml
51 lines (51 loc) · 1.48 KB
/
buf.gen.e2e.yaml
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
40
41
42
43
44
45
46
47
48
49
50
51
version: v2
plugins:
- remote: buf.build/protocolbuffers/js:v3.21.2
opt:
- import_style=commonjs
- binary
out: ./e2e/testapis/google-protobuf/lib
include_imports: true
- local: protoc-gen-ts
include_imports: true
out: ./e2e/testapis/google-protobuf/lib
- local: protoc-gen-ts_proto
opt:
- enumsAsLiterals=true
- forceLong=string
- unrecognizedEnum=false
- outputTypeRegistry=true
- esModuleInterop=true
# https://github.com/stephenh/ts-proto/issues/449
- useExactTypes=false
out: ./e2e/testapis/ts-proto/src
strategy: all
- local: protoc-gen-ts_proto
opt:
- enumsAsLiterals=true
- forceLong=long
- unrecognizedEnum=false
- outputTypeRegistry=true
- esModuleInterop=true
# https://github.com/stephenh/ts-proto/issues/449
- useExactTypes=false
out: ./e2e/testapis/ts-proto-with-forcelong-long/src
strategy: all
- local: protoc-gen-ts_proto
opt:
- enumsAsLiterals=true
- forceLong=number
- unrecognizedEnum=false
- outputTypeRegistry=true
- esModuleInterop=true
# https://github.com/stephenh/ts-proto/issues/449
- useExactTypes=false
out: ./e2e/testapis/ts-proto-with-forcelong-number/src
strategy: all
- local: ./e2e/testapis/protobuf-es/node_modules/.bin/protoc-gen-es
opt:
- target=ts
out: ./e2e/testapis/protobuf-es/src
strategy: all
inputs:
- directory: ./devPackages/testapis-proto/proto