depflow 3.0.0-dev.1 → 3.0.0-dev.3
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.d.ts +1 -0
- package/build/cli/DepFLowCLI.js +28 -0
- package/build/cli/DepFLowCLI.js.map +1 -1
- package/build/config/Tsconfig.js +10 -1
- package/build/config/Tsconfig.js.map +1 -1
- package/build/config/schemas.d.ts +295 -0
- package/build/config/schemas.js +10 -7
- package/build/config/schemas.js.map +1 -1
- package/build/support/PathResolver/AliasCompiler.d.ts +10 -0
- package/build/support/PathResolver/AliasCompiler.js +34 -11
- package/build/support/PathResolver/AliasCompiler.js.map +1 -1
- package/build/support/PathResolver/PathResolver.js +2 -2
- package/build/support/PathResolver/PathResolver.js.map +1 -1
- package/package.json +5 -6
|
@@ -7,6 +7,7 @@ export declare class DepFlowCLI extends DebugUI {
|
|
|
7
7
|
commandRemove(command: string, args: string[]): Promise<void>;
|
|
8
8
|
commandInstall(command: string, args: string[]): Promise<void>;
|
|
9
9
|
uninstall(command: string, args: string[]): Promise<void>;
|
|
10
|
+
commandRun(command: string, args: string[]): Promise<void>;
|
|
10
11
|
list(command: string, args: string[]): Promise<void>;
|
|
11
12
|
rewritePaths(command: string, args: string[]): Promise<void>;
|
|
12
13
|
commandSync(command: string, args: string[]): Promise<void>;
|
package/build/cli/DepFLowCLI.js
CHANGED
|
@@ -9,6 +9,7 @@ import Schemas from "../config/schemas.js";
|
|
|
9
9
|
import Tsconfig from "../config/Tsconfig.js";
|
|
10
10
|
import ImportMap from "../config/ImportMap.js";
|
|
11
11
|
import NpmDependency from "../support/Dependency/NpmDependency.js";
|
|
12
|
+
import Builder from "../support/Builder/Builder.js";
|
|
12
13
|
export class DepFlowCLI extends DebugUI {
|
|
13
14
|
configPath;
|
|
14
15
|
projectRoot;
|
|
@@ -25,6 +26,7 @@ export class DepFlowCLI extends DebugUI {
|
|
|
25
26
|
this.addCommand('remove', this.commandRemove, { usage: 'dep remove <name> | <repo_url>', description: 'Remove a dependency from the configuration file by name or repo URL.' });
|
|
26
27
|
this.addCommand('install', this.commandInstall, { usage: 'dep install [name1 name2 ...]', description: 'Install dependencies. If names are provided, only those dependencies will be installed.' });
|
|
27
28
|
this.addCommand('uninstall', this.uninstall, { usage: 'dep uninstall [name1 name2 ...]', description: 'Uninstall dependencies. If names are provided, only those dependencies will be uninstalled.' });
|
|
29
|
+
this.addCommand('run', this.commandRun, { usage: 'dep run <script>', description: 'Run a custom action defined in the configuration file.' });
|
|
28
30
|
this.addCommand('list', this.list, { usage: 'dep list', description: 'List all dependencies in the configuration file.' });
|
|
29
31
|
this.addCommand('rewrite-paths', this.rewritePaths, { usage: 'dep rewrite-paths [--watch] [--cdn]', description: 'Resolve and rewrite paths in built files based on depFlow configuration.' });
|
|
30
32
|
this.addCommand('sync', this.commandSync, { usage: 'dep sync', description: 'Syncs depFlow.json with tsconfig.json and generates the importmap.' });
|
|
@@ -144,6 +146,32 @@ export class DepFlowCLI extends DebugUI {
|
|
|
144
146
|
this.out.groupEnd();
|
|
145
147
|
}
|
|
146
148
|
}
|
|
149
|
+
async commandRun(command, args) {
|
|
150
|
+
try {
|
|
151
|
+
const [actionName] = args;
|
|
152
|
+
if (!actionName)
|
|
153
|
+
throw new Error('Usage: dep run <action>');
|
|
154
|
+
this.out.group(Utils.newGroup('#FFB4DC'));
|
|
155
|
+
this.out.info(`&C5Running action &C6${actionName}&C5...`);
|
|
156
|
+
const config = await Config.load(this.configPath);
|
|
157
|
+
const action = config.actions[actionName];
|
|
158
|
+
if (!action)
|
|
159
|
+
throw new Error(`action "${actionName}" not found in configuration.`);
|
|
160
|
+
const pipeline = Array.isArray(action) ? action : [action];
|
|
161
|
+
const builder = new Builder({
|
|
162
|
+
cwd: this.projectRoot,
|
|
163
|
+
pipeline,
|
|
164
|
+
logger: this.out
|
|
165
|
+
});
|
|
166
|
+
await builder.run();
|
|
167
|
+
}
|
|
168
|
+
catch (error) {
|
|
169
|
+
this.out.error(`&C1${error}`);
|
|
170
|
+
}
|
|
171
|
+
finally {
|
|
172
|
+
this.out.groupEnd();
|
|
173
|
+
}
|
|
174
|
+
}
|
|
147
175
|
async list(command, args) {
|
|
148
176
|
this.out.group(Utils.newGroup('#FFB4DC'));
|
|
149
177
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepFLowCLI.js","sourceRoot":"","sources":["../../src/cli/DepFLowCLI.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,SAAS,MAAM,yBAAyB,CAAC;AAChD,OAAO,aAAa,MAAM,wCAAwC,CAAC;AACnE,OAAO,YAAY,MAAM,yCAAyC,CAAC;AACnE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAC3C,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAC7C,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAC/C,OAAO,aAAa,MAAM,wCAAwC,CAAC;AAEnE,MAAM,OAAO,UAAW,SAAQ,OAAO;IAGf;IAFD,WAAW,CAAS;IACvC,YACoB,aAAqB,cAAc;QACnD,KAAK,EAAE,CAAC;QADQ,eAAU,GAAV,UAAU,CAAyB;QAEnD,IAAI,CAAC,GAAG,GAAG,IAAI,MAAM,CAAC;YAClB,MAAM,EAAE,IAAI,CAAC,GAAG;YAChB,SAAS,EAAE,EAAE,gBAAgB,EAAE,GAAG,EAAE;SACvC,CAAC,CAAA;QAEF,MAAM,kBAAkB,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;QACxE,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,kBAAkB,C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C,WAAW,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;gBACvC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;YAC1B,CAAC;;gBAAM,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,iFAAiF,CAAC,CAAC;YACxG,IAAI,aAAa,EAAE,CAAC;gBAChB,MAAM,SAAS,GAAG,MAAM,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,aAAa,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;gBAC9F,SAAS,CAAC,aAAa,CAAC,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;gBAChD,MAAM,SAAS,CAAC,IAAI,EAAE,CAAC;YAC3B,CAAC;;gBAAM,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,qFAAqF,CAAC,CAAC;YAE5G,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,4CAA4C,CAAC,CAAC;QAChE,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,yBAAyB,KAAK,EAAE,CAAC,CAAC;QAAC,CAAC;gBAC7D,CAAC;YAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAAC,CAAC;IACpC,CAAC;CACJ;AAED,eAAe,UAAU,CAAC"}
|
package/build/config/Tsconfig.js
CHANGED
|
@@ -30,11 +30,20 @@ export class Tsconfig {
|
|
|
30
30
|
let target = Path.diff(this.projectRoot, aliasObj.targets.local);
|
|
31
31
|
target = target.startsWith('.') ? target : `./${target}`;
|
|
32
32
|
target = Path.normalize(target);
|
|
33
|
+
let typeTarget;
|
|
34
|
+
if (aliasObj.targets.type) {
|
|
35
|
+
typeTarget = Path.diff(this.projectRoot, aliasObj.targets.type);
|
|
36
|
+
typeTarget = typeTarget.startsWith('.') ? typeTarget : `./${typeTarget}`;
|
|
37
|
+
typeTarget = Path.normalize(typeTarget);
|
|
38
|
+
}
|
|
33
39
|
if (aliasObj.isWildcard) {
|
|
34
40
|
const suffix = target.endsWith('/') ? '*' : '/*';
|
|
35
41
|
target = `${target}${suffix}`;
|
|
42
|
+
if (typeTarget) {
|
|
43
|
+
typeTarget = `${typeTarget}${suffix}`;
|
|
44
|
+
}
|
|
36
45
|
}
|
|
37
|
-
this.data.compilerOptions.paths[key] = [target];
|
|
46
|
+
this.data.compilerOptions.paths[key] = typeTarget ? [typeTarget, target] : [target];
|
|
38
47
|
}
|
|
39
48
|
}
|
|
40
49
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tsconfig.js","sourceRoot":"","sources":["../../src/config/Tsconfig.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,OAAO,MAAM,cAAc,CAAC;AAGnC,MAAM,OAAO,QAAQ;IAIH;IACA;IACA;IALJ,MAAM,CAAS;IAEzB,YACc,IAAmB,EACnB,WAAmB,EACnB,QAAgB,EAC1B,UAA4B,EAAE;QAHpB,SAAI,GAAJ,IAAI,CAAe;QACnB,gBAAW,GAAX,WAAW,CAAQ;QACnB,aAAQ,GAAR,QAAQ,CAAQ;QAE1B,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,IAAI,MAAM,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;IAAC,CAAC;IACrE;;;;;;OAMG;IACI,WAAW,CAAC,OAAsC;QACrD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe;YAAE,IAAI,CAAC,IAAI,CAAC,eAAe,GAAG,EAAE,CAAC;QAC/D,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,KAAK;YAAE,IAAI,CAAC,IAAI,CAAC,eAAe,C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CACJ;AASD,eAAe,QAAQ,CAAC"}
|
|
@@ -2,10 +2,12 @@ import { Schema } from '@netfeez/common';
|
|
|
2
2
|
export declare const ImportMap: Schema.Utils.FromObject<{
|
|
3
3
|
readonly imports: {
|
|
4
4
|
readonly type: "object";
|
|
5
|
+
readonly allowAdditionalProperties: true;
|
|
5
6
|
readonly default: {};
|
|
6
7
|
};
|
|
7
8
|
readonly scopes: {
|
|
8
9
|
readonly type: "object";
|
|
10
|
+
readonly allowAdditionalProperties: true;
|
|
9
11
|
readonly default: {};
|
|
10
12
|
};
|
|
11
13
|
}, undefined>;
|
|
@@ -24,6 +26,12 @@ export declare const TsConfig: Schema.Utils.FromObject<{
|
|
|
24
26
|
};
|
|
25
27
|
readonly paths: {
|
|
26
28
|
readonly type: "object";
|
|
29
|
+
readonly allowAdditionalProperties: {
|
|
30
|
+
readonly type: "array";
|
|
31
|
+
readonly items: {
|
|
32
|
+
readonly type: "string";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
27
35
|
};
|
|
28
36
|
};
|
|
29
37
|
readonly allowAdditionalProperties: true;
|
|
@@ -39,6 +47,7 @@ export declare const ExtractorEntry: Schema.Utils.FromObject<{
|
|
|
39
47
|
readonly required: true;
|
|
40
48
|
};
|
|
41
49
|
readonly replacer: {
|
|
50
|
+
readonly type: "union";
|
|
42
51
|
readonly union: [{
|
|
43
52
|
readonly type: "string";
|
|
44
53
|
}, {
|
|
@@ -63,6 +72,7 @@ export declare const BuilderEntry: Schema.Utils.FromObject<{
|
|
|
63
72
|
readonly default: 60000;
|
|
64
73
|
};
|
|
65
74
|
readonly run: {
|
|
75
|
+
readonly type: "union";
|
|
66
76
|
readonly union: [{
|
|
67
77
|
readonly type: "string";
|
|
68
78
|
}, {
|
|
@@ -73,6 +83,7 @@ export declare const BuilderEntry: Schema.Utils.FromObject<{
|
|
|
73
83
|
}];
|
|
74
84
|
};
|
|
75
85
|
readonly extract: {
|
|
86
|
+
readonly type: "union";
|
|
76
87
|
readonly union: [{
|
|
77
88
|
readonly type: "string";
|
|
78
89
|
}, {
|
|
@@ -89,6 +100,7 @@ export declare const BuilderEntry: Schema.Utils.FromObject<{
|
|
|
89
100
|
readonly required: true;
|
|
90
101
|
};
|
|
91
102
|
readonly replacer: {
|
|
103
|
+
readonly type: "union";
|
|
92
104
|
readonly union: [{
|
|
93
105
|
readonly type: "string";
|
|
94
106
|
}, {
|
|
@@ -118,6 +130,7 @@ export declare const ResolverEntry: Schema.Utils.FromObject<{
|
|
|
118
130
|
readonly required: true;
|
|
119
131
|
};
|
|
120
132
|
readonly target: {
|
|
133
|
+
readonly type: "union";
|
|
121
134
|
readonly union: [{
|
|
122
135
|
readonly type: "string";
|
|
123
136
|
}, {
|
|
@@ -127,6 +140,9 @@ export declare const ResolverEntry: Schema.Utils.FromObject<{
|
|
|
127
140
|
readonly type: "string";
|
|
128
141
|
readonly required: true;
|
|
129
142
|
};
|
|
143
|
+
readonly type: {
|
|
144
|
+
readonly type: "string";
|
|
145
|
+
};
|
|
130
146
|
readonly cdn: {
|
|
131
147
|
readonly type: "string";
|
|
132
148
|
};
|
|
@@ -159,6 +175,7 @@ export declare const GitDependency: Schema.Utils.FromObject<{
|
|
|
159
175
|
readonly default: 60000;
|
|
160
176
|
};
|
|
161
177
|
readonly run: {
|
|
178
|
+
readonly type: "union";
|
|
162
179
|
readonly union: [{
|
|
163
180
|
readonly type: "string";
|
|
164
181
|
}, {
|
|
@@ -169,6 +186,7 @@ export declare const GitDependency: Schema.Utils.FromObject<{
|
|
|
169
186
|
}];
|
|
170
187
|
};
|
|
171
188
|
readonly extract: {
|
|
189
|
+
readonly type: "union";
|
|
172
190
|
readonly union: [{
|
|
173
191
|
readonly type: "string";
|
|
174
192
|
}, {
|
|
@@ -185,6 +203,7 @@ export declare const GitDependency: Schema.Utils.FromObject<{
|
|
|
185
203
|
readonly required: true;
|
|
186
204
|
};
|
|
187
205
|
readonly replacer: {
|
|
206
|
+
readonly type: "union";
|
|
188
207
|
readonly union: [{
|
|
189
208
|
readonly type: "string";
|
|
190
209
|
}, {
|
|
@@ -223,6 +242,7 @@ export declare const GitDependency: Schema.Utils.FromObject<{
|
|
|
223
242
|
readonly required: true;
|
|
224
243
|
};
|
|
225
244
|
readonly target: {
|
|
245
|
+
readonly type: "union";
|
|
226
246
|
readonly union: [{
|
|
227
247
|
readonly type: "string";
|
|
228
248
|
}, {
|
|
@@ -232,6 +252,9 @@ export declare const GitDependency: Schema.Utils.FromObject<{
|
|
|
232
252
|
readonly type: "string";
|
|
233
253
|
readonly required: true;
|
|
234
254
|
};
|
|
255
|
+
readonly type: {
|
|
256
|
+
readonly type: "string";
|
|
257
|
+
};
|
|
235
258
|
readonly cdn: {
|
|
236
259
|
readonly type: "string";
|
|
237
260
|
};
|
|
@@ -264,6 +287,7 @@ export declare const NpmDependency: Schema.Utils.FromObject<{
|
|
|
264
287
|
readonly default: 60000;
|
|
265
288
|
};
|
|
266
289
|
readonly run: {
|
|
290
|
+
readonly type: "union";
|
|
267
291
|
readonly union: [{
|
|
268
292
|
readonly type: "string";
|
|
269
293
|
}, {
|
|
@@ -274,6 +298,7 @@ export declare const NpmDependency: Schema.Utils.FromObject<{
|
|
|
274
298
|
}];
|
|
275
299
|
};
|
|
276
300
|
readonly extract: {
|
|
301
|
+
readonly type: "union";
|
|
277
302
|
readonly union: [{
|
|
278
303
|
readonly type: "string";
|
|
279
304
|
}, {
|
|
@@ -290,6 +315,7 @@ export declare const NpmDependency: Schema.Utils.FromObject<{
|
|
|
290
315
|
readonly required: true;
|
|
291
316
|
};
|
|
292
317
|
readonly replacer: {
|
|
318
|
+
readonly type: "union";
|
|
293
319
|
readonly union: [{
|
|
294
320
|
readonly type: "string";
|
|
295
321
|
}, {
|
|
@@ -328,6 +354,7 @@ export declare const NpmDependency: Schema.Utils.FromObject<{
|
|
|
328
354
|
readonly required: true;
|
|
329
355
|
};
|
|
330
356
|
readonly target: {
|
|
357
|
+
readonly type: "union";
|
|
331
358
|
readonly union: [{
|
|
332
359
|
readonly type: "string";
|
|
333
360
|
}, {
|
|
@@ -337,6 +364,9 @@ export declare const NpmDependency: Schema.Utils.FromObject<{
|
|
|
337
364
|
readonly type: "string";
|
|
338
365
|
readonly required: true;
|
|
339
366
|
};
|
|
367
|
+
readonly type: {
|
|
368
|
+
readonly type: "string";
|
|
369
|
+
};
|
|
340
370
|
readonly cdn: {
|
|
341
371
|
readonly type: "string";
|
|
342
372
|
};
|
|
@@ -372,6 +402,110 @@ export declare const Config: Schema.Utils.FromObject<{
|
|
|
372
402
|
readonly nullable: true;
|
|
373
403
|
readonly default: null;
|
|
374
404
|
};
|
|
405
|
+
readonly actions: {
|
|
406
|
+
readonly type: "object";
|
|
407
|
+
readonly allowAdditionalProperties: {
|
|
408
|
+
readonly type: "array";
|
|
409
|
+
readonly items: {
|
|
410
|
+
type: "object";
|
|
411
|
+
properties: {
|
|
412
|
+
readonly maxTimeMs: {
|
|
413
|
+
readonly type: "number";
|
|
414
|
+
readonly default: 60000;
|
|
415
|
+
};
|
|
416
|
+
readonly run: {
|
|
417
|
+
readonly type: "union";
|
|
418
|
+
readonly union: [{
|
|
419
|
+
readonly type: "string";
|
|
420
|
+
}, {
|
|
421
|
+
readonly type: "array";
|
|
422
|
+
readonly items: {
|
|
423
|
+
readonly type: "string";
|
|
424
|
+
};
|
|
425
|
+
}];
|
|
426
|
+
};
|
|
427
|
+
readonly extract: {
|
|
428
|
+
readonly type: "union";
|
|
429
|
+
readonly union: [{
|
|
430
|
+
readonly type: "string";
|
|
431
|
+
}, {
|
|
432
|
+
readonly type: "array";
|
|
433
|
+
readonly items: {
|
|
434
|
+
type: "object";
|
|
435
|
+
properties: {
|
|
436
|
+
readonly from: {
|
|
437
|
+
readonly type: "string";
|
|
438
|
+
readonly required: true;
|
|
439
|
+
};
|
|
440
|
+
readonly to: {
|
|
441
|
+
readonly type: "string";
|
|
442
|
+
readonly required: true;
|
|
443
|
+
};
|
|
444
|
+
readonly replacer: {
|
|
445
|
+
readonly type: "union";
|
|
446
|
+
readonly union: [{
|
|
447
|
+
readonly type: "string";
|
|
448
|
+
}, {
|
|
449
|
+
readonly type: "object";
|
|
450
|
+
readonly properties: {
|
|
451
|
+
readonly search: {
|
|
452
|
+
readonly type: "string";
|
|
453
|
+
readonly required: true;
|
|
454
|
+
};
|
|
455
|
+
readonly replace: {
|
|
456
|
+
readonly type: "string";
|
|
457
|
+
readonly required: true;
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
}];
|
|
461
|
+
readonly nullable: true;
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
allowAdditionalProperties: undefined;
|
|
465
|
+
};
|
|
466
|
+
}];
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
allowAdditionalProperties: undefined;
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
readonly default: {};
|
|
473
|
+
};
|
|
474
|
+
readonly resolver: {
|
|
475
|
+
readonly type: "array";
|
|
476
|
+
readonly default: [];
|
|
477
|
+
readonly items: {
|
|
478
|
+
type: "object";
|
|
479
|
+
properties: {
|
|
480
|
+
readonly alias: {
|
|
481
|
+
readonly type: "string";
|
|
482
|
+
readonly required: true;
|
|
483
|
+
};
|
|
484
|
+
readonly target: {
|
|
485
|
+
readonly type: "union";
|
|
486
|
+
readonly union: [{
|
|
487
|
+
readonly type: "string";
|
|
488
|
+
}, {
|
|
489
|
+
readonly type: "object";
|
|
490
|
+
readonly properties: {
|
|
491
|
+
readonly local: {
|
|
492
|
+
readonly type: "string";
|
|
493
|
+
readonly required: true;
|
|
494
|
+
};
|
|
495
|
+
readonly type: {
|
|
496
|
+
readonly type: "string";
|
|
497
|
+
};
|
|
498
|
+
readonly cdn: {
|
|
499
|
+
readonly type: "string";
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
}];
|
|
503
|
+
readonly required: true;
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
allowAdditionalProperties: undefined;
|
|
507
|
+
};
|
|
508
|
+
};
|
|
375
509
|
readonly dependencies: {
|
|
376
510
|
readonly type: "array";
|
|
377
511
|
readonly default: [];
|
|
@@ -401,6 +535,7 @@ export declare const Config: Schema.Utils.FromObject<{
|
|
|
401
535
|
readonly default: 60000;
|
|
402
536
|
};
|
|
403
537
|
readonly run: {
|
|
538
|
+
readonly type: "union";
|
|
404
539
|
readonly union: [{
|
|
405
540
|
readonly type: "string";
|
|
406
541
|
}, {
|
|
@@ -411,6 +546,7 @@ export declare const Config: Schema.Utils.FromObject<{
|
|
|
411
546
|
}];
|
|
412
547
|
};
|
|
413
548
|
readonly extract: {
|
|
549
|
+
readonly type: "union";
|
|
414
550
|
readonly union: [{
|
|
415
551
|
readonly type: "string";
|
|
416
552
|
}, {
|
|
@@ -427,6 +563,7 @@ export declare const Config: Schema.Utils.FromObject<{
|
|
|
427
563
|
readonly required: true;
|
|
428
564
|
};
|
|
429
565
|
readonly replacer: {
|
|
566
|
+
readonly type: "union";
|
|
430
567
|
readonly union: [{
|
|
431
568
|
readonly type: "string";
|
|
432
569
|
}, {
|
|
@@ -465,6 +602,7 @@ export declare const Config: Schema.Utils.FromObject<{
|
|
|
465
602
|
readonly required: true;
|
|
466
603
|
};
|
|
467
604
|
readonly target: {
|
|
605
|
+
readonly type: "union";
|
|
468
606
|
readonly union: [{
|
|
469
607
|
readonly type: "string";
|
|
470
608
|
}, {
|
|
@@ -474,6 +612,9 @@ export declare const Config: Schema.Utils.FromObject<{
|
|
|
474
612
|
readonly type: "string";
|
|
475
613
|
readonly required: true;
|
|
476
614
|
};
|
|
615
|
+
readonly type: {
|
|
616
|
+
readonly type: "string";
|
|
617
|
+
};
|
|
477
618
|
readonly cdn: {
|
|
478
619
|
readonly type: "string";
|
|
479
620
|
};
|
|
@@ -514,6 +655,7 @@ export declare const Config: Schema.Utils.FromObject<{
|
|
|
514
655
|
readonly default: 60000;
|
|
515
656
|
};
|
|
516
657
|
readonly run: {
|
|
658
|
+
readonly type: "union";
|
|
517
659
|
readonly union: [{
|
|
518
660
|
readonly type: "string";
|
|
519
661
|
}, {
|
|
@@ -524,6 +666,7 @@ export declare const Config: Schema.Utils.FromObject<{
|
|
|
524
666
|
}];
|
|
525
667
|
};
|
|
526
668
|
readonly extract: {
|
|
669
|
+
readonly type: "union";
|
|
527
670
|
readonly union: [{
|
|
528
671
|
readonly type: "string";
|
|
529
672
|
}, {
|
|
@@ -540,6 +683,7 @@ export declare const Config: Schema.Utils.FromObject<{
|
|
|
540
683
|
readonly required: true;
|
|
541
684
|
};
|
|
542
685
|
readonly replacer: {
|
|
686
|
+
readonly type: "union";
|
|
543
687
|
readonly union: [{
|
|
544
688
|
readonly type: "string";
|
|
545
689
|
}, {
|
|
@@ -578,6 +722,7 @@ export declare const Config: Schema.Utils.FromObject<{
|
|
|
578
722
|
readonly required: true;
|
|
579
723
|
};
|
|
580
724
|
readonly target: {
|
|
725
|
+
readonly type: "union";
|
|
581
726
|
readonly union: [{
|
|
582
727
|
readonly type: "string";
|
|
583
728
|
}, {
|
|
@@ -587,6 +732,9 @@ export declare const Config: Schema.Utils.FromObject<{
|
|
|
587
732
|
readonly type: "string";
|
|
588
733
|
readonly required: true;
|
|
589
734
|
};
|
|
735
|
+
readonly type: {
|
|
736
|
+
readonly type: "string";
|
|
737
|
+
};
|
|
590
738
|
readonly cdn: {
|
|
591
739
|
readonly type: "string";
|
|
592
740
|
};
|
|
@@ -627,6 +775,110 @@ export declare const Schemas: {
|
|
|
627
775
|
readonly nullable: true;
|
|
628
776
|
readonly default: null;
|
|
629
777
|
};
|
|
778
|
+
readonly actions: {
|
|
779
|
+
readonly type: "object";
|
|
780
|
+
readonly allowAdditionalProperties: {
|
|
781
|
+
readonly type: "array";
|
|
782
|
+
readonly items: {
|
|
783
|
+
type: "object";
|
|
784
|
+
properties: {
|
|
785
|
+
readonly maxTimeMs: {
|
|
786
|
+
readonly type: "number";
|
|
787
|
+
readonly default: 60000;
|
|
788
|
+
};
|
|
789
|
+
readonly run: {
|
|
790
|
+
readonly type: "union";
|
|
791
|
+
readonly union: [{
|
|
792
|
+
readonly type: "string";
|
|
793
|
+
}, {
|
|
794
|
+
readonly type: "array";
|
|
795
|
+
readonly items: {
|
|
796
|
+
readonly type: "string";
|
|
797
|
+
};
|
|
798
|
+
}];
|
|
799
|
+
};
|
|
800
|
+
readonly extract: {
|
|
801
|
+
readonly type: "union";
|
|
802
|
+
readonly union: [{
|
|
803
|
+
readonly type: "string";
|
|
804
|
+
}, {
|
|
805
|
+
readonly type: "array";
|
|
806
|
+
readonly items: {
|
|
807
|
+
type: "object";
|
|
808
|
+
properties: {
|
|
809
|
+
readonly from: {
|
|
810
|
+
readonly type: "string";
|
|
811
|
+
readonly required: true;
|
|
812
|
+
};
|
|
813
|
+
readonly to: {
|
|
814
|
+
readonly type: "string";
|
|
815
|
+
readonly required: true;
|
|
816
|
+
};
|
|
817
|
+
readonly replacer: {
|
|
818
|
+
readonly type: "union";
|
|
819
|
+
readonly union: [{
|
|
820
|
+
readonly type: "string";
|
|
821
|
+
}, {
|
|
822
|
+
readonly type: "object";
|
|
823
|
+
readonly properties: {
|
|
824
|
+
readonly search: {
|
|
825
|
+
readonly type: "string";
|
|
826
|
+
readonly required: true;
|
|
827
|
+
};
|
|
828
|
+
readonly replace: {
|
|
829
|
+
readonly type: "string";
|
|
830
|
+
readonly required: true;
|
|
831
|
+
};
|
|
832
|
+
};
|
|
833
|
+
}];
|
|
834
|
+
readonly nullable: true;
|
|
835
|
+
};
|
|
836
|
+
};
|
|
837
|
+
allowAdditionalProperties: undefined;
|
|
838
|
+
};
|
|
839
|
+
}];
|
|
840
|
+
};
|
|
841
|
+
};
|
|
842
|
+
allowAdditionalProperties: undefined;
|
|
843
|
+
};
|
|
844
|
+
};
|
|
845
|
+
readonly default: {};
|
|
846
|
+
};
|
|
847
|
+
readonly resolver: {
|
|
848
|
+
readonly type: "array";
|
|
849
|
+
readonly default: [];
|
|
850
|
+
readonly items: {
|
|
851
|
+
type: "object";
|
|
852
|
+
properties: {
|
|
853
|
+
readonly alias: {
|
|
854
|
+
readonly type: "string";
|
|
855
|
+
readonly required: true;
|
|
856
|
+
};
|
|
857
|
+
readonly target: {
|
|
858
|
+
readonly type: "union";
|
|
859
|
+
readonly union: [{
|
|
860
|
+
readonly type: "string";
|
|
861
|
+
}, {
|
|
862
|
+
readonly type: "object";
|
|
863
|
+
readonly properties: {
|
|
864
|
+
readonly local: {
|
|
865
|
+
readonly type: "string";
|
|
866
|
+
readonly required: true;
|
|
867
|
+
};
|
|
868
|
+
readonly type: {
|
|
869
|
+
readonly type: "string";
|
|
870
|
+
};
|
|
871
|
+
readonly cdn: {
|
|
872
|
+
readonly type: "string";
|
|
873
|
+
};
|
|
874
|
+
};
|
|
875
|
+
}];
|
|
876
|
+
readonly required: true;
|
|
877
|
+
};
|
|
878
|
+
};
|
|
879
|
+
allowAdditionalProperties: undefined;
|
|
880
|
+
};
|
|
881
|
+
};
|
|
630
882
|
readonly dependencies: {
|
|
631
883
|
readonly type: "array";
|
|
632
884
|
readonly default: [];
|
|
@@ -656,6 +908,7 @@ export declare const Schemas: {
|
|
|
656
908
|
readonly default: 60000;
|
|
657
909
|
};
|
|
658
910
|
readonly run: {
|
|
911
|
+
readonly type: "union";
|
|
659
912
|
readonly union: [{
|
|
660
913
|
readonly type: "string";
|
|
661
914
|
}, {
|
|
@@ -666,6 +919,7 @@ export declare const Schemas: {
|
|
|
666
919
|
}];
|
|
667
920
|
};
|
|
668
921
|
readonly extract: {
|
|
922
|
+
readonly type: "union";
|
|
669
923
|
readonly union: [{
|
|
670
924
|
readonly type: "string";
|
|
671
925
|
}, {
|
|
@@ -682,6 +936,7 @@ export declare const Schemas: {
|
|
|
682
936
|
readonly required: true;
|
|
683
937
|
};
|
|
684
938
|
readonly replacer: {
|
|
939
|
+
readonly type: "union";
|
|
685
940
|
readonly union: [{
|
|
686
941
|
readonly type: "string";
|
|
687
942
|
}, {
|
|
@@ -720,6 +975,7 @@ export declare const Schemas: {
|
|
|
720
975
|
readonly required: true;
|
|
721
976
|
};
|
|
722
977
|
readonly target: {
|
|
978
|
+
readonly type: "union";
|
|
723
979
|
readonly union: [{
|
|
724
980
|
readonly type: "string";
|
|
725
981
|
}, {
|
|
@@ -729,6 +985,9 @@ export declare const Schemas: {
|
|
|
729
985
|
readonly type: "string";
|
|
730
986
|
readonly required: true;
|
|
731
987
|
};
|
|
988
|
+
readonly type: {
|
|
989
|
+
readonly type: "string";
|
|
990
|
+
};
|
|
732
991
|
readonly cdn: {
|
|
733
992
|
readonly type: "string";
|
|
734
993
|
};
|
|
@@ -769,6 +1028,7 @@ export declare const Schemas: {
|
|
|
769
1028
|
readonly default: 60000;
|
|
770
1029
|
};
|
|
771
1030
|
readonly run: {
|
|
1031
|
+
readonly type: "union";
|
|
772
1032
|
readonly union: [{
|
|
773
1033
|
readonly type: "string";
|
|
774
1034
|
}, {
|
|
@@ -779,6 +1039,7 @@ export declare const Schemas: {
|
|
|
779
1039
|
}];
|
|
780
1040
|
};
|
|
781
1041
|
readonly extract: {
|
|
1042
|
+
readonly type: "union";
|
|
782
1043
|
readonly union: [{
|
|
783
1044
|
readonly type: "string";
|
|
784
1045
|
}, {
|
|
@@ -795,6 +1056,7 @@ export declare const Schemas: {
|
|
|
795
1056
|
readonly required: true;
|
|
796
1057
|
};
|
|
797
1058
|
readonly replacer: {
|
|
1059
|
+
readonly type: "union";
|
|
798
1060
|
readonly union: [{
|
|
799
1061
|
readonly type: "string";
|
|
800
1062
|
}, {
|
|
@@ -833,6 +1095,7 @@ export declare const Schemas: {
|
|
|
833
1095
|
readonly required: true;
|
|
834
1096
|
};
|
|
835
1097
|
readonly target: {
|
|
1098
|
+
readonly type: "union";
|
|
836
1099
|
readonly union: [{
|
|
837
1100
|
readonly type: "string";
|
|
838
1101
|
}, {
|
|
@@ -842,6 +1105,9 @@ export declare const Schemas: {
|
|
|
842
1105
|
readonly type: "string";
|
|
843
1106
|
readonly required: true;
|
|
844
1107
|
};
|
|
1108
|
+
readonly type: {
|
|
1109
|
+
readonly type: "string";
|
|
1110
|
+
};
|
|
845
1111
|
readonly cdn: {
|
|
846
1112
|
readonly type: "string";
|
|
847
1113
|
};
|
|
@@ -873,6 +1139,12 @@ export declare const Schemas: {
|
|
|
873
1139
|
};
|
|
874
1140
|
readonly paths: {
|
|
875
1141
|
readonly type: "object";
|
|
1142
|
+
readonly allowAdditionalProperties: {
|
|
1143
|
+
readonly type: "array";
|
|
1144
|
+
readonly items: {
|
|
1145
|
+
readonly type: "string";
|
|
1146
|
+
};
|
|
1147
|
+
};
|
|
876
1148
|
};
|
|
877
1149
|
};
|
|
878
1150
|
readonly allowAdditionalProperties: true;
|
|
@@ -881,10 +1153,12 @@ export declare const Schemas: {
|
|
|
881
1153
|
ImportMap: Schema.Utils.FromObject<{
|
|
882
1154
|
readonly imports: {
|
|
883
1155
|
readonly type: "object";
|
|
1156
|
+
readonly allowAdditionalProperties: true;
|
|
884
1157
|
readonly default: {};
|
|
885
1158
|
};
|
|
886
1159
|
readonly scopes: {
|
|
887
1160
|
readonly type: "object";
|
|
1161
|
+
readonly allowAdditionalProperties: true;
|
|
888
1162
|
readonly default: {};
|
|
889
1163
|
};
|
|
890
1164
|
}, undefined>;
|
|
@@ -894,6 +1168,7 @@ export declare const Schemas: {
|
|
|
894
1168
|
readonly default: 60000;
|
|
895
1169
|
};
|
|
896
1170
|
readonly run: {
|
|
1171
|
+
readonly type: "union";
|
|
897
1172
|
readonly union: [{
|
|
898
1173
|
readonly type: "string";
|
|
899
1174
|
}, {
|
|
@@ -904,6 +1179,7 @@ export declare const Schemas: {
|
|
|
904
1179
|
}];
|
|
905
1180
|
};
|
|
906
1181
|
readonly extract: {
|
|
1182
|
+
readonly type: "union";
|
|
907
1183
|
readonly union: [{
|
|
908
1184
|
readonly type: "string";
|
|
909
1185
|
}, {
|
|
@@ -920,6 +1196,7 @@ export declare const Schemas: {
|
|
|
920
1196
|
readonly required: true;
|
|
921
1197
|
};
|
|
922
1198
|
readonly replacer: {
|
|
1199
|
+
readonly type: "union";
|
|
923
1200
|
readonly union: [{
|
|
924
1201
|
readonly type: "string";
|
|
925
1202
|
}, {
|
|
@@ -949,6 +1226,7 @@ export declare const Schemas: {
|
|
|
949
1226
|
readonly required: true;
|
|
950
1227
|
};
|
|
951
1228
|
readonly target: {
|
|
1229
|
+
readonly type: "union";
|
|
952
1230
|
readonly union: [{
|
|
953
1231
|
readonly type: "string";
|
|
954
1232
|
}, {
|
|
@@ -958,6 +1236,9 @@ export declare const Schemas: {
|
|
|
958
1236
|
readonly type: "string";
|
|
959
1237
|
readonly required: true;
|
|
960
1238
|
};
|
|
1239
|
+
readonly type: {
|
|
1240
|
+
readonly type: "string";
|
|
1241
|
+
};
|
|
961
1242
|
readonly cdn: {
|
|
962
1243
|
readonly type: "string";
|
|
963
1244
|
};
|
|
@@ -990,6 +1271,7 @@ export declare const Schemas: {
|
|
|
990
1271
|
readonly default: 60000;
|
|
991
1272
|
};
|
|
992
1273
|
readonly run: {
|
|
1274
|
+
readonly type: "union";
|
|
993
1275
|
readonly union: [{
|
|
994
1276
|
readonly type: "string";
|
|
995
1277
|
}, {
|
|
@@ -1000,6 +1282,7 @@ export declare const Schemas: {
|
|
|
1000
1282
|
}];
|
|
1001
1283
|
};
|
|
1002
1284
|
readonly extract: {
|
|
1285
|
+
readonly type: "union";
|
|
1003
1286
|
readonly union: [{
|
|
1004
1287
|
readonly type: "string";
|
|
1005
1288
|
}, {
|
|
@@ -1016,6 +1299,7 @@ export declare const Schemas: {
|
|
|
1016
1299
|
readonly required: true;
|
|
1017
1300
|
};
|
|
1018
1301
|
readonly replacer: {
|
|
1302
|
+
readonly type: "union";
|
|
1019
1303
|
readonly union: [{
|
|
1020
1304
|
readonly type: "string";
|
|
1021
1305
|
}, {
|
|
@@ -1054,6 +1338,7 @@ export declare const Schemas: {
|
|
|
1054
1338
|
readonly required: true;
|
|
1055
1339
|
};
|
|
1056
1340
|
readonly target: {
|
|
1341
|
+
readonly type: "union";
|
|
1057
1342
|
readonly union: [{
|
|
1058
1343
|
readonly type: "string";
|
|
1059
1344
|
}, {
|
|
@@ -1063,6 +1348,9 @@ export declare const Schemas: {
|
|
|
1063
1348
|
readonly type: "string";
|
|
1064
1349
|
readonly required: true;
|
|
1065
1350
|
};
|
|
1351
|
+
readonly type: {
|
|
1352
|
+
readonly type: "string";
|
|
1353
|
+
};
|
|
1066
1354
|
readonly cdn: {
|
|
1067
1355
|
readonly type: "string";
|
|
1068
1356
|
};
|
|
@@ -1095,6 +1383,7 @@ export declare const Schemas: {
|
|
|
1095
1383
|
readonly default: 60000;
|
|
1096
1384
|
};
|
|
1097
1385
|
readonly run: {
|
|
1386
|
+
readonly type: "union";
|
|
1098
1387
|
readonly union: [{
|
|
1099
1388
|
readonly type: "string";
|
|
1100
1389
|
}, {
|
|
@@ -1105,6 +1394,7 @@ export declare const Schemas: {
|
|
|
1105
1394
|
}];
|
|
1106
1395
|
};
|
|
1107
1396
|
readonly extract: {
|
|
1397
|
+
readonly type: "union";
|
|
1108
1398
|
readonly union: [{
|
|
1109
1399
|
readonly type: "string";
|
|
1110
1400
|
}, {
|
|
@@ -1121,6 +1411,7 @@ export declare const Schemas: {
|
|
|
1121
1411
|
readonly required: true;
|
|
1122
1412
|
};
|
|
1123
1413
|
readonly replacer: {
|
|
1414
|
+
readonly type: "union";
|
|
1124
1415
|
readonly union: [{
|
|
1125
1416
|
readonly type: "string";
|
|
1126
1417
|
}, {
|
|
@@ -1159,6 +1450,7 @@ export declare const Schemas: {
|
|
|
1159
1450
|
readonly required: true;
|
|
1160
1451
|
};
|
|
1161
1452
|
readonly target: {
|
|
1453
|
+
readonly type: "union";
|
|
1162
1454
|
readonly union: [{
|
|
1163
1455
|
readonly type: "string";
|
|
1164
1456
|
}, {
|
|
@@ -1168,6 +1460,9 @@ export declare const Schemas: {
|
|
|
1168
1460
|
readonly type: "string";
|
|
1169
1461
|
readonly required: true;
|
|
1170
1462
|
};
|
|
1463
|
+
readonly type: {
|
|
1464
|
+
readonly type: "string";
|
|
1465
|
+
};
|
|
1171
1466
|
readonly cdn: {
|
|
1172
1467
|
readonly type: "string";
|
|
1173
1468
|
};
|
package/build/config/schemas.js
CHANGED
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
import { Schema } from '@netfeez/common';
|
|
2
2
|
export const ImportMap = Schema.fromObject({
|
|
3
|
-
imports: { type: 'object', default: {} },
|
|
4
|
-
scopes: { type: 'object', default: {} }
|
|
3
|
+
imports: { type: 'object', allowAdditionalProperties: true, default: {} },
|
|
4
|
+
scopes: { type: 'object', allowAdditionalProperties: true, default: {} }
|
|
5
5
|
});
|
|
6
6
|
export const TsConfig = Schema.fromObject({
|
|
7
7
|
compilerOptions: { type: 'object', properties: {
|
|
8
8
|
baseUrl: { type: 'string' },
|
|
9
9
|
rootDir: { type: 'string' },
|
|
10
10
|
outDir: { type: 'string' },
|
|
11
|
-
paths: { type: 'object' }
|
|
11
|
+
paths: { type: 'object', allowAdditionalProperties: { type: 'array', items: { type: 'string' } } }
|
|
12
12
|
}, allowAdditionalProperties: true }
|
|
13
13
|
}, true);
|
|
14
14
|
export const ExtractorEntry = Schema.fromObject({
|
|
15
15
|
from: { type: 'string', required: true },
|
|
16
16
|
to: { type: 'string', required: true },
|
|
17
|
-
replacer: { union: [{ type: 'string' }, { type: 'object', properties: {
|
|
17
|
+
replacer: { type: 'union', union: [{ type: 'string' }, { type: 'object', properties: {
|
|
18
18
|
search: { type: 'string', required: true },
|
|
19
19
|
replace: { type: 'string', required: true }
|
|
20
20
|
} }], nullable: true }
|
|
21
21
|
});
|
|
22
22
|
export const BuilderEntry = Schema.fromObject({
|
|
23
23
|
maxTimeMs: { type: 'number', default: 60000 },
|
|
24
|
-
run: { union: [{ type: 'string' }, { type: 'array', items: { type: 'string' } }] },
|
|
25
|
-
extract: { union: [{ type: 'string' }, { type: 'array', items: ExtractorEntry.root }] }
|
|
24
|
+
run: { type: 'union', union: [{ type: 'string' }, { type: 'array', items: { type: 'string' } }] },
|
|
25
|
+
extract: { type: 'union', union: [{ type: 'string' }, { type: 'array', items: ExtractorEntry.root }] }
|
|
26
26
|
});
|
|
27
27
|
export const ResolverEntry = Schema.fromObject({
|
|
28
28
|
alias: { type: 'string', required: true },
|
|
29
|
-
target: { union: [
|
|
29
|
+
target: { type: 'union', union: [
|
|
30
30
|
{ type: 'string' },
|
|
31
31
|
{ type: 'object', properties: {
|
|
32
32
|
local: { type: 'string', required: true },
|
|
33
|
+
type: { type: 'string' },
|
|
33
34
|
cdn: { type: 'string' }
|
|
34
35
|
} }
|
|
35
36
|
], required: true }
|
|
@@ -53,6 +54,8 @@ export const Config = Schema.fromObject({
|
|
|
53
54
|
outDir: { type: 'string', default: 'dist' },
|
|
54
55
|
tsconfig: { type: 'string', nullable: true, default: null },
|
|
55
56
|
importmap: { type: 'string', nullable: true, default: null },
|
|
57
|
+
actions: { type: 'object', allowAdditionalProperties: { type: 'array', items: BuilderEntry.root }, default: {} },
|
|
58
|
+
resolver: { type: 'array', default: [], items: ResolverEntry.root },
|
|
56
59
|
dependencies: { type: 'array', default: [], items: GitDependency.root },
|
|
57
60
|
npmDependencies: { type: 'array', default: [], items: NpmDependency.root }
|
|
58
61
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../src/config/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../src/config/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,UAAU,CAAC;IACvC,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,yBAAyB,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE;IACzE,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,yBAAyB,EAAE,IA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5D,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,yBAAyB,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAChH,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,aAAa,CAAC,IAAI,EAAE;IACnE,YAAY,EAAE,EAAG,IAAI,EAAE,OAAO,EAAG,OAAO,EAAE,EAAE,EAAG,KAAK,EAAE,aAAa,CAAC,IAAI,EAAE;IAC1E,eAAe,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,aAAa,CAAC,IAAI,EAAE;CAC7E,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG;IACnB,MAAM;IACN,QAAQ,EAAE,SAAS;IACnB,YAAY,EAAE,aAAa;IAC3B,aAAa,EAAE,aAAa;CAC/B,CAAC;AAYF,eAAe,OAAO,CAAC"}
|
|
@@ -10,10 +10,20 @@ export declare class AliasCompiler {
|
|
|
10
10
|
* @returns An array of compiled alias objects ready for use in path resolution.
|
|
11
11
|
*/
|
|
12
12
|
compile(config: Schemas.Config['infer']): AliasCompiler.CompiledAlias[];
|
|
13
|
+
/**
|
|
14
|
+
* Resolves an array of resolver entries into compiled alias objects, handling both string and object target formats.
|
|
15
|
+
* It determines if each alias is a wildcard and resolves local paths to absolute paths based on the project root.
|
|
16
|
+
* The method also extracts type and CDN targets if provided in the resolver entry.
|
|
17
|
+
* @param resolver An array of resolver entries to process into compiled aliases.
|
|
18
|
+
* @returns An array of compiled alias objects derived from the resolver entries.
|
|
19
|
+
*/
|
|
20
|
+
protected resolve(resolver: AliasCompiler.Resolver[]): AliasCompiler.CompiledAlias[];
|
|
13
21
|
}
|
|
14
22
|
export declare namespace AliasCompiler {
|
|
23
|
+
type Resolver = Schemas.ResolverEntry['infer'];
|
|
15
24
|
interface Target {
|
|
16
25
|
local: string;
|
|
26
|
+
type?: string;
|
|
17
27
|
cdn?: string;
|
|
18
28
|
}
|
|
19
29
|
interface CompiledAlias {
|
|
@@ -14,23 +14,46 @@ export class AliasCompiler {
|
|
|
14
14
|
*/
|
|
15
15
|
compile(config) {
|
|
16
16
|
const result = [];
|
|
17
|
-
const allDeps = [
|
|
17
|
+
const allDeps = [
|
|
18
|
+
...(config.dependencies || []),
|
|
19
|
+
...(config.npmDependencies || [])
|
|
20
|
+
];
|
|
21
|
+
const baseResolvers = config.resolver || [];
|
|
18
22
|
for (const dep of allDeps) {
|
|
19
23
|
if (typeof dep !== 'object' || !dep.resolver)
|
|
20
24
|
continue;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
result.push(...this.resolve(dep.resolver));
|
|
26
|
+
}
|
|
27
|
+
result.push(...this.resolve(baseResolvers));
|
|
28
|
+
return result;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Resolves an array of resolver entries into compiled alias objects, handling both string and object target formats.
|
|
32
|
+
* It determines if each alias is a wildcard and resolves local paths to absolute paths based on the project root.
|
|
33
|
+
* The method also extracts type and CDN targets if provided in the resolver entry.
|
|
34
|
+
* @param resolver An array of resolver entries to process into compiled aliases.
|
|
35
|
+
* @returns An array of compiled alias objects derived from the resolver entries.
|
|
36
|
+
*/
|
|
37
|
+
resolve(resolver) {
|
|
38
|
+
const result = [];
|
|
39
|
+
for (const entry of resolver) {
|
|
40
|
+
const isWildcard = Utils.isWildcard(entry.alias);
|
|
41
|
+
const alias = Utils.removeWildcardSuffix(entry.alias);
|
|
42
|
+
const rawLocal = typeof entry.target === 'string' ? entry.target : entry.target.local;
|
|
43
|
+
const localTarget = path.isAbsolute(rawLocal)
|
|
44
|
+
? Utils.removeWildcardSuffix(rawLocal)
|
|
45
|
+
: path.resolve(this.projectRoot, Utils.removeWildcardSuffix(rawLocal));
|
|
46
|
+
let cdnTarget;
|
|
47
|
+
let typeTarget;
|
|
48
|
+
if (typeof entry.target === 'object') {
|
|
49
|
+
if (entry.target.type) {
|
|
50
|
+
typeTarget = Utils.removeWildcardSuffix(entry.target.type);
|
|
51
|
+
}
|
|
52
|
+
if (entry.target.cdn) {
|
|
30
53
|
cdnTarget = Utils.removeWildcardSuffix(entry.target.cdn);
|
|
31
54
|
}
|
|
32
|
-
result.push({ alias, isWildcard, targets: { local: localTarget, cdn: cdnTarget } });
|
|
33
55
|
}
|
|
56
|
+
result.push({ alias, isWildcard, targets: { local: localTarget, type: typeTarget, cdn: cdnTarget } });
|
|
34
57
|
}
|
|
35
58
|
return result;
|
|
36
59
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AliasCompiler.js","sourceRoot":"","sources":["../../../src/support/PathResolver/AliasCompiler.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAG7B,OAAO,KAAK,MAAM,YAAY,CAAC;AAE/B,MAAM,OAAO,aAAa;IACF;IAApB,YAAoB,WAAmB;QAAnB,gBAAW,GAAX,WAAW,CAAQ;IAAG,CAAC;IAC3C;;;;;;OAMG;IACI,OAAO,CAAC,MAA+B;QAC1C,MAAM,MAAM,GAAkC,EAAE,CAAC;QACjD,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"AliasCompiler.js","sourceRoot":"","sources":["../../../src/support/PathResolver/AliasCompiler.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAG7B,OAAO,KAAK,MAAM,YAAY,CAAC;AAE/B,MAAM,OAAO,aAAa;IACF;IAApB,YAAoB,WAAmB;QAAnB,gBAAW,GAAX,WAAW,CAAQ;IAAG,CAAC;IAC3C;;;;;;OAMG;IACI,OAAO,CAAC,MAA+B;QAC1C,MAAM,MAAM,GAAkC,EAAE,CAAC;QACjD,MAAM,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AAC;YAE3E,IAAI,SAA6B,CAAC;YAClC,IAAI,UAA8B,CAAC;YACnC,IAAI,OAAO,KAAK,CAAC,MAAM,KAAK,QAAQ,EAAE,CAAC;gBACnC,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;oBACpB,UAAU,GAAG,KAAK,CAAC,oBAAoB,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;gBAC/D,CAAC;gBACD,IAAI,KAAK,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;oBACnB,SAAS,GAAG,KAAK,CAAC,oBAAoB,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;gBAC7D,CAAC;YACL,CAAC;YACD,MAAM,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,SAAS,EAAE,EAAE,CAAC,CAAC;QAC1G,CAAC;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AAcD,eAAe,aAAa,CAAC"}
|
|
@@ -23,7 +23,7 @@ export class PathResolver {
|
|
|
23
23
|
this.config = config;
|
|
24
24
|
this.options = options;
|
|
25
25
|
this.logger = options.logger || new Logger({ name: 'PATH-RW' });
|
|
26
|
-
const outDir = config.outDir || '
|
|
26
|
+
const outDir = config.outDir || 'build';
|
|
27
27
|
this.absoluteOutDir = !PATH.isAbsolute(outDir)
|
|
28
28
|
? PATH.resolve(PathResolver.PROJECT_ROOT, outDir)
|
|
29
29
|
: outDir;
|
|
@@ -36,7 +36,7 @@ export class PathResolver {
|
|
|
36
36
|
* @param mode The resolution mode ('local' or 'cdn') to determine which target paths to use.
|
|
37
37
|
*/
|
|
38
38
|
async rewritePaths(mode) {
|
|
39
|
-
this.logger.log(`&C2Starting path resolver in &C3${mode} &C2mode...`);
|
|
39
|
+
this.logger.log(`&C2Starting path resolver in &C3${mode} &C2mode for ${this.absoluteOutDir}...`);
|
|
40
40
|
if (!await File.exists(this.absoluteOutDir))
|
|
41
41
|
return void this.logger.warn(`Directory &C4${this.absoluteOutDir}&R not found.`);
|
|
42
42
|
// const files = await File.getAllFiles(this.absoluteOutDir, PathResolver.EXTENSIONS);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PathResolver.js","sourceRoot":"","sources":["../../../src/support/PathResolver/PathResolver.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,EAAE,EAAE,QAAQ,IAAI,GAAG,EAAE,MAAM,SAAS,CAAC;AAE9C,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,OAAO,KAAK,MAAM,aAAa,CAAC;AAEhC,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAC7C,OAAO,aAAa,MAAM,oBAAoB,CAAC;AAE/C,MAAM,OAAO,YAAY;IAUD;IACA;IAVb,MAAM,CAAU,YAAY,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAC7C,MAAM,CAAU,UAAU,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAEhD,MAAM,CAAS;IACf,QAAQ,CAAe;IACvB,cAAc,CAAS;IAC1B,OAAO,CAAgC;IAEvD,YACoB,MAA+B,EAC/B,UAAgC,EAAE;QADlC,WAAM,GAAN,MAAM,CAAyB;QAC/B,YAAO,GAAP,OAAO,CAA2B;QAElD,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,IAAI,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC;QAEhE,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"PathResolver.js","sourceRoot":"","sources":["../../../src/support/PathResolver/PathResolver.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C,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;YACtF,IAAI,CAAC,iBAAiB;gBAAE,OAAO;YAE/B,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;YAC1D,kBAAkB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;QAC3C,CAAC,CAAC,CAAC;IACP,CAAC;;AAQL,eAAe,YAAY,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "depflow",
|
|
3
3
|
"description": "is a simple dependency manager based on github repositories",
|
|
4
|
-
"version": "3.0.0-dev.
|
|
4
|
+
"version": "3.0.0-dev.3",
|
|
5
5
|
"main": "build/bin/bin.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
@@ -9,13 +9,12 @@
|
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"dev": "npx tsc --watch",
|
|
12
|
-
"
|
|
13
|
-
"prepare": "npm run
|
|
12
|
+
"build": "bash ./scripts/build.sh",
|
|
13
|
+
"prepare": "npm run build"
|
|
14
14
|
},
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
16
|
"repository": {
|
|
17
|
-
"
|
|
18
|
-
"url": "https://github.com/NetFeez/DependencyManager.git"
|
|
17
|
+
"url": "git+https://github.com/NetFeez/depflow.git"
|
|
19
18
|
},
|
|
20
19
|
"author": {
|
|
21
20
|
"name": "NetFeez",
|
|
@@ -33,7 +32,7 @@
|
|
|
33
32
|
"README.md"
|
|
34
33
|
],
|
|
35
34
|
"dependencies": {
|
|
36
|
-
"@netfeez/common": "^3.
|
|
35
|
+
"@netfeez/common": "^3.2.0",
|
|
37
36
|
"@netfeez/common-node": "^3.0.0",
|
|
38
37
|
"@netfeez/vterm": "^1.1.0"
|
|
39
38
|
},
|