@pipelab/plugin-core 1.0.0-beta.12 → 1.0.0-beta.14
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.cjs
CHANGED
|
@@ -65,7 +65,7 @@ const finalVersion = () => {
|
|
|
65
65
|
throw new Error("Unable to go up on the final version!");
|
|
66
66
|
};
|
|
67
67
|
//#endregion
|
|
68
|
-
//#region ../../node_modules/semver/internal/constants.js
|
|
68
|
+
//#region ../../packages/migration/node_modules/semver/internal/constants.js
|
|
69
69
|
var require_constants$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
70
70
|
const SEMVER_SPEC_VERSION = "2.0.0";
|
|
71
71
|
const MAX_LENGTH = 256;
|
|
@@ -90,12 +90,12 @@ var require_constants$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
90
90
|
};
|
|
91
91
|
}));
|
|
92
92
|
//#endregion
|
|
93
|
-
//#region ../../node_modules/semver/internal/debug.js
|
|
93
|
+
//#region ../../packages/migration/node_modules/semver/internal/debug.js
|
|
94
94
|
var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
95
95
|
module.exports = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
|
|
96
96
|
}));
|
|
97
97
|
//#endregion
|
|
98
|
-
//#region ../../node_modules/semver/internal/re.js
|
|
98
|
+
//#region ../../packages/migration/node_modules/semver/internal/re.js
|
|
99
99
|
var require_re = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
100
100
|
const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH } = require_constants$2();
|
|
101
101
|
const debug = require_debug();
|
|
@@ -174,7 +174,7 @@ var require_re = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
174
174
|
createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
175
175
|
}));
|
|
176
176
|
//#endregion
|
|
177
|
-
//#region ../../node_modules/semver/internal/parse-options.js
|
|
177
|
+
//#region ../../packages/migration/node_modules/semver/internal/parse-options.js
|
|
178
178
|
var require_parse_options = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
179
179
|
const looseOption = Object.freeze({ loose: true });
|
|
180
180
|
const emptyOpts = Object.freeze({});
|
|
@@ -186,7 +186,7 @@ var require_parse_options = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
186
186
|
module.exports = parseOptions;
|
|
187
187
|
}));
|
|
188
188
|
//#endregion
|
|
189
|
-
//#region ../../node_modules/semver/internal/identifiers.js
|
|
189
|
+
//#region ../../packages/migration/node_modules/semver/internal/identifiers.js
|
|
190
190
|
var require_identifiers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
191
191
|
const numeric = /^[0-9]+$/;
|
|
192
192
|
const compareIdentifiers = (a, b) => {
|
|
@@ -206,7 +206,7 @@ var require_identifiers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
206
206
|
};
|
|
207
207
|
}));
|
|
208
208
|
//#endregion
|
|
209
|
-
//#region ../../node_modules/semver/classes/semver.js
|
|
209
|
+
//#region ../../packages/migration/node_modules/semver/classes/semver.js
|
|
210
210
|
var require_semver$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
211
211
|
const debug = require_debug();
|
|
212
212
|
const { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants$2();
|
|
@@ -384,7 +384,7 @@ var require_semver$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
384
384
|
};
|
|
385
385
|
}));
|
|
386
386
|
//#endregion
|
|
387
|
-
//#region ../../node_modules/semver/functions/parse.js
|
|
387
|
+
//#region ../../packages/migration/node_modules/semver/functions/parse.js
|
|
388
388
|
var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
389
389
|
const SemVer = require_semver$1();
|
|
390
390
|
const parse = (version, options, throwErrors = false) => {
|
|
@@ -399,7 +399,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
399
399
|
module.exports = parse;
|
|
400
400
|
}));
|
|
401
401
|
//#endregion
|
|
402
|
-
//#region ../../node_modules/semver/functions/valid.js
|
|
402
|
+
//#region ../../packages/migration/node_modules/semver/functions/valid.js
|
|
403
403
|
var require_valid$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
404
404
|
const parse = require_parse();
|
|
405
405
|
const valid = (version, options) => {
|
|
@@ -409,7 +409,7 @@ var require_valid$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
409
409
|
module.exports = valid;
|
|
410
410
|
}));
|
|
411
411
|
//#endregion
|
|
412
|
-
//#region ../../node_modules/semver/functions/clean.js
|
|
412
|
+
//#region ../../packages/migration/node_modules/semver/functions/clean.js
|
|
413
413
|
var require_clean = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
414
414
|
const parse = require_parse();
|
|
415
415
|
const clean = (version, options) => {
|
|
@@ -419,7 +419,7 @@ var require_clean = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
419
419
|
module.exports = clean;
|
|
420
420
|
}));
|
|
421
421
|
//#endregion
|
|
422
|
-
//#region ../../node_modules/semver/functions/inc.js
|
|
422
|
+
//#region ../../packages/migration/node_modules/semver/functions/inc.js
|
|
423
423
|
var require_inc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
424
424
|
const SemVer = require_semver$1();
|
|
425
425
|
const inc = (version, release, options, identifier, identifierBase) => {
|
|
@@ -437,7 +437,7 @@ var require_inc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
437
437
|
module.exports = inc;
|
|
438
438
|
}));
|
|
439
439
|
//#endregion
|
|
440
|
-
//#region ../../node_modules/semver/functions/diff.js
|
|
440
|
+
//#region ../../packages/migration/node_modules/semver/functions/diff.js
|
|
441
441
|
var require_diff = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
442
442
|
const parse = require_parse();
|
|
443
443
|
const diff = (version1, version2) => {
|
|
@@ -465,28 +465,28 @@ var require_diff = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
465
465
|
module.exports = diff;
|
|
466
466
|
}));
|
|
467
467
|
//#endregion
|
|
468
|
-
//#region ../../node_modules/semver/functions/major.js
|
|
468
|
+
//#region ../../packages/migration/node_modules/semver/functions/major.js
|
|
469
469
|
var require_major = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
470
470
|
const SemVer = require_semver$1();
|
|
471
471
|
const major = (a, loose) => new SemVer(a, loose).major;
|
|
472
472
|
module.exports = major;
|
|
473
473
|
}));
|
|
474
474
|
//#endregion
|
|
475
|
-
//#region ../../node_modules/semver/functions/minor.js
|
|
475
|
+
//#region ../../packages/migration/node_modules/semver/functions/minor.js
|
|
476
476
|
var require_minor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
477
477
|
const SemVer = require_semver$1();
|
|
478
478
|
const minor = (a, loose) => new SemVer(a, loose).minor;
|
|
479
479
|
module.exports = minor;
|
|
480
480
|
}));
|
|
481
481
|
//#endregion
|
|
482
|
-
//#region ../../node_modules/semver/functions/patch.js
|
|
482
|
+
//#region ../../packages/migration/node_modules/semver/functions/patch.js
|
|
483
483
|
var require_patch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
484
484
|
const SemVer = require_semver$1();
|
|
485
485
|
const patch = (a, loose) => new SemVer(a, loose).patch;
|
|
486
486
|
module.exports = patch;
|
|
487
487
|
}));
|
|
488
488
|
//#endregion
|
|
489
|
-
//#region ../../node_modules/semver/functions/prerelease.js
|
|
489
|
+
//#region ../../packages/migration/node_modules/semver/functions/prerelease.js
|
|
490
490
|
var require_prerelease = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
491
491
|
const parse = require_parse();
|
|
492
492
|
const prerelease = (version, options) => {
|
|
@@ -496,28 +496,28 @@ var require_prerelease = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
496
496
|
module.exports = prerelease;
|
|
497
497
|
}));
|
|
498
498
|
//#endregion
|
|
499
|
-
//#region ../../node_modules/semver/functions/compare.js
|
|
499
|
+
//#region ../../packages/migration/node_modules/semver/functions/compare.js
|
|
500
500
|
var require_compare = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
501
501
|
const SemVer = require_semver$1();
|
|
502
502
|
const compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
503
503
|
module.exports = compare;
|
|
504
504
|
}));
|
|
505
505
|
//#endregion
|
|
506
|
-
//#region ../../node_modules/semver/functions/rcompare.js
|
|
506
|
+
//#region ../../packages/migration/node_modules/semver/functions/rcompare.js
|
|
507
507
|
var require_rcompare = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
508
508
|
const compare = require_compare();
|
|
509
509
|
const rcompare = (a, b, loose) => compare(b, a, loose);
|
|
510
510
|
module.exports = rcompare;
|
|
511
511
|
}));
|
|
512
512
|
//#endregion
|
|
513
|
-
//#region ../../node_modules/semver/functions/compare-loose.js
|
|
513
|
+
//#region ../../packages/migration/node_modules/semver/functions/compare-loose.js
|
|
514
514
|
var require_compare_loose = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
515
515
|
const compare = require_compare();
|
|
516
516
|
const compareLoose = (a, b) => compare(a, b, true);
|
|
517
517
|
module.exports = compareLoose;
|
|
518
518
|
}));
|
|
519
519
|
//#endregion
|
|
520
|
-
//#region ../../node_modules/semver/functions/compare-build.js
|
|
520
|
+
//#region ../../packages/migration/node_modules/semver/functions/compare-build.js
|
|
521
521
|
var require_compare_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
522
522
|
const SemVer = require_semver$1();
|
|
523
523
|
const compareBuild = (a, b, loose) => {
|
|
@@ -528,63 +528,63 @@ var require_compare_build = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
528
528
|
module.exports = compareBuild;
|
|
529
529
|
}));
|
|
530
530
|
//#endregion
|
|
531
|
-
//#region ../../node_modules/semver/functions/sort.js
|
|
531
|
+
//#region ../../packages/migration/node_modules/semver/functions/sort.js
|
|
532
532
|
var require_sort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
533
533
|
const compareBuild = require_compare_build();
|
|
534
534
|
const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
535
535
|
module.exports = sort;
|
|
536
536
|
}));
|
|
537
537
|
//#endregion
|
|
538
|
-
//#region ../../node_modules/semver/functions/rsort.js
|
|
538
|
+
//#region ../../packages/migration/node_modules/semver/functions/rsort.js
|
|
539
539
|
var require_rsort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
540
540
|
const compareBuild = require_compare_build();
|
|
541
541
|
const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
542
542
|
module.exports = rsort;
|
|
543
543
|
}));
|
|
544
544
|
//#endregion
|
|
545
|
-
//#region ../../node_modules/semver/functions/gt.js
|
|
545
|
+
//#region ../../packages/migration/node_modules/semver/functions/gt.js
|
|
546
546
|
var require_gt = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
547
547
|
const compare = require_compare();
|
|
548
548
|
const gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
549
549
|
module.exports = gt;
|
|
550
550
|
}));
|
|
551
551
|
//#endregion
|
|
552
|
-
//#region ../../node_modules/semver/functions/lt.js
|
|
552
|
+
//#region ../../packages/migration/node_modules/semver/functions/lt.js
|
|
553
553
|
var require_lt = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
554
554
|
const compare = require_compare();
|
|
555
555
|
const lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
556
556
|
module.exports = lt;
|
|
557
557
|
}));
|
|
558
558
|
//#endregion
|
|
559
|
-
//#region ../../node_modules/semver/functions/eq.js
|
|
559
|
+
//#region ../../packages/migration/node_modules/semver/functions/eq.js
|
|
560
560
|
var require_eq = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
561
561
|
const compare = require_compare();
|
|
562
562
|
const eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
563
563
|
module.exports = eq;
|
|
564
564
|
}));
|
|
565
565
|
//#endregion
|
|
566
|
-
//#region ../../node_modules/semver/functions/neq.js
|
|
566
|
+
//#region ../../packages/migration/node_modules/semver/functions/neq.js
|
|
567
567
|
var require_neq = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
568
568
|
const compare = require_compare();
|
|
569
569
|
const neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
570
570
|
module.exports = neq;
|
|
571
571
|
}));
|
|
572
572
|
//#endregion
|
|
573
|
-
//#region ../../node_modules/semver/functions/gte.js
|
|
573
|
+
//#region ../../packages/migration/node_modules/semver/functions/gte.js
|
|
574
574
|
var require_gte = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
575
575
|
const compare = require_compare();
|
|
576
576
|
const gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
577
577
|
module.exports = gte;
|
|
578
578
|
}));
|
|
579
579
|
//#endregion
|
|
580
|
-
//#region ../../node_modules/semver/functions/lte.js
|
|
580
|
+
//#region ../../packages/migration/node_modules/semver/functions/lte.js
|
|
581
581
|
var require_lte = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
582
582
|
const compare = require_compare();
|
|
583
583
|
const lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
584
584
|
module.exports = lte;
|
|
585
585
|
}));
|
|
586
586
|
//#endregion
|
|
587
|
-
//#region ../../node_modules/semver/functions/cmp.js
|
|
587
|
+
//#region ../../packages/migration/node_modules/semver/functions/cmp.js
|
|
588
588
|
var require_cmp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
589
589
|
const eq = require_eq();
|
|
590
590
|
const neq = require_neq();
|
|
@@ -616,7 +616,7 @@ var require_cmp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
616
616
|
module.exports = cmp;
|
|
617
617
|
}));
|
|
618
618
|
//#endregion
|
|
619
|
-
//#region ../../node_modules/semver/functions/coerce.js
|
|
619
|
+
//#region ../../packages/migration/node_modules/semver/functions/coerce.js
|
|
620
620
|
var require_coerce = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
621
621
|
const SemVer = require_semver$1();
|
|
622
622
|
const parse = require_parse();
|
|
@@ -644,7 +644,7 @@ var require_coerce = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
644
644
|
module.exports = coerce;
|
|
645
645
|
}));
|
|
646
646
|
//#endregion
|
|
647
|
-
//#region ../../node_modules/semver/internal/lrucache.js
|
|
647
|
+
//#region ../../packages/migration/node_modules/semver/internal/lrucache.js
|
|
648
648
|
var require_lrucache = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
649
649
|
var LRUCache = class {
|
|
650
650
|
constructor() {
|
|
@@ -677,7 +677,7 @@ var require_lrucache = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
677
677
|
module.exports = LRUCache;
|
|
678
678
|
}));
|
|
679
679
|
//#endregion
|
|
680
|
-
//#region ../../node_modules/semver/classes/range.js
|
|
680
|
+
//#region ../../packages/migration/node_modules/semver/classes/range.js
|
|
681
681
|
var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
682
682
|
const SPACE_CHARACTERS = /\s+/g;
|
|
683
683
|
module.exports = class Range {
|
|
@@ -949,7 +949,7 @@ var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
949
949
|
};
|
|
950
950
|
}));
|
|
951
951
|
//#endregion
|
|
952
|
-
//#region ../../node_modules/semver/classes/comparator.js
|
|
952
|
+
//#region ../../packages/migration/node_modules/semver/classes/comparator.js
|
|
953
953
|
var require_comparator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
954
954
|
const ANY = Symbol("SemVer ANY");
|
|
955
955
|
module.exports = class Comparator {
|
|
@@ -1019,7 +1019,7 @@ var require_comparator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1019
1019
|
const Range = require_range();
|
|
1020
1020
|
}));
|
|
1021
1021
|
//#endregion
|
|
1022
|
-
//#region ../../node_modules/semver/functions/satisfies.js
|
|
1022
|
+
//#region ../../packages/migration/node_modules/semver/functions/satisfies.js
|
|
1023
1023
|
var require_satisfies = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1024
1024
|
const Range = require_range();
|
|
1025
1025
|
const satisfies = (version, range, options) => {
|
|
@@ -1033,14 +1033,14 @@ var require_satisfies = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1033
1033
|
module.exports = satisfies;
|
|
1034
1034
|
}));
|
|
1035
1035
|
//#endregion
|
|
1036
|
-
//#region ../../node_modules/semver/ranges/to-comparators.js
|
|
1036
|
+
//#region ../../packages/migration/node_modules/semver/ranges/to-comparators.js
|
|
1037
1037
|
var require_to_comparators = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1038
1038
|
const Range = require_range();
|
|
1039
1039
|
const toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
1040
1040
|
module.exports = toComparators;
|
|
1041
1041
|
}));
|
|
1042
1042
|
//#endregion
|
|
1043
|
-
//#region ../../node_modules/semver/ranges/max-satisfying.js
|
|
1043
|
+
//#region ../../packages/migration/node_modules/semver/ranges/max-satisfying.js
|
|
1044
1044
|
var require_max_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1045
1045
|
const SemVer = require_semver$1();
|
|
1046
1046
|
const Range = require_range();
|
|
@@ -1066,7 +1066,7 @@ var require_max_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
1066
1066
|
module.exports = maxSatisfying;
|
|
1067
1067
|
}));
|
|
1068
1068
|
//#endregion
|
|
1069
|
-
//#region ../../node_modules/semver/ranges/min-satisfying.js
|
|
1069
|
+
//#region ../../packages/migration/node_modules/semver/ranges/min-satisfying.js
|
|
1070
1070
|
var require_min_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1071
1071
|
const SemVer = require_semver$1();
|
|
1072
1072
|
const Range = require_range();
|
|
@@ -1092,7 +1092,7 @@ var require_min_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
1092
1092
|
module.exports = minSatisfying;
|
|
1093
1093
|
}));
|
|
1094
1094
|
//#endregion
|
|
1095
|
-
//#region ../../node_modules/semver/ranges/min-version.js
|
|
1095
|
+
//#region ../../packages/migration/node_modules/semver/ranges/min-version.js
|
|
1096
1096
|
var require_min_version = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1097
1097
|
const SemVer = require_semver$1();
|
|
1098
1098
|
const Range = require_range();
|
|
@@ -1131,7 +1131,7 @@ var require_min_version = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1131
1131
|
module.exports = minVersion;
|
|
1132
1132
|
}));
|
|
1133
1133
|
//#endregion
|
|
1134
|
-
//#region ../../node_modules/semver/ranges/valid.js
|
|
1134
|
+
//#region ../../packages/migration/node_modules/semver/ranges/valid.js
|
|
1135
1135
|
var require_valid = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1136
1136
|
const Range = require_range();
|
|
1137
1137
|
const validRange = (range, options) => {
|
|
@@ -1144,7 +1144,7 @@ var require_valid = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1144
1144
|
module.exports = validRange;
|
|
1145
1145
|
}));
|
|
1146
1146
|
//#endregion
|
|
1147
|
-
//#region ../../node_modules/semver/ranges/outside.js
|
|
1147
|
+
//#region ../../packages/migration/node_modules/semver/ranges/outside.js
|
|
1148
1148
|
var require_outside = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1149
1149
|
const SemVer = require_semver$1();
|
|
1150
1150
|
const Comparator = require_comparator();
|
|
@@ -1197,21 +1197,21 @@ var require_outside = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1197
1197
|
module.exports = outside;
|
|
1198
1198
|
}));
|
|
1199
1199
|
//#endregion
|
|
1200
|
-
//#region ../../node_modules/semver/ranges/gtr.js
|
|
1200
|
+
//#region ../../packages/migration/node_modules/semver/ranges/gtr.js
|
|
1201
1201
|
var require_gtr = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1202
1202
|
const outside = require_outside();
|
|
1203
1203
|
const gtr = (version, range, options) => outside(version, range, ">", options);
|
|
1204
1204
|
module.exports = gtr;
|
|
1205
1205
|
}));
|
|
1206
1206
|
//#endregion
|
|
1207
|
-
//#region ../../node_modules/semver/ranges/ltr.js
|
|
1207
|
+
//#region ../../packages/migration/node_modules/semver/ranges/ltr.js
|
|
1208
1208
|
var require_ltr = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1209
1209
|
const outside = require_outside();
|
|
1210
1210
|
const ltr = (version, range, options) => outside(version, range, "<", options);
|
|
1211
1211
|
module.exports = ltr;
|
|
1212
1212
|
}));
|
|
1213
1213
|
//#endregion
|
|
1214
|
-
//#region ../../node_modules/semver/ranges/intersects.js
|
|
1214
|
+
//#region ../../packages/migration/node_modules/semver/ranges/intersects.js
|
|
1215
1215
|
var require_intersects = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1216
1216
|
const Range = require_range();
|
|
1217
1217
|
const intersects = (r1, r2, options) => {
|
|
@@ -1222,7 +1222,7 @@ var require_intersects = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1222
1222
|
module.exports = intersects;
|
|
1223
1223
|
}));
|
|
1224
1224
|
//#endregion
|
|
1225
|
-
//#region ../../node_modules/semver/ranges/simplify.js
|
|
1225
|
+
//#region ../../packages/migration/node_modules/semver/ranges/simplify.js
|
|
1226
1226
|
var require_simplify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1227
1227
|
const satisfies = require_satisfies();
|
|
1228
1228
|
const compare = require_compare();
|
|
@@ -1252,7 +1252,7 @@ var require_simplify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1252
1252
|
};
|
|
1253
1253
|
}));
|
|
1254
1254
|
//#endregion
|
|
1255
|
-
//#region ../../node_modules/semver/ranges/subset.js
|
|
1255
|
+
//#region ../../packages/migration/node_modules/semver/ranges/subset.js
|
|
1256
1256
|
var require_subset = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1257
1257
|
const Range = require_range();
|
|
1258
1258
|
const Comparator = require_comparator();
|
|
@@ -1609,19 +1609,6 @@ function custom(check2, message) {
|
|
|
1609
1609
|
}
|
|
1610
1610
|
};
|
|
1611
1611
|
}
|
|
1612
|
-
function lazy(getter) {
|
|
1613
|
-
return {
|
|
1614
|
-
kind: "schema",
|
|
1615
|
-
type: "lazy",
|
|
1616
|
-
reference: lazy,
|
|
1617
|
-
expects: "unknown",
|
|
1618
|
-
async: false,
|
|
1619
|
-
getter,
|
|
1620
|
-
_run(dataset, config2) {
|
|
1621
|
-
return this.getter(dataset.value)._run(dataset, config2);
|
|
1622
|
-
}
|
|
1623
|
-
};
|
|
1624
|
-
}
|
|
1625
1612
|
function literal(literal_, message) {
|
|
1626
1613
|
return {
|
|
1627
1614
|
kind: "schema",
|
|
@@ -2018,12 +2005,74 @@ const createMigrator = () => {
|
|
|
2018
2005
|
};
|
|
2019
2006
|
//#endregion
|
|
2020
2007
|
//#region ../../packages/shared/src/config/migrators.ts
|
|
2008
|
+
const DEFAULT_PLUGINS = [
|
|
2009
|
+
{
|
|
2010
|
+
name: "@pipelab/plugin-construct",
|
|
2011
|
+
enabled: true,
|
|
2012
|
+
description: "Construct 3 export & packaging"
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
name: "@pipelab/plugin-filesystem",
|
|
2016
|
+
enabled: true,
|
|
2017
|
+
description: "Filesystem utilities"
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
name: "@pipelab/plugin-system",
|
|
2021
|
+
enabled: true,
|
|
2022
|
+
description: "System & shell commands"
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
name: "@pipelab/plugin-steam",
|
|
2026
|
+
enabled: true,
|
|
2027
|
+
description: "Steam publishing"
|
|
2028
|
+
},
|
|
2029
|
+
{
|
|
2030
|
+
name: "@pipelab/plugin-itch",
|
|
2031
|
+
enabled: true,
|
|
2032
|
+
description: "Itch.io publishing"
|
|
2033
|
+
},
|
|
2034
|
+
{
|
|
2035
|
+
name: "@pipelab/plugin-electron",
|
|
2036
|
+
enabled: true,
|
|
2037
|
+
description: "Electron packaging"
|
|
2038
|
+
},
|
|
2039
|
+
{
|
|
2040
|
+
name: "@pipelab/plugin-discord",
|
|
2041
|
+
enabled: true,
|
|
2042
|
+
description: "Discord Rich Presence"
|
|
2043
|
+
},
|
|
2044
|
+
{
|
|
2045
|
+
name: "@pipelab/plugin-poki",
|
|
2046
|
+
enabled: true,
|
|
2047
|
+
description: "Poki publishing"
|
|
2048
|
+
},
|
|
2049
|
+
{
|
|
2050
|
+
name: "@pipelab/plugin-nvpatch",
|
|
2051
|
+
enabled: true,
|
|
2052
|
+
description: "NW.js patching"
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
name: "@pipelab/plugin-tauri",
|
|
2056
|
+
enabled: true,
|
|
2057
|
+
description: "Tauri packaging"
|
|
2058
|
+
},
|
|
2059
|
+
{
|
|
2060
|
+
name: "@pipelab/plugin-minify",
|
|
2061
|
+
enabled: true,
|
|
2062
|
+
description: "Asset minification"
|
|
2063
|
+
},
|
|
2064
|
+
{
|
|
2065
|
+
name: "@pipelab/plugin-netlify",
|
|
2066
|
+
enabled: true,
|
|
2067
|
+
description: "Netlify deployment"
|
|
2068
|
+
}
|
|
2069
|
+
];
|
|
2021
2070
|
const createMigration = (config) => createMigration$1(config);
|
|
2022
2071
|
const settingsMigratorInternal = createMigrator();
|
|
2023
2072
|
const defaultAppSettings$1 = settingsMigratorInternal.createDefault({
|
|
2024
2073
|
locale: "en-US",
|
|
2025
2074
|
theme: "light",
|
|
2026
|
-
version: "
|
|
2075
|
+
version: "8.0.0",
|
|
2027
2076
|
autosave: true,
|
|
2028
2077
|
agents: [],
|
|
2029
2078
|
tours: {
|
|
@@ -2040,7 +2089,9 @@ const defaultAppSettings$1 = settingsMigratorInternal.createDefault({
|
|
|
2040
2089
|
enabled: false,
|
|
2041
2090
|
maxEntries: 50,
|
|
2042
2091
|
maxAge: 30
|
|
2043
|
-
} }
|
|
2092
|
+
} },
|
|
2093
|
+
plugins: DEFAULT_PLUGINS,
|
|
2094
|
+
isInternalMigrationBannerClosed: false
|
|
2044
2095
|
});
|
|
2045
2096
|
const appSettingsMigrator$1 = settingsMigratorInternal.createMigrations({
|
|
2046
2097
|
defaultValue: defaultAppSettings$1,
|
|
@@ -2091,19 +2142,22 @@ const appSettingsMigrator$1 = settingsMigratorInternal.createMigrations({
|
|
|
2091
2142
|
createMigration({
|
|
2092
2143
|
version: "6.0.0",
|
|
2093
2144
|
up: (state) => {
|
|
2145
|
+
const { cacheFolder: _, clearTemporaryFoldersOnPipelineEnd: __, ...rest } = state;
|
|
2094
2146
|
return {
|
|
2095
|
-
...
|
|
2147
|
+
...rest,
|
|
2096
2148
|
agents: [],
|
|
2097
2149
|
buildHistory: { retentionPolicy: {
|
|
2098
2150
|
enabled: false,
|
|
2099
2151
|
maxEntries: 50,
|
|
2100
2152
|
maxAge: 30
|
|
2101
|
-
} }
|
|
2153
|
+
} },
|
|
2154
|
+
plugins: DEFAULT_PLUGINS,
|
|
2155
|
+
isInternalMigrationBannerClosed: false
|
|
2102
2156
|
};
|
|
2103
2157
|
}
|
|
2104
2158
|
}),
|
|
2105
2159
|
createMigration({
|
|
2106
|
-
version: "
|
|
2160
|
+
version: "8.0.0",
|
|
2107
2161
|
up: finalVersion
|
|
2108
2162
|
})
|
|
2109
2163
|
]
|
|
@@ -2154,8 +2208,7 @@ const savedFileDefaultValue = savedFileMigratorInternal.createDefault({
|
|
|
2154
2208
|
description: "",
|
|
2155
2209
|
name: "",
|
|
2156
2210
|
variables: [],
|
|
2157
|
-
|
|
2158
|
-
version: "4.0.0"
|
|
2211
|
+
version: "5.0.0"
|
|
2159
2212
|
});
|
|
2160
2213
|
const savedFileMigrator$1 = savedFileMigratorInternal.createMigrations({
|
|
2161
2214
|
defaultValue: savedFileDefaultValue,
|
|
@@ -2218,10 +2271,88 @@ const savedFileMigrator$1 = savedFileMigratorInternal.createMigrations({
|
|
|
2218
2271
|
}),
|
|
2219
2272
|
createMigration({
|
|
2220
2273
|
version: "4.0.0",
|
|
2274
|
+
up: (_state) => {
|
|
2275
|
+
const state = _state;
|
|
2276
|
+
if (state.type === "simple") return {
|
|
2277
|
+
name: state.name,
|
|
2278
|
+
description: state.description,
|
|
2279
|
+
canvas: {
|
|
2280
|
+
blocks: [],
|
|
2281
|
+
triggers: []
|
|
2282
|
+
},
|
|
2283
|
+
variables: []
|
|
2284
|
+
};
|
|
2285
|
+
const migrateBlock = (block, pluginsMap) => {
|
|
2286
|
+
if (!block) return;
|
|
2287
|
+
if (block.origin?.pluginId) {
|
|
2288
|
+
block.origin.pluginId = getStrictPluginId(block.origin.pluginId);
|
|
2289
|
+
block.origin.version = pluginsMap[block.origin.pluginId] ?? "latest";
|
|
2290
|
+
}
|
|
2291
|
+
};
|
|
2292
|
+
const normalizedPlugins = {};
|
|
2293
|
+
if (state.plugins) for (const [key, val] of Object.entries(state.plugins)) normalizedPlugins[getStrictPluginId(key)] = val;
|
|
2294
|
+
if (state.canvas) {
|
|
2295
|
+
for (const block of state.canvas.blocks ?? []) migrateBlock(block, normalizedPlugins);
|
|
2296
|
+
for (const trigger of state.canvas.triggers ?? []) migrateBlock(trigger, normalizedPlugins);
|
|
2297
|
+
}
|
|
2298
|
+
const { plugins: _dropped, type: _type, ...rest } = state;
|
|
2299
|
+
return rest;
|
|
2300
|
+
}
|
|
2301
|
+
}),
|
|
2302
|
+
createMigration({
|
|
2303
|
+
version: "5.0.0",
|
|
2221
2304
|
up: finalVersion
|
|
2222
2305
|
})
|
|
2223
2306
|
]
|
|
2224
2307
|
});
|
|
2308
|
+
const LEGACY_ID_MAP = {
|
|
2309
|
+
construct: "@pipelab/plugin-construct",
|
|
2310
|
+
filesystem: "@pipelab/plugin-filesystem",
|
|
2311
|
+
system: "@pipelab/plugin-system",
|
|
2312
|
+
steam: "@pipelab/plugin-steam",
|
|
2313
|
+
itch: "@pipelab/plugin-itch",
|
|
2314
|
+
electron: "@pipelab/plugin-electron",
|
|
2315
|
+
discord: "@pipelab/plugin-discord",
|
|
2316
|
+
dicord: "@pipelab/plugin-discord",
|
|
2317
|
+
"@pipelab/plugin-dicord": "@pipelab/plugin-discord",
|
|
2318
|
+
poki: "@pipelab/plugin-poki",
|
|
2319
|
+
nvpatch: "@pipelab/plugin-nvpatch",
|
|
2320
|
+
tauri: "@pipelab/plugin-tauri",
|
|
2321
|
+
minify: "@pipelab/plugin-minify",
|
|
2322
|
+
netlify: "@pipelab/plugin-netlify"
|
|
2323
|
+
};
|
|
2324
|
+
const getStrictPluginId = (pluginId) => {
|
|
2325
|
+
if (!pluginId) return pluginId;
|
|
2326
|
+
if (LEGACY_ID_MAP[pluginId]) return LEGACY_ID_MAP[pluginId];
|
|
2327
|
+
if (pluginId.startsWith("@") || pluginId.includes("/") || pluginId.startsWith("pipelab-plugin-")) return pluginId;
|
|
2328
|
+
const prefixed = `@pipelab/plugin-${pluginId}`;
|
|
2329
|
+
return LEGACY_ID_MAP[prefixed] || prefixed;
|
|
2330
|
+
};
|
|
2331
|
+
const normalizeBlockPluginId = (block) => {
|
|
2332
|
+
if (!block) return false;
|
|
2333
|
+
let changed = false;
|
|
2334
|
+
if (block.origin?.pluginId) {
|
|
2335
|
+
const strictId = getStrictPluginId(block.origin.pluginId);
|
|
2336
|
+
if (block.origin.pluginId !== strictId) {
|
|
2337
|
+
block.origin.pluginId = strictId;
|
|
2338
|
+
changed = true;
|
|
2339
|
+
}
|
|
2340
|
+
}
|
|
2341
|
+
return changed;
|
|
2342
|
+
};
|
|
2343
|
+
const normalizePipelineConfig$1 = (state) => {
|
|
2344
|
+
if (!state) return false;
|
|
2345
|
+
let changed = false;
|
|
2346
|
+
if (state.type === "default" && state.canvas) {
|
|
2347
|
+
if (Array.isArray(state.canvas.blocks)) {
|
|
2348
|
+
for (const block of state.canvas.blocks) if (normalizeBlockPluginId(block)) changed = true;
|
|
2349
|
+
}
|
|
2350
|
+
if (Array.isArray(state.canvas.triggers)) {
|
|
2351
|
+
for (const trigger of state.canvas.triggers) if (normalizeBlockPluginId(trigger)) changed = true;
|
|
2352
|
+
}
|
|
2353
|
+
}
|
|
2354
|
+
return changed;
|
|
2355
|
+
};
|
|
2225
2356
|
const configRegistry$1 = {
|
|
2226
2357
|
settings: appSettingsMigrator$1,
|
|
2227
2358
|
projects: fileRepoMigrations$1,
|
|
@@ -2345,7 +2476,46 @@ const AppSettingsValidatorV7 = object({
|
|
|
2345
2476
|
maxAge: number()
|
|
2346
2477
|
}) })
|
|
2347
2478
|
});
|
|
2348
|
-
const
|
|
2479
|
+
const AppSettingsValidatorV8 = object({
|
|
2480
|
+
theme: union([literal("light"), literal("dark")]),
|
|
2481
|
+
version: literal("8.0.0"),
|
|
2482
|
+
locale: union([
|
|
2483
|
+
literal("en-US"),
|
|
2484
|
+
literal("fr-FR"),
|
|
2485
|
+
literal("pt-BR"),
|
|
2486
|
+
literal("zh-CN"),
|
|
2487
|
+
literal("es-ES"),
|
|
2488
|
+
literal("de-DE")
|
|
2489
|
+
]),
|
|
2490
|
+
tours: object({
|
|
2491
|
+
dashboard: object({
|
|
2492
|
+
step: number(),
|
|
2493
|
+
completed: boolean()
|
|
2494
|
+
}),
|
|
2495
|
+
editor: object({
|
|
2496
|
+
step: number(),
|
|
2497
|
+
completed: boolean()
|
|
2498
|
+
})
|
|
2499
|
+
}),
|
|
2500
|
+
autosave: boolean(),
|
|
2501
|
+
agents: array(object({
|
|
2502
|
+
id: string(),
|
|
2503
|
+
name: string(),
|
|
2504
|
+
url: string()
|
|
2505
|
+
})),
|
|
2506
|
+
buildHistory: object({ retentionPolicy: object({
|
|
2507
|
+
enabled: boolean(),
|
|
2508
|
+
maxEntries: number(),
|
|
2509
|
+
maxAge: number()
|
|
2510
|
+
}) }),
|
|
2511
|
+
plugins: array(object({
|
|
2512
|
+
name: string(),
|
|
2513
|
+
enabled: boolean(),
|
|
2514
|
+
description: string()
|
|
2515
|
+
})),
|
|
2516
|
+
isInternalMigrationBannerClosed: optional(boolean(), false)
|
|
2517
|
+
});
|
|
2518
|
+
const AppSettingsValidator = AppSettingsValidatorV8;
|
|
2349
2519
|
//#endregion
|
|
2350
2520
|
//#region ../../node_modules/tslog/dist/esm/prettyLogStyles.js
|
|
2351
2521
|
const prettyLogStyles = {
|
|
@@ -4017,9 +4187,6 @@ const processGraph = async (options) => {
|
|
|
4017
4187
|
options.steps[rawNode.uid].outputs = result.result.outputs;
|
|
4018
4188
|
}
|
|
4019
4189
|
options.onNodeExit(rawNode);
|
|
4020
|
-
} else if (rawNode.type === "loop") {
|
|
4021
|
-
options.onNodeEnter(rawNode);
|
|
4022
|
-
options.onNodeExit(rawNode);
|
|
4023
4190
|
} else if (rawNode.type === "comment") {} else if (rawNode.type === "event") {
|
|
4024
4191
|
options.onNodeEnter(rawNode);
|
|
4025
4192
|
options.onNodeExit(rawNode);
|
|
@@ -4049,7 +4216,10 @@ var en_US_default = {
|
|
|
4049
4216
|
"storage": "Storage",
|
|
4050
4217
|
"integrations": "Integrations",
|
|
4051
4218
|
"advanced": "Advanced",
|
|
4052
|
-
"billing": "Billing"
|
|
4219
|
+
"billing": "Billing",
|
|
4220
|
+
"plugins": "Plugins",
|
|
4221
|
+
"core-plugins": "Core Plugins",
|
|
4222
|
+
"community-plugins": "Community Plugins"
|
|
4053
4223
|
},
|
|
4054
4224
|
"pipeline-cache-folder": "Pipeline Cache Folder:",
|
|
4055
4225
|
"enter-or-browse-for-a-folder": "Enter or browse for a folder",
|
|
@@ -4113,7 +4283,14 @@ var en_US_default = {
|
|
|
4113
4283
|
"your-project-has-be-saved-successfully": "Your project has be saved successfully",
|
|
4114
4284
|
"view-history": "History",
|
|
4115
4285
|
"add-plugin": "Add plugin",
|
|
4116
|
-
"display-advanced-nodes": "Display advanced nodes"
|
|
4286
|
+
"display-advanced-nodes": "Display advanced nodes",
|
|
4287
|
+
"project-settings": "Pipeline Settings",
|
|
4288
|
+
"jit-loading-title": "Installing Required Plugins",
|
|
4289
|
+
"jit-loading-subtitle": "Please wait while Pipelab fetches and prepares the necessary nodes for this pipeline.",
|
|
4290
|
+
"jit-loading-status": "Downloading and building plugin packages…",
|
|
4291
|
+
"validation-failed": "Validation Failed",
|
|
4292
|
+
"validation-plugin-disabled-or-missing": "Plugin \"{pluginId}\" is disabled or not installed (required by \"{nodeName}\").",
|
|
4293
|
+
"validation-missing-param": "Block \"{nodeName}\": missing required parameter \"{paramName}\"."
|
|
4117
4294
|
},
|
|
4118
4295
|
home: {
|
|
4119
4296
|
"invalid-preset": "Invalid preset",
|
|
@@ -4159,7 +4336,11 @@ var en_US_default = {
|
|
|
4159
4336
|
"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.",
|
|
4160
4337
|
"migrate-pipeline": "Migrate Pipeline",
|
|
4161
4338
|
"migration-success": "Pipeline migrated successfully",
|
|
4162
|
-
"migrate-to-internal": "Migrate to Internal"
|
|
4339
|
+
"migrate-to-internal": "Migrate to Internal",
|
|
4340
|
+
"only-internal-supported-notice": "Pipelab now stores pipelines internally. External pipeline files are deprecated. You can still import external files as internal pipelines.",
|
|
4341
|
+
"import-pipeline": "Import Pipeline",
|
|
4342
|
+
"import-success": "Pipeline imported successfully",
|
|
4343
|
+
"failed-to-read-file": "Failed to read the selected file"
|
|
4163
4344
|
},
|
|
4164
4345
|
scenarios: { "scenarios": "Scenarios" },
|
|
4165
4346
|
tour: {
|
|
@@ -4203,7 +4384,10 @@ var fr_FR_default = {
|
|
|
4203
4384
|
"storage": "Stockage",
|
|
4204
4385
|
"integrations": "Intégrations",
|
|
4205
4386
|
"advanced": "Avancé",
|
|
4206
|
-
"billing": "Facturation"
|
|
4387
|
+
"billing": "Facturation",
|
|
4388
|
+
"plugins": "Plugins",
|
|
4389
|
+
"core-plugins": "Plugins de base",
|
|
4390
|
+
"community-plugins": "Plugins de la communauté"
|
|
4207
4391
|
},
|
|
4208
4392
|
"clearTempFolders": "Nettoyer automatiquement les fichiers temporaires",
|
|
4209
4393
|
"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.",
|
|
@@ -4292,7 +4476,10 @@ var pt_BR_default = {
|
|
|
4292
4476
|
"storage": "Armazenagem",
|
|
4293
4477
|
"integrations": "Integrações",
|
|
4294
4478
|
"advanced": "Avançado",
|
|
4295
|
-
"billing": "Pagamento"
|
|
4479
|
+
"billing": "Pagamento",
|
|
4480
|
+
"plugins": "Plugins",
|
|
4481
|
+
"core-plugins": "Plugins nativos",
|
|
4482
|
+
"community-plugins": "Plugins da comunidade"
|
|
4296
4483
|
},
|
|
4297
4484
|
"clearTempFolders": "Automatically clean up temporary files",
|
|
4298
4485
|
"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.",
|
|
@@ -4378,7 +4565,10 @@ var zh_CN_default = {
|
|
|
4378
4565
|
"storage": "Storage",
|
|
4379
4566
|
"integrations": "Integrations",
|
|
4380
4567
|
"advanced": "Advanced",
|
|
4381
|
-
"billing": "Billing"
|
|
4568
|
+
"billing": "Billing",
|
|
4569
|
+
"plugins": "Plugins",
|
|
4570
|
+
"core-plugins": "核心插件",
|
|
4571
|
+
"community-plugins": "社区插件"
|
|
4382
4572
|
},
|
|
4383
4573
|
"clearTempFolders": "Automatically clean up temporary files",
|
|
4384
4574
|
"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.",
|
|
@@ -4464,7 +4654,10 @@ var es_ES_default = {
|
|
|
4464
4654
|
"storage": "Storage",
|
|
4465
4655
|
"integrations": "Integrations",
|
|
4466
4656
|
"advanced": "Advanced",
|
|
4467
|
-
"billing": "Billing"
|
|
4657
|
+
"billing": "Billing",
|
|
4658
|
+
"plugins": "Plugins",
|
|
4659
|
+
"core-plugins": "Complementos principales",
|
|
4660
|
+
"community-plugins": "Complementos de la comunidad"
|
|
4468
4661
|
},
|
|
4469
4662
|
"clearTempFolders": "Automatically clean up temporary files",
|
|
4470
4663
|
"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.",
|
|
@@ -4550,7 +4743,10 @@ var de_DE_default = {
|
|
|
4550
4743
|
"storage": "Storage",
|
|
4551
4744
|
"integrations": "Integrations",
|
|
4552
4745
|
"advanced": "Advanced",
|
|
4553
|
-
"billing": "Billing"
|
|
4746
|
+
"billing": "Billing",
|
|
4747
|
+
"plugins": "Plugins",
|
|
4748
|
+
"core-plugins": "Core-Plugins",
|
|
4749
|
+
"community-plugins": "Community-Plugins"
|
|
4554
4750
|
},
|
|
4555
4751
|
"clearTempFolders": "Automatically clean up temporary files",
|
|
4556
4752
|
"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.",
|
|
@@ -4621,7 +4817,8 @@ var de_DE_default = {
|
|
|
4621
4817
|
//#region ../../packages/shared/src/model.ts
|
|
4622
4818
|
const OriginValidator = object({
|
|
4623
4819
|
pluginId: string(),
|
|
4624
|
-
nodeId: string()
|
|
4820
|
+
nodeId: string(),
|
|
4821
|
+
version: pipe(optional(string()), description("Pinned version of the plugin for this block. Falls back to \"latest\" when absent."))
|
|
4625
4822
|
});
|
|
4626
4823
|
const BlockActionValidatorV1 = object({
|
|
4627
4824
|
type: literal("action"),
|
|
@@ -4642,21 +4839,6 @@ const BlockActionValidatorV3 = object({
|
|
|
4642
4839
|
})),
|
|
4643
4840
|
origin: OriginValidator
|
|
4644
4841
|
});
|
|
4645
|
-
object({
|
|
4646
|
-
type: literal("condition"),
|
|
4647
|
-
uid: string(),
|
|
4648
|
-
origin: OriginValidator,
|
|
4649
|
-
params: record(string(), any()),
|
|
4650
|
-
branchTrue: lazy(() => array(BlockValidator)),
|
|
4651
|
-
branchFalse: lazy(() => array(BlockValidator))
|
|
4652
|
-
});
|
|
4653
|
-
object({
|
|
4654
|
-
type: literal("loop"),
|
|
4655
|
-
uid: string(),
|
|
4656
|
-
origin: OriginValidator,
|
|
4657
|
-
params: record(string(), any()),
|
|
4658
|
-
children: lazy(() => array(BlockValidator))
|
|
4659
|
-
});
|
|
4660
4842
|
const BlockEventValidator = object({
|
|
4661
4843
|
type: literal("event"),
|
|
4662
4844
|
uid: string(),
|
|
@@ -4672,7 +4854,6 @@ object({
|
|
|
4672
4854
|
const BlockValidatorV1 = variant("type", [BlockActionValidatorV1, BlockEventValidator]);
|
|
4673
4855
|
const BlockValidatorV2 = variant("type", [BlockActionValidatorV1]);
|
|
4674
4856
|
const BlockValidatorV3 = variant("type", [BlockActionValidatorV3]);
|
|
4675
|
-
const BlockValidator = BlockValidatorV3;
|
|
4676
4857
|
const CanvasValidatorV1 = object({ blocks: array(BlockValidatorV1) });
|
|
4677
4858
|
const CanvasValidatorV2 = object({
|
|
4678
4859
|
blocks: array(BlockValidatorV2),
|
|
@@ -4704,19 +4885,21 @@ const SavedFileValidatorV3 = object({
|
|
|
4704
4885
|
canvas: CanvasValidatorV3,
|
|
4705
4886
|
variables: array(VariableValidatorV1)
|
|
4706
4887
|
});
|
|
4707
|
-
const
|
|
4888
|
+
const SavedFileDefaultValidatorV4 = object({
|
|
4708
4889
|
version: literal("4.0.0"),
|
|
4709
4890
|
type: literal("default"),
|
|
4710
4891
|
name: string(),
|
|
4711
4892
|
description: string(),
|
|
4893
|
+
plugins: optional(record(string(), string())),
|
|
4712
4894
|
canvas: CanvasValidatorV3,
|
|
4713
4895
|
variables: array(VariableValidatorV1)
|
|
4714
4896
|
});
|
|
4715
|
-
const
|
|
4897
|
+
const SavedFileSimpleValidatorV4 = object({
|
|
4716
4898
|
version: literal("4.0.0"),
|
|
4717
4899
|
type: literal("simple"),
|
|
4718
4900
|
name: string(),
|
|
4719
4901
|
description: string(),
|
|
4902
|
+
plugins: optional(record(string(), string())),
|
|
4720
4903
|
source: object({
|
|
4721
4904
|
type: union([
|
|
4722
4905
|
literal("c3-html"),
|
|
@@ -4742,8 +4925,47 @@ const SavedFileSimpleValidator = object({
|
|
|
4742
4925
|
})
|
|
4743
4926
|
})
|
|
4744
4927
|
});
|
|
4745
|
-
const
|
|
4746
|
-
|
|
4928
|
+
const SavedFileDefaultValidatorV5 = object({
|
|
4929
|
+
version: literal("5.0.0"),
|
|
4930
|
+
name: string(),
|
|
4931
|
+
description: string(),
|
|
4932
|
+
canvas: CanvasValidatorV3,
|
|
4933
|
+
variables: array(VariableValidatorV1)
|
|
4934
|
+
});
|
|
4935
|
+
const SavedFileSimpleValidatorV5 = object({
|
|
4936
|
+
version: literal("5.0.0"),
|
|
4937
|
+
type: literal("simple"),
|
|
4938
|
+
name: string(),
|
|
4939
|
+
description: string(),
|
|
4940
|
+
plugins: record(string(), string()),
|
|
4941
|
+
source: object({
|
|
4942
|
+
type: union([
|
|
4943
|
+
literal("c3-html"),
|
|
4944
|
+
literal("c3-nwjs"),
|
|
4945
|
+
literal("godot"),
|
|
4946
|
+
literal("html")
|
|
4947
|
+
]),
|
|
4948
|
+
path: string()
|
|
4949
|
+
}),
|
|
4950
|
+
packaging: object({ enabled: boolean() }),
|
|
4951
|
+
publishing: object({
|
|
4952
|
+
steam: object({
|
|
4953
|
+
enabled: boolean(),
|
|
4954
|
+
appId: optional(string())
|
|
4955
|
+
}),
|
|
4956
|
+
itch: object({
|
|
4957
|
+
enabled: boolean(),
|
|
4958
|
+
project: optional(string())
|
|
4959
|
+
}),
|
|
4960
|
+
poki: object({
|
|
4961
|
+
enabled: boolean(),
|
|
4962
|
+
gameId: optional(string())
|
|
4963
|
+
})
|
|
4964
|
+
})
|
|
4965
|
+
});
|
|
4966
|
+
const SavedFileValidatorV4 = union([SavedFileDefaultValidatorV4, SavedFileSimpleValidatorV4]);
|
|
4967
|
+
const SavedFileValidatorV5 = SavedFileDefaultValidatorV5;
|
|
4968
|
+
const SavedFileValidator = SavedFileValidatorV5;
|
|
4747
4969
|
//#endregion
|
|
4748
4970
|
//#region ../../node_modules/vue/node_modules/@vue/shared/dist/shared.cjs.prod.js
|
|
4749
4971
|
/**
|
|
@@ -46888,7 +47110,13 @@ const plugins = (0, vue_exports.shallowRef)([]);
|
|
|
46888
47110
|
const usePlugins = () => {
|
|
46889
47111
|
const load = () => {};
|
|
46890
47112
|
const registerPlugins = (newPlugins) => {
|
|
46891
|
-
plugins.value
|
|
47113
|
+
const current = [...plugins.value];
|
|
47114
|
+
for (const np of newPlugins) {
|
|
47115
|
+
const idx = current.findIndex((p) => p.id === np.id);
|
|
47116
|
+
if (idx !== -1) current[idx] = np;
|
|
47117
|
+
else current.push(np);
|
|
47118
|
+
}
|
|
47119
|
+
plugins.value = current;
|
|
46892
47120
|
};
|
|
46893
47121
|
return {
|
|
46894
47122
|
load,
|
|
@@ -46995,18 +47223,6 @@ const createExpression = (expression) => {
|
|
|
46995
47223
|
type: "expression"
|
|
46996
47224
|
};
|
|
46997
47225
|
};
|
|
46998
|
-
const createCondition = (condition) => {
|
|
46999
|
-
return {
|
|
47000
|
-
...condition,
|
|
47001
|
-
type: "condition"
|
|
47002
|
-
};
|
|
47003
|
-
};
|
|
47004
|
-
const createLoop = (loop) => {
|
|
47005
|
-
return {
|
|
47006
|
-
...loop,
|
|
47007
|
-
type: "loop"
|
|
47008
|
-
};
|
|
47009
|
-
};
|
|
47010
47226
|
const createEvent = (event) => {
|
|
47011
47227
|
return {
|
|
47012
47228
|
...event,
|
|
@@ -64170,6 +64386,24 @@ const supabase = (options) => {
|
|
|
64170
64386
|
//#endregion
|
|
64171
64387
|
//#region ../../packages/shared/src/utils.ts
|
|
64172
64388
|
const foo = "bar";
|
|
64389
|
+
const transformUrl = (url) => {
|
|
64390
|
+
if (url && typeof url === "string") {
|
|
64391
|
+
const getHost = () => {
|
|
64392
|
+
if (typeof window !== "undefined") if (window.location.port === "5173") return `http://${window.location.hostname}:33753`;
|
|
64393
|
+
else return `${window.location.protocol}//${window.location.host}`;
|
|
64394
|
+
return "http://localhost:33753";
|
|
64395
|
+
};
|
|
64396
|
+
if (url.startsWith("file://")) {
|
|
64397
|
+
const filePath = url.substring(7);
|
|
64398
|
+
return `${getHost()}/media-file/${encodeURIComponent(filePath)}`;
|
|
64399
|
+
}
|
|
64400
|
+
if (url.startsWith("media://")) {
|
|
64401
|
+
const filePath = url.replace(/^media:\/\/+/, "/");
|
|
64402
|
+
return `${getHost()}/media-file/${encodeURIComponent(filePath)}`;
|
|
64403
|
+
}
|
|
64404
|
+
}
|
|
64405
|
+
return url || "";
|
|
64406
|
+
};
|
|
64173
64407
|
//#endregion
|
|
64174
64408
|
//#region ../../packages/shared/src/validation.ts
|
|
64175
64409
|
const isRequired = (param) => {
|
|
@@ -64249,11 +64483,10 @@ const fileRepoMigrations = fileRepoMigrations$1;
|
|
|
64249
64483
|
const defaultFileRepo = defaultFileRepo$1;
|
|
64250
64484
|
const savedFileMigrator = savedFileMigrator$1;
|
|
64251
64485
|
const configRegistry = configRegistry$1;
|
|
64486
|
+
const normalizePipelineConfig = normalizePipelineConfig$1;
|
|
64252
64487
|
//#endregion
|
|
64253
64488
|
//#region src/pipelab.ts
|
|
64254
64489
|
const createActionRunner = (runner) => runner;
|
|
64255
|
-
const createConditionRunner = (runner) => runner;
|
|
64256
|
-
const createLoopRunner = (runner) => runner;
|
|
64257
64490
|
const createExpressionRunner = (runner) => runner;
|
|
64258
64491
|
const createEventRunner = (runner) => runner;
|
|
64259
64492
|
const sleep = (duration) => {
|
|
@@ -64414,6 +64647,7 @@ exports.AppSettingsValidatorV4 = AppSettingsValidatorV4;
|
|
|
64414
64647
|
exports.AppSettingsValidatorV5 = AppSettingsValidatorV5;
|
|
64415
64648
|
exports.AppSettingsValidatorV6 = AppSettingsValidatorV6;
|
|
64416
64649
|
exports.AppSettingsValidatorV7 = AppSettingsValidatorV7;
|
|
64650
|
+
exports.AppSettingsValidatorV8 = AppSettingsValidatorV8;
|
|
64417
64651
|
exports.BenefitNotFoundError = BenefitNotFoundError;
|
|
64418
64652
|
exports.EditorParamValidatorV3 = EditorParamValidatorV3;
|
|
64419
64653
|
exports.ExternalCommandError = ExternalCommandError;
|
|
@@ -64424,13 +64658,16 @@ exports.SaveLocationExternalValidator = SaveLocationExternalValidator;
|
|
|
64424
64658
|
exports.SaveLocationInternalValidator = SaveLocationInternalValidator;
|
|
64425
64659
|
exports.SaveLocationPipelabCloudValidator = SaveLocationPipelabCloudValidator;
|
|
64426
64660
|
exports.SaveLocationValidator = SaveLocationValidator;
|
|
64427
|
-
exports.
|
|
64428
|
-
exports.
|
|
64661
|
+
exports.SavedFileDefaultValidatorV4 = SavedFileDefaultValidatorV4;
|
|
64662
|
+
exports.SavedFileDefaultValidatorV5 = SavedFileDefaultValidatorV5;
|
|
64663
|
+
exports.SavedFileSimpleValidatorV4 = SavedFileSimpleValidatorV4;
|
|
64664
|
+
exports.SavedFileSimpleValidatorV5 = SavedFileSimpleValidatorV5;
|
|
64429
64665
|
exports.SavedFileValidator = SavedFileValidator;
|
|
64430
64666
|
exports.SavedFileValidatorV1 = SavedFileValidatorV1;
|
|
64431
64667
|
exports.SavedFileValidatorV2 = SavedFileValidatorV2;
|
|
64432
64668
|
exports.SavedFileValidatorV3 = SavedFileValidatorV3;
|
|
64433
64669
|
exports.SavedFileValidatorV4 = SavedFileValidatorV4;
|
|
64670
|
+
exports.SavedFileValidatorV5 = SavedFileValidatorV5;
|
|
64434
64671
|
exports.ShellChannels = ShellChannels;
|
|
64435
64672
|
exports.SubscriptionExpiredError = SubscriptionExpiredError;
|
|
64436
64673
|
exports.SubscriptionRequiredError = SubscriptionRequiredError;
|
|
@@ -64447,15 +64684,11 @@ exports.createActionRunner = createActionRunner;
|
|
|
64447
64684
|
exports.createArray = createArray;
|
|
64448
64685
|
exports.createBooleanParam = createBooleanParam;
|
|
64449
64686
|
exports.createColorPicker = createColorPicker;
|
|
64450
|
-
exports.createCondition = createCondition;
|
|
64451
|
-
exports.createConditionRunner = createConditionRunner;
|
|
64452
64687
|
exports.createDefinition = createDefinition;
|
|
64453
64688
|
exports.createEvent = createEvent;
|
|
64454
64689
|
exports.createEventRunner = createEventRunner;
|
|
64455
64690
|
exports.createExpression = createExpression;
|
|
64456
64691
|
exports.createExpressionRunner = createExpressionRunner;
|
|
64457
|
-
exports.createLoop = createLoop;
|
|
64458
|
-
exports.createLoopRunner = createLoopRunner;
|
|
64459
64692
|
exports.createNetlifySiteParam = createNetlifySiteParam;
|
|
64460
64693
|
exports.createNodeDefinition = createNodeDefinition;
|
|
64461
64694
|
exports.createNumberParam = createNumberParam;
|
|
@@ -64543,6 +64776,7 @@ exports.isWebSocketRequestMessage = isWebSocketRequestMessage;
|
|
|
64543
64776
|
exports.isWebSocketResponseMessage = isWebSocketResponseMessage;
|
|
64544
64777
|
exports.makeResolvedParams = makeResolvedParams;
|
|
64545
64778
|
exports.newVariant = newVariant;
|
|
64779
|
+
exports.normalizePipelineConfig = normalizePipelineConfig;
|
|
64546
64780
|
exports.processGraph = processGraph;
|
|
64547
64781
|
Object.defineProperty(exports, "pt_BR", {
|
|
64548
64782
|
enumerable: true,
|
|
@@ -64571,6 +64805,7 @@ Object.defineProperty(exports, "schema", {
|
|
|
64571
64805
|
});
|
|
64572
64806
|
exports.sleep = sleep;
|
|
64573
64807
|
exports.supabase = supabase;
|
|
64808
|
+
exports.transformUrl = transformUrl;
|
|
64574
64809
|
exports.useLogger = useLogger;
|
|
64575
64810
|
exports.usePlugins = usePlugins;
|
|
64576
64811
|
exports.variableToFormattedVariable = variableToFormattedVariable;
|