@pipelab/plugin-core 1.0.0-beta.11 → 1.0.0-beta.13
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/dist/index.cjs +353 -118
- package/dist/index.d.cts +2 -34
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +2 -34
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +346 -113
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -6
package/dist/index.mjs
CHANGED
|
@@ -61,7 +61,7 @@ const finalVersion = () => {
|
|
|
61
61
|
throw new Error("Unable to go up on the final version!");
|
|
62
62
|
};
|
|
63
63
|
//#endregion
|
|
64
|
-
//#region ../../node_modules/semver/internal/constants.js
|
|
64
|
+
//#region ../../packages/migration/node_modules/semver/internal/constants.js
|
|
65
65
|
var require_constants$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
66
66
|
const SEMVER_SPEC_VERSION = "2.0.0";
|
|
67
67
|
const MAX_LENGTH = 256;
|
|
@@ -86,12 +86,12 @@ var require_constants$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
86
86
|
};
|
|
87
87
|
}));
|
|
88
88
|
//#endregion
|
|
89
|
-
//#region ../../node_modules/semver/internal/debug.js
|
|
89
|
+
//#region ../../packages/migration/node_modules/semver/internal/debug.js
|
|
90
90
|
var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
91
91
|
module.exports = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
|
|
92
92
|
}));
|
|
93
93
|
//#endregion
|
|
94
|
-
//#region ../../node_modules/semver/internal/re.js
|
|
94
|
+
//#region ../../packages/migration/node_modules/semver/internal/re.js
|
|
95
95
|
var require_re = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
96
96
|
const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH } = require_constants$2();
|
|
97
97
|
const debug = require_debug();
|
|
@@ -170,7 +170,7 @@ var require_re = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
170
170
|
createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
171
171
|
}));
|
|
172
172
|
//#endregion
|
|
173
|
-
//#region ../../node_modules/semver/internal/parse-options.js
|
|
173
|
+
//#region ../../packages/migration/node_modules/semver/internal/parse-options.js
|
|
174
174
|
var require_parse_options = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
175
175
|
const looseOption = Object.freeze({ loose: true });
|
|
176
176
|
const emptyOpts = Object.freeze({});
|
|
@@ -182,7 +182,7 @@ var require_parse_options = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
182
182
|
module.exports = parseOptions;
|
|
183
183
|
}));
|
|
184
184
|
//#endregion
|
|
185
|
-
//#region ../../node_modules/semver/internal/identifiers.js
|
|
185
|
+
//#region ../../packages/migration/node_modules/semver/internal/identifiers.js
|
|
186
186
|
var require_identifiers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
187
187
|
const numeric = /^[0-9]+$/;
|
|
188
188
|
const compareIdentifiers = (a, b) => {
|
|
@@ -202,7 +202,7 @@ var require_identifiers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
202
202
|
};
|
|
203
203
|
}));
|
|
204
204
|
//#endregion
|
|
205
|
-
//#region ../../node_modules/semver/classes/semver.js
|
|
205
|
+
//#region ../../packages/migration/node_modules/semver/classes/semver.js
|
|
206
206
|
var require_semver$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
207
207
|
const debug = require_debug();
|
|
208
208
|
const { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants$2();
|
|
@@ -380,7 +380,7 @@ var require_semver$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
380
380
|
};
|
|
381
381
|
}));
|
|
382
382
|
//#endregion
|
|
383
|
-
//#region ../../node_modules/semver/functions/parse.js
|
|
383
|
+
//#region ../../packages/migration/node_modules/semver/functions/parse.js
|
|
384
384
|
var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
385
385
|
const SemVer = require_semver$1();
|
|
386
386
|
const parse = (version, options, throwErrors = false) => {
|
|
@@ -395,7 +395,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
395
395
|
module.exports = parse;
|
|
396
396
|
}));
|
|
397
397
|
//#endregion
|
|
398
|
-
//#region ../../node_modules/semver/functions/valid.js
|
|
398
|
+
//#region ../../packages/migration/node_modules/semver/functions/valid.js
|
|
399
399
|
var require_valid$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
400
400
|
const parse = require_parse();
|
|
401
401
|
const valid = (version, options) => {
|
|
@@ -405,7 +405,7 @@ var require_valid$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
405
405
|
module.exports = valid;
|
|
406
406
|
}));
|
|
407
407
|
//#endregion
|
|
408
|
-
//#region ../../node_modules/semver/functions/clean.js
|
|
408
|
+
//#region ../../packages/migration/node_modules/semver/functions/clean.js
|
|
409
409
|
var require_clean = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
410
410
|
const parse = require_parse();
|
|
411
411
|
const clean = (version, options) => {
|
|
@@ -415,7 +415,7 @@ var require_clean = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
415
415
|
module.exports = clean;
|
|
416
416
|
}));
|
|
417
417
|
//#endregion
|
|
418
|
-
//#region ../../node_modules/semver/functions/inc.js
|
|
418
|
+
//#region ../../packages/migration/node_modules/semver/functions/inc.js
|
|
419
419
|
var require_inc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
420
420
|
const SemVer = require_semver$1();
|
|
421
421
|
const inc = (version, release, options, identifier, identifierBase) => {
|
|
@@ -433,7 +433,7 @@ var require_inc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
433
433
|
module.exports = inc;
|
|
434
434
|
}));
|
|
435
435
|
//#endregion
|
|
436
|
-
//#region ../../node_modules/semver/functions/diff.js
|
|
436
|
+
//#region ../../packages/migration/node_modules/semver/functions/diff.js
|
|
437
437
|
var require_diff = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
438
438
|
const parse = require_parse();
|
|
439
439
|
const diff = (version1, version2) => {
|
|
@@ -461,28 +461,28 @@ var require_diff = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
461
461
|
module.exports = diff;
|
|
462
462
|
}));
|
|
463
463
|
//#endregion
|
|
464
|
-
//#region ../../node_modules/semver/functions/major.js
|
|
464
|
+
//#region ../../packages/migration/node_modules/semver/functions/major.js
|
|
465
465
|
var require_major = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
466
466
|
const SemVer = require_semver$1();
|
|
467
467
|
const major = (a, loose) => new SemVer(a, loose).major;
|
|
468
468
|
module.exports = major;
|
|
469
469
|
}));
|
|
470
470
|
//#endregion
|
|
471
|
-
//#region ../../node_modules/semver/functions/minor.js
|
|
471
|
+
//#region ../../packages/migration/node_modules/semver/functions/minor.js
|
|
472
472
|
var require_minor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
473
473
|
const SemVer = require_semver$1();
|
|
474
474
|
const minor = (a, loose) => new SemVer(a, loose).minor;
|
|
475
475
|
module.exports = minor;
|
|
476
476
|
}));
|
|
477
477
|
//#endregion
|
|
478
|
-
//#region ../../node_modules/semver/functions/patch.js
|
|
478
|
+
//#region ../../packages/migration/node_modules/semver/functions/patch.js
|
|
479
479
|
var require_patch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
480
480
|
const SemVer = require_semver$1();
|
|
481
481
|
const patch = (a, loose) => new SemVer(a, loose).patch;
|
|
482
482
|
module.exports = patch;
|
|
483
483
|
}));
|
|
484
484
|
//#endregion
|
|
485
|
-
//#region ../../node_modules/semver/functions/prerelease.js
|
|
485
|
+
//#region ../../packages/migration/node_modules/semver/functions/prerelease.js
|
|
486
486
|
var require_prerelease = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
487
487
|
const parse = require_parse();
|
|
488
488
|
const prerelease = (version, options) => {
|
|
@@ -492,28 +492,28 @@ var require_prerelease = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
492
492
|
module.exports = prerelease;
|
|
493
493
|
}));
|
|
494
494
|
//#endregion
|
|
495
|
-
//#region ../../node_modules/semver/functions/compare.js
|
|
495
|
+
//#region ../../packages/migration/node_modules/semver/functions/compare.js
|
|
496
496
|
var require_compare = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
497
497
|
const SemVer = require_semver$1();
|
|
498
498
|
const compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
499
499
|
module.exports = compare;
|
|
500
500
|
}));
|
|
501
501
|
//#endregion
|
|
502
|
-
//#region ../../node_modules/semver/functions/rcompare.js
|
|
502
|
+
//#region ../../packages/migration/node_modules/semver/functions/rcompare.js
|
|
503
503
|
var require_rcompare = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
504
504
|
const compare = require_compare();
|
|
505
505
|
const rcompare = (a, b, loose) => compare(b, a, loose);
|
|
506
506
|
module.exports = rcompare;
|
|
507
507
|
}));
|
|
508
508
|
//#endregion
|
|
509
|
-
//#region ../../node_modules/semver/functions/compare-loose.js
|
|
509
|
+
//#region ../../packages/migration/node_modules/semver/functions/compare-loose.js
|
|
510
510
|
var require_compare_loose = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
511
511
|
const compare = require_compare();
|
|
512
512
|
const compareLoose = (a, b) => compare(a, b, true);
|
|
513
513
|
module.exports = compareLoose;
|
|
514
514
|
}));
|
|
515
515
|
//#endregion
|
|
516
|
-
//#region ../../node_modules/semver/functions/compare-build.js
|
|
516
|
+
//#region ../../packages/migration/node_modules/semver/functions/compare-build.js
|
|
517
517
|
var require_compare_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
518
518
|
const SemVer = require_semver$1();
|
|
519
519
|
const compareBuild = (a, b, loose) => {
|
|
@@ -524,63 +524,63 @@ var require_compare_build = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
524
524
|
module.exports = compareBuild;
|
|
525
525
|
}));
|
|
526
526
|
//#endregion
|
|
527
|
-
//#region ../../node_modules/semver/functions/sort.js
|
|
527
|
+
//#region ../../packages/migration/node_modules/semver/functions/sort.js
|
|
528
528
|
var require_sort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
529
529
|
const compareBuild = require_compare_build();
|
|
530
530
|
const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
531
531
|
module.exports = sort;
|
|
532
532
|
}));
|
|
533
533
|
//#endregion
|
|
534
|
-
//#region ../../node_modules/semver/functions/rsort.js
|
|
534
|
+
//#region ../../packages/migration/node_modules/semver/functions/rsort.js
|
|
535
535
|
var require_rsort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
536
536
|
const compareBuild = require_compare_build();
|
|
537
537
|
const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
538
538
|
module.exports = rsort;
|
|
539
539
|
}));
|
|
540
540
|
//#endregion
|
|
541
|
-
//#region ../../node_modules/semver/functions/gt.js
|
|
541
|
+
//#region ../../packages/migration/node_modules/semver/functions/gt.js
|
|
542
542
|
var require_gt = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
543
543
|
const compare = require_compare();
|
|
544
544
|
const gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
545
545
|
module.exports = gt;
|
|
546
546
|
}));
|
|
547
547
|
//#endregion
|
|
548
|
-
//#region ../../node_modules/semver/functions/lt.js
|
|
548
|
+
//#region ../../packages/migration/node_modules/semver/functions/lt.js
|
|
549
549
|
var require_lt = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
550
550
|
const compare = require_compare();
|
|
551
551
|
const lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
552
552
|
module.exports = lt;
|
|
553
553
|
}));
|
|
554
554
|
//#endregion
|
|
555
|
-
//#region ../../node_modules/semver/functions/eq.js
|
|
555
|
+
//#region ../../packages/migration/node_modules/semver/functions/eq.js
|
|
556
556
|
var require_eq = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
557
557
|
const compare = require_compare();
|
|
558
558
|
const eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
559
559
|
module.exports = eq;
|
|
560
560
|
}));
|
|
561
561
|
//#endregion
|
|
562
|
-
//#region ../../node_modules/semver/functions/neq.js
|
|
562
|
+
//#region ../../packages/migration/node_modules/semver/functions/neq.js
|
|
563
563
|
var require_neq = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
564
564
|
const compare = require_compare();
|
|
565
565
|
const neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
566
566
|
module.exports = neq;
|
|
567
567
|
}));
|
|
568
568
|
//#endregion
|
|
569
|
-
//#region ../../node_modules/semver/functions/gte.js
|
|
569
|
+
//#region ../../packages/migration/node_modules/semver/functions/gte.js
|
|
570
570
|
var require_gte = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
571
571
|
const compare = require_compare();
|
|
572
572
|
const gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
573
573
|
module.exports = gte;
|
|
574
574
|
}));
|
|
575
575
|
//#endregion
|
|
576
|
-
//#region ../../node_modules/semver/functions/lte.js
|
|
576
|
+
//#region ../../packages/migration/node_modules/semver/functions/lte.js
|
|
577
577
|
var require_lte = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
578
578
|
const compare = require_compare();
|
|
579
579
|
const lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
580
580
|
module.exports = lte;
|
|
581
581
|
}));
|
|
582
582
|
//#endregion
|
|
583
|
-
//#region ../../node_modules/semver/functions/cmp.js
|
|
583
|
+
//#region ../../packages/migration/node_modules/semver/functions/cmp.js
|
|
584
584
|
var require_cmp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
585
585
|
const eq = require_eq();
|
|
586
586
|
const neq = require_neq();
|
|
@@ -612,7 +612,7 @@ var require_cmp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
612
612
|
module.exports = cmp;
|
|
613
613
|
}));
|
|
614
614
|
//#endregion
|
|
615
|
-
//#region ../../node_modules/semver/functions/coerce.js
|
|
615
|
+
//#region ../../packages/migration/node_modules/semver/functions/coerce.js
|
|
616
616
|
var require_coerce = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
617
617
|
const SemVer = require_semver$1();
|
|
618
618
|
const parse = require_parse();
|
|
@@ -640,7 +640,7 @@ var require_coerce = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
640
640
|
module.exports = coerce;
|
|
641
641
|
}));
|
|
642
642
|
//#endregion
|
|
643
|
-
//#region ../../node_modules/semver/internal/lrucache.js
|
|
643
|
+
//#region ../../packages/migration/node_modules/semver/internal/lrucache.js
|
|
644
644
|
var require_lrucache = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
645
645
|
var LRUCache = class {
|
|
646
646
|
constructor() {
|
|
@@ -673,7 +673,7 @@ var require_lrucache = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
673
673
|
module.exports = LRUCache;
|
|
674
674
|
}));
|
|
675
675
|
//#endregion
|
|
676
|
-
//#region ../../node_modules/semver/classes/range.js
|
|
676
|
+
//#region ../../packages/migration/node_modules/semver/classes/range.js
|
|
677
677
|
var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
678
678
|
const SPACE_CHARACTERS = /\s+/g;
|
|
679
679
|
module.exports = class Range {
|
|
@@ -945,7 +945,7 @@ var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
945
945
|
};
|
|
946
946
|
}));
|
|
947
947
|
//#endregion
|
|
948
|
-
//#region ../../node_modules/semver/classes/comparator.js
|
|
948
|
+
//#region ../../packages/migration/node_modules/semver/classes/comparator.js
|
|
949
949
|
var require_comparator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
950
950
|
const ANY = Symbol("SemVer ANY");
|
|
951
951
|
module.exports = class Comparator {
|
|
@@ -1015,7 +1015,7 @@ var require_comparator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1015
1015
|
const Range = require_range();
|
|
1016
1016
|
}));
|
|
1017
1017
|
//#endregion
|
|
1018
|
-
//#region ../../node_modules/semver/functions/satisfies.js
|
|
1018
|
+
//#region ../../packages/migration/node_modules/semver/functions/satisfies.js
|
|
1019
1019
|
var require_satisfies = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1020
1020
|
const Range = require_range();
|
|
1021
1021
|
const satisfies = (version, range, options) => {
|
|
@@ -1029,14 +1029,14 @@ var require_satisfies = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1029
1029
|
module.exports = satisfies;
|
|
1030
1030
|
}));
|
|
1031
1031
|
//#endregion
|
|
1032
|
-
//#region ../../node_modules/semver/ranges/to-comparators.js
|
|
1032
|
+
//#region ../../packages/migration/node_modules/semver/ranges/to-comparators.js
|
|
1033
1033
|
var require_to_comparators = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1034
1034
|
const Range = require_range();
|
|
1035
1035
|
const toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
1036
1036
|
module.exports = toComparators;
|
|
1037
1037
|
}));
|
|
1038
1038
|
//#endregion
|
|
1039
|
-
//#region ../../node_modules/semver/ranges/max-satisfying.js
|
|
1039
|
+
//#region ../../packages/migration/node_modules/semver/ranges/max-satisfying.js
|
|
1040
1040
|
var require_max_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1041
1041
|
const SemVer = require_semver$1();
|
|
1042
1042
|
const Range = require_range();
|
|
@@ -1062,7 +1062,7 @@ var require_max_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
1062
1062
|
module.exports = maxSatisfying;
|
|
1063
1063
|
}));
|
|
1064
1064
|
//#endregion
|
|
1065
|
-
//#region ../../node_modules/semver/ranges/min-satisfying.js
|
|
1065
|
+
//#region ../../packages/migration/node_modules/semver/ranges/min-satisfying.js
|
|
1066
1066
|
var require_min_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1067
1067
|
const SemVer = require_semver$1();
|
|
1068
1068
|
const Range = require_range();
|
|
@@ -1088,7 +1088,7 @@ var require_min_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
1088
1088
|
module.exports = minSatisfying;
|
|
1089
1089
|
}));
|
|
1090
1090
|
//#endregion
|
|
1091
|
-
//#region ../../node_modules/semver/ranges/min-version.js
|
|
1091
|
+
//#region ../../packages/migration/node_modules/semver/ranges/min-version.js
|
|
1092
1092
|
var require_min_version = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1093
1093
|
const SemVer = require_semver$1();
|
|
1094
1094
|
const Range = require_range();
|
|
@@ -1127,7 +1127,7 @@ var require_min_version = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1127
1127
|
module.exports = minVersion;
|
|
1128
1128
|
}));
|
|
1129
1129
|
//#endregion
|
|
1130
|
-
//#region ../../node_modules/semver/ranges/valid.js
|
|
1130
|
+
//#region ../../packages/migration/node_modules/semver/ranges/valid.js
|
|
1131
1131
|
var require_valid = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1132
1132
|
const Range = require_range();
|
|
1133
1133
|
const validRange = (range, options) => {
|
|
@@ -1140,7 +1140,7 @@ var require_valid = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1140
1140
|
module.exports = validRange;
|
|
1141
1141
|
}));
|
|
1142
1142
|
//#endregion
|
|
1143
|
-
//#region ../../node_modules/semver/ranges/outside.js
|
|
1143
|
+
//#region ../../packages/migration/node_modules/semver/ranges/outside.js
|
|
1144
1144
|
var require_outside = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1145
1145
|
const SemVer = require_semver$1();
|
|
1146
1146
|
const Comparator = require_comparator();
|
|
@@ -1193,21 +1193,21 @@ var require_outside = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1193
1193
|
module.exports = outside;
|
|
1194
1194
|
}));
|
|
1195
1195
|
//#endregion
|
|
1196
|
-
//#region ../../node_modules/semver/ranges/gtr.js
|
|
1196
|
+
//#region ../../packages/migration/node_modules/semver/ranges/gtr.js
|
|
1197
1197
|
var require_gtr = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1198
1198
|
const outside = require_outside();
|
|
1199
1199
|
const gtr = (version, range, options) => outside(version, range, ">", options);
|
|
1200
1200
|
module.exports = gtr;
|
|
1201
1201
|
}));
|
|
1202
1202
|
//#endregion
|
|
1203
|
-
//#region ../../node_modules/semver/ranges/ltr.js
|
|
1203
|
+
//#region ../../packages/migration/node_modules/semver/ranges/ltr.js
|
|
1204
1204
|
var require_ltr = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1205
1205
|
const outside = require_outside();
|
|
1206
1206
|
const ltr = (version, range, options) => outside(version, range, "<", options);
|
|
1207
1207
|
module.exports = ltr;
|
|
1208
1208
|
}));
|
|
1209
1209
|
//#endregion
|
|
1210
|
-
//#region ../../node_modules/semver/ranges/intersects.js
|
|
1210
|
+
//#region ../../packages/migration/node_modules/semver/ranges/intersects.js
|
|
1211
1211
|
var require_intersects = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1212
1212
|
const Range = require_range();
|
|
1213
1213
|
const intersects = (r1, r2, options) => {
|
|
@@ -1218,7 +1218,7 @@ var require_intersects = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1218
1218
|
module.exports = intersects;
|
|
1219
1219
|
}));
|
|
1220
1220
|
//#endregion
|
|
1221
|
-
//#region ../../node_modules/semver/ranges/simplify.js
|
|
1221
|
+
//#region ../../packages/migration/node_modules/semver/ranges/simplify.js
|
|
1222
1222
|
var require_simplify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1223
1223
|
const satisfies = require_satisfies();
|
|
1224
1224
|
const compare = require_compare();
|
|
@@ -1248,7 +1248,7 @@ var require_simplify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1248
1248
|
};
|
|
1249
1249
|
}));
|
|
1250
1250
|
//#endregion
|
|
1251
|
-
//#region ../../node_modules/semver/ranges/subset.js
|
|
1251
|
+
//#region ../../packages/migration/node_modules/semver/ranges/subset.js
|
|
1252
1252
|
var require_subset = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1253
1253
|
const Range = require_range();
|
|
1254
1254
|
const Comparator = require_comparator();
|
|
@@ -1605,19 +1605,6 @@ function custom(check2, message) {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
};
|
|
1607
1607
|
}
|
|
1608
|
-
function lazy(getter) {
|
|
1609
|
-
return {
|
|
1610
|
-
kind: "schema",
|
|
1611
|
-
type: "lazy",
|
|
1612
|
-
reference: lazy,
|
|
1613
|
-
expects: "unknown",
|
|
1614
|
-
async: false,
|
|
1615
|
-
getter,
|
|
1616
|
-
_run(dataset, config2) {
|
|
1617
|
-
return this.getter(dataset.value)._run(dataset, config2);
|
|
1618
|
-
}
|
|
1619
|
-
};
|
|
1620
|
-
}
|
|
1621
1608
|
function literal(literal_, message) {
|
|
1622
1609
|
return {
|
|
1623
1610
|
kind: "schema",
|
|
@@ -2014,12 +2001,74 @@ const createMigrator = () => {
|
|
|
2014
2001
|
};
|
|
2015
2002
|
//#endregion
|
|
2016
2003
|
//#region ../../packages/shared/src/config/migrators.ts
|
|
2004
|
+
const DEFAULT_PLUGINS = [
|
|
2005
|
+
{
|
|
2006
|
+
name: "@pipelab/plugin-construct",
|
|
2007
|
+
enabled: true,
|
|
2008
|
+
description: "Construct 3 export & packaging"
|
|
2009
|
+
},
|
|
2010
|
+
{
|
|
2011
|
+
name: "@pipelab/plugin-filesystem",
|
|
2012
|
+
enabled: true,
|
|
2013
|
+
description: "Filesystem utilities"
|
|
2014
|
+
},
|
|
2015
|
+
{
|
|
2016
|
+
name: "@pipelab/plugin-system",
|
|
2017
|
+
enabled: true,
|
|
2018
|
+
description: "System & shell commands"
|
|
2019
|
+
},
|
|
2020
|
+
{
|
|
2021
|
+
name: "@pipelab/plugin-steam",
|
|
2022
|
+
enabled: true,
|
|
2023
|
+
description: "Steam publishing"
|
|
2024
|
+
},
|
|
2025
|
+
{
|
|
2026
|
+
name: "@pipelab/plugin-itch",
|
|
2027
|
+
enabled: true,
|
|
2028
|
+
description: "Itch.io publishing"
|
|
2029
|
+
},
|
|
2030
|
+
{
|
|
2031
|
+
name: "@pipelab/plugin-electron",
|
|
2032
|
+
enabled: true,
|
|
2033
|
+
description: "Electron packaging"
|
|
2034
|
+
},
|
|
2035
|
+
{
|
|
2036
|
+
name: "@pipelab/plugin-discord",
|
|
2037
|
+
enabled: true,
|
|
2038
|
+
description: "Discord Rich Presence"
|
|
2039
|
+
},
|
|
2040
|
+
{
|
|
2041
|
+
name: "@pipelab/plugin-poki",
|
|
2042
|
+
enabled: true,
|
|
2043
|
+
description: "Poki publishing"
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
name: "@pipelab/plugin-nvpatch",
|
|
2047
|
+
enabled: true,
|
|
2048
|
+
description: "NW.js patching"
|
|
2049
|
+
},
|
|
2050
|
+
{
|
|
2051
|
+
name: "@pipelab/plugin-tauri",
|
|
2052
|
+
enabled: true,
|
|
2053
|
+
description: "Tauri packaging"
|
|
2054
|
+
},
|
|
2055
|
+
{
|
|
2056
|
+
name: "@pipelab/plugin-minify",
|
|
2057
|
+
enabled: true,
|
|
2058
|
+
description: "Asset minification"
|
|
2059
|
+
},
|
|
2060
|
+
{
|
|
2061
|
+
name: "@pipelab/plugin-netlify",
|
|
2062
|
+
enabled: true,
|
|
2063
|
+
description: "Netlify deployment"
|
|
2064
|
+
}
|
|
2065
|
+
];
|
|
2017
2066
|
const createMigration = (config) => createMigration$1(config);
|
|
2018
2067
|
const settingsMigratorInternal = createMigrator();
|
|
2019
2068
|
const defaultAppSettings$1 = settingsMigratorInternal.createDefault({
|
|
2020
2069
|
locale: "en-US",
|
|
2021
2070
|
theme: "light",
|
|
2022
|
-
version: "
|
|
2071
|
+
version: "8.0.0",
|
|
2023
2072
|
autosave: true,
|
|
2024
2073
|
agents: [],
|
|
2025
2074
|
tours: {
|
|
@@ -2036,7 +2085,9 @@ const defaultAppSettings$1 = settingsMigratorInternal.createDefault({
|
|
|
2036
2085
|
enabled: false,
|
|
2037
2086
|
maxEntries: 50,
|
|
2038
2087
|
maxAge: 30
|
|
2039
|
-
} }
|
|
2088
|
+
} },
|
|
2089
|
+
plugins: DEFAULT_PLUGINS,
|
|
2090
|
+
isInternalMigrationBannerClosed: false
|
|
2040
2091
|
});
|
|
2041
2092
|
const appSettingsMigrator$1 = settingsMigratorInternal.createMigrations({
|
|
2042
2093
|
defaultValue: defaultAppSettings$1,
|
|
@@ -2087,19 +2138,22 @@ const appSettingsMigrator$1 = settingsMigratorInternal.createMigrations({
|
|
|
2087
2138
|
createMigration({
|
|
2088
2139
|
version: "6.0.0",
|
|
2089
2140
|
up: (state) => {
|
|
2141
|
+
const { cacheFolder: _, clearTemporaryFoldersOnPipelineEnd: __, ...rest } = state;
|
|
2090
2142
|
return {
|
|
2091
|
-
...
|
|
2143
|
+
...rest,
|
|
2092
2144
|
agents: [],
|
|
2093
2145
|
buildHistory: { retentionPolicy: {
|
|
2094
2146
|
enabled: false,
|
|
2095
2147
|
maxEntries: 50,
|
|
2096
2148
|
maxAge: 30
|
|
2097
|
-
} }
|
|
2149
|
+
} },
|
|
2150
|
+
plugins: DEFAULT_PLUGINS,
|
|
2151
|
+
isInternalMigrationBannerClosed: false
|
|
2098
2152
|
};
|
|
2099
2153
|
}
|
|
2100
2154
|
}),
|
|
2101
2155
|
createMigration({
|
|
2102
|
-
version: "
|
|
2156
|
+
version: "8.0.0",
|
|
2103
2157
|
up: finalVersion
|
|
2104
2158
|
})
|
|
2105
2159
|
]
|
|
@@ -2150,8 +2204,7 @@ const savedFileDefaultValue = savedFileMigratorInternal.createDefault({
|
|
|
2150
2204
|
description: "",
|
|
2151
2205
|
name: "",
|
|
2152
2206
|
variables: [],
|
|
2153
|
-
|
|
2154
|
-
version: "4.0.0"
|
|
2207
|
+
version: "5.0.0"
|
|
2155
2208
|
});
|
|
2156
2209
|
const savedFileMigrator$1 = savedFileMigratorInternal.createMigrations({
|
|
2157
2210
|
defaultValue: savedFileDefaultValue,
|
|
@@ -2214,10 +2267,88 @@ const savedFileMigrator$1 = savedFileMigratorInternal.createMigrations({
|
|
|
2214
2267
|
}),
|
|
2215
2268
|
createMigration({
|
|
2216
2269
|
version: "4.0.0",
|
|
2270
|
+
up: (_state) => {
|
|
2271
|
+
const state = _state;
|
|
2272
|
+
if (state.type === "simple") return {
|
|
2273
|
+
name: state.name,
|
|
2274
|
+
description: state.description,
|
|
2275
|
+
canvas: {
|
|
2276
|
+
blocks: [],
|
|
2277
|
+
triggers: []
|
|
2278
|
+
},
|
|
2279
|
+
variables: []
|
|
2280
|
+
};
|
|
2281
|
+
const migrateBlock = (block, pluginsMap) => {
|
|
2282
|
+
if (!block) return;
|
|
2283
|
+
if (block.origin?.pluginId) {
|
|
2284
|
+
block.origin.pluginId = getStrictPluginId(block.origin.pluginId);
|
|
2285
|
+
block.origin.version = pluginsMap[block.origin.pluginId] ?? "latest";
|
|
2286
|
+
}
|
|
2287
|
+
};
|
|
2288
|
+
const normalizedPlugins = {};
|
|
2289
|
+
if (state.plugins) for (const [key, val] of Object.entries(state.plugins)) normalizedPlugins[getStrictPluginId(key)] = val;
|
|
2290
|
+
if (state.canvas) {
|
|
2291
|
+
for (const block of state.canvas.blocks ?? []) migrateBlock(block, normalizedPlugins);
|
|
2292
|
+
for (const trigger of state.canvas.triggers ?? []) migrateBlock(trigger, normalizedPlugins);
|
|
2293
|
+
}
|
|
2294
|
+
const { plugins: _dropped, type: _type, ...rest } = state;
|
|
2295
|
+
return rest;
|
|
2296
|
+
}
|
|
2297
|
+
}),
|
|
2298
|
+
createMigration({
|
|
2299
|
+
version: "5.0.0",
|
|
2217
2300
|
up: finalVersion
|
|
2218
2301
|
})
|
|
2219
2302
|
]
|
|
2220
2303
|
});
|
|
2304
|
+
const LEGACY_ID_MAP = {
|
|
2305
|
+
construct: "@pipelab/plugin-construct",
|
|
2306
|
+
filesystem: "@pipelab/plugin-filesystem",
|
|
2307
|
+
system: "@pipelab/plugin-system",
|
|
2308
|
+
steam: "@pipelab/plugin-steam",
|
|
2309
|
+
itch: "@pipelab/plugin-itch",
|
|
2310
|
+
electron: "@pipelab/plugin-electron",
|
|
2311
|
+
discord: "@pipelab/plugin-discord",
|
|
2312
|
+
dicord: "@pipelab/plugin-discord",
|
|
2313
|
+
"@pipelab/plugin-dicord": "@pipelab/plugin-discord",
|
|
2314
|
+
poki: "@pipelab/plugin-poki",
|
|
2315
|
+
nvpatch: "@pipelab/plugin-nvpatch",
|
|
2316
|
+
tauri: "@pipelab/plugin-tauri",
|
|
2317
|
+
minify: "@pipelab/plugin-minify",
|
|
2318
|
+
netlify: "@pipelab/plugin-netlify"
|
|
2319
|
+
};
|
|
2320
|
+
const getStrictPluginId = (pluginId) => {
|
|
2321
|
+
if (!pluginId) return pluginId;
|
|
2322
|
+
if (LEGACY_ID_MAP[pluginId]) return LEGACY_ID_MAP[pluginId];
|
|
2323
|
+
if (pluginId.startsWith("@") || pluginId.includes("/") || pluginId.startsWith("pipelab-plugin-")) return pluginId;
|
|
2324
|
+
const prefixed = `@pipelab/plugin-${pluginId}`;
|
|
2325
|
+
return LEGACY_ID_MAP[prefixed] || prefixed;
|
|
2326
|
+
};
|
|
2327
|
+
const normalizeBlockPluginId = (block) => {
|
|
2328
|
+
if (!block) return false;
|
|
2329
|
+
let changed = false;
|
|
2330
|
+
if (block.origin?.pluginId) {
|
|
2331
|
+
const strictId = getStrictPluginId(block.origin.pluginId);
|
|
2332
|
+
if (block.origin.pluginId !== strictId) {
|
|
2333
|
+
block.origin.pluginId = strictId;
|
|
2334
|
+
changed = true;
|
|
2335
|
+
}
|
|
2336
|
+
}
|
|
2337
|
+
return changed;
|
|
2338
|
+
};
|
|
2339
|
+
const normalizePipelineConfig$1 = (state) => {
|
|
2340
|
+
if (!state) return false;
|
|
2341
|
+
let changed = false;
|
|
2342
|
+
if (state.type === "default" && state.canvas) {
|
|
2343
|
+
if (Array.isArray(state.canvas.blocks)) {
|
|
2344
|
+
for (const block of state.canvas.blocks) if (normalizeBlockPluginId(block)) changed = true;
|
|
2345
|
+
}
|
|
2346
|
+
if (Array.isArray(state.canvas.triggers)) {
|
|
2347
|
+
for (const trigger of state.canvas.triggers) if (normalizeBlockPluginId(trigger)) changed = true;
|
|
2348
|
+
}
|
|
2349
|
+
}
|
|
2350
|
+
return changed;
|
|
2351
|
+
};
|
|
2221
2352
|
const configRegistry$1 = {
|
|
2222
2353
|
settings: appSettingsMigrator$1,
|
|
2223
2354
|
projects: fileRepoMigrations$1,
|
|
@@ -2341,7 +2472,46 @@ const AppSettingsValidatorV7 = object({
|
|
|
2341
2472
|
maxAge: number()
|
|
2342
2473
|
}) })
|
|
2343
2474
|
});
|
|
2344
|
-
const
|
|
2475
|
+
const AppSettingsValidatorV8 = object({
|
|
2476
|
+
theme: union([literal("light"), literal("dark")]),
|
|
2477
|
+
version: literal("8.0.0"),
|
|
2478
|
+
locale: union([
|
|
2479
|
+
literal("en-US"),
|
|
2480
|
+
literal("fr-FR"),
|
|
2481
|
+
literal("pt-BR"),
|
|
2482
|
+
literal("zh-CN"),
|
|
2483
|
+
literal("es-ES"),
|
|
2484
|
+
literal("de-DE")
|
|
2485
|
+
]),
|
|
2486
|
+
tours: object({
|
|
2487
|
+
dashboard: object({
|
|
2488
|
+
step: number(),
|
|
2489
|
+
completed: boolean()
|
|
2490
|
+
}),
|
|
2491
|
+
editor: object({
|
|
2492
|
+
step: number(),
|
|
2493
|
+
completed: boolean()
|
|
2494
|
+
})
|
|
2495
|
+
}),
|
|
2496
|
+
autosave: boolean(),
|
|
2497
|
+
agents: array(object({
|
|
2498
|
+
id: string(),
|
|
2499
|
+
name: string(),
|
|
2500
|
+
url: string()
|
|
2501
|
+
})),
|
|
2502
|
+
buildHistory: object({ retentionPolicy: object({
|
|
2503
|
+
enabled: boolean(),
|
|
2504
|
+
maxEntries: number(),
|
|
2505
|
+
maxAge: number()
|
|
2506
|
+
}) }),
|
|
2507
|
+
plugins: array(object({
|
|
2508
|
+
name: string(),
|
|
2509
|
+
enabled: boolean(),
|
|
2510
|
+
description: string()
|
|
2511
|
+
})),
|
|
2512
|
+
isInternalMigrationBannerClosed: optional(boolean(), false)
|
|
2513
|
+
});
|
|
2514
|
+
const AppSettingsValidator = AppSettingsValidatorV8;
|
|
2345
2515
|
//#endregion
|
|
2346
2516
|
//#region ../../node_modules/tslog/dist/esm/prettyLogStyles.js
|
|
2347
2517
|
const prettyLogStyles = {
|
|
@@ -4013,9 +4183,6 @@ const processGraph = async (options) => {
|
|
|
4013
4183
|
options.steps[rawNode.uid].outputs = result.result.outputs;
|
|
4014
4184
|
}
|
|
4015
4185
|
options.onNodeExit(rawNode);
|
|
4016
|
-
} else if (rawNode.type === "loop") {
|
|
4017
|
-
options.onNodeEnter(rawNode);
|
|
4018
|
-
options.onNodeExit(rawNode);
|
|
4019
4186
|
} else if (rawNode.type === "comment") {} else if (rawNode.type === "event") {
|
|
4020
4187
|
options.onNodeEnter(rawNode);
|
|
4021
4188
|
options.onNodeExit(rawNode);
|
|
@@ -4045,7 +4212,10 @@ var en_US_default = {
|
|
|
4045
4212
|
"storage": "Storage",
|
|
4046
4213
|
"integrations": "Integrations",
|
|
4047
4214
|
"advanced": "Advanced",
|
|
4048
|
-
"billing": "Billing"
|
|
4215
|
+
"billing": "Billing",
|
|
4216
|
+
"plugins": "Plugins",
|
|
4217
|
+
"core-plugins": "Core Plugins",
|
|
4218
|
+
"community-plugins": "Community Plugins"
|
|
4049
4219
|
},
|
|
4050
4220
|
"pipeline-cache-folder": "Pipeline Cache Folder:",
|
|
4051
4221
|
"enter-or-browse-for-a-folder": "Enter or browse for a folder",
|
|
@@ -4109,7 +4279,14 @@ var en_US_default = {
|
|
|
4109
4279
|
"your-project-has-be-saved-successfully": "Your project has be saved successfully",
|
|
4110
4280
|
"view-history": "History",
|
|
4111
4281
|
"add-plugin": "Add plugin",
|
|
4112
|
-
"display-advanced-nodes": "Display advanced nodes"
|
|
4282
|
+
"display-advanced-nodes": "Display advanced nodes",
|
|
4283
|
+
"project-settings": "Pipeline Settings",
|
|
4284
|
+
"jit-loading-title": "Installing Required Plugins",
|
|
4285
|
+
"jit-loading-subtitle": "Please wait while Pipelab fetches and prepares the necessary nodes for this pipeline.",
|
|
4286
|
+
"jit-loading-status": "Downloading and building plugin packages…",
|
|
4287
|
+
"validation-failed": "Validation Failed",
|
|
4288
|
+
"validation-plugin-disabled-or-missing": "Plugin \"{pluginId}\" is disabled or not installed (required by \"{nodeName}\").",
|
|
4289
|
+
"validation-missing-param": "Block \"{nodeName}\": missing required parameter \"{paramName}\"."
|
|
4113
4290
|
},
|
|
4114
4291
|
home: {
|
|
4115
4292
|
"invalid-preset": "Invalid preset",
|
|
@@ -4155,7 +4332,11 @@ var en_US_default = {
|
|
|
4155
4332
|
"confirm-migration-message": "Are you sure you want to migrate this pipeline to internal storage? This will create a copy in the internal storage managed by Pipelab.",
|
|
4156
4333
|
"migrate-pipeline": "Migrate Pipeline",
|
|
4157
4334
|
"migration-success": "Pipeline migrated successfully",
|
|
4158
|
-
"migrate-to-internal": "Migrate to Internal"
|
|
4335
|
+
"migrate-to-internal": "Migrate to Internal",
|
|
4336
|
+
"only-internal-supported-notice": "Pipelab now stores pipelines internally. External pipeline files are deprecated. You can still import external files as internal pipelines.",
|
|
4337
|
+
"import-pipeline": "Import Pipeline",
|
|
4338
|
+
"import-success": "Pipeline imported successfully",
|
|
4339
|
+
"failed-to-read-file": "Failed to read the selected file"
|
|
4159
4340
|
},
|
|
4160
4341
|
scenarios: { "scenarios": "Scenarios" },
|
|
4161
4342
|
tour: {
|
|
@@ -4199,7 +4380,10 @@ var fr_FR_default = {
|
|
|
4199
4380
|
"storage": "Stockage",
|
|
4200
4381
|
"integrations": "Intégrations",
|
|
4201
4382
|
"advanced": "Avancé",
|
|
4202
|
-
"billing": "Facturation"
|
|
4383
|
+
"billing": "Facturation",
|
|
4384
|
+
"plugins": "Plugins",
|
|
4385
|
+
"core-plugins": "Plugins de base",
|
|
4386
|
+
"community-plugins": "Plugins de la communauté"
|
|
4203
4387
|
},
|
|
4204
4388
|
"clearTempFolders": "Nettoyer automatiquement les fichiers temporaires",
|
|
4205
4389
|
"clearTempFoldersDescription": "Lorsque cette option est activée, tous les fichiers temporaires créés lors de l'exécution du pipeline seront automatiquement supprimés une fois le pipeline terminé. Cela permet d'économiser de l'espace disque, mais vous devrez peut-être copier vous-même des artefacts pour les préserver.",
|
|
@@ -4288,7 +4472,10 @@ var pt_BR_default = {
|
|
|
4288
4472
|
"storage": "Armazenagem",
|
|
4289
4473
|
"integrations": "Integrações",
|
|
4290
4474
|
"advanced": "Avançado",
|
|
4291
|
-
"billing": "Pagamento"
|
|
4475
|
+
"billing": "Pagamento",
|
|
4476
|
+
"plugins": "Plugins",
|
|
4477
|
+
"core-plugins": "Plugins nativos",
|
|
4478
|
+
"community-plugins": "Plugins da comunidade"
|
|
4292
4479
|
},
|
|
4293
4480
|
"clearTempFolders": "Automatically clean up temporary files",
|
|
4294
4481
|
"clearTempFoldersDescription": "When enabled, all temporary files created during pipeline execution will be automatically deleted after the pipeline completes. This helps save disk space but you may need to copy artifacts yourself to preserve them.",
|
|
@@ -4374,7 +4561,10 @@ var zh_CN_default = {
|
|
|
4374
4561
|
"storage": "Storage",
|
|
4375
4562
|
"integrations": "Integrations",
|
|
4376
4563
|
"advanced": "Advanced",
|
|
4377
|
-
"billing": "Billing"
|
|
4564
|
+
"billing": "Billing",
|
|
4565
|
+
"plugins": "Plugins",
|
|
4566
|
+
"core-plugins": "核心插件",
|
|
4567
|
+
"community-plugins": "社区插件"
|
|
4378
4568
|
},
|
|
4379
4569
|
"clearTempFolders": "Automatically clean up temporary files",
|
|
4380
4570
|
"clearTempFoldersDescription": "When enabled, all temporary files created during pipeline execution will be automatically deleted after the pipeline completes. This helps save disk space but you may need to copy artifacts yourself to preserve them.",
|
|
@@ -4460,7 +4650,10 @@ var es_ES_default = {
|
|
|
4460
4650
|
"storage": "Storage",
|
|
4461
4651
|
"integrations": "Integrations",
|
|
4462
4652
|
"advanced": "Advanced",
|
|
4463
|
-
"billing": "Billing"
|
|
4653
|
+
"billing": "Billing",
|
|
4654
|
+
"plugins": "Plugins",
|
|
4655
|
+
"core-plugins": "Complementos principales",
|
|
4656
|
+
"community-plugins": "Complementos de la comunidad"
|
|
4464
4657
|
},
|
|
4465
4658
|
"clearTempFolders": "Automatically clean up temporary files",
|
|
4466
4659
|
"clearTempFoldersDescription": "Cuando está habilitado, todos los archivos temporales creados durante la ejecución del pipeline se eliminarán automáticamente después de que el pipeline se complete. Esto ayuda a ahorrar espacio en el disco, pero puede que necesite copiar los artefactos usted mismo para preservarlos.",
|
|
@@ -4546,7 +4739,10 @@ var de_DE_default = {
|
|
|
4546
4739
|
"storage": "Storage",
|
|
4547
4740
|
"integrations": "Integrations",
|
|
4548
4741
|
"advanced": "Advanced",
|
|
4549
|
-
"billing": "Billing"
|
|
4742
|
+
"billing": "Billing",
|
|
4743
|
+
"plugins": "Plugins",
|
|
4744
|
+
"core-plugins": "Core-Plugins",
|
|
4745
|
+
"community-plugins": "Community-Plugins"
|
|
4550
4746
|
},
|
|
4551
4747
|
"clearTempFolders": "Automatically clean up temporary files",
|
|
4552
4748
|
"clearTempFoldersDescription": "Wenn aktiviert, werden alle temporären Dateien, die während der Pipeline-Ausführung erstellt wurden, automatisch gelöscht, nachdem die Pipeline abgeschlossen ist. Dies hilft, Speicherplatz auf der Festplatte zu sparen, aber möglicherweise müssen Sie selbst Artefakte kopieren, um sie zu bewahren.",
|
|
@@ -4617,7 +4813,8 @@ var de_DE_default = {
|
|
|
4617
4813
|
//#region ../../packages/shared/src/model.ts
|
|
4618
4814
|
const OriginValidator = object({
|
|
4619
4815
|
pluginId: string(),
|
|
4620
|
-
nodeId: string()
|
|
4816
|
+
nodeId: string(),
|
|
4817
|
+
version: pipe(optional(string()), description("Pinned version of the plugin for this block. Falls back to \"latest\" when absent."))
|
|
4621
4818
|
});
|
|
4622
4819
|
const BlockActionValidatorV1 = object({
|
|
4623
4820
|
type: literal("action"),
|
|
@@ -4638,21 +4835,6 @@ const BlockActionValidatorV3 = object({
|
|
|
4638
4835
|
})),
|
|
4639
4836
|
origin: OriginValidator
|
|
4640
4837
|
});
|
|
4641
|
-
object({
|
|
4642
|
-
type: literal("condition"),
|
|
4643
|
-
uid: string(),
|
|
4644
|
-
origin: OriginValidator,
|
|
4645
|
-
params: record(string(), any()),
|
|
4646
|
-
branchTrue: lazy(() => array(BlockValidator)),
|
|
4647
|
-
branchFalse: lazy(() => array(BlockValidator))
|
|
4648
|
-
});
|
|
4649
|
-
object({
|
|
4650
|
-
type: literal("loop"),
|
|
4651
|
-
uid: string(),
|
|
4652
|
-
origin: OriginValidator,
|
|
4653
|
-
params: record(string(), any()),
|
|
4654
|
-
children: lazy(() => array(BlockValidator))
|
|
4655
|
-
});
|
|
4656
4838
|
const BlockEventValidator = object({
|
|
4657
4839
|
type: literal("event"),
|
|
4658
4840
|
uid: string(),
|
|
@@ -4668,7 +4850,6 @@ object({
|
|
|
4668
4850
|
const BlockValidatorV1 = variant("type", [BlockActionValidatorV1, BlockEventValidator]);
|
|
4669
4851
|
const BlockValidatorV2 = variant("type", [BlockActionValidatorV1]);
|
|
4670
4852
|
const BlockValidatorV3 = variant("type", [BlockActionValidatorV3]);
|
|
4671
|
-
const BlockValidator = BlockValidatorV3;
|
|
4672
4853
|
const CanvasValidatorV1 = object({ blocks: array(BlockValidatorV1) });
|
|
4673
4854
|
const CanvasValidatorV2 = object({
|
|
4674
4855
|
blocks: array(BlockValidatorV2),
|
|
@@ -4700,19 +4881,21 @@ const SavedFileValidatorV3 = object({
|
|
|
4700
4881
|
canvas: CanvasValidatorV3,
|
|
4701
4882
|
variables: array(VariableValidatorV1)
|
|
4702
4883
|
});
|
|
4703
|
-
const
|
|
4884
|
+
const SavedFileDefaultValidatorV4 = object({
|
|
4704
4885
|
version: literal("4.0.0"),
|
|
4705
4886
|
type: literal("default"),
|
|
4706
4887
|
name: string(),
|
|
4707
4888
|
description: string(),
|
|
4889
|
+
plugins: optional(record(string(), string())),
|
|
4708
4890
|
canvas: CanvasValidatorV3,
|
|
4709
4891
|
variables: array(VariableValidatorV1)
|
|
4710
4892
|
});
|
|
4711
|
-
const
|
|
4893
|
+
const SavedFileSimpleValidatorV4 = object({
|
|
4712
4894
|
version: literal("4.0.0"),
|
|
4713
4895
|
type: literal("simple"),
|
|
4714
4896
|
name: string(),
|
|
4715
4897
|
description: string(),
|
|
4898
|
+
plugins: optional(record(string(), string())),
|
|
4716
4899
|
source: object({
|
|
4717
4900
|
type: union([
|
|
4718
4901
|
literal("c3-html"),
|
|
@@ -4738,8 +4921,47 @@ const SavedFileSimpleValidator = object({
|
|
|
4738
4921
|
})
|
|
4739
4922
|
})
|
|
4740
4923
|
});
|
|
4741
|
-
const
|
|
4742
|
-
|
|
4924
|
+
const SavedFileDefaultValidatorV5 = object({
|
|
4925
|
+
version: literal("5.0.0"),
|
|
4926
|
+
name: string(),
|
|
4927
|
+
description: string(),
|
|
4928
|
+
canvas: CanvasValidatorV3,
|
|
4929
|
+
variables: array(VariableValidatorV1)
|
|
4930
|
+
});
|
|
4931
|
+
const SavedFileSimpleValidatorV5 = object({
|
|
4932
|
+
version: literal("5.0.0"),
|
|
4933
|
+
type: literal("simple"),
|
|
4934
|
+
name: string(),
|
|
4935
|
+
description: string(),
|
|
4936
|
+
plugins: record(string(), string()),
|
|
4937
|
+
source: object({
|
|
4938
|
+
type: union([
|
|
4939
|
+
literal("c3-html"),
|
|
4940
|
+
literal("c3-nwjs"),
|
|
4941
|
+
literal("godot"),
|
|
4942
|
+
literal("html")
|
|
4943
|
+
]),
|
|
4944
|
+
path: string()
|
|
4945
|
+
}),
|
|
4946
|
+
packaging: object({ enabled: boolean() }),
|
|
4947
|
+
publishing: object({
|
|
4948
|
+
steam: object({
|
|
4949
|
+
enabled: boolean(),
|
|
4950
|
+
appId: optional(string())
|
|
4951
|
+
}),
|
|
4952
|
+
itch: object({
|
|
4953
|
+
enabled: boolean(),
|
|
4954
|
+
project: optional(string())
|
|
4955
|
+
}),
|
|
4956
|
+
poki: object({
|
|
4957
|
+
enabled: boolean(),
|
|
4958
|
+
gameId: optional(string())
|
|
4959
|
+
})
|
|
4960
|
+
})
|
|
4961
|
+
});
|
|
4962
|
+
const SavedFileValidatorV4 = union([SavedFileDefaultValidatorV4, SavedFileSimpleValidatorV4]);
|
|
4963
|
+
const SavedFileValidatorV5 = SavedFileDefaultValidatorV5;
|
|
4964
|
+
const SavedFileValidator = SavedFileValidatorV5;
|
|
4743
4965
|
//#endregion
|
|
4744
4966
|
//#region ../../node_modules/vue/node_modules/@vue/shared/dist/shared.cjs.prod.js
|
|
4745
4967
|
/**
|
|
@@ -46884,7 +47106,13 @@ const plugins = (0, vue_exports.shallowRef)([]);
|
|
|
46884
47106
|
const usePlugins = () => {
|
|
46885
47107
|
const load = () => {};
|
|
46886
47108
|
const registerPlugins = (newPlugins) => {
|
|
46887
|
-
plugins.value
|
|
47109
|
+
const current = [...plugins.value];
|
|
47110
|
+
for (const np of newPlugins) {
|
|
47111
|
+
const idx = current.findIndex((p) => p.id === np.id);
|
|
47112
|
+
if (idx !== -1) current[idx] = np;
|
|
47113
|
+
else current.push(np);
|
|
47114
|
+
}
|
|
47115
|
+
plugins.value = current;
|
|
46888
47116
|
};
|
|
46889
47117
|
return {
|
|
46890
47118
|
load,
|
|
@@ -46991,18 +47219,6 @@ const createExpression = (expression) => {
|
|
|
46991
47219
|
type: "expression"
|
|
46992
47220
|
};
|
|
46993
47221
|
};
|
|
46994
|
-
const createCondition = (condition) => {
|
|
46995
|
-
return {
|
|
46996
|
-
...condition,
|
|
46997
|
-
type: "condition"
|
|
46998
|
-
};
|
|
46999
|
-
};
|
|
47000
|
-
const createLoop = (loop) => {
|
|
47001
|
-
return {
|
|
47002
|
-
...loop,
|
|
47003
|
-
type: "loop"
|
|
47004
|
-
};
|
|
47005
|
-
};
|
|
47006
47222
|
const createEvent = (event) => {
|
|
47007
47223
|
return {
|
|
47008
47224
|
...event,
|
|
@@ -64166,6 +64382,24 @@ const supabase = (options) => {
|
|
|
64166
64382
|
//#endregion
|
|
64167
64383
|
//#region ../../packages/shared/src/utils.ts
|
|
64168
64384
|
const foo = "bar";
|
|
64385
|
+
const transformUrl = (url) => {
|
|
64386
|
+
if (url && typeof url === "string") {
|
|
64387
|
+
const getHost = () => {
|
|
64388
|
+
if (typeof window !== "undefined") if (window.location.port === "5173") return `http://${window.location.hostname}:33753`;
|
|
64389
|
+
else return `${window.location.protocol}//${window.location.host}`;
|
|
64390
|
+
return "http://localhost:33753";
|
|
64391
|
+
};
|
|
64392
|
+
if (url.startsWith("file://")) {
|
|
64393
|
+
const filePath = url.substring(7);
|
|
64394
|
+
return `${getHost()}/media-file/${encodeURIComponent(filePath)}`;
|
|
64395
|
+
}
|
|
64396
|
+
if (url.startsWith("media://")) {
|
|
64397
|
+
const filePath = url.replace(/^media:\/\/+/, "/");
|
|
64398
|
+
return `${getHost()}/media-file/${encodeURIComponent(filePath)}`;
|
|
64399
|
+
}
|
|
64400
|
+
}
|
|
64401
|
+
return url || "";
|
|
64402
|
+
};
|
|
64169
64403
|
//#endregion
|
|
64170
64404
|
//#region ../../packages/shared/src/validation.ts
|
|
64171
64405
|
const isRequired = (param) => {
|
|
@@ -64245,11 +64479,10 @@ const fileRepoMigrations = fileRepoMigrations$1;
|
|
|
64245
64479
|
const defaultFileRepo = defaultFileRepo$1;
|
|
64246
64480
|
const savedFileMigrator = savedFileMigrator$1;
|
|
64247
64481
|
const configRegistry = configRegistry$1;
|
|
64482
|
+
const normalizePipelineConfig = normalizePipelineConfig$1;
|
|
64248
64483
|
//#endregion
|
|
64249
64484
|
//#region src/pipelab.ts
|
|
64250
64485
|
const createActionRunner = (runner) => runner;
|
|
64251
|
-
const createConditionRunner = (runner) => runner;
|
|
64252
|
-
const createLoopRunner = (runner) => runner;
|
|
64253
64486
|
const createExpressionRunner = (runner) => runner;
|
|
64254
64487
|
const createEventRunner = (runner) => runner;
|
|
64255
64488
|
const sleep = (duration) => {
|
|
@@ -64402,6 +64635,6 @@ const detectRuntime = async (appFolder) => {
|
|
|
64402
64635
|
return detectedRuntime;
|
|
64403
64636
|
};
|
|
64404
64637
|
//#endregion
|
|
64405
|
-
export { AppSettingsValidator, AppSettingsValidatorV1, AppSettingsValidatorV2, AppSettingsValidatorV3, AppSettingsValidatorV4, AppSettingsValidatorV5, AppSettingsValidatorV6, AppSettingsValidatorV7, BenefitNotFoundError, EditorParamValidatorV3, ExternalCommandError, OriginValidator, PipelabContext, src_default as RELEASE_SYNC, SaveLocationExternalValidator, SaveLocationInternalValidator, SaveLocationPipelabCloudValidator, SaveLocationValidator,
|
|
64638
|
+
export { AppSettingsValidator, AppSettingsValidatorV1, AppSettingsValidatorV2, AppSettingsValidatorV3, AppSettingsValidatorV4, AppSettingsValidatorV5, AppSettingsValidatorV6, AppSettingsValidatorV7, AppSettingsValidatorV8, BenefitNotFoundError, EditorParamValidatorV3, ExternalCommandError, OriginValidator, PipelabContext, src_default as RELEASE_SYNC, SaveLocationExternalValidator, SaveLocationInternalValidator, SaveLocationPipelabCloudValidator, SaveLocationValidator, SavedFileDefaultValidatorV4, SavedFileDefaultValidatorV5, SavedFileSimpleValidatorV4, SavedFileSimpleValidatorV5, SavedFileValidator, SavedFileValidatorV1, SavedFileValidatorV2, SavedFileValidatorV3, SavedFileValidatorV4, SavedFileValidatorV5, ShellChannels, SubscriptionExpiredError, SubscriptionRequiredError, UnauthorizedError, VariableValidatorV1, WebSocketConnectionError, WebSocketError, WebSocketTimeoutError, appSettingsMigrator, configRegistry, createAction, createActionRunner, createArray, createBooleanParam, createColorPicker, createDefinition, createEvent, createEventRunner, createExpression, createExpressionRunner, createNetlifySiteParam, createNodeDefinition, createNumberParam, createPasswordParam, createPathParam, createPlugin, createQuickJs, createQuickJsFromVariant, createRawParam, createStringParam, createSubscriptionError, createVersionSchema, de_DE_default as de_DE, defaultAppSettings, defaultFileRepo, detectRuntime, downloadFile, en_US_default as en_US, ensure, es_ES_default as es_ES, extractTarGz, extractZip, fetchPackage, fetchPipelabAsset, fetchPipelabCli, fetchPipelabPlugin, fileExists, fileRepoMigrations, fmt, foo, fr_FR_default as fr_FR, generateTempFolder, getSubscriptionErrorMessage, isRenderer, isRequired, isSubscriptionError, isSupabaseAvailable, isWebSocketErrorMessage, isWebSocketRequestMessage, isWebSocketResponseMessage, makeResolvedParams, newVariant, normalizePipelineConfig, processGraph, pt_BR_default as pt_BR, runPnpm, runWithLiveLogs, savedFileMigrator, schema, sleep, supabase, transformUrl, useLogger, usePlugins, variableToFormattedVariable, zh_CN_default as zh_CN, zipFolder };
|
|
64406
64639
|
|
|
64407
64640
|
//# sourceMappingURL=index.mjs.map
|