depflow 3.0.0-dev.3 → 3.0.0-dev.5
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 +1 -0
- package/build/cli/DepFLowCLI.js.map +1 -1
- package/build/config/schemas.d.ts +375 -0
- package/build/config/schemas.js +10 -4
- package/build/config/schemas.js.map +1 -1
- package/build/support/Builder/Builder.d.ts +9 -0
- package/build/support/Builder/Builder.js +29 -6
- package/build/support/Builder/Builder.js.map +1 -1
- package/build/support/Git.js +1 -1
- package/build/support/Git.js.map +1 -1
- package/build/support/PathResolver/PathResolver.d.ts +1 -1
- package/build/support/PathResolver/PathResolver.js +22 -21
- package/build/support/PathResolver/PathResolver.js.map +1 -1
- package/build/support/Task/Task.js +1 -1
- package/build/support/Task/Task.js.map +1 -1
- package/package.json +4 -4
- package/build/support/Async.d.ts +0 -22
- package/build/support/Async.js +0 -62
- package/build/support/Async.js.map +0 -1
package/build/cli/DepFLowCLI.js
CHANGED
|
@@ -197,6 +197,7 @@ export class DepFlowCLI extends DebugUI {
|
|
|
197
197
|
const watch = args.includes('--watch') || args.includes('-w');
|
|
198
198
|
const useCDN = args.includes('--cdn');
|
|
199
199
|
const mode = useCDN ? 'cdn' : 'local';
|
|
200
|
+
const dir = config.outDir;
|
|
200
201
|
this.out.info(`Mode: &C3${useCDN ? 'CDN' : 'Local'}`);
|
|
201
202
|
if (watch)
|
|
202
203
|
this.out.info(`Watcher: &C2Enabled`);
|
|
@@ -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,O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a,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"}
|
|
@@ -37,6 +37,29 @@ export declare const TsConfig: Schema.Utils.FromObject<{
|
|
|
37
37
|
readonly allowAdditionalProperties: true;
|
|
38
38
|
};
|
|
39
39
|
}, true>;
|
|
40
|
+
export declare const Replacer: Schema<{
|
|
41
|
+
readonly type: "union";
|
|
42
|
+
readonly union: [{
|
|
43
|
+
readonly type: "string";
|
|
44
|
+
}, {
|
|
45
|
+
readonly type: "object";
|
|
46
|
+
readonly properties: {
|
|
47
|
+
readonly search: {
|
|
48
|
+
readonly type: "string";
|
|
49
|
+
readonly required: true;
|
|
50
|
+
};
|
|
51
|
+
readonly flags: {
|
|
52
|
+
readonly type: "string";
|
|
53
|
+
readonly default: "";
|
|
54
|
+
};
|
|
55
|
+
readonly replace: {
|
|
56
|
+
readonly type: "string";
|
|
57
|
+
readonly required: true;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
}];
|
|
61
|
+
readonly nullable: true;
|
|
62
|
+
}>;
|
|
40
63
|
export declare const ExtractorEntry: Schema.Utils.FromObject<{
|
|
41
64
|
readonly from: {
|
|
42
65
|
readonly type: "string";
|
|
@@ -46,6 +69,29 @@ export declare const ExtractorEntry: Schema.Utils.FromObject<{
|
|
|
46
69
|
readonly type: "string";
|
|
47
70
|
readonly required: true;
|
|
48
71
|
};
|
|
72
|
+
readonly pathReplacer: {
|
|
73
|
+
readonly type: "union";
|
|
74
|
+
readonly union: [{
|
|
75
|
+
readonly type: "string";
|
|
76
|
+
}, {
|
|
77
|
+
readonly type: "object";
|
|
78
|
+
readonly properties: {
|
|
79
|
+
readonly search: {
|
|
80
|
+
readonly type: "string";
|
|
81
|
+
readonly required: true;
|
|
82
|
+
};
|
|
83
|
+
readonly flags: {
|
|
84
|
+
readonly type: "string";
|
|
85
|
+
readonly default: "";
|
|
86
|
+
};
|
|
87
|
+
readonly replace: {
|
|
88
|
+
readonly type: "string";
|
|
89
|
+
readonly required: true;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}];
|
|
93
|
+
readonly nullable: true;
|
|
94
|
+
};
|
|
49
95
|
readonly replacer: {
|
|
50
96
|
readonly type: "union";
|
|
51
97
|
readonly union: [{
|
|
@@ -57,6 +103,10 @@ export declare const ExtractorEntry: Schema.Utils.FromObject<{
|
|
|
57
103
|
readonly type: "string";
|
|
58
104
|
readonly required: true;
|
|
59
105
|
};
|
|
106
|
+
readonly flags: {
|
|
107
|
+
readonly type: "string";
|
|
108
|
+
readonly default: "";
|
|
109
|
+
};
|
|
60
110
|
readonly replace: {
|
|
61
111
|
readonly type: "string";
|
|
62
112
|
readonly required: true;
|
|
@@ -99,6 +149,29 @@ export declare const BuilderEntry: Schema.Utils.FromObject<{
|
|
|
99
149
|
readonly type: "string";
|
|
100
150
|
readonly required: true;
|
|
101
151
|
};
|
|
152
|
+
readonly pathReplacer: {
|
|
153
|
+
readonly type: "union";
|
|
154
|
+
readonly union: [{
|
|
155
|
+
readonly type: "string";
|
|
156
|
+
}, {
|
|
157
|
+
readonly type: "object";
|
|
158
|
+
readonly properties: {
|
|
159
|
+
readonly search: {
|
|
160
|
+
readonly type: "string";
|
|
161
|
+
readonly required: true;
|
|
162
|
+
};
|
|
163
|
+
readonly flags: {
|
|
164
|
+
readonly type: "string";
|
|
165
|
+
readonly default: "";
|
|
166
|
+
};
|
|
167
|
+
readonly replace: {
|
|
168
|
+
readonly type: "string";
|
|
169
|
+
readonly required: true;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
}];
|
|
173
|
+
readonly nullable: true;
|
|
174
|
+
};
|
|
102
175
|
readonly replacer: {
|
|
103
176
|
readonly type: "union";
|
|
104
177
|
readonly union: [{
|
|
@@ -110,6 +183,10 @@ export declare const BuilderEntry: Schema.Utils.FromObject<{
|
|
|
110
183
|
readonly type: "string";
|
|
111
184
|
readonly required: true;
|
|
112
185
|
};
|
|
186
|
+
readonly flags: {
|
|
187
|
+
readonly type: "string";
|
|
188
|
+
readonly default: "";
|
|
189
|
+
};
|
|
113
190
|
readonly replace: {
|
|
114
191
|
readonly type: "string";
|
|
115
192
|
readonly required: true;
|
|
@@ -202,6 +279,29 @@ export declare const GitDependency: Schema.Utils.FromObject<{
|
|
|
202
279
|
readonly type: "string";
|
|
203
280
|
readonly required: true;
|
|
204
281
|
};
|
|
282
|
+
readonly pathReplacer: {
|
|
283
|
+
readonly type: "union";
|
|
284
|
+
readonly union: [{
|
|
285
|
+
readonly type: "string";
|
|
286
|
+
}, {
|
|
287
|
+
readonly type: "object";
|
|
288
|
+
readonly properties: {
|
|
289
|
+
readonly search: {
|
|
290
|
+
readonly type: "string";
|
|
291
|
+
readonly required: true;
|
|
292
|
+
};
|
|
293
|
+
readonly flags: {
|
|
294
|
+
readonly type: "string";
|
|
295
|
+
readonly default: "";
|
|
296
|
+
};
|
|
297
|
+
readonly replace: {
|
|
298
|
+
readonly type: "string";
|
|
299
|
+
readonly required: true;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
}];
|
|
303
|
+
readonly nullable: true;
|
|
304
|
+
};
|
|
205
305
|
readonly replacer: {
|
|
206
306
|
readonly type: "union";
|
|
207
307
|
readonly union: [{
|
|
@@ -213,6 +313,10 @@ export declare const GitDependency: Schema.Utils.FromObject<{
|
|
|
213
313
|
readonly type: "string";
|
|
214
314
|
readonly required: true;
|
|
215
315
|
};
|
|
316
|
+
readonly flags: {
|
|
317
|
+
readonly type: "string";
|
|
318
|
+
readonly default: "";
|
|
319
|
+
};
|
|
216
320
|
readonly replace: {
|
|
217
321
|
readonly type: "string";
|
|
218
322
|
readonly required: true;
|
|
@@ -314,6 +418,29 @@ export declare const NpmDependency: Schema.Utils.FromObject<{
|
|
|
314
418
|
readonly type: "string";
|
|
315
419
|
readonly required: true;
|
|
316
420
|
};
|
|
421
|
+
readonly pathReplacer: {
|
|
422
|
+
readonly type: "union";
|
|
423
|
+
readonly union: [{
|
|
424
|
+
readonly type: "string";
|
|
425
|
+
}, {
|
|
426
|
+
readonly type: "object";
|
|
427
|
+
readonly properties: {
|
|
428
|
+
readonly search: {
|
|
429
|
+
readonly type: "string";
|
|
430
|
+
readonly required: true;
|
|
431
|
+
};
|
|
432
|
+
readonly flags: {
|
|
433
|
+
readonly type: "string";
|
|
434
|
+
readonly default: "";
|
|
435
|
+
};
|
|
436
|
+
readonly replace: {
|
|
437
|
+
readonly type: "string";
|
|
438
|
+
readonly required: true;
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
}];
|
|
442
|
+
readonly nullable: true;
|
|
443
|
+
};
|
|
317
444
|
readonly replacer: {
|
|
318
445
|
readonly type: "union";
|
|
319
446
|
readonly union: [{
|
|
@@ -325,6 +452,10 @@ export declare const NpmDependency: Schema.Utils.FromObject<{
|
|
|
325
452
|
readonly type: "string";
|
|
326
453
|
readonly required: true;
|
|
327
454
|
};
|
|
455
|
+
readonly flags: {
|
|
456
|
+
readonly type: "string";
|
|
457
|
+
readonly default: "";
|
|
458
|
+
};
|
|
328
459
|
readonly replace: {
|
|
329
460
|
readonly type: "string";
|
|
330
461
|
readonly required: true;
|
|
@@ -441,6 +572,29 @@ export declare const Config: Schema.Utils.FromObject<{
|
|
|
441
572
|
readonly type: "string";
|
|
442
573
|
readonly required: true;
|
|
443
574
|
};
|
|
575
|
+
readonly pathReplacer: {
|
|
576
|
+
readonly type: "union";
|
|
577
|
+
readonly union: [{
|
|
578
|
+
readonly type: "string";
|
|
579
|
+
}, {
|
|
580
|
+
readonly type: "object";
|
|
581
|
+
readonly properties: {
|
|
582
|
+
readonly search: {
|
|
583
|
+
readonly type: "string";
|
|
584
|
+
readonly required: true;
|
|
585
|
+
};
|
|
586
|
+
readonly flags: {
|
|
587
|
+
readonly type: "string";
|
|
588
|
+
readonly default: "";
|
|
589
|
+
};
|
|
590
|
+
readonly replace: {
|
|
591
|
+
readonly type: "string";
|
|
592
|
+
readonly required: true;
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
}];
|
|
596
|
+
readonly nullable: true;
|
|
597
|
+
};
|
|
444
598
|
readonly replacer: {
|
|
445
599
|
readonly type: "union";
|
|
446
600
|
readonly union: [{
|
|
@@ -452,6 +606,10 @@ export declare const Config: Schema.Utils.FromObject<{
|
|
|
452
606
|
readonly type: "string";
|
|
453
607
|
readonly required: true;
|
|
454
608
|
};
|
|
609
|
+
readonly flags: {
|
|
610
|
+
readonly type: "string";
|
|
611
|
+
readonly default: "";
|
|
612
|
+
};
|
|
455
613
|
readonly replace: {
|
|
456
614
|
readonly type: "string";
|
|
457
615
|
readonly required: true;
|
|
@@ -562,6 +720,29 @@ export declare const Config: Schema.Utils.FromObject<{
|
|
|
562
720
|
readonly type: "string";
|
|
563
721
|
readonly required: true;
|
|
564
722
|
};
|
|
723
|
+
readonly pathReplacer: {
|
|
724
|
+
readonly type: "union";
|
|
725
|
+
readonly union: [{
|
|
726
|
+
readonly type: "string";
|
|
727
|
+
}, {
|
|
728
|
+
readonly type: "object";
|
|
729
|
+
readonly properties: {
|
|
730
|
+
readonly search: {
|
|
731
|
+
readonly type: "string";
|
|
732
|
+
readonly required: true;
|
|
733
|
+
};
|
|
734
|
+
readonly flags: {
|
|
735
|
+
readonly type: "string";
|
|
736
|
+
readonly default: "";
|
|
737
|
+
};
|
|
738
|
+
readonly replace: {
|
|
739
|
+
readonly type: "string";
|
|
740
|
+
readonly required: true;
|
|
741
|
+
};
|
|
742
|
+
};
|
|
743
|
+
}];
|
|
744
|
+
readonly nullable: true;
|
|
745
|
+
};
|
|
565
746
|
readonly replacer: {
|
|
566
747
|
readonly type: "union";
|
|
567
748
|
readonly union: [{
|
|
@@ -573,6 +754,10 @@ export declare const Config: Schema.Utils.FromObject<{
|
|
|
573
754
|
readonly type: "string";
|
|
574
755
|
readonly required: true;
|
|
575
756
|
};
|
|
757
|
+
readonly flags: {
|
|
758
|
+
readonly type: "string";
|
|
759
|
+
readonly default: "";
|
|
760
|
+
};
|
|
576
761
|
readonly replace: {
|
|
577
762
|
readonly type: "string";
|
|
578
763
|
readonly required: true;
|
|
@@ -682,6 +867,29 @@ export declare const Config: Schema.Utils.FromObject<{
|
|
|
682
867
|
readonly type: "string";
|
|
683
868
|
readonly required: true;
|
|
684
869
|
};
|
|
870
|
+
readonly pathReplacer: {
|
|
871
|
+
readonly type: "union";
|
|
872
|
+
readonly union: [{
|
|
873
|
+
readonly type: "string";
|
|
874
|
+
}, {
|
|
875
|
+
readonly type: "object";
|
|
876
|
+
readonly properties: {
|
|
877
|
+
readonly search: {
|
|
878
|
+
readonly type: "string";
|
|
879
|
+
readonly required: true;
|
|
880
|
+
};
|
|
881
|
+
readonly flags: {
|
|
882
|
+
readonly type: "string";
|
|
883
|
+
readonly default: "";
|
|
884
|
+
};
|
|
885
|
+
readonly replace: {
|
|
886
|
+
readonly type: "string";
|
|
887
|
+
readonly required: true;
|
|
888
|
+
};
|
|
889
|
+
};
|
|
890
|
+
}];
|
|
891
|
+
readonly nullable: true;
|
|
892
|
+
};
|
|
685
893
|
readonly replacer: {
|
|
686
894
|
readonly type: "union";
|
|
687
895
|
readonly union: [{
|
|
@@ -693,6 +901,10 @@ export declare const Config: Schema.Utils.FromObject<{
|
|
|
693
901
|
readonly type: "string";
|
|
694
902
|
readonly required: true;
|
|
695
903
|
};
|
|
904
|
+
readonly flags: {
|
|
905
|
+
readonly type: "string";
|
|
906
|
+
readonly default: "";
|
|
907
|
+
};
|
|
696
908
|
readonly replace: {
|
|
697
909
|
readonly type: "string";
|
|
698
910
|
readonly required: true;
|
|
@@ -814,6 +1026,29 @@ export declare const Schemas: {
|
|
|
814
1026
|
readonly type: "string";
|
|
815
1027
|
readonly required: true;
|
|
816
1028
|
};
|
|
1029
|
+
readonly pathReplacer: {
|
|
1030
|
+
readonly type: "union";
|
|
1031
|
+
readonly union: [{
|
|
1032
|
+
readonly type: "string";
|
|
1033
|
+
}, {
|
|
1034
|
+
readonly type: "object";
|
|
1035
|
+
readonly properties: {
|
|
1036
|
+
readonly search: {
|
|
1037
|
+
readonly type: "string";
|
|
1038
|
+
readonly required: true;
|
|
1039
|
+
};
|
|
1040
|
+
readonly flags: {
|
|
1041
|
+
readonly type: "string";
|
|
1042
|
+
readonly default: "";
|
|
1043
|
+
};
|
|
1044
|
+
readonly replace: {
|
|
1045
|
+
readonly type: "string";
|
|
1046
|
+
readonly required: true;
|
|
1047
|
+
};
|
|
1048
|
+
};
|
|
1049
|
+
}];
|
|
1050
|
+
readonly nullable: true;
|
|
1051
|
+
};
|
|
817
1052
|
readonly replacer: {
|
|
818
1053
|
readonly type: "union";
|
|
819
1054
|
readonly union: [{
|
|
@@ -825,6 +1060,10 @@ export declare const Schemas: {
|
|
|
825
1060
|
readonly type: "string";
|
|
826
1061
|
readonly required: true;
|
|
827
1062
|
};
|
|
1063
|
+
readonly flags: {
|
|
1064
|
+
readonly type: "string";
|
|
1065
|
+
readonly default: "";
|
|
1066
|
+
};
|
|
828
1067
|
readonly replace: {
|
|
829
1068
|
readonly type: "string";
|
|
830
1069
|
readonly required: true;
|
|
@@ -935,6 +1174,29 @@ export declare const Schemas: {
|
|
|
935
1174
|
readonly type: "string";
|
|
936
1175
|
readonly required: true;
|
|
937
1176
|
};
|
|
1177
|
+
readonly pathReplacer: {
|
|
1178
|
+
readonly type: "union";
|
|
1179
|
+
readonly union: [{
|
|
1180
|
+
readonly type: "string";
|
|
1181
|
+
}, {
|
|
1182
|
+
readonly type: "object";
|
|
1183
|
+
readonly properties: {
|
|
1184
|
+
readonly search: {
|
|
1185
|
+
readonly type: "string";
|
|
1186
|
+
readonly required: true;
|
|
1187
|
+
};
|
|
1188
|
+
readonly flags: {
|
|
1189
|
+
readonly type: "string";
|
|
1190
|
+
readonly default: "";
|
|
1191
|
+
};
|
|
1192
|
+
readonly replace: {
|
|
1193
|
+
readonly type: "string";
|
|
1194
|
+
readonly required: true;
|
|
1195
|
+
};
|
|
1196
|
+
};
|
|
1197
|
+
}];
|
|
1198
|
+
readonly nullable: true;
|
|
1199
|
+
};
|
|
938
1200
|
readonly replacer: {
|
|
939
1201
|
readonly type: "union";
|
|
940
1202
|
readonly union: [{
|
|
@@ -946,6 +1208,10 @@ export declare const Schemas: {
|
|
|
946
1208
|
readonly type: "string";
|
|
947
1209
|
readonly required: true;
|
|
948
1210
|
};
|
|
1211
|
+
readonly flags: {
|
|
1212
|
+
readonly type: "string";
|
|
1213
|
+
readonly default: "";
|
|
1214
|
+
};
|
|
949
1215
|
readonly replace: {
|
|
950
1216
|
readonly type: "string";
|
|
951
1217
|
readonly required: true;
|
|
@@ -1055,6 +1321,29 @@ export declare const Schemas: {
|
|
|
1055
1321
|
readonly type: "string";
|
|
1056
1322
|
readonly required: true;
|
|
1057
1323
|
};
|
|
1324
|
+
readonly pathReplacer: {
|
|
1325
|
+
readonly type: "union";
|
|
1326
|
+
readonly union: [{
|
|
1327
|
+
readonly type: "string";
|
|
1328
|
+
}, {
|
|
1329
|
+
readonly type: "object";
|
|
1330
|
+
readonly properties: {
|
|
1331
|
+
readonly search: {
|
|
1332
|
+
readonly type: "string";
|
|
1333
|
+
readonly required: true;
|
|
1334
|
+
};
|
|
1335
|
+
readonly flags: {
|
|
1336
|
+
readonly type: "string";
|
|
1337
|
+
readonly default: "";
|
|
1338
|
+
};
|
|
1339
|
+
readonly replace: {
|
|
1340
|
+
readonly type: "string";
|
|
1341
|
+
readonly required: true;
|
|
1342
|
+
};
|
|
1343
|
+
};
|
|
1344
|
+
}];
|
|
1345
|
+
readonly nullable: true;
|
|
1346
|
+
};
|
|
1058
1347
|
readonly replacer: {
|
|
1059
1348
|
readonly type: "union";
|
|
1060
1349
|
readonly union: [{
|
|
@@ -1066,6 +1355,10 @@ export declare const Schemas: {
|
|
|
1066
1355
|
readonly type: "string";
|
|
1067
1356
|
readonly required: true;
|
|
1068
1357
|
};
|
|
1358
|
+
readonly flags: {
|
|
1359
|
+
readonly type: "string";
|
|
1360
|
+
readonly default: "";
|
|
1361
|
+
};
|
|
1069
1362
|
readonly replace: {
|
|
1070
1363
|
readonly type: "string";
|
|
1071
1364
|
readonly required: true;
|
|
@@ -1195,6 +1488,29 @@ export declare const Schemas: {
|
|
|
1195
1488
|
readonly type: "string";
|
|
1196
1489
|
readonly required: true;
|
|
1197
1490
|
};
|
|
1491
|
+
readonly pathReplacer: {
|
|
1492
|
+
readonly type: "union";
|
|
1493
|
+
readonly union: [{
|
|
1494
|
+
readonly type: "string";
|
|
1495
|
+
}, {
|
|
1496
|
+
readonly type: "object";
|
|
1497
|
+
readonly properties: {
|
|
1498
|
+
readonly search: {
|
|
1499
|
+
readonly type: "string";
|
|
1500
|
+
readonly required: true;
|
|
1501
|
+
};
|
|
1502
|
+
readonly flags: {
|
|
1503
|
+
readonly type: "string";
|
|
1504
|
+
readonly default: "";
|
|
1505
|
+
};
|
|
1506
|
+
readonly replace: {
|
|
1507
|
+
readonly type: "string";
|
|
1508
|
+
readonly required: true;
|
|
1509
|
+
};
|
|
1510
|
+
};
|
|
1511
|
+
}];
|
|
1512
|
+
readonly nullable: true;
|
|
1513
|
+
};
|
|
1198
1514
|
readonly replacer: {
|
|
1199
1515
|
readonly type: "union";
|
|
1200
1516
|
readonly union: [{
|
|
@@ -1206,6 +1522,10 @@ export declare const Schemas: {
|
|
|
1206
1522
|
readonly type: "string";
|
|
1207
1523
|
readonly required: true;
|
|
1208
1524
|
};
|
|
1525
|
+
readonly flags: {
|
|
1526
|
+
readonly type: "string";
|
|
1527
|
+
readonly default: "";
|
|
1528
|
+
};
|
|
1209
1529
|
readonly replace: {
|
|
1210
1530
|
readonly type: "string";
|
|
1211
1531
|
readonly required: true;
|
|
@@ -1298,6 +1618,29 @@ export declare const Schemas: {
|
|
|
1298
1618
|
readonly type: "string";
|
|
1299
1619
|
readonly required: true;
|
|
1300
1620
|
};
|
|
1621
|
+
readonly pathReplacer: {
|
|
1622
|
+
readonly type: "union";
|
|
1623
|
+
readonly union: [{
|
|
1624
|
+
readonly type: "string";
|
|
1625
|
+
}, {
|
|
1626
|
+
readonly type: "object";
|
|
1627
|
+
readonly properties: {
|
|
1628
|
+
readonly search: {
|
|
1629
|
+
readonly type: "string";
|
|
1630
|
+
readonly required: true;
|
|
1631
|
+
};
|
|
1632
|
+
readonly flags: {
|
|
1633
|
+
readonly type: "string";
|
|
1634
|
+
readonly default: "";
|
|
1635
|
+
};
|
|
1636
|
+
readonly replace: {
|
|
1637
|
+
readonly type: "string";
|
|
1638
|
+
readonly required: true;
|
|
1639
|
+
};
|
|
1640
|
+
};
|
|
1641
|
+
}];
|
|
1642
|
+
readonly nullable: true;
|
|
1643
|
+
};
|
|
1301
1644
|
readonly replacer: {
|
|
1302
1645
|
readonly type: "union";
|
|
1303
1646
|
readonly union: [{
|
|
@@ -1309,6 +1652,10 @@ export declare const Schemas: {
|
|
|
1309
1652
|
readonly type: "string";
|
|
1310
1653
|
readonly required: true;
|
|
1311
1654
|
};
|
|
1655
|
+
readonly flags: {
|
|
1656
|
+
readonly type: "string";
|
|
1657
|
+
readonly default: "";
|
|
1658
|
+
};
|
|
1312
1659
|
readonly replace: {
|
|
1313
1660
|
readonly type: "string";
|
|
1314
1661
|
readonly required: true;
|
|
@@ -1410,6 +1757,29 @@ export declare const Schemas: {
|
|
|
1410
1757
|
readonly type: "string";
|
|
1411
1758
|
readonly required: true;
|
|
1412
1759
|
};
|
|
1760
|
+
readonly pathReplacer: {
|
|
1761
|
+
readonly type: "union";
|
|
1762
|
+
readonly union: [{
|
|
1763
|
+
readonly type: "string";
|
|
1764
|
+
}, {
|
|
1765
|
+
readonly type: "object";
|
|
1766
|
+
readonly properties: {
|
|
1767
|
+
readonly search: {
|
|
1768
|
+
readonly type: "string";
|
|
1769
|
+
readonly required: true;
|
|
1770
|
+
};
|
|
1771
|
+
readonly flags: {
|
|
1772
|
+
readonly type: "string";
|
|
1773
|
+
readonly default: "";
|
|
1774
|
+
};
|
|
1775
|
+
readonly replace: {
|
|
1776
|
+
readonly type: "string";
|
|
1777
|
+
readonly required: true;
|
|
1778
|
+
};
|
|
1779
|
+
};
|
|
1780
|
+
}];
|
|
1781
|
+
readonly nullable: true;
|
|
1782
|
+
};
|
|
1413
1783
|
readonly replacer: {
|
|
1414
1784
|
readonly type: "union";
|
|
1415
1785
|
readonly union: [{
|
|
@@ -1421,6 +1791,10 @@ export declare const Schemas: {
|
|
|
1421
1791
|
readonly type: "string";
|
|
1422
1792
|
readonly required: true;
|
|
1423
1793
|
};
|
|
1794
|
+
readonly flags: {
|
|
1795
|
+
readonly type: "string";
|
|
1796
|
+
readonly default: "";
|
|
1797
|
+
};
|
|
1424
1798
|
readonly replace: {
|
|
1425
1799
|
readonly type: "string";
|
|
1426
1800
|
readonly required: true;
|
|
@@ -1482,6 +1856,7 @@ export declare namespace Schemas {
|
|
|
1482
1856
|
type ResolverEntry = typeof ResolverEntry;
|
|
1483
1857
|
type GitDependency = typeof GitDependency;
|
|
1484
1858
|
type NpmDependency = typeof NpmDependency;
|
|
1859
|
+
type Replacer = typeof Replacer;
|
|
1485
1860
|
type TsConfig = typeof TsConfig;
|
|
1486
1861
|
type ImportMap = typeof ImportMap;
|
|
1487
1862
|
type ExtractorEntry = typeof ExtractorEntry;
|
package/build/config/schemas.js
CHANGED
|
@@ -11,13 +11,19 @@ export const TsConfig = Schema.fromObject({
|
|
|
11
11
|
paths: { type: 'object', allowAdditionalProperties: { type: 'array', items: { type: 'string' } } }
|
|
12
12
|
}, allowAdditionalProperties: true }
|
|
13
13
|
}, true);
|
|
14
|
+
export const Replacer = new Schema({ type: 'union', union: [
|
|
15
|
+
{ type: 'string' },
|
|
16
|
+
{ type: 'object', properties: {
|
|
17
|
+
search: { type: 'string', required: true },
|
|
18
|
+
flags: { type: 'string', default: '' },
|
|
19
|
+
replace: { type: 'string', required: true }
|
|
20
|
+
} }
|
|
21
|
+
], nullable: true });
|
|
14
22
|
export const ExtractorEntry = Schema.fromObject({
|
|
15
23
|
from: { type: 'string', required: true },
|
|
16
24
|
to: { type: 'string', required: true },
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
replace: { type: 'string', required: true }
|
|
20
|
-
} }], nullable: true }
|
|
25
|
+
pathReplacer: Replacer.root,
|
|
26
|
+
replacer: Replacer.root
|
|
21
27
|
});
|
|
22
28
|
export const BuilderEntry = Schema.fromObject({
|
|
23
29
|
maxTimeMs: { type: 'number', default: 60000 },
|
|
@@ -1 +1 @@
|
|
|
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,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE;CAC3E,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,QAAQ,GAAG,MAAM,CAAC,UAAU,CAAC;IACtC,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE;YAC3C,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC3B,OAAO,EAAE,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Aa,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;AAaF,eAAe,OAAO,CAAC"}
|
|
@@ -23,8 +23,17 @@ export declare class Builder {
|
|
|
23
23
|
* @throws Will throw an error if any issues occur during the execution of the commands, such as problems with spawning the child process or if any command returns a non-zero exit code.
|
|
24
24
|
*/
|
|
25
25
|
protected runTask(commands: string[], cwd: string, maxTimeMs: number): Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Creates a string replacement function based on the provided replacer configuration, which can be either a simple string or an object defining a search pattern and replacement string. This method is used to generate a function that can be applied to strings for dynamic transformations during the build process, allowing for flexible and customizable string manipulation as defined in the builder configuration.
|
|
28
|
+
* @param replacer A configuration for string replacement, which can be either a string (used as a regex pattern) or an object containing a search pattern and a replacement string.
|
|
29
|
+
* @returns A function that takes a string as input and returns a new string with the specified replacements applied, based on the provided replacer configuration.
|
|
30
|
+
* @throws Will throw an error if the provided replacer configuration is invalid, such as if it is neither a string nor an object with the required properties.
|
|
31
|
+
*/
|
|
32
|
+
protected static replacer(replacer: Schemas.Replacer['infer']): Builder.ReplacerAction;
|
|
26
33
|
}
|
|
27
34
|
export declare namespace Builder {
|
|
35
|
+
type Replacer = Schemas.Replacer['infer'];
|
|
36
|
+
type ReplacerAction = (str: string) => string;
|
|
28
37
|
type BuilderEntry = Schemas.BuilderEntry['infer'];
|
|
29
38
|
type Extractor = Schemas.ExtractorEntry['infer'];
|
|
30
39
|
interface Info {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { Async } from "@netfeez/common-node";
|
|
1
2
|
import Utils from "../Utils.js";
|
|
2
|
-
import Async from "../Async.js";
|
|
3
3
|
import Task from "../Task/Task.js";
|
|
4
4
|
import { File, Path } from "@netfeez/common-node";
|
|
5
5
|
export class Builder {
|
|
@@ -49,14 +49,18 @@ export class Builder {
|
|
|
49
49
|
async runExtractor(entry) {
|
|
50
50
|
const extractor = typeof entry === 'string' ? [{ from: '**/*', to: entry }] : entry;
|
|
51
51
|
for (const entry of extractor) {
|
|
52
|
-
const { from, to: toEntry, replacer } = entry;
|
|
53
|
-
const
|
|
54
|
-
const
|
|
52
|
+
const { from, to: toEntry, pathReplacer, replacer } = entry;
|
|
53
|
+
const pathReplacerAction = Builder.replacer(pathReplacer);
|
|
54
|
+
const replacerAction = Builder.replacer(replacer);
|
|
55
55
|
const to = Path.isAbsolute(toEntry) ? toEntry : Path.join(Path.cwd, toEntry);
|
|
56
56
|
this.logger?.log(`&C7Extracting &C3${from}&C7 to &C3${to}&C7...`);
|
|
57
|
-
await File.
|
|
57
|
+
await File.smartProcess(from, to, {
|
|
58
58
|
cwd: this.cwd,
|
|
59
|
-
map:
|
|
59
|
+
map: pathReplacerAction,
|
|
60
|
+
}, async ({ src, dest }) => {
|
|
61
|
+
const content = await File.read(src);
|
|
62
|
+
const transformedContent = replacerAction(content);
|
|
63
|
+
File.write(dest, transformedContent);
|
|
60
64
|
});
|
|
61
65
|
}
|
|
62
66
|
}
|
|
@@ -84,6 +88,25 @@ export class Builder {
|
|
|
84
88
|
return () => { pollito.stop(); };
|
|
85
89
|
}, maxTimeMs);
|
|
86
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* Creates a string replacement function based on the provided replacer configuration, which can be either a simple string or an object defining a search pattern and replacement string. This method is used to generate a function that can be applied to strings for dynamic transformations during the build process, allowing for flexible and customizable string manipulation as defined in the builder configuration.
|
|
93
|
+
* @param replacer A configuration for string replacement, which can be either a string (used as a regex pattern) or an object containing a search pattern and a replacement string.
|
|
94
|
+
* @returns A function that takes a string as input and returns a new string with the specified replacements applied, based on the provided replacer configuration.
|
|
95
|
+
* @throws Will throw an error if the provided replacer configuration is invalid, such as if it is neither a string nor an object with the required properties.
|
|
96
|
+
*/
|
|
97
|
+
static replacer(replacer) {
|
|
98
|
+
if (typeof replacer === 'string') {
|
|
99
|
+
return (str) => str.replace(new RegExp(replacer, 'g'), '');
|
|
100
|
+
}
|
|
101
|
+
else if (replacer !== null && typeof replacer === 'object') {
|
|
102
|
+
const flags = replacer.flags || 'g';
|
|
103
|
+
const search = new RegExp(replacer.search, flags);
|
|
104
|
+
const replace = replacer.replace || '';
|
|
105
|
+
return (str) => str.replace(search, replace);
|
|
106
|
+
}
|
|
107
|
+
else
|
|
108
|
+
return (str) => str;
|
|
109
|
+
}
|
|
87
110
|
}
|
|
88
111
|
export default Builder;
|
|
89
112
|
//# sourceMappingURL=Builder.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Builder.js","sourceRoot":"","sources":["../../../src/support/Builder/Builder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Builder.js","sourceRoot":"","sources":["../../../src/support/Builder/Builder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAI7C,OAAO,KAAK,MAAM,aAAa,CAAC;AAChC,OAAO,IAAI,MAAM,iBAAiB,CAAC;AACnC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAElD,MAAM,OAAO,OAAO;IACG,QAAQ,GAA2B,EAAE,CAAC;IACtC,GAAG,GAAW,OAAO,CAAC,GAAG,EAAE,CAAC;IAC5B,MAAM,CAAgB;IAEzC,YAAmB,IAAkB;QACjC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QAC9B,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC;QACpB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC;IACtC,CAAC;IAEM,KAAK,CAAC,GAAG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,GAAG,CAAC;YACpC,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;YAClD,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,IAAI,EAAE,CAAC;YACvC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QACjD,CAAC;;YAAM,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC;IAC/B,CAAC;CACJ;AAYD,eAAe,OAAO,CAAC"}
|
package/build/support/Git.js
CHANGED
package/build/support/Git.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Git.js","sourceRoot":"","sources":["../../src/support/Git.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Git.js","sourceRoot":"","sources":["../../src/support/Git.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE7C,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAGlC,MAAM,OAAO,GAAG;IAIE;IACA;IAJJ,MAAM,CAAgB;IACtB,GAAG,CAAS;IACtB,YACc,IAAY,EACZ,IAAY,EACtB,OAAwB;QAFd,SAAI,GAAJ,IAAI,CAAQ;QACZ,SAAI,GAAJ,IAAI,CAAQ;QAGtB,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,IAAI,IAAI,CAAC;QAC7B,IAAI,CAAC,GAAG,GAAG,GAAG,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC;IACpC,CAAC;IACD;;;;;;;;;;;;OAYG;IACI,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,IAAY,EAAE,IAAY,EAAE,OAAwB;QAC1E,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,GAAG,OAAO,CAAC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E,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE,GAAG,MAAM,CAAC,KAAK,CAAC,YAAY,IAAI,YAAY,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAC1F,CAAC;YACD,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE,EAAE;gBAC5B,IAAI,OAAO,CAAC,KAAK,KAAK,CAAC;oBAAE,IAAI,CAAC,OAAO,CAAC,CAAC;;oBAClC,IAAI,CAAC,IAAI,KAAK,CAAC,yBAAyB,OAAO,CAAC,KAAK,4BAA4B,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;YACxH,CAAC,CAAC,CAAC;YACH,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACzB,OAAO,GAAG,EAAE,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAClC,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AAUD,eAAe,GAAG,CAAC"}
|
|
@@ -9,7 +9,7 @@ export declare class PathResolver {
|
|
|
9
9
|
static readonly EXTENSIONS: string[];
|
|
10
10
|
protected readonly logger: Logger;
|
|
11
11
|
protected readonly rewriter: PathRewriter;
|
|
12
|
-
protected readonly
|
|
12
|
+
protected readonly outDir: string;
|
|
13
13
|
readonly aliases: AliasCompiler.CompiledAlias[];
|
|
14
14
|
constructor(config: Schemas.Config['infer'], options?: PathResolver.Options);
|
|
15
15
|
/**
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* @description Utility for path resolution with Local/CDN support and dual path fixing.
|
|
4
4
|
* @license Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import PATH from "node:path";
|
|
7
6
|
import FS, { promises as FSP } from 'node:fs';
|
|
8
|
-
import { File } from '@netfeez/common-node';
|
|
7
|
+
import { File, Path } from '@netfeez/common-node';
|
|
9
8
|
import { Logger } from "@netfeez/vterm";
|
|
10
9
|
import Utils from '../Utils.js';
|
|
11
10
|
import PathRewriter from './PathRewriter.js';
|
|
12
11
|
import AliasCompiler from './AliasCompiler.js';
|
|
12
|
+
import Async from "@netfeez/common-node/Async";
|
|
13
13
|
export class PathResolver {
|
|
14
14
|
config;
|
|
15
15
|
options;
|
|
@@ -17,15 +17,15 @@ export class PathResolver {
|
|
|
17
17
|
static EXTENSIONS = ['.js', '.ts', '.jsx', '.tsx'];
|
|
18
18
|
logger;
|
|
19
19
|
rewriter;
|
|
20
|
-
|
|
20
|
+
outDir;
|
|
21
21
|
aliases;
|
|
22
22
|
constructor(config, options = {}) {
|
|
23
23
|
this.config = config;
|
|
24
24
|
this.options = options;
|
|
25
25
|
this.logger = options.logger || new Logger({ name: 'PATH-RW' });
|
|
26
26
|
const outDir = config.outDir || 'build';
|
|
27
|
-
this.
|
|
28
|
-
?
|
|
27
|
+
this.outDir = !Path.isAbsolute(outDir)
|
|
28
|
+
? Path.resolve(PathResolver.PROJECT_ROOT, outDir)
|
|
29
29
|
: outDir;
|
|
30
30
|
this.aliases = new AliasCompiler(PathResolver.PROJECT_ROOT).compile(config);
|
|
31
31
|
this.rewriter = new PathRewriter(this.aliases, PathResolver.PROJECT_ROOT);
|
|
@@ -36,20 +36,21 @@ 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 for ${this.
|
|
40
|
-
if (!await File.exists(this.
|
|
41
|
-
return void this.logger.warn(`Directory &C4${this.
|
|
42
|
-
|
|
43
|
-
const files =
|
|
44
|
-
files.push(...await File.find('**/*.js'));
|
|
45
|
-
files.push(...await File.find('**/*.ts'));
|
|
46
|
-
files.push(...await File.find('**/*.jsx'));
|
|
47
|
-
files.push(...await File.find('**/*.tsx'));
|
|
39
|
+
this.logger.log(`&C2Starting path resolver in &C3${mode} &C2mode for ${this.outDir}...`);
|
|
40
|
+
if (!await File.exists(this.outDir))
|
|
41
|
+
return void this.logger.warn(`Directory &C4${this.outDir}&R not found.`);
|
|
42
|
+
const filter = '**/*.{js,ts,jsx,tsx,{c,m}js}';
|
|
43
|
+
const files = await File.find(filter, this.outDir);
|
|
48
44
|
let rewrittenCount = 0;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
45
|
+
const limiter = Async.currencyLimiter(16);
|
|
46
|
+
const promises = files.map((file) => {
|
|
47
|
+
file = Path.join(this.outDir, file);
|
|
48
|
+
return limiter(() => this.processFile(file, mode).then(changed => {
|
|
49
|
+
if (changed)
|
|
50
|
+
rewrittenCount++;
|
|
51
|
+
}));
|
|
52
|
+
});
|
|
53
|
+
await Promise.all(promises);
|
|
53
54
|
this.logger.log(`&C2Path aliases resolved in &C3${rewrittenCount} &C2files.`);
|
|
54
55
|
}
|
|
55
56
|
/**
|
|
@@ -83,19 +84,19 @@ export class PathResolver {
|
|
|
83
84
|
*/
|
|
84
85
|
async watch(mode) {
|
|
85
86
|
await this.rewritePaths(mode);
|
|
86
|
-
this.logger.log(`&C2Watching for changes in &C4${this.
|
|
87
|
+
this.logger.log(`&C2Watching for changes in &C4${this.outDir}...`);
|
|
87
88
|
const debouncedProcessor = Utils.debounce(async (fullPath, filename) => {
|
|
88
89
|
if (await this.processFile(fullPath, mode)) {
|
|
89
90
|
this.logger.log(`&C2File &C4${filename}&C2 updated.`);
|
|
90
91
|
}
|
|
91
92
|
}, 300);
|
|
92
|
-
FS.watch(this.
|
|
93
|
+
FS.watch(this.outDir, { recursive: true }, (eventType, filename) => {
|
|
93
94
|
if (!filename)
|
|
94
95
|
return;
|
|
95
96
|
const isTargetExtension = PathResolver.EXTENSIONS.some(ext => filename.endsWith(ext));
|
|
96
97
|
if (!isTargetExtension)
|
|
97
98
|
return;
|
|
98
|
-
const fullPath =
|
|
99
|
+
const fullPath = Path.join(this.outDir, filename);
|
|
99
100
|
debouncedProcessor(fullPath, filename);
|
|
100
101
|
});
|
|
101
102
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PathResolver.js","sourceRoot":"","sources":["../../../src/support/PathResolver/PathResolver.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"PathResolver.js","sourceRoot":"","sources":["../../../src/support/PathResolver/PathResolver.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,EAAE,EAAE,QAAQ,IAAI,GAAG,EAAE,MAAM,SAAS,CAAC;AAE9C,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAClD,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,OAAO,KAAK,MAAM,4BAA4B,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,MAAM,CAAS;IAClB,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,OAAO,CAAC;QACxC,IAAI,CAAC,MAAM,G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C;gBACzC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,cAAc,QAAQ,cAAc,CAAC,CAAC;YAC1D,CAAC;QACL,CAAC,EAAE,GAAG,CAAC,CAAC;QAER,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,EAAE;YAC/D,IAAI,CAAC,QAAQ;gBAAE,OAAO;YAEtB,MAAM,iBAAiB,GAAG,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,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,MAAM,EAAE,QAAQ,CAAC,CAAC;YAClD,kBAAkB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;QAC3C,CAAC,CAAC,CAAC;IACP,CAAC;;AAQL,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Task.js","sourceRoot":"","sources":["../../../src/support/Task/Task.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Task.js","sourceRoot":"","sources":["../../../src/support/Task/Task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,OAAO,OAAO,MAAM,cAAc,CAAC;AAEnC,MAAM,OAAO,IAAK,SAAQ,MAAqB;IAcpB;IACA;IAdb,QAAQ,GAAyB,EAAE,CAAC;IAEpC,MAAM,GAAW,CAAC,CAAC;IACnB,UAAU,GAAW,CAAC,CAAC;IACvB,YAAY,GAAW,CAAC,CAAC;IACzB,UAAU,GAAW,CAAC,CAAC;IAEvB,WAAW,GAAY,KAAK,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.0-dev.
|
|
4
|
+
"version": "3.0.0-dev.5",
|
|
5
5
|
"main": "build/bin/bin.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"scripts": {
|
|
11
11
|
"dev": "npx tsc --watch",
|
|
12
12
|
"build": "bash ./scripts/build.sh",
|
|
13
|
-
"
|
|
13
|
+
"prepublishOnly": "npm run build"
|
|
14
14
|
},
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
16
|
"repository": {
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"README.md"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@netfeez/common": "^3.2.
|
|
36
|
-
"@netfeez/common-node": "^3.
|
|
35
|
+
"@netfeez/common": "^3.2.1",
|
|
36
|
+
"@netfeez/common-node": "^3.2.0",
|
|
37
37
|
"@netfeez/vterm": "^1.1.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
package/build/support/Async.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare class Async {
|
|
2
|
-
static delay(ms: number): Promise<void>;
|
|
3
|
-
/**
|
|
4
|
-
* Asynchronously waits for a specific event to occur by executing the provided executor function.
|
|
5
|
-
* The executor function is expected to call a done callback when the event occurs, passing any relevant result.
|
|
6
|
-
* The method also supports an optional timeout parameter, which will reject the promise if the event does not occur within the specified time frame.
|
|
7
|
-
*
|
|
8
|
-
* @param executor - A function that executes the logic to wait for the event and calls the done callback when the event occurs.
|
|
9
|
-
* @param timeout - An optional timeout in milliseconds after which the promise will be rejected if the event has not occurred (default is -1, meaning no timeout).
|
|
10
|
-
* @returns A promise that resolves with the result passed to the done callback when the event occurs, or rejects if an error occurs or if the timeout is reached.
|
|
11
|
-
*/
|
|
12
|
-
static awaitEvent<R extends any>(executor: Async.AsyncEvent.Exec<R>, timeout?: number): Promise<R>;
|
|
13
|
-
}
|
|
14
|
-
export declare namespace Async {
|
|
15
|
-
namespace AsyncEvent {
|
|
16
|
-
type Clean = () => void;
|
|
17
|
-
type Done<R> = (result: R) => void;
|
|
18
|
-
type Fail = (error: Error) => void;
|
|
19
|
-
type Exec<R> = (done: Done<R>, fail: Fail) => Clean | Promise<Clean> | void | Promise<void>;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
export default Async;
|
package/build/support/Async.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
export class Async {
|
|
2
|
-
static async delay(ms) {
|
|
3
|
-
return new Promise(resolve => setTimeout(resolve, ms));
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Asynchronously waits for a specific event to occur by executing the provided executor function.
|
|
7
|
-
* The executor function is expected to call a done callback when the event occurs, passing any relevant result.
|
|
8
|
-
* The method also supports an optional timeout parameter, which will reject the promise if the event does not occur within the specified time frame.
|
|
9
|
-
*
|
|
10
|
-
* @param executor - A function that executes the logic to wait for the event and calls the done callback when the event occurs.
|
|
11
|
-
* @param timeout - An optional timeout in milliseconds after which the promise will be rejected if the event has not occurred (default is -1, meaning no timeout).
|
|
12
|
-
* @returns A promise that resolves with the result passed to the done callback when the event occurs, or rejects if an error occurs or if the timeout is reached.
|
|
13
|
-
*/
|
|
14
|
-
static async awaitEvent(executor, timeout = -1) {
|
|
15
|
-
return new Promise((resolve, reject) => {
|
|
16
|
-
let timer = null;
|
|
17
|
-
let isSettled = false;
|
|
18
|
-
let cleanupHandler;
|
|
19
|
-
const cleanup = () => {
|
|
20
|
-
isSettled = true;
|
|
21
|
-
if (!timer)
|
|
22
|
-
return;
|
|
23
|
-
clearTimeout(timer);
|
|
24
|
-
timer = null;
|
|
25
|
-
if (typeof cleanupHandler === 'function') {
|
|
26
|
-
cleanupHandler();
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
const safeResolve = (result) => {
|
|
30
|
-
if (isSettled)
|
|
31
|
-
return;
|
|
32
|
-
cleanup();
|
|
33
|
-
resolve(result);
|
|
34
|
-
};
|
|
35
|
-
const safeReject = (err) => {
|
|
36
|
-
if (isSettled)
|
|
37
|
-
return;
|
|
38
|
-
cleanup();
|
|
39
|
-
reject(err instanceof Error ? err : new Error(String(err)));
|
|
40
|
-
};
|
|
41
|
-
if (timeout > 0) {
|
|
42
|
-
timer = setTimeout(() => {
|
|
43
|
-
safeReject(new Error(`Async event timed out after ${timeout}ms`));
|
|
44
|
-
}, timeout);
|
|
45
|
-
}
|
|
46
|
-
try {
|
|
47
|
-
const result = executor(safeResolve, safeReject);
|
|
48
|
-
if (result instanceof Promise) {
|
|
49
|
-
result.then(h => { cleanupHandler = h; }).catch(safeReject);
|
|
50
|
-
}
|
|
51
|
-
else {
|
|
52
|
-
cleanupHandler = result;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
catch (error) {
|
|
56
|
-
safeReject(error);
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
export default Async;
|
|
62
|
-
//# sourceMappingURL=Async.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Async.js","sourceRoot":"","sources":["../../src/support/Async.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,KAAK;IACP,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,EAAU;QAChC,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;;;;OAQG;IACI,MAAM,CAAC,KAAK,CAAC,UAAU,CAC1B,QAAkC,EAClC,UAAkB,CAAC,CAAC;QAEpB,OAAO,IAAI,OAAO,CAAI,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YACtC,IAAI,KAAK,GAA0B,IAAI,CAAC;YACxC,IAAI,SAAS,GAAG,KAAK,CAAC;YACtB,IAAI,cAA6C,CAAC;YAElD,MAAM,OAAO,GAAG,GAAG,EAAE;gBACjB,SAAS,GA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