-
Notifications
You must be signed in to change notification settings - Fork 167
/
Copy pathseed.yml
137 lines (137 loc) · 3.93 KB
/
seed.yml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
irVersion: v38
docker: fernapi/fern-typescript-node-sdk:local
dockerCommand: yarn workspace @fern-typescript/sdk-generator-cli dockerTagLocal:node
language: typescript
generatorType: SDK
defaultOutputMode: github
local:
workingDirectory: generators/typescript
buildCommand:
- yarn workspace @fern-typescript/sdk-generator-cli compile
- yarn workspace @fern-typescript/sdk-generator-cli build:node
runCommand: node sdk/cli/dist/nodeCli.cjs
env:
NODE_ENV: test
fixtures:
streaming:
- customConfig: null
outputFolder: no-custom-config
- customConfig:
allowCustomFetcher: true
timeoutInSeconds: 2
outputFolder: allow-custom-fetcher
exhaustive:
- customConfig: null
audiences:
- audience1
- audience2
outputFolder: with-audiences
- customConfig: null
outputFolder: no-custom-config
- customConfig:
useBrandedStringAliases: true
neverThrowErrors: true
namespaceExport: "Fiddle"
bundle: true
includeUtilsOnUnionMembers: true
includeOtherInUnionTypes: true
extraDependencies:
lodash-es: "^4.17.21"
outputFolder: bundle
- customConfig:
retainOriginalCasing: true
outputFolder: retain-original-casing
- customConfig:
allowExtraFields: true
outputFolder: allow-extra-fields
- customConfig:
useBrandedStringAliases: true
neverThrowErrors: true
namespaceExport: "Fiddle"
bundle: true
includeUtilsOnUnionMembers: true
includeOtherInUnionTypes: true
extraDependencies:
lodash-es: "^4.17.21"
extraDevDependencies:
jest: "^29.7.0"
outputFolder: dev-dependencies
error-property:
- customConfig:
private: true
includeUtilsOnUnionMembers: true
includeOtherInUnionTypes: true
outputFolder: union-utils
undiscriminated-unions:
- customConfig: null
outputFolder: no-custom-config
- customConfig:
skipResponseValidation: true
outputFolder: skip-response-validation
file-download:
- customConfig: null
outputFolder: no-custom-config
- customConfig:
includeContentHeadersOnFileDownloadResponse: true
outputFolder: file-download-reponse-headers
unknown:
- customConfig: null
outputFolder: no-custom-config
- customConfig:
treatUnknownAsAny: true
outputFolder: unknown-as-any
query-parameters:
- customConfig: null
outputFolder: no-custom-config
- customConfig:
noSerdeLayer: true
outputFolder: no-serde-layer-query
trace:
- customConfig: null
outputFolder: no-custom-config
- customConfig:
noSerdeLayer: true
outputFolder: no-zurg-trace
- customConfig:
noSerdeLayer: true
neverThrowErrors: true
outputFolder: no-zurg-no-throwing
- customConfig:
useBrandedStringAliases: true
neverThrowErrors: true
includeCredentialsOnCrossOriginRequests: true
includeUtilsOnUnionMembers: true
includeOtherInUnionTypes: true
timeoutInSeconds: "infinity"
outputFolder: exhaustive
examples:
- customConfig:
includeApiReference: true
outputFolder: examples-with-api-reference
- customConfig:
retainOriginalCasing: true
outputFolder: retain-original-casing
mixed-case:
- customConfig: null
outputFolder: no-custom-config
- customConfig:
retainOriginalCasing: true
outputFolder: retain-original-casing
scripts:
- docker: fernapi/ts-seed
commands:
- mkdir cache
- yarn install --cache-folder ./cache
- yarn build
allowedFailures:
- response-property
- bytes
- plain-text
- alias
- api-wide-base-path
- auth-environment-variables
- basic-auth-environment-variables
- exhaustive:bundle
- exhaustive:dev-dependencies
- audiences
- enum # throws b/c of undiscriminated union examples