-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuf.gen.testapis.yaml
More file actions
50 lines (50 loc) · 1.52 KB
/
buf.gen.testapis.yaml
File metadata and controls
50 lines (50 loc) · 1.52 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
40
41
42
43
44
45
46
47
48
49
50
version: v2
plugins:
- 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: ./tests/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: ./tests/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: ./tests/testapis/ts-proto-with-forcelong-number/src
strategy: all
- local: ["pnpm", "-s", "--filter", "./tests/testapis/protobuf-es", "exec", "protoc-gen-es"]
opt:
- target=ts
out: ./tests/testapis/protobuf-es/src
strategy: all
- local: ["pnpm", "-s", "--filter", "./tests/testapis/protobuf-es-v2", "exec", "protoc-gen-es"]
opt:
- target=ts
out: ./tests/testapis/protobuf-es-v2/src
strategy: all
inputs:
- directory: ./devPackages/testapis-proto/proto
- directory: ./proto-graphql/proto
paths:
- ./proto-graphql/proto/graphql