@pipelab/cli 2.0.0-beta.10 → 2.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.
@@ -18,7 +18,7 @@ const finalVersion = () => {
18
18
  throw new Error("Unable to go up on the final version!");
19
19
  };
20
20
  //#endregion
21
- //#region ../../node_modules/semver/internal/constants.js
21
+ //#region ../../packages/migration/node_modules/semver/internal/constants.js
22
22
  var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
23
23
  const SEMVER_SPEC_VERSION = "2.0.0";
24
24
  const MAX_LENGTH = 256;
@@ -43,12 +43,12 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
43
43
  };
44
44
  }));
45
45
  //#endregion
46
- //#region ../../node_modules/semver/internal/debug.js
46
+ //#region ../../packages/migration/node_modules/semver/internal/debug.js
47
47
  var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
48
48
  module.exports = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
49
49
  }));
50
50
  //#endregion
51
- //#region ../../node_modules/semver/internal/re.js
51
+ //#region ../../packages/migration/node_modules/semver/internal/re.js
52
52
  var require_re = /* @__PURE__ */ __commonJSMin(((exports, module) => {
53
53
  const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH } = require_constants();
54
54
  const debug = require_debug();
@@ -127,7 +127,7 @@ var require_re = /* @__PURE__ */ __commonJSMin(((exports, module) => {
127
127
  createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
128
128
  }));
129
129
  //#endregion
130
- //#region ../../node_modules/semver/internal/parse-options.js
130
+ //#region ../../packages/migration/node_modules/semver/internal/parse-options.js
131
131
  var require_parse_options = /* @__PURE__ */ __commonJSMin(((exports, module) => {
132
132
  const looseOption = Object.freeze({ loose: true });
133
133
  const emptyOpts = Object.freeze({});
@@ -139,7 +139,7 @@ var require_parse_options = /* @__PURE__ */ __commonJSMin(((exports, module) =>
139
139
  module.exports = parseOptions;
140
140
  }));
141
141
  //#endregion
142
- //#region ../../node_modules/semver/internal/identifiers.js
142
+ //#region ../../packages/migration/node_modules/semver/internal/identifiers.js
143
143
  var require_identifiers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
144
144
  const numeric = /^[0-9]+$/;
145
145
  const compareIdentifiers = (a, b) => {
@@ -159,7 +159,7 @@ var require_identifiers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
159
159
  };
160
160
  }));
161
161
  //#endregion
162
- //#region ../../node_modules/semver/classes/semver.js
162
+ //#region ../../packages/migration/node_modules/semver/classes/semver.js
163
163
  var require_semver$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
164
164
  const debug = require_debug();
165
165
  const { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
@@ -337,7 +337,7 @@ var require_semver$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
337
337
  };
338
338
  }));
339
339
  //#endregion
340
- //#region ../../node_modules/semver/functions/parse.js
340
+ //#region ../../packages/migration/node_modules/semver/functions/parse.js
341
341
  var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
342
342
  const SemVer = require_semver$1();
343
343
  const parse = (version, options, throwErrors = false) => {
@@ -352,7 +352,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
352
352
  module.exports = parse;
353
353
  }));
354
354
  //#endregion
355
- //#region ../../node_modules/semver/functions/valid.js
355
+ //#region ../../packages/migration/node_modules/semver/functions/valid.js
356
356
  var require_valid$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
357
357
  const parse = require_parse();
358
358
  const valid = (version, options) => {
@@ -362,7 +362,7 @@ var require_valid$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
362
362
  module.exports = valid;
363
363
  }));
364
364
  //#endregion
365
- //#region ../../node_modules/semver/functions/clean.js
365
+ //#region ../../packages/migration/node_modules/semver/functions/clean.js
366
366
  var require_clean = /* @__PURE__ */ __commonJSMin(((exports, module) => {
367
367
  const parse = require_parse();
368
368
  const clean = (version, options) => {
@@ -372,7 +372,7 @@ var require_clean = /* @__PURE__ */ __commonJSMin(((exports, module) => {
372
372
  module.exports = clean;
373
373
  }));
374
374
  //#endregion
375
- //#region ../../node_modules/semver/functions/inc.js
375
+ //#region ../../packages/migration/node_modules/semver/functions/inc.js
376
376
  var require_inc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
377
377
  const SemVer = require_semver$1();
378
378
  const inc = (version, release, options, identifier, identifierBase) => {
@@ -390,7 +390,7 @@ var require_inc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
390
390
  module.exports = inc;
391
391
  }));
392
392
  //#endregion
393
- //#region ../../node_modules/semver/functions/diff.js
393
+ //#region ../../packages/migration/node_modules/semver/functions/diff.js
394
394
  var require_diff = /* @__PURE__ */ __commonJSMin(((exports, module) => {
395
395
  const parse = require_parse();
396
396
  const diff = (version1, version2) => {
@@ -418,28 +418,28 @@ var require_diff = /* @__PURE__ */ __commonJSMin(((exports, module) => {
418
418
  module.exports = diff;
419
419
  }));
420
420
  //#endregion
421
- //#region ../../node_modules/semver/functions/major.js
421
+ //#region ../../packages/migration/node_modules/semver/functions/major.js
422
422
  var require_major = /* @__PURE__ */ __commonJSMin(((exports, module) => {
423
423
  const SemVer = require_semver$1();
424
424
  const major = (a, loose) => new SemVer(a, loose).major;
425
425
  module.exports = major;
426
426
  }));
427
427
  //#endregion
428
- //#region ../../node_modules/semver/functions/minor.js
428
+ //#region ../../packages/migration/node_modules/semver/functions/minor.js
429
429
  var require_minor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
430
430
  const SemVer = require_semver$1();
431
431
  const minor = (a, loose) => new SemVer(a, loose).minor;
432
432
  module.exports = minor;
433
433
  }));
434
434
  //#endregion
435
- //#region ../../node_modules/semver/functions/patch.js
435
+ //#region ../../packages/migration/node_modules/semver/functions/patch.js
436
436
  var require_patch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
437
437
  const SemVer = require_semver$1();
438
438
  const patch = (a, loose) => new SemVer(a, loose).patch;
439
439
  module.exports = patch;
440
440
  }));
441
441
  //#endregion
442
- //#region ../../node_modules/semver/functions/prerelease.js
442
+ //#region ../../packages/migration/node_modules/semver/functions/prerelease.js
443
443
  var require_prerelease = /* @__PURE__ */ __commonJSMin(((exports, module) => {
444
444
  const parse = require_parse();
445
445
  const prerelease = (version, options) => {
@@ -449,28 +449,28 @@ var require_prerelease = /* @__PURE__ */ __commonJSMin(((exports, module) => {
449
449
  module.exports = prerelease;
450
450
  }));
451
451
  //#endregion
452
- //#region ../../node_modules/semver/functions/compare.js
452
+ //#region ../../packages/migration/node_modules/semver/functions/compare.js
453
453
  var require_compare = /* @__PURE__ */ __commonJSMin(((exports, module) => {
454
454
  const SemVer = require_semver$1();
455
455
  const compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
456
456
  module.exports = compare;
457
457
  }));
458
458
  //#endregion
459
- //#region ../../node_modules/semver/functions/rcompare.js
459
+ //#region ../../packages/migration/node_modules/semver/functions/rcompare.js
460
460
  var require_rcompare = /* @__PURE__ */ __commonJSMin(((exports, module) => {
461
461
  const compare = require_compare();
462
462
  const rcompare = (a, b, loose) => compare(b, a, loose);
463
463
  module.exports = rcompare;
464
464
  }));
465
465
  //#endregion
466
- //#region ../../node_modules/semver/functions/compare-loose.js
466
+ //#region ../../packages/migration/node_modules/semver/functions/compare-loose.js
467
467
  var require_compare_loose = /* @__PURE__ */ __commonJSMin(((exports, module) => {
468
468
  const compare = require_compare();
469
469
  const compareLoose = (a, b) => compare(a, b, true);
470
470
  module.exports = compareLoose;
471
471
  }));
472
472
  //#endregion
473
- //#region ../../node_modules/semver/functions/compare-build.js
473
+ //#region ../../packages/migration/node_modules/semver/functions/compare-build.js
474
474
  var require_compare_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
475
475
  const SemVer = require_semver$1();
476
476
  const compareBuild = (a, b, loose) => {
@@ -481,63 +481,63 @@ var require_compare_build = /* @__PURE__ */ __commonJSMin(((exports, module) =>
481
481
  module.exports = compareBuild;
482
482
  }));
483
483
  //#endregion
484
- //#region ../../node_modules/semver/functions/sort.js
484
+ //#region ../../packages/migration/node_modules/semver/functions/sort.js
485
485
  var require_sort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
486
486
  const compareBuild = require_compare_build();
487
487
  const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
488
488
  module.exports = sort;
489
489
  }));
490
490
  //#endregion
491
- //#region ../../node_modules/semver/functions/rsort.js
491
+ //#region ../../packages/migration/node_modules/semver/functions/rsort.js
492
492
  var require_rsort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
493
493
  const compareBuild = require_compare_build();
494
494
  const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
495
495
  module.exports = rsort;
496
496
  }));
497
497
  //#endregion
498
- //#region ../../node_modules/semver/functions/gt.js
498
+ //#region ../../packages/migration/node_modules/semver/functions/gt.js
499
499
  var require_gt = /* @__PURE__ */ __commonJSMin(((exports, module) => {
500
500
  const compare = require_compare();
501
501
  const gt = (a, b, loose) => compare(a, b, loose) > 0;
502
502
  module.exports = gt;
503
503
  }));
504
504
  //#endregion
505
- //#region ../../node_modules/semver/functions/lt.js
505
+ //#region ../../packages/migration/node_modules/semver/functions/lt.js
506
506
  var require_lt = /* @__PURE__ */ __commonJSMin(((exports, module) => {
507
507
  const compare = require_compare();
508
508
  const lt = (a, b, loose) => compare(a, b, loose) < 0;
509
509
  module.exports = lt;
510
510
  }));
511
511
  //#endregion
512
- //#region ../../node_modules/semver/functions/eq.js
512
+ //#region ../../packages/migration/node_modules/semver/functions/eq.js
513
513
  var require_eq = /* @__PURE__ */ __commonJSMin(((exports, module) => {
514
514
  const compare = require_compare();
515
515
  const eq = (a, b, loose) => compare(a, b, loose) === 0;
516
516
  module.exports = eq;
517
517
  }));
518
518
  //#endregion
519
- //#region ../../node_modules/semver/functions/neq.js
519
+ //#region ../../packages/migration/node_modules/semver/functions/neq.js
520
520
  var require_neq = /* @__PURE__ */ __commonJSMin(((exports, module) => {
521
521
  const compare = require_compare();
522
522
  const neq = (a, b, loose) => compare(a, b, loose) !== 0;
523
523
  module.exports = neq;
524
524
  }));
525
525
  //#endregion
526
- //#region ../../node_modules/semver/functions/gte.js
526
+ //#region ../../packages/migration/node_modules/semver/functions/gte.js
527
527
  var require_gte = /* @__PURE__ */ __commonJSMin(((exports, module) => {
528
528
  const compare = require_compare();
529
529
  const gte = (a, b, loose) => compare(a, b, loose) >= 0;
530
530
  module.exports = gte;
531
531
  }));
532
532
  //#endregion
533
- //#region ../../node_modules/semver/functions/lte.js
533
+ //#region ../../packages/migration/node_modules/semver/functions/lte.js
534
534
  var require_lte = /* @__PURE__ */ __commonJSMin(((exports, module) => {
535
535
  const compare = require_compare();
536
536
  const lte = (a, b, loose) => compare(a, b, loose) <= 0;
537
537
  module.exports = lte;
538
538
  }));
539
539
  //#endregion
540
- //#region ../../node_modules/semver/functions/cmp.js
540
+ //#region ../../packages/migration/node_modules/semver/functions/cmp.js
541
541
  var require_cmp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
542
542
  const eq = require_eq();
543
543
  const neq = require_neq();
@@ -569,7 +569,7 @@ var require_cmp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
569
569
  module.exports = cmp;
570
570
  }));
571
571
  //#endregion
572
- //#region ../../node_modules/semver/functions/coerce.js
572
+ //#region ../../packages/migration/node_modules/semver/functions/coerce.js
573
573
  var require_coerce = /* @__PURE__ */ __commonJSMin(((exports, module) => {
574
574
  const SemVer = require_semver$1();
575
575
  const parse = require_parse();
@@ -597,7 +597,7 @@ var require_coerce = /* @__PURE__ */ __commonJSMin(((exports, module) => {
597
597
  module.exports = coerce;
598
598
  }));
599
599
  //#endregion
600
- //#region ../../node_modules/semver/internal/lrucache.js
600
+ //#region ../../packages/migration/node_modules/semver/internal/lrucache.js
601
601
  var require_lrucache = /* @__PURE__ */ __commonJSMin(((exports, module) => {
602
602
  var LRUCache = class {
603
603
  constructor() {
@@ -630,7 +630,7 @@ var require_lrucache = /* @__PURE__ */ __commonJSMin(((exports, module) => {
630
630
  module.exports = LRUCache;
631
631
  }));
632
632
  //#endregion
633
- //#region ../../node_modules/semver/classes/range.js
633
+ //#region ../../packages/migration/node_modules/semver/classes/range.js
634
634
  var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
635
635
  const SPACE_CHARACTERS = /\s+/g;
636
636
  module.exports = class Range {
@@ -902,7 +902,7 @@ var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
902
902
  };
903
903
  }));
904
904
  //#endregion
905
- //#region ../../node_modules/semver/classes/comparator.js
905
+ //#region ../../packages/migration/node_modules/semver/classes/comparator.js
906
906
  var require_comparator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
907
907
  const ANY = Symbol("SemVer ANY");
908
908
  module.exports = class Comparator {
@@ -972,7 +972,7 @@ var require_comparator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
972
972
  const Range = require_range();
973
973
  }));
974
974
  //#endregion
975
- //#region ../../node_modules/semver/functions/satisfies.js
975
+ //#region ../../packages/migration/node_modules/semver/functions/satisfies.js
976
976
  var require_satisfies = /* @__PURE__ */ __commonJSMin(((exports, module) => {
977
977
  const Range = require_range();
978
978
  const satisfies = (version, range, options) => {
@@ -986,14 +986,14 @@ var require_satisfies = /* @__PURE__ */ __commonJSMin(((exports, module) => {
986
986
  module.exports = satisfies;
987
987
  }));
988
988
  //#endregion
989
- //#region ../../node_modules/semver/ranges/to-comparators.js
989
+ //#region ../../packages/migration/node_modules/semver/ranges/to-comparators.js
990
990
  var require_to_comparators = /* @__PURE__ */ __commonJSMin(((exports, module) => {
991
991
  const Range = require_range();
992
992
  const toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
993
993
  module.exports = toComparators;
994
994
  }));
995
995
  //#endregion
996
- //#region ../../node_modules/semver/ranges/max-satisfying.js
996
+ //#region ../../packages/migration/node_modules/semver/ranges/max-satisfying.js
997
997
  var require_max_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) => {
998
998
  const SemVer = require_semver$1();
999
999
  const Range = require_range();
@@ -1019,7 +1019,7 @@ var require_max_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) =>
1019
1019
  module.exports = maxSatisfying;
1020
1020
  }));
1021
1021
  //#endregion
1022
- //#region ../../node_modules/semver/ranges/min-satisfying.js
1022
+ //#region ../../packages/migration/node_modules/semver/ranges/min-satisfying.js
1023
1023
  var require_min_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1024
1024
  const SemVer = require_semver$1();
1025
1025
  const Range = require_range();
@@ -1045,7 +1045,7 @@ var require_min_satisfying = /* @__PURE__ */ __commonJSMin(((exports, module) =>
1045
1045
  module.exports = minSatisfying;
1046
1046
  }));
1047
1047
  //#endregion
1048
- //#region ../../node_modules/semver/ranges/min-version.js
1048
+ //#region ../../packages/migration/node_modules/semver/ranges/min-version.js
1049
1049
  var require_min_version = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1050
1050
  const SemVer = require_semver$1();
1051
1051
  const Range = require_range();
@@ -1084,7 +1084,7 @@ var require_min_version = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1084
1084
  module.exports = minVersion;
1085
1085
  }));
1086
1086
  //#endregion
1087
- //#region ../../node_modules/semver/ranges/valid.js
1087
+ //#region ../../packages/migration/node_modules/semver/ranges/valid.js
1088
1088
  var require_valid = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1089
1089
  const Range = require_range();
1090
1090
  const validRange = (range, options) => {
@@ -1097,7 +1097,7 @@ var require_valid = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1097
1097
  module.exports = validRange;
1098
1098
  }));
1099
1099
  //#endregion
1100
- //#region ../../node_modules/semver/ranges/outside.js
1100
+ //#region ../../packages/migration/node_modules/semver/ranges/outside.js
1101
1101
  var require_outside = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1102
1102
  const SemVer = require_semver$1();
1103
1103
  const Comparator = require_comparator();
@@ -1150,21 +1150,21 @@ var require_outside = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1150
1150
  module.exports = outside;
1151
1151
  }));
1152
1152
  //#endregion
1153
- //#region ../../node_modules/semver/ranges/gtr.js
1153
+ //#region ../../packages/migration/node_modules/semver/ranges/gtr.js
1154
1154
  var require_gtr = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1155
1155
  const outside = require_outside();
1156
1156
  const gtr = (version, range, options) => outside(version, range, ">", options);
1157
1157
  module.exports = gtr;
1158
1158
  }));
1159
1159
  //#endregion
1160
- //#region ../../node_modules/semver/ranges/ltr.js
1160
+ //#region ../../packages/migration/node_modules/semver/ranges/ltr.js
1161
1161
  var require_ltr = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1162
1162
  const outside = require_outside();
1163
1163
  const ltr = (version, range, options) => outside(version, range, "<", options);
1164
1164
  module.exports = ltr;
1165
1165
  }));
1166
1166
  //#endregion
1167
- //#region ../../node_modules/semver/ranges/intersects.js
1167
+ //#region ../../packages/migration/node_modules/semver/ranges/intersects.js
1168
1168
  var require_intersects = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1169
1169
  const Range = require_range();
1170
1170
  const intersects = (r1, r2, options) => {
@@ -1175,7 +1175,7 @@ var require_intersects = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1175
1175
  module.exports = intersects;
1176
1176
  }));
1177
1177
  //#endregion
1178
- //#region ../../node_modules/semver/ranges/simplify.js
1178
+ //#region ../../packages/migration/node_modules/semver/ranges/simplify.js
1179
1179
  var require_simplify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1180
1180
  const satisfies = require_satisfies();
1181
1181
  const compare = require_compare();
@@ -1205,7 +1205,7 @@ var require_simplify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1205
1205
  };
1206
1206
  }));
1207
1207
  //#endregion
1208
- //#region ../../node_modules/semver/ranges/subset.js
1208
+ //#region ../../packages/migration/node_modules/semver/ranges/subset.js
1209
1209
  var require_subset = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1210
1210
  const Range = require_range();
1211
1211
  const Comparator = require_comparator();
@@ -1300,7 +1300,7 @@ var require_subset = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1300
1300
  module.exports = subset;
1301
1301
  }));
1302
1302
  //#endregion
1303
- //#region ../../node_modules/semver/index.js
1303
+ //#region ../../packages/migration/node_modules/semver/index.js
1304
1304
  var require_semver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1305
1305
  const internalRe = require_re();
1306
1306
  const constants = require_constants();
@@ -1564,19 +1564,6 @@ function custom(check2, message) {
1564
1564
  }
1565
1565
  };
1566
1566
  }
1567
- function lazy(getter) {
1568
- return {
1569
- kind: "schema",
1570
- type: "lazy",
1571
- reference: lazy,
1572
- expects: "unknown",
1573
- async: false,
1574
- getter,
1575
- _run(dataset, config2) {
1576
- return this.getter(dataset.value)._run(dataset, config2);
1577
- }
1578
- };
1579
- }
1580
1567
  function literal(literal_, message) {
1581
1568
  return {
1582
1569
  kind: "schema",
@@ -1976,12 +1963,74 @@ const createMigrator = () => {
1976
1963
  };
1977
1964
  //#endregion
1978
1965
  //#region ../../packages/shared/src/config/migrators.ts
1966
+ const DEFAULT_PLUGINS = [
1967
+ {
1968
+ name: "@pipelab/plugin-construct",
1969
+ enabled: true,
1970
+ description: "Construct 3 export & packaging"
1971
+ },
1972
+ {
1973
+ name: "@pipelab/plugin-filesystem",
1974
+ enabled: true,
1975
+ description: "Filesystem utilities"
1976
+ },
1977
+ {
1978
+ name: "@pipelab/plugin-system",
1979
+ enabled: true,
1980
+ description: "System & shell commands"
1981
+ },
1982
+ {
1983
+ name: "@pipelab/plugin-steam",
1984
+ enabled: true,
1985
+ description: "Steam publishing"
1986
+ },
1987
+ {
1988
+ name: "@pipelab/plugin-itch",
1989
+ enabled: true,
1990
+ description: "Itch.io publishing"
1991
+ },
1992
+ {
1993
+ name: "@pipelab/plugin-electron",
1994
+ enabled: true,
1995
+ description: "Electron packaging"
1996
+ },
1997
+ {
1998
+ name: "@pipelab/plugin-discord",
1999
+ enabled: true,
2000
+ description: "Discord Rich Presence"
2001
+ },
2002
+ {
2003
+ name: "@pipelab/plugin-poki",
2004
+ enabled: true,
2005
+ description: "Poki publishing"
2006
+ },
2007
+ {
2008
+ name: "@pipelab/plugin-nvpatch",
2009
+ enabled: true,
2010
+ description: "NW.js patching"
2011
+ },
2012
+ {
2013
+ name: "@pipelab/plugin-tauri",
2014
+ enabled: true,
2015
+ description: "Tauri packaging"
2016
+ },
2017
+ {
2018
+ name: "@pipelab/plugin-minify",
2019
+ enabled: true,
2020
+ description: "Asset minification"
2021
+ },
2022
+ {
2023
+ name: "@pipelab/plugin-netlify",
2024
+ enabled: true,
2025
+ description: "Netlify deployment"
2026
+ }
2027
+ ];
1979
2028
  const createMigration = (config) => createMigration$1(config);
1980
2029
  const settingsMigratorInternal = createMigrator();
1981
2030
  const defaultAppSettings = settingsMigratorInternal.createDefault({
1982
2031
  locale: "en-US",
1983
2032
  theme: "light",
1984
- version: "7.0.0",
2033
+ version: "8.0.0",
1985
2034
  autosave: true,
1986
2035
  agents: [],
1987
2036
  tours: {
@@ -1998,7 +2047,9 @@ const defaultAppSettings = settingsMigratorInternal.createDefault({
1998
2047
  enabled: false,
1999
2048
  maxEntries: 50,
2000
2049
  maxAge: 30
2001
- } }
2050
+ } },
2051
+ plugins: DEFAULT_PLUGINS,
2052
+ isInternalMigrationBannerClosed: false
2002
2053
  });
2003
2054
  const appSettingsMigrator$1 = settingsMigratorInternal.createMigrations({
2004
2055
  defaultValue: defaultAppSettings,
@@ -2049,19 +2100,22 @@ const appSettingsMigrator$1 = settingsMigratorInternal.createMigrations({
2049
2100
  createMigration({
2050
2101
  version: "6.0.0",
2051
2102
  up: (state) => {
2103
+ const { cacheFolder: _, clearTemporaryFoldersOnPipelineEnd: __, ...rest } = state;
2052
2104
  return {
2053
- ...state,
2105
+ ...rest,
2054
2106
  agents: [],
2055
2107
  buildHistory: { retentionPolicy: {
2056
2108
  enabled: false,
2057
2109
  maxEntries: 50,
2058
2110
  maxAge: 30
2059
- } }
2111
+ } },
2112
+ plugins: DEFAULT_PLUGINS,
2113
+ isInternalMigrationBannerClosed: false
2060
2114
  };
2061
2115
  }
2062
2116
  }),
2063
2117
  createMigration({
2064
- version: "7.0.0",
2118
+ version: "8.0.0",
2065
2119
  up: finalVersion
2066
2120
  })
2067
2121
  ]
@@ -2112,8 +2166,7 @@ const savedFileDefaultValue = savedFileMigratorInternal.createDefault({
2112
2166
  description: "",
2113
2167
  name: "",
2114
2168
  variables: [],
2115
- type: "default",
2116
- version: "4.0.0"
2169
+ version: "5.0.0"
2117
2170
  });
2118
2171
  const savedFileMigrator$1 = savedFileMigratorInternal.createMigrations({
2119
2172
  defaultValue: savedFileDefaultValue,
@@ -2176,10 +2229,88 @@ const savedFileMigrator$1 = savedFileMigratorInternal.createMigrations({
2176
2229
  }),
2177
2230
  createMigration({
2178
2231
  version: "4.0.0",
2232
+ up: (_state) => {
2233
+ const state = _state;
2234
+ if (state.type === "simple") return {
2235
+ name: state.name,
2236
+ description: state.description,
2237
+ canvas: {
2238
+ blocks: [],
2239
+ triggers: []
2240
+ },
2241
+ variables: []
2242
+ };
2243
+ const migrateBlock = (block, pluginsMap) => {
2244
+ if (!block) return;
2245
+ if (block.origin?.pluginId) {
2246
+ block.origin.pluginId = getStrictPluginId(block.origin.pluginId);
2247
+ block.origin.version = pluginsMap[block.origin.pluginId] ?? "latest";
2248
+ }
2249
+ };
2250
+ const normalizedPlugins = {};
2251
+ if (state.plugins) for (const [key, val] of Object.entries(state.plugins)) normalizedPlugins[getStrictPluginId(key)] = val;
2252
+ if (state.canvas) {
2253
+ for (const block of state.canvas.blocks ?? []) migrateBlock(block, normalizedPlugins);
2254
+ for (const trigger of state.canvas.triggers ?? []) migrateBlock(trigger, normalizedPlugins);
2255
+ }
2256
+ const { plugins: _dropped, type: _type, ...rest } = state;
2257
+ return rest;
2258
+ }
2259
+ }),
2260
+ createMigration({
2261
+ version: "5.0.0",
2179
2262
  up: finalVersion
2180
2263
  })
2181
2264
  ]
2182
2265
  });
2266
+ const LEGACY_ID_MAP = {
2267
+ construct: "@pipelab/plugin-construct",
2268
+ filesystem: "@pipelab/plugin-filesystem",
2269
+ system: "@pipelab/plugin-system",
2270
+ steam: "@pipelab/plugin-steam",
2271
+ itch: "@pipelab/plugin-itch",
2272
+ electron: "@pipelab/plugin-electron",
2273
+ discord: "@pipelab/plugin-discord",
2274
+ dicord: "@pipelab/plugin-discord",
2275
+ "@pipelab/plugin-dicord": "@pipelab/plugin-discord",
2276
+ poki: "@pipelab/plugin-poki",
2277
+ nvpatch: "@pipelab/plugin-nvpatch",
2278
+ tauri: "@pipelab/plugin-tauri",
2279
+ minify: "@pipelab/plugin-minify",
2280
+ netlify: "@pipelab/plugin-netlify"
2281
+ };
2282
+ const getStrictPluginId = (pluginId) => {
2283
+ if (!pluginId) return pluginId;
2284
+ if (LEGACY_ID_MAP[pluginId]) return LEGACY_ID_MAP[pluginId];
2285
+ if (pluginId.startsWith("@") || pluginId.includes("/") || pluginId.startsWith("pipelab-plugin-")) return pluginId;
2286
+ const prefixed = `@pipelab/plugin-${pluginId}`;
2287
+ return LEGACY_ID_MAP[prefixed] || prefixed;
2288
+ };
2289
+ const normalizeBlockPluginId = (block) => {
2290
+ if (!block) return false;
2291
+ let changed = false;
2292
+ if (block.origin?.pluginId) {
2293
+ const strictId = getStrictPluginId(block.origin.pluginId);
2294
+ if (block.origin.pluginId !== strictId) {
2295
+ block.origin.pluginId = strictId;
2296
+ changed = true;
2297
+ }
2298
+ }
2299
+ return changed;
2300
+ };
2301
+ const normalizePipelineConfig$1 = (state) => {
2302
+ if (!state) return false;
2303
+ let changed = false;
2304
+ if (state.type === "default" && state.canvas) {
2305
+ if (Array.isArray(state.canvas.blocks)) {
2306
+ for (const block of state.canvas.blocks) if (normalizeBlockPluginId(block)) changed = true;
2307
+ }
2308
+ if (Array.isArray(state.canvas.triggers)) {
2309
+ for (const trigger of state.canvas.triggers) if (normalizeBlockPluginId(trigger)) changed = true;
2310
+ }
2311
+ }
2312
+ return changed;
2313
+ };
2183
2314
  const configRegistry$1 = {
2184
2315
  settings: appSettingsMigrator$1,
2185
2316
  projects: fileRepoMigrations$1,
@@ -2297,6 +2428,45 @@ object({
2297
2428
  maxAge: number()
2298
2429
  }) })
2299
2430
  });
2431
+ object({
2432
+ theme: union([literal("light"), literal("dark")]),
2433
+ version: literal("8.0.0"),
2434
+ locale: union([
2435
+ literal("en-US"),
2436
+ literal("fr-FR"),
2437
+ literal("pt-BR"),
2438
+ literal("zh-CN"),
2439
+ literal("es-ES"),
2440
+ literal("de-DE")
2441
+ ]),
2442
+ tours: object({
2443
+ dashboard: object({
2444
+ step: number(),
2445
+ completed: boolean()
2446
+ }),
2447
+ editor: object({
2448
+ step: number(),
2449
+ completed: boolean()
2450
+ })
2451
+ }),
2452
+ autosave: boolean(),
2453
+ agents: array(object({
2454
+ id: string(),
2455
+ name: string(),
2456
+ url: string()
2457
+ })),
2458
+ buildHistory: object({ retentionPolicy: object({
2459
+ enabled: boolean(),
2460
+ maxEntries: number(),
2461
+ maxAge: number()
2462
+ }) }),
2463
+ plugins: array(object({
2464
+ name: string(),
2465
+ enabled: boolean(),
2466
+ description: string()
2467
+ })),
2468
+ isInternalMigrationBannerClosed: optional(boolean(), false)
2469
+ });
2300
2470
  //#endregion
2301
2471
  //#region ../../node_modules/tslog/dist/esm/prettyLogStyles.js
2302
2472
  const prettyLogStyles = {
@@ -2818,7 +2988,7 @@ async function newQuickJSWASMModuleFromVariant(variantOrPromise) {
2818
2988
  let variant = smartUnwrap(await variantOrPromise), [wasmModuleLoader, QuickJSFFI, { QuickJSWASMModule: QuickJSWASMModule2 }] = await Promise.all([
2819
2989
  variant.importModuleLoader().then(smartUnwrap),
2820
2990
  variant.importFFI(),
2821
- import("./module-6F3E5H7Y-BhC3bDbd.mjs").then(smartUnwrap)
2991
+ import("./module-6F3E5H7Y-DS2ftHS3.mjs").then(smartUnwrap)
2822
2992
  ]), wasmModule = await wasmModuleLoader();
2823
2993
  wasmModule.type = "sync";
2824
2994
  return new QuickJSWASMModule2(wasmModule, new QuickJSFFI(wasmModule));
@@ -3732,8 +3902,8 @@ const fmt = { param: (value, variant, ifEmpty = "") => {
3732
3902
  //#region ../../node_modules/@jitl/quickjs-singlefile-mjs-release-sync/dist/index.mjs
3733
3903
  var src_default = {
3734
3904
  type: "sync",
3735
- importFFI: () => import("./ffi-H2UhpTE6.mjs").then((mod) => mod.QuickJSFFI),
3736
- importModuleLoader: () => import("./emscripten-module-VHMWRAJ2-C6K1oxel.mjs").then((mod) => mod.default)
3905
+ importFFI: () => import("./ffi-DpuJHCem.mjs").then((mod) => mod.QuickJSFFI),
3906
+ importModuleLoader: () => import("./emscripten-module-VHMWRAJ2-Jdkq656T.mjs").then((mod) => mod.default)
3737
3907
  };
3738
3908
  //#endregion
3739
3909
  //#region ../../packages/shared/src/quickjs.ts
@@ -3894,9 +4064,6 @@ const processGraph = async (options) => {
3894
4064
  options.steps[rawNode.uid].outputs = result.result.outputs;
3895
4065
  }
3896
4066
  options.onNodeExit(rawNode);
3897
- } else if (rawNode.type === "loop") {
3898
- options.onNodeEnter(rawNode);
3899
- options.onNodeExit(rawNode);
3900
4067
  } else if (rawNode.type === "comment") {} else if (rawNode.type === "event") {
3901
4068
  options.onNodeEnter(rawNode);
3902
4069
  options.onNodeExit(rawNode);
@@ -3909,7 +4076,8 @@ const processGraph = async (options) => {
3909
4076
  //#region ../../packages/shared/src/model.ts
3910
4077
  const OriginValidator = object({
3911
4078
  pluginId: string(),
3912
- nodeId: string()
4079
+ nodeId: string(),
4080
+ version: pipe(optional(string()), description("Pinned version of the plugin for this block. Falls back to \"latest\" when absent."))
3913
4081
  });
3914
4082
  const BlockActionValidatorV1 = object({
3915
4083
  type: literal("action"),
@@ -3930,21 +4098,6 @@ const BlockActionValidatorV3 = object({
3930
4098
  })),
3931
4099
  origin: OriginValidator
3932
4100
  });
3933
- object({
3934
- type: literal("condition"),
3935
- uid: string(),
3936
- origin: OriginValidator,
3937
- params: record(string(), any()),
3938
- branchTrue: lazy(() => array(BlockValidator)),
3939
- branchFalse: lazy(() => array(BlockValidator))
3940
- });
3941
- object({
3942
- type: literal("loop"),
3943
- uid: string(),
3944
- origin: OriginValidator,
3945
- params: record(string(), any()),
3946
- children: lazy(() => array(BlockValidator))
3947
- });
3948
4101
  const BlockEventValidator = object({
3949
4102
  type: literal("event"),
3950
4103
  uid: string(),
@@ -3960,7 +4113,6 @@ object({
3960
4113
  const BlockValidatorV1 = variant("type", [BlockActionValidatorV1, BlockEventValidator]);
3961
4114
  const BlockValidatorV2 = variant("type", [BlockActionValidatorV1]);
3962
4115
  const BlockValidatorV3 = variant("type", [BlockActionValidatorV3]);
3963
- const BlockValidator = BlockValidatorV3;
3964
4116
  const CanvasValidatorV1 = object({ blocks: array(BlockValidatorV1) });
3965
4117
  const CanvasValidatorV2 = object({
3966
4118
  blocks: array(BlockValidatorV2),
@@ -3992,19 +4144,59 @@ object({
3992
4144
  canvas: CanvasValidatorV3,
3993
4145
  variables: array(VariableValidatorV1)
3994
4146
  });
3995
- const SavedFileDefaultValidator = object({
4147
+ const SavedFileDefaultValidatorV4 = object({
3996
4148
  version: literal("4.0.0"),
3997
4149
  type: literal("default"),
3998
4150
  name: string(),
3999
4151
  description: string(),
4152
+ plugins: optional(record(string(), string())),
4000
4153
  canvas: CanvasValidatorV3,
4001
4154
  variables: array(VariableValidatorV1)
4002
4155
  });
4003
- const SavedFileSimpleValidator = object({
4156
+ const SavedFileSimpleValidatorV4 = object({
4004
4157
  version: literal("4.0.0"),
4005
4158
  type: literal("simple"),
4006
4159
  name: string(),
4007
4160
  description: string(),
4161
+ plugins: optional(record(string(), string())),
4162
+ source: object({
4163
+ type: union([
4164
+ literal("c3-html"),
4165
+ literal("c3-nwjs"),
4166
+ literal("godot"),
4167
+ literal("html")
4168
+ ]),
4169
+ path: string()
4170
+ }),
4171
+ packaging: object({ enabled: boolean() }),
4172
+ publishing: object({
4173
+ steam: object({
4174
+ enabled: boolean(),
4175
+ appId: optional(string())
4176
+ }),
4177
+ itch: object({
4178
+ enabled: boolean(),
4179
+ project: optional(string())
4180
+ }),
4181
+ poki: object({
4182
+ enabled: boolean(),
4183
+ gameId: optional(string())
4184
+ })
4185
+ })
4186
+ });
4187
+ object({
4188
+ version: literal("5.0.0"),
4189
+ name: string(),
4190
+ description: string(),
4191
+ canvas: CanvasValidatorV3,
4192
+ variables: array(VariableValidatorV1)
4193
+ });
4194
+ object({
4195
+ version: literal("5.0.0"),
4196
+ type: literal("simple"),
4197
+ name: string(),
4198
+ description: string(),
4199
+ plugins: record(string(), string()),
4008
4200
  source: object({
4009
4201
  type: union([
4010
4202
  literal("c3-html"),
@@ -4030,7 +4222,7 @@ const SavedFileSimpleValidator = object({
4030
4222
  })
4031
4223
  })
4032
4224
  });
4033
- union([SavedFileDefaultValidator, SavedFileSimpleValidator]);
4225
+ union([SavedFileDefaultValidatorV4, SavedFileSimpleValidatorV4]);
4034
4226
  //#endregion
4035
4227
  //#region ../../node_modules/vue/node_modules/@vue/shared/dist/shared.cjs.prod.js
4036
4228
  /**
@@ -32034,7 +32226,13 @@ const plugins = (0, vue_exports.shallowRef)([]);
32034
32226
  const usePlugins = () => {
32035
32227
  const load = () => {};
32036
32228
  const registerPlugins = (newPlugins) => {
32037
- plugins.value.push(...newPlugins);
32229
+ const current = [...plugins.value];
32230
+ for (const np of newPlugins) {
32231
+ const idx = current.findIndex((p) => p.id === np.id);
32232
+ if (idx !== -1) current[idx] = np;
32233
+ else current.push(np);
32234
+ }
32235
+ plugins.value = current;
32038
32236
  };
32039
32237
  return {
32040
32238
  load,
@@ -32108,6 +32306,26 @@ const supabase = (options) => {
32108
32306
  return createClient(url, anonKey, options);
32109
32307
  };
32110
32308
  //#endregion
32309
+ //#region ../../packages/shared/src/utils.ts
32310
+ const transformUrl = (url) => {
32311
+ if (url && typeof url === "string") {
32312
+ const getHost = () => {
32313
+ if (typeof window !== "undefined") if (window.location.port === "5173") return `http://${window.location.hostname}:33753`;
32314
+ else return `${window.location.protocol}//${window.location.host}`;
32315
+ return "http://localhost:33753";
32316
+ };
32317
+ if (url.startsWith("file://")) {
32318
+ const filePath = url.substring(7);
32319
+ return `${getHost()}/media-file/${encodeURIComponent(filePath)}`;
32320
+ }
32321
+ if (url.startsWith("media://")) {
32322
+ const filePath = url.replace(/^media:\/\/+/, "/");
32323
+ return `${getHost()}/media-file/${encodeURIComponent(filePath)}`;
32324
+ }
32325
+ }
32326
+ return url || "";
32327
+ };
32328
+ //#endregion
32111
32329
  //#region ../../packages/shared/src/validation.ts
32112
32330
  const isRequired = (param) => {
32113
32331
  return param.required === true;
@@ -32159,5 +32377,6 @@ const appSettingsMigrator = appSettingsMigrator$1;
32159
32377
  const fileRepoMigrations = fileRepoMigrations$1;
32160
32378
  const savedFileMigrator = savedFileMigrator$1;
32161
32379
  const configRegistry = configRegistry$1;
32380
+ const normalizePipelineConfig = normalizePipelineConfig$1;
32162
32381
  //#endregion
32163
- export { require_valid as A, variableToFormattedVariable as C, fmt as D, createQuickJsFromVariant as E, require_clean as M, require_valid$1 as N, useLogger as O, processGraph as S, createQuickJs as T, EditorParamValidatorV3 as _, FileRepoProjectValidatorV2$1 as a, SavedFileSimpleValidator as b, isRequired as c, SubscriptionRequiredError as d, SaveLocationExternalValidator as f, usePlugins as g, SaveLocationValidator as h, savedFileMigrator as i, require_satisfies as j, require_semver as k, isSupabaseAvailable as l, SaveLocationPipelabCloudValidator as m, configRegistry as n, WebSocketError as o, SaveLocationInternalValidator as p, fileRepoMigrations as r, isWebSocketRequestMessage as s, appSettingsMigrator as t, supabase as u, OriginValidator as v, makeResolvedParams as w, VariableValidatorV1 as x, SavedFileDefaultValidator as y };
32382
+ export { useLogger as A, VariableValidatorV1 as C, createQuickJs as D, makeResolvedParams as E, createQuickJsFromVariant as O, SavedFileSimpleValidatorV4 as S, variableToFormattedVariable as T, SaveLocationValidator as _, savedFileMigrator as a, OriginValidator as b, isWebSocketRequestMessage as c, isSupabaseAvailable as d, supabase as f, SaveLocationPipelabCloudValidator as g, SaveLocationInternalValidator as h, normalizePipelineConfig as i, fmt as k, isRequired as l, SaveLocationExternalValidator as m, configRegistry as n, FileRepoProjectValidatorV2$1 as o, SubscriptionRequiredError as p, fileRepoMigrations as r, WebSocketError as s, appSettingsMigrator as t, transformUrl as u, usePlugins as v, processGraph as w, SavedFileDefaultValidatorV4 as x, EditorParamValidatorV3 as y };