depflow 3.0.0-dev.4 → 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.
@@ -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;
@@ -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
- replacer: { type: 'union', union: [{ type: 'string' }, { type: 'object', properties: {
18
- search: { type: 'string', required: true },
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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OAAO,EAAE,MAAM,EAAE;IAC3C,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE;IAC3D,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE;IAC5D,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;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 {
@@ -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 regex = !replacer ? null : new RegExp(typeof replacer === 'string' ? replacer : replacer.search, 'g');
54
- const value = !replacer || typeof replacer === 'string' ? '' : replacer.replace;
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.smartCopy(from, to, {
57
+ await File.smartProcess(from, to, {
58
58
  cwd: this.cwd,
59
- map: path => regex ? path.replace(regex, value) : path
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":"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;QACZ,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,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AG,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC;QAC/D,CAAC;aAAM,IAAI,QAAQ,KAAK,IAAI,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;YAC3D,MAAM,KAAK,GAAG,QAAQ,CAAC,KAAK,IAAI,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/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",
4
+ "version": "3.0.0-dev.5",
5
5
  "main": "build/bin/bin.js",
6
6
  "type": "module",
7
7
  "bin": {
@@ -33,7 +33,7 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@netfeez/common": "^3.2.1",
36
- "@netfeez/common-node": "^3.1.1",
36
+ "@netfeez/common-node": "^3.2.0",
37
37
  "@netfeez/vterm": "^1.1.0"
38
38
  },
39
39
  "devDependencies": {