depflow 3.0.0-dev.7 → 3.0.0-dev.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli/DepFLowCLI.js +7 -5
- package/build/cli/DepFLowCLI.js.map +1 -1
- package/build/cli/bin.js +2 -5
- package/build/cli/bin.js.map +1 -1
- package/build/config/Config.d.ts +3 -3
- package/build/config/Config.js +3 -3
- package/build/config/Config.js.map +1 -1
- package/build/config/ImportMap.d.ts +24 -10
- package/build/config/ImportMap.js +38 -23
- package/build/config/ImportMap.js.map +1 -1
- package/build/config/{Tsconfig.d.ts → TSConfig.d.ts} +14 -17
- package/build/config/{Tsconfig.js → TSConfig.js} +31 -36
- package/build/config/TSConfig.js.map +1 -0
- package/build/schema/Config/Builder.d.ts +431 -0
- package/build/schema/Config/Builder.js +48 -0
- package/build/schema/Config/Builder.js.map +1 -0
- package/build/schema/Config/Config.d.ts +582 -0
- package/build/schema/Config/Config.js +20 -0
- package/build/schema/Config/Config.js.map +1 -0
- package/build/schema/Config/Dependency.d.ts +748 -0
- package/build/schema/Config/Dependency.js +25 -0
- package/build/schema/Config/Dependency.js.map +1 -0
- package/build/schema/Config/Extractor.d.ts +133 -0
- package/build/schema/Config/Extractor.js +25 -0
- package/build/schema/Config/Extractor.js.map +1 -0
- package/build/schema/Config/Resolver.d.ts +70 -0
- package/build/schema/Config/Resolver.js +25 -0
- package/build/schema/Config/Resolver.js.map +1 -0
- package/build/schema/Config/Transform.d.ts +73 -0
- package/build/schema/Config/Transform.js +27 -0
- package/build/schema/Config/Transform.js.map +1 -0
- package/build/schema/ImportMap.d.ts +22 -0
- package/build/schema/ImportMap.js +12 -0
- package/build/schema/ImportMap.js.map +1 -0
- package/build/schema/TSConfig.d.ts +56 -0
- package/build/schema/TSConfig.js +19 -0
- package/build/schema/TSConfig.js.map +1 -0
- package/build/schema/schema.d.ts +29 -0
- package/build/schema/schema.js +31 -0
- package/build/schema/schema.js.map +1 -0
- package/build/support/Builder/Builder.d.ts +10 -10
- package/build/support/Builder/Builder.js +14 -11
- package/build/support/Builder/Builder.js.map +1 -1
- package/build/support/Dependency/Dependency.d.ts +5 -5
- package/build/support/Dependency/Dependency.js +1 -1
- package/build/support/Dependency/Dependency.js.map +1 -1
- package/build/support/Dependency/GitDependency.d.ts +2 -2
- package/build/support/Dependency/GitDependency.js +1 -1
- package/build/support/Dependency/GitDependency.js.map +1 -1
- package/build/support/Dependency/NpmDependency.d.ts +3 -3
- package/build/support/Dependency/NpmDependency.js.map +1 -1
- package/build/support/PathResolver/AliasCompiler.d.ts +6 -9
- package/build/support/PathResolver/AliasCompiler.js +10 -10
- package/build/support/PathResolver/AliasCompiler.js.map +1 -1
- package/build/support/PathResolver/PathResolver.d.ts +3 -3
- package/build/support/PathResolver/PathResolver.js.map +1 -1
- package/package.json +2 -2
- package/build/config/Tsconfig.js.map +0 -1
- package/build/config/schemas.d.ts +0 -2659
- package/build/config/schemas.js +0 -90
- package/build/config/schemas.js.map +0 -1
- package/build/support/Dependency/Resolver.d.ts +0 -7
- package/build/support/Dependency/Resolver.js +0 -4
- package/build/support/Dependency/Resolver.js.map +0 -1
|
@@ -0,0 +1,748 @@
|
|
|
1
|
+
import { Schema } from '@netfeez/common';
|
|
2
|
+
export declare const GitDependency: Schema<{
|
|
3
|
+
readonly type: "object";
|
|
4
|
+
readonly properties: {
|
|
5
|
+
readonly name: {
|
|
6
|
+
readonly type: "string";
|
|
7
|
+
readonly required: true;
|
|
8
|
+
};
|
|
9
|
+
readonly repo: {
|
|
10
|
+
readonly type: "string";
|
|
11
|
+
readonly required: true;
|
|
12
|
+
};
|
|
13
|
+
readonly tag: {
|
|
14
|
+
readonly type: "string";
|
|
15
|
+
readonly default: "main";
|
|
16
|
+
};
|
|
17
|
+
readonly builder: {
|
|
18
|
+
readonly type: "array";
|
|
19
|
+
readonly default: [];
|
|
20
|
+
readonly items: {
|
|
21
|
+
readonly type: "union";
|
|
22
|
+
readonly required: true;
|
|
23
|
+
readonly union: [{
|
|
24
|
+
readonly type: "object";
|
|
25
|
+
readonly required: true;
|
|
26
|
+
readonly properties: {
|
|
27
|
+
readonly maxTimeMs: {
|
|
28
|
+
readonly type: "number";
|
|
29
|
+
readonly default: 60000;
|
|
30
|
+
readonly minimum: -1;
|
|
31
|
+
};
|
|
32
|
+
readonly allowFails: {
|
|
33
|
+
readonly type: "boolean";
|
|
34
|
+
readonly default: false;
|
|
35
|
+
};
|
|
36
|
+
readonly run: {
|
|
37
|
+
readonly type: "union";
|
|
38
|
+
readonly required: true;
|
|
39
|
+
readonly union: [{
|
|
40
|
+
readonly type: "string";
|
|
41
|
+
}, {
|
|
42
|
+
readonly type: "array";
|
|
43
|
+
readonly items: {
|
|
44
|
+
readonly type: "string";
|
|
45
|
+
};
|
|
46
|
+
}];
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}, {
|
|
50
|
+
readonly type: "object";
|
|
51
|
+
readonly required: true;
|
|
52
|
+
readonly properties: {
|
|
53
|
+
readonly extract: {
|
|
54
|
+
readonly type: "union";
|
|
55
|
+
readonly required: true;
|
|
56
|
+
readonly union: [{
|
|
57
|
+
readonly type: "string";
|
|
58
|
+
}, {
|
|
59
|
+
readonly type: "object";
|
|
60
|
+
readonly required: true;
|
|
61
|
+
readonly allowAdditionalProperties: {
|
|
62
|
+
readonly type: "union";
|
|
63
|
+
readonly required: true;
|
|
64
|
+
readonly union: [{
|
|
65
|
+
readonly type: "string";
|
|
66
|
+
readonly required: true;
|
|
67
|
+
}, {
|
|
68
|
+
readonly type: "object";
|
|
69
|
+
readonly required: true;
|
|
70
|
+
readonly properties: {
|
|
71
|
+
readonly to: {
|
|
72
|
+
readonly type: "string";
|
|
73
|
+
readonly required: true;
|
|
74
|
+
};
|
|
75
|
+
readonly map: {
|
|
76
|
+
readonly required: false;
|
|
77
|
+
readonly type: "union";
|
|
78
|
+
readonly union: [{
|
|
79
|
+
readonly type: "string";
|
|
80
|
+
}, {
|
|
81
|
+
readonly type: "object";
|
|
82
|
+
readonly properties: {
|
|
83
|
+
readonly search: {
|
|
84
|
+
readonly type: "string";
|
|
85
|
+
readonly required: true;
|
|
86
|
+
};
|
|
87
|
+
readonly flags: {
|
|
88
|
+
readonly type: "string";
|
|
89
|
+
readonly default: "g";
|
|
90
|
+
readonly pattern: RegExp;
|
|
91
|
+
};
|
|
92
|
+
readonly replace: {
|
|
93
|
+
readonly type: "string";
|
|
94
|
+
readonly required: true;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}];
|
|
98
|
+
};
|
|
99
|
+
readonly transform: {
|
|
100
|
+
readonly required: false;
|
|
101
|
+
readonly type: "union";
|
|
102
|
+
readonly union: [{
|
|
103
|
+
readonly type: "string";
|
|
104
|
+
}, {
|
|
105
|
+
readonly type: "object";
|
|
106
|
+
readonly properties: {
|
|
107
|
+
readonly search: {
|
|
108
|
+
readonly type: "string";
|
|
109
|
+
readonly required: true;
|
|
110
|
+
};
|
|
111
|
+
readonly flags: {
|
|
112
|
+
readonly type: "string";
|
|
113
|
+
readonly default: "g";
|
|
114
|
+
readonly pattern: RegExp;
|
|
115
|
+
};
|
|
116
|
+
readonly replace: {
|
|
117
|
+
readonly type: "string";
|
|
118
|
+
readonly required: true;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
}];
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
}];
|
|
125
|
+
};
|
|
126
|
+
}];
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
}, {
|
|
130
|
+
readonly type: "object";
|
|
131
|
+
readonly required: true;
|
|
132
|
+
readonly properties: {
|
|
133
|
+
readonly transform: {
|
|
134
|
+
readonly type: "object";
|
|
135
|
+
readonly required: true;
|
|
136
|
+
readonly properties: {
|
|
137
|
+
readonly search: {
|
|
138
|
+
readonly type: "string";
|
|
139
|
+
readonly required: true;
|
|
140
|
+
};
|
|
141
|
+
readonly flags: {
|
|
142
|
+
readonly type: "string";
|
|
143
|
+
readonly default: "g";
|
|
144
|
+
readonly pattern: RegExp;
|
|
145
|
+
};
|
|
146
|
+
readonly replace: {
|
|
147
|
+
readonly type: "string";
|
|
148
|
+
readonly required: true;
|
|
149
|
+
};
|
|
150
|
+
readonly glob: {
|
|
151
|
+
readonly type: "string";
|
|
152
|
+
readonly required: true;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
}];
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
readonly resolver: {
|
|
161
|
+
readonly type: "object";
|
|
162
|
+
readonly required: true;
|
|
163
|
+
readonly default: {};
|
|
164
|
+
readonly allowAdditionalProperties: {
|
|
165
|
+
readonly type: "union";
|
|
166
|
+
readonly required: true;
|
|
167
|
+
readonly union: [{
|
|
168
|
+
readonly type: "string";
|
|
169
|
+
}, {
|
|
170
|
+
readonly type: "object";
|
|
171
|
+
readonly properties: {
|
|
172
|
+
readonly local: {
|
|
173
|
+
readonly type: "string";
|
|
174
|
+
readonly required: true;
|
|
175
|
+
};
|
|
176
|
+
readonly type: {
|
|
177
|
+
readonly type: "string";
|
|
178
|
+
};
|
|
179
|
+
readonly cdn: {
|
|
180
|
+
readonly type: "string";
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
}];
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
}>;
|
|
188
|
+
export type GitDependency = typeof GitDependency.infer;
|
|
189
|
+
export declare namespace GitDependency { }
|
|
190
|
+
export declare const NpmDependency: Schema<{
|
|
191
|
+
readonly type: "object";
|
|
192
|
+
readonly properties: {
|
|
193
|
+
readonly name: {
|
|
194
|
+
readonly type: "string";
|
|
195
|
+
readonly required: true;
|
|
196
|
+
};
|
|
197
|
+
readonly version: {
|
|
198
|
+
readonly type: "string";
|
|
199
|
+
readonly required: true;
|
|
200
|
+
};
|
|
201
|
+
readonly builder: {
|
|
202
|
+
readonly type: "array";
|
|
203
|
+
readonly default: [];
|
|
204
|
+
readonly items: {
|
|
205
|
+
readonly type: "union";
|
|
206
|
+
readonly required: true;
|
|
207
|
+
readonly union: [{
|
|
208
|
+
readonly type: "object";
|
|
209
|
+
readonly required: true;
|
|
210
|
+
readonly properties: {
|
|
211
|
+
readonly maxTimeMs: {
|
|
212
|
+
readonly type: "number";
|
|
213
|
+
readonly default: 60000;
|
|
214
|
+
readonly minimum: -1;
|
|
215
|
+
};
|
|
216
|
+
readonly allowFails: {
|
|
217
|
+
readonly type: "boolean";
|
|
218
|
+
readonly default: false;
|
|
219
|
+
};
|
|
220
|
+
readonly run: {
|
|
221
|
+
readonly type: "union";
|
|
222
|
+
readonly required: true;
|
|
223
|
+
readonly union: [{
|
|
224
|
+
readonly type: "string";
|
|
225
|
+
}, {
|
|
226
|
+
readonly type: "array";
|
|
227
|
+
readonly items: {
|
|
228
|
+
readonly type: "string";
|
|
229
|
+
};
|
|
230
|
+
}];
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
}, {
|
|
234
|
+
readonly type: "object";
|
|
235
|
+
readonly required: true;
|
|
236
|
+
readonly properties: {
|
|
237
|
+
readonly extract: {
|
|
238
|
+
readonly type: "union";
|
|
239
|
+
readonly required: true;
|
|
240
|
+
readonly union: [{
|
|
241
|
+
readonly type: "string";
|
|
242
|
+
}, {
|
|
243
|
+
readonly type: "object";
|
|
244
|
+
readonly required: true;
|
|
245
|
+
readonly allowAdditionalProperties: {
|
|
246
|
+
readonly type: "union";
|
|
247
|
+
readonly required: true;
|
|
248
|
+
readonly union: [{
|
|
249
|
+
readonly type: "string";
|
|
250
|
+
readonly required: true;
|
|
251
|
+
}, {
|
|
252
|
+
readonly type: "object";
|
|
253
|
+
readonly required: true;
|
|
254
|
+
readonly properties: {
|
|
255
|
+
readonly to: {
|
|
256
|
+
readonly type: "string";
|
|
257
|
+
readonly required: true;
|
|
258
|
+
};
|
|
259
|
+
readonly map: {
|
|
260
|
+
readonly required: false;
|
|
261
|
+
readonly type: "union";
|
|
262
|
+
readonly union: [{
|
|
263
|
+
readonly type: "string";
|
|
264
|
+
}, {
|
|
265
|
+
readonly type: "object";
|
|
266
|
+
readonly properties: {
|
|
267
|
+
readonly search: {
|
|
268
|
+
readonly type: "string";
|
|
269
|
+
readonly required: true;
|
|
270
|
+
};
|
|
271
|
+
readonly flags: {
|
|
272
|
+
readonly type: "string";
|
|
273
|
+
readonly default: "g";
|
|
274
|
+
readonly pattern: RegExp;
|
|
275
|
+
};
|
|
276
|
+
readonly replace: {
|
|
277
|
+
readonly type: "string";
|
|
278
|
+
readonly required: true;
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
}];
|
|
282
|
+
};
|
|
283
|
+
readonly transform: {
|
|
284
|
+
readonly required: false;
|
|
285
|
+
readonly type: "union";
|
|
286
|
+
readonly union: [{
|
|
287
|
+
readonly type: "string";
|
|
288
|
+
}, {
|
|
289
|
+
readonly type: "object";
|
|
290
|
+
readonly properties: {
|
|
291
|
+
readonly search: {
|
|
292
|
+
readonly type: "string";
|
|
293
|
+
readonly required: true;
|
|
294
|
+
};
|
|
295
|
+
readonly flags: {
|
|
296
|
+
readonly type: "string";
|
|
297
|
+
readonly default: "g";
|
|
298
|
+
readonly pattern: RegExp;
|
|
299
|
+
};
|
|
300
|
+
readonly replace: {
|
|
301
|
+
readonly type: "string";
|
|
302
|
+
readonly required: true;
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
}];
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
}];
|
|
309
|
+
};
|
|
310
|
+
}];
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
}, {
|
|
314
|
+
readonly type: "object";
|
|
315
|
+
readonly required: true;
|
|
316
|
+
readonly properties: {
|
|
317
|
+
readonly transform: {
|
|
318
|
+
readonly type: "object";
|
|
319
|
+
readonly required: true;
|
|
320
|
+
readonly properties: {
|
|
321
|
+
readonly search: {
|
|
322
|
+
readonly type: "string";
|
|
323
|
+
readonly required: true;
|
|
324
|
+
};
|
|
325
|
+
readonly flags: {
|
|
326
|
+
readonly type: "string";
|
|
327
|
+
readonly default: "g";
|
|
328
|
+
readonly pattern: RegExp;
|
|
329
|
+
};
|
|
330
|
+
readonly replace: {
|
|
331
|
+
readonly type: "string";
|
|
332
|
+
readonly required: true;
|
|
333
|
+
};
|
|
334
|
+
readonly glob: {
|
|
335
|
+
readonly type: "string";
|
|
336
|
+
readonly required: true;
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
}];
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
readonly resolver: {
|
|
345
|
+
readonly type: "object";
|
|
346
|
+
readonly required: true;
|
|
347
|
+
readonly default: {};
|
|
348
|
+
readonly allowAdditionalProperties: {
|
|
349
|
+
readonly type: "union";
|
|
350
|
+
readonly required: true;
|
|
351
|
+
readonly union: [{
|
|
352
|
+
readonly type: "string";
|
|
353
|
+
}, {
|
|
354
|
+
readonly type: "object";
|
|
355
|
+
readonly properties: {
|
|
356
|
+
readonly local: {
|
|
357
|
+
readonly type: "string";
|
|
358
|
+
readonly required: true;
|
|
359
|
+
};
|
|
360
|
+
readonly type: {
|
|
361
|
+
readonly type: "string";
|
|
362
|
+
};
|
|
363
|
+
readonly cdn: {
|
|
364
|
+
readonly type: "string";
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
}];
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
}>;
|
|
372
|
+
export type NpmDependency = typeof NpmDependency.infer;
|
|
373
|
+
export declare namespace NpmDependency { }
|
|
374
|
+
export declare const Dependency: {
|
|
375
|
+
GitDependency: Schema<{
|
|
376
|
+
readonly type: "object";
|
|
377
|
+
readonly properties: {
|
|
378
|
+
readonly name: {
|
|
379
|
+
readonly type: "string";
|
|
380
|
+
readonly required: true;
|
|
381
|
+
};
|
|
382
|
+
readonly repo: {
|
|
383
|
+
readonly type: "string";
|
|
384
|
+
readonly required: true;
|
|
385
|
+
};
|
|
386
|
+
readonly tag: {
|
|
387
|
+
readonly type: "string";
|
|
388
|
+
readonly default: "main";
|
|
389
|
+
};
|
|
390
|
+
readonly builder: {
|
|
391
|
+
readonly type: "array";
|
|
392
|
+
readonly default: [];
|
|
393
|
+
readonly items: {
|
|
394
|
+
readonly type: "union";
|
|
395
|
+
readonly required: true;
|
|
396
|
+
readonly union: [{
|
|
397
|
+
readonly type: "object";
|
|
398
|
+
readonly required: true;
|
|
399
|
+
readonly properties: {
|
|
400
|
+
readonly maxTimeMs: {
|
|
401
|
+
readonly type: "number";
|
|
402
|
+
readonly default: 60000;
|
|
403
|
+
readonly minimum: -1;
|
|
404
|
+
};
|
|
405
|
+
readonly allowFails: {
|
|
406
|
+
readonly type: "boolean";
|
|
407
|
+
readonly default: false;
|
|
408
|
+
};
|
|
409
|
+
readonly run: {
|
|
410
|
+
readonly type: "union";
|
|
411
|
+
readonly required: true;
|
|
412
|
+
readonly union: [{
|
|
413
|
+
readonly type: "string";
|
|
414
|
+
}, {
|
|
415
|
+
readonly type: "array";
|
|
416
|
+
readonly items: {
|
|
417
|
+
readonly type: "string";
|
|
418
|
+
};
|
|
419
|
+
}];
|
|
420
|
+
};
|
|
421
|
+
};
|
|
422
|
+
}, {
|
|
423
|
+
readonly type: "object";
|
|
424
|
+
readonly required: true;
|
|
425
|
+
readonly properties: {
|
|
426
|
+
readonly extract: {
|
|
427
|
+
readonly type: "union";
|
|
428
|
+
readonly required: true;
|
|
429
|
+
readonly union: [{
|
|
430
|
+
readonly type: "string";
|
|
431
|
+
}, {
|
|
432
|
+
readonly type: "object";
|
|
433
|
+
readonly required: true;
|
|
434
|
+
readonly allowAdditionalProperties: {
|
|
435
|
+
readonly type: "union";
|
|
436
|
+
readonly required: true;
|
|
437
|
+
readonly union: [{
|
|
438
|
+
readonly type: "string";
|
|
439
|
+
readonly required: true;
|
|
440
|
+
}, {
|
|
441
|
+
readonly type: "object";
|
|
442
|
+
readonly required: true;
|
|
443
|
+
readonly properties: {
|
|
444
|
+
readonly to: {
|
|
445
|
+
readonly type: "string";
|
|
446
|
+
readonly required: true;
|
|
447
|
+
};
|
|
448
|
+
readonly map: {
|
|
449
|
+
readonly required: false;
|
|
450
|
+
readonly type: "union";
|
|
451
|
+
readonly union: [{
|
|
452
|
+
readonly type: "string";
|
|
453
|
+
}, {
|
|
454
|
+
readonly type: "object";
|
|
455
|
+
readonly properties: {
|
|
456
|
+
readonly search: {
|
|
457
|
+
readonly type: "string";
|
|
458
|
+
readonly required: true;
|
|
459
|
+
};
|
|
460
|
+
readonly flags: {
|
|
461
|
+
readonly type: "string";
|
|
462
|
+
readonly default: "g";
|
|
463
|
+
readonly pattern: RegExp;
|
|
464
|
+
};
|
|
465
|
+
readonly replace: {
|
|
466
|
+
readonly type: "string";
|
|
467
|
+
readonly required: true;
|
|
468
|
+
};
|
|
469
|
+
};
|
|
470
|
+
}];
|
|
471
|
+
};
|
|
472
|
+
readonly transform: {
|
|
473
|
+
readonly required: false;
|
|
474
|
+
readonly type: "union";
|
|
475
|
+
readonly union: [{
|
|
476
|
+
readonly type: "string";
|
|
477
|
+
}, {
|
|
478
|
+
readonly type: "object";
|
|
479
|
+
readonly properties: {
|
|
480
|
+
readonly search: {
|
|
481
|
+
readonly type: "string";
|
|
482
|
+
readonly required: true;
|
|
483
|
+
};
|
|
484
|
+
readonly flags: {
|
|
485
|
+
readonly type: "string";
|
|
486
|
+
readonly default: "g";
|
|
487
|
+
readonly pattern: RegExp;
|
|
488
|
+
};
|
|
489
|
+
readonly replace: {
|
|
490
|
+
readonly type: "string";
|
|
491
|
+
readonly required: true;
|
|
492
|
+
};
|
|
493
|
+
};
|
|
494
|
+
}];
|
|
495
|
+
};
|
|
496
|
+
};
|
|
497
|
+
}];
|
|
498
|
+
};
|
|
499
|
+
}];
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
}, {
|
|
503
|
+
readonly type: "object";
|
|
504
|
+
readonly required: true;
|
|
505
|
+
readonly properties: {
|
|
506
|
+
readonly transform: {
|
|
507
|
+
readonly type: "object";
|
|
508
|
+
readonly required: true;
|
|
509
|
+
readonly properties: {
|
|
510
|
+
readonly search: {
|
|
511
|
+
readonly type: "string";
|
|
512
|
+
readonly required: true;
|
|
513
|
+
};
|
|
514
|
+
readonly flags: {
|
|
515
|
+
readonly type: "string";
|
|
516
|
+
readonly default: "g";
|
|
517
|
+
readonly pattern: RegExp;
|
|
518
|
+
};
|
|
519
|
+
readonly replace: {
|
|
520
|
+
readonly type: "string";
|
|
521
|
+
readonly required: true;
|
|
522
|
+
};
|
|
523
|
+
readonly glob: {
|
|
524
|
+
readonly type: "string";
|
|
525
|
+
readonly required: true;
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
};
|
|
530
|
+
}];
|
|
531
|
+
};
|
|
532
|
+
};
|
|
533
|
+
readonly resolver: {
|
|
534
|
+
readonly type: "object";
|
|
535
|
+
readonly required: true;
|
|
536
|
+
readonly default: {};
|
|
537
|
+
readonly allowAdditionalProperties: {
|
|
538
|
+
readonly type: "union";
|
|
539
|
+
readonly required: true;
|
|
540
|
+
readonly union: [{
|
|
541
|
+
readonly type: "string";
|
|
542
|
+
}, {
|
|
543
|
+
readonly type: "object";
|
|
544
|
+
readonly properties: {
|
|
545
|
+
readonly local: {
|
|
546
|
+
readonly type: "string";
|
|
547
|
+
readonly required: true;
|
|
548
|
+
};
|
|
549
|
+
readonly type: {
|
|
550
|
+
readonly type: "string";
|
|
551
|
+
};
|
|
552
|
+
readonly cdn: {
|
|
553
|
+
readonly type: "string";
|
|
554
|
+
};
|
|
555
|
+
};
|
|
556
|
+
}];
|
|
557
|
+
};
|
|
558
|
+
};
|
|
559
|
+
};
|
|
560
|
+
}>;
|
|
561
|
+
NpmDependency: Schema<{
|
|
562
|
+
readonly type: "object";
|
|
563
|
+
readonly properties: {
|
|
564
|
+
readonly name: {
|
|
565
|
+
readonly type: "string";
|
|
566
|
+
readonly required: true;
|
|
567
|
+
};
|
|
568
|
+
readonly version: {
|
|
569
|
+
readonly type: "string";
|
|
570
|
+
readonly required: true;
|
|
571
|
+
};
|
|
572
|
+
readonly builder: {
|
|
573
|
+
readonly type: "array";
|
|
574
|
+
readonly default: [];
|
|
575
|
+
readonly items: {
|
|
576
|
+
readonly type: "union";
|
|
577
|
+
readonly required: true;
|
|
578
|
+
readonly union: [{
|
|
579
|
+
readonly type: "object";
|
|
580
|
+
readonly required: true;
|
|
581
|
+
readonly properties: {
|
|
582
|
+
readonly maxTimeMs: {
|
|
583
|
+
readonly type: "number";
|
|
584
|
+
readonly default: 60000;
|
|
585
|
+
readonly minimum: -1;
|
|
586
|
+
};
|
|
587
|
+
readonly allowFails: {
|
|
588
|
+
readonly type: "boolean";
|
|
589
|
+
readonly default: false;
|
|
590
|
+
};
|
|
591
|
+
readonly run: {
|
|
592
|
+
readonly type: "union";
|
|
593
|
+
readonly required: true;
|
|
594
|
+
readonly union: [{
|
|
595
|
+
readonly type: "string";
|
|
596
|
+
}, {
|
|
597
|
+
readonly type: "array";
|
|
598
|
+
readonly items: {
|
|
599
|
+
readonly type: "string";
|
|
600
|
+
};
|
|
601
|
+
}];
|
|
602
|
+
};
|
|
603
|
+
};
|
|
604
|
+
}, {
|
|
605
|
+
readonly type: "object";
|
|
606
|
+
readonly required: true;
|
|
607
|
+
readonly properties: {
|
|
608
|
+
readonly extract: {
|
|
609
|
+
readonly type: "union";
|
|
610
|
+
readonly required: true;
|
|
611
|
+
readonly union: [{
|
|
612
|
+
readonly type: "string";
|
|
613
|
+
}, {
|
|
614
|
+
readonly type: "object";
|
|
615
|
+
readonly required: true;
|
|
616
|
+
readonly allowAdditionalProperties: {
|
|
617
|
+
readonly type: "union";
|
|
618
|
+
readonly required: true;
|
|
619
|
+
readonly union: [{
|
|
620
|
+
readonly type: "string";
|
|
621
|
+
readonly required: true;
|
|
622
|
+
}, {
|
|
623
|
+
readonly type: "object";
|
|
624
|
+
readonly required: true;
|
|
625
|
+
readonly properties: {
|
|
626
|
+
readonly to: {
|
|
627
|
+
readonly type: "string";
|
|
628
|
+
readonly required: true;
|
|
629
|
+
};
|
|
630
|
+
readonly map: {
|
|
631
|
+
readonly required: false;
|
|
632
|
+
readonly type: "union";
|
|
633
|
+
readonly union: [{
|
|
634
|
+
readonly type: "string";
|
|
635
|
+
}, {
|
|
636
|
+
readonly type: "object";
|
|
637
|
+
readonly properties: {
|
|
638
|
+
readonly search: {
|
|
639
|
+
readonly type: "string";
|
|
640
|
+
readonly required: true;
|
|
641
|
+
};
|
|
642
|
+
readonly flags: {
|
|
643
|
+
readonly type: "string";
|
|
644
|
+
readonly default: "g";
|
|
645
|
+
readonly pattern: RegExp;
|
|
646
|
+
};
|
|
647
|
+
readonly replace: {
|
|
648
|
+
readonly type: "string";
|
|
649
|
+
readonly required: true;
|
|
650
|
+
};
|
|
651
|
+
};
|
|
652
|
+
}];
|
|
653
|
+
};
|
|
654
|
+
readonly transform: {
|
|
655
|
+
readonly required: false;
|
|
656
|
+
readonly type: "union";
|
|
657
|
+
readonly union: [{
|
|
658
|
+
readonly type: "string";
|
|
659
|
+
}, {
|
|
660
|
+
readonly type: "object";
|
|
661
|
+
readonly properties: {
|
|
662
|
+
readonly search: {
|
|
663
|
+
readonly type: "string";
|
|
664
|
+
readonly required: true;
|
|
665
|
+
};
|
|
666
|
+
readonly flags: {
|
|
667
|
+
readonly type: "string";
|
|
668
|
+
readonly default: "g";
|
|
669
|
+
readonly pattern: RegExp;
|
|
670
|
+
};
|
|
671
|
+
readonly replace: {
|
|
672
|
+
readonly type: "string";
|
|
673
|
+
readonly required: true;
|
|
674
|
+
};
|
|
675
|
+
};
|
|
676
|
+
}];
|
|
677
|
+
};
|
|
678
|
+
};
|
|
679
|
+
}];
|
|
680
|
+
};
|
|
681
|
+
}];
|
|
682
|
+
};
|
|
683
|
+
};
|
|
684
|
+
}, {
|
|
685
|
+
readonly type: "object";
|
|
686
|
+
readonly required: true;
|
|
687
|
+
readonly properties: {
|
|
688
|
+
readonly transform: {
|
|
689
|
+
readonly type: "object";
|
|
690
|
+
readonly required: true;
|
|
691
|
+
readonly properties: {
|
|
692
|
+
readonly search: {
|
|
693
|
+
readonly type: "string";
|
|
694
|
+
readonly required: true;
|
|
695
|
+
};
|
|
696
|
+
readonly flags: {
|
|
697
|
+
readonly type: "string";
|
|
698
|
+
readonly default: "g";
|
|
699
|
+
readonly pattern: RegExp;
|
|
700
|
+
};
|
|
701
|
+
readonly replace: {
|
|
702
|
+
readonly type: "string";
|
|
703
|
+
readonly required: true;
|
|
704
|
+
};
|
|
705
|
+
readonly glob: {
|
|
706
|
+
readonly type: "string";
|
|
707
|
+
readonly required: true;
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
};
|
|
711
|
+
};
|
|
712
|
+
}];
|
|
713
|
+
};
|
|
714
|
+
};
|
|
715
|
+
readonly resolver: {
|
|
716
|
+
readonly type: "object";
|
|
717
|
+
readonly required: true;
|
|
718
|
+
readonly default: {};
|
|
719
|
+
readonly allowAdditionalProperties: {
|
|
720
|
+
readonly type: "union";
|
|
721
|
+
readonly required: true;
|
|
722
|
+
readonly union: [{
|
|
723
|
+
readonly type: "string";
|
|
724
|
+
}, {
|
|
725
|
+
readonly type: "object";
|
|
726
|
+
readonly properties: {
|
|
727
|
+
readonly local: {
|
|
728
|
+
readonly type: "string";
|
|
729
|
+
readonly required: true;
|
|
730
|
+
};
|
|
731
|
+
readonly type: {
|
|
732
|
+
readonly type: "string";
|
|
733
|
+
};
|
|
734
|
+
readonly cdn: {
|
|
735
|
+
readonly type: "string";
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
}];
|
|
739
|
+
};
|
|
740
|
+
};
|
|
741
|
+
};
|
|
742
|
+
}>;
|
|
743
|
+
};
|
|
744
|
+
export declare namespace Dependency {
|
|
745
|
+
type GitDependency = typeof GitDependency.infer;
|
|
746
|
+
type NpmDependency = typeof NpmDependency.infer;
|
|
747
|
+
}
|
|
748
|
+
export default Dependency;
|