@modern-js/upgrade-generator 3.0.9 → 3.0.11

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.
Files changed (3) hide show
  1. package/README.md +2 -2
  2. package/dist/index.js +761 -717
  3. package/package.json +11 -11
package/dist/index.js CHANGED
@@ -19024,11 +19024,11 @@ var require_lodash = __commonJS({
19024
19024
  return isFunction(object[key]);
19025
19025
  });
19026
19026
  }
19027
- function baseGet(object, path2) {
19028
- path2 = castPath(path2, object);
19029
- var index = 0, length = path2.length;
19027
+ function baseGet(object, path3) {
19028
+ path3 = castPath(path3, object);
19029
+ var index = 0, length = path3.length;
19030
19030
  while (object != null && index < length) {
19031
- object = object[toKey(path2[index++])];
19031
+ object = object[toKey(path3[index++])];
19032
19032
  }
19033
19033
  return index && index == length ? object : undefined2;
19034
19034
  }
@@ -19092,10 +19092,10 @@ var require_lodash = __commonJS({
19092
19092
  });
19093
19093
  return accumulator;
19094
19094
  }
19095
- function baseInvoke(object, path2, args) {
19096
- path2 = castPath(path2, object);
19097
- object = parent(object, path2);
19098
- var func = object == null ? object : object[toKey(last(path2))];
19095
+ function baseInvoke(object, path3, args) {
19096
+ path3 = castPath(path3, object);
19097
+ object = parent(object, path3);
19098
+ var func = object == null ? object : object[toKey(last(path3))];
19099
19099
  return func == null ? undefined2 : apply(func, object, args);
19100
19100
  }
19101
19101
  function baseIsArguments(value) {
@@ -19251,13 +19251,13 @@ var require_lodash = __commonJS({
19251
19251
  return object === source || baseIsMatch(object, source, matchData);
19252
19252
  };
19253
19253
  }
19254
- function baseMatchesProperty(path2, srcValue) {
19255
- if (isKey(path2) && isStrictComparable(srcValue)) {
19256
- return matchesStrictComparable(toKey(path2), srcValue);
19254
+ function baseMatchesProperty(path3, srcValue) {
19255
+ if (isKey(path3) && isStrictComparable(srcValue)) {
19256
+ return matchesStrictComparable(toKey(path3), srcValue);
19257
19257
  }
19258
19258
  return function(object) {
19259
- var objValue = get2(object, path2);
19260
- return objValue === undefined2 && objValue === srcValue ? hasIn(object, path2) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
19259
+ var objValue = get2(object, path3);
19260
+ return objValue === undefined2 && objValue === srcValue ? hasIn(object, path3) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
19261
19261
  };
19262
19262
  }
19263
19263
  function baseMerge(object, source, srcIndex, customizer, stack) {
@@ -19354,23 +19354,23 @@ var require_lodash = __commonJS({
19354
19354
  });
19355
19355
  }
19356
19356
  function basePick(object, paths) {
19357
- return basePickBy(object, paths, function(value, path2) {
19358
- return hasIn(object, path2);
19357
+ return basePickBy(object, paths, function(value, path3) {
19358
+ return hasIn(object, path3);
19359
19359
  });
19360
19360
  }
19361
19361
  function basePickBy(object, paths, predicate) {
19362
19362
  var index = -1, length = paths.length, result2 = {};
19363
19363
  while (++index < length) {
19364
- var path2 = paths[index], value = baseGet(object, path2);
19365
- if (predicate(value, path2)) {
19366
- baseSet(result2, castPath(path2, object), value);
19364
+ var path3 = paths[index], value = baseGet(object, path3);
19365
+ if (predicate(value, path3)) {
19366
+ baseSet(result2, castPath(path3, object), value);
19367
19367
  }
19368
19368
  }
19369
19369
  return result2;
19370
19370
  }
19371
- function basePropertyDeep(path2) {
19371
+ function basePropertyDeep(path3) {
19372
19372
  return function(object) {
19373
- return baseGet(object, path2);
19373
+ return baseGet(object, path3);
19374
19374
  };
19375
19375
  }
19376
19376
  function basePullAll(array, values2, iteratee2, comparator) {
@@ -19444,14 +19444,14 @@ var require_lodash = __commonJS({
19444
19444
  var array = values(collection);
19445
19445
  return shuffleSelf(array, baseClamp(n, 0, array.length));
19446
19446
  }
19447
- function baseSet(object, path2, value, customizer) {
19447
+ function baseSet(object, path3, value, customizer) {
19448
19448
  if (!isObject2(object)) {
19449
19449
  return object;
19450
19450
  }
19451
- path2 = castPath(path2, object);
19452
- var index = -1, length = path2.length, lastIndex = length - 1, nested = object;
19451
+ path3 = castPath(path3, object);
19452
+ var index = -1, length = path3.length, lastIndex = length - 1, nested = object;
19453
19453
  while (nested != null && ++index < length) {
19454
- var key = toKey(path2[index]), newValue = value;
19454
+ var key = toKey(path3[index]), newValue = value;
19455
19455
  if (key === "__proto__" || key === "constructor" || key === "prototype") {
19456
19456
  return object;
19457
19457
  }
@@ -19459,7 +19459,7 @@ var require_lodash = __commonJS({
19459
19459
  var objValue = nested[key];
19460
19460
  newValue = customizer ? customizer(objValue, key, nested) : undefined2;
19461
19461
  if (newValue === undefined2) {
19462
- newValue = isObject2(objValue) ? objValue : isIndex(path2[index + 1]) ? [] : {};
19462
+ newValue = isObject2(objValue) ? objValue : isIndex(path3[index + 1]) ? [] : {};
19463
19463
  }
19464
19464
  }
19465
19465
  assignValue(nested, key, newValue);
@@ -19625,13 +19625,13 @@ var require_lodash = __commonJS({
19625
19625
  }
19626
19626
  return result2;
19627
19627
  }
19628
- function baseUnset(object, path2) {
19629
- path2 = castPath(path2, object);
19630
- object = parent(object, path2);
19631
- return object == null || delete object[toKey(last(path2))];
19628
+ function baseUnset(object, path3) {
19629
+ path3 = castPath(path3, object);
19630
+ object = parent(object, path3);
19631
+ return object == null || delete object[toKey(last(path3))];
19632
19632
  }
19633
- function baseUpdate(object, path2, updater, customizer) {
19634
- return baseSet(object, path2, updater(baseGet(object, path2)), customizer);
19633
+ function baseUpdate(object, path3, updater, customizer) {
19634
+ return baseSet(object, path3, updater(baseGet(object, path3)), customizer);
19635
19635
  }
19636
19636
  function baseWhile(array, predicate, isDrop, fromRight) {
19637
19637
  var length = array.length, index = fromRight ? length : -1;
@@ -20514,11 +20514,11 @@ var require_lodash = __commonJS({
20514
20514
  var match = source.match(reWrapDetails);
20515
20515
  return match ? match[1].split(reSplitDetails) : [];
20516
20516
  }
20517
- function hasPath(object, path2, hasFunc) {
20518
- path2 = castPath(path2, object);
20519
- var index = -1, length = path2.length, result2 = false;
20517
+ function hasPath(object, path3, hasFunc) {
20518
+ path3 = castPath(path3, object);
20519
+ var index = -1, length = path3.length, result2 = false;
20520
20520
  while (++index < length) {
20521
- var key = toKey(path2[index]);
20521
+ var key = toKey(path3[index]);
20522
20522
  if (!(result2 = object != null && hasFunc(object, key))) {
20523
20523
  break;
20524
20524
  }
@@ -20720,8 +20720,8 @@ var require_lodash = __commonJS({
20720
20720
  return apply(func, this, otherArgs);
20721
20721
  };
20722
20722
  }
20723
- function parent(object, path2) {
20724
- return path2.length < 2 ? object : baseGet(object, baseSlice(path2, 0, -1));
20723
+ function parent(object, path3) {
20724
+ return path3.length < 2 ? object : baseGet(object, baseSlice(path3, 0, -1));
20725
20725
  }
20726
20726
  function reorder(array, indexes) {
20727
20727
  var arrLength = array.length, length = nativeMin(indexes.length, arrLength), oldArray = copyArray(array);
@@ -21356,10 +21356,10 @@ var require_lodash = __commonJS({
21356
21356
  }
21357
21357
  return isString2(collection) ? fromIndex <= length && collection.indexOf(value, fromIndex) > -1 : !!length && baseIndexOf(collection, value, fromIndex) > -1;
21358
21358
  }
21359
- var invokeMap = baseRest(function(collection, path2, args) {
21360
- var index = -1, isFunc = typeof path2 == "function", result2 = isArrayLike(collection) ? Array2(collection.length) : [];
21359
+ var invokeMap = baseRest(function(collection, path3, args) {
21360
+ var index = -1, isFunc = typeof path3 == "function", result2 = isArrayLike(collection) ? Array2(collection.length) : [];
21361
21361
  baseEach(collection, function(value) {
21362
- result2[++index] = isFunc ? apply(path2, value, args) : baseInvoke(value, path2, args);
21362
+ result2[++index] = isFunc ? apply(path3, value, args) : baseInvoke(value, path3, args);
21363
21363
  });
21364
21364
  return result2;
21365
21365
  });
@@ -22011,15 +22011,15 @@ var require_lodash = __commonJS({
22011
22011
  function functionsIn(object) {
22012
22012
  return object == null ? [] : baseFunctions(object, keysIn(object));
22013
22013
  }
22014
- function get2(object, path2, defaultValue) {
22015
- var result2 = object == null ? undefined2 : baseGet(object, path2);
22014
+ function get2(object, path3, defaultValue) {
22015
+ var result2 = object == null ? undefined2 : baseGet(object, path3);
22016
22016
  return result2 === undefined2 ? defaultValue : result2;
22017
22017
  }
22018
- function has2(object, path2) {
22019
- return object != null && hasPath(object, path2, baseHas);
22018
+ function has2(object, path3) {
22019
+ return object != null && hasPath(object, path3, baseHas);
22020
22020
  }
22021
- function hasIn(object, path2) {
22022
- return object != null && hasPath(object, path2, baseHasIn);
22021
+ function hasIn(object, path3) {
22022
+ return object != null && hasPath(object, path3, baseHasIn);
22023
22023
  }
22024
22024
  var invert = createInverter(function(result2, value, key) {
22025
22025
  if (value != null && typeof value.toString != "function") {
@@ -22072,10 +22072,10 @@ var require_lodash = __commonJS({
22072
22072
  return result2;
22073
22073
  }
22074
22074
  var isDeep = false;
22075
- paths = arrayMap(paths, function(path2) {
22076
- path2 = castPath(path2, object);
22077
- isDeep || (isDeep = path2.length > 1);
22078
- return path2;
22075
+ paths = arrayMap(paths, function(path3) {
22076
+ path3 = castPath(path3, object);
22077
+ isDeep || (isDeep = path3.length > 1);
22078
+ return path3;
22079
22079
  });
22080
22080
  copyObject(object, getAllKeysIn(object), result2);
22081
22081
  if (isDeep) {
@@ -22101,19 +22101,19 @@ var require_lodash = __commonJS({
22101
22101
  return [prop];
22102
22102
  });
22103
22103
  predicate = getIteratee(predicate);
22104
- return basePickBy(object, props, function(value, path2) {
22105
- return predicate(value, path2[0]);
22104
+ return basePickBy(object, props, function(value, path3) {
22105
+ return predicate(value, path3[0]);
22106
22106
  });
22107
22107
  }
22108
- function result(object, path2, defaultValue) {
22109
- path2 = castPath(path2, object);
22110
- var index = -1, length = path2.length;
22108
+ function result(object, path3, defaultValue) {
22109
+ path3 = castPath(path3, object);
22110
+ var index = -1, length = path3.length;
22111
22111
  if (!length) {
22112
22112
  length = 1;
22113
22113
  object = undefined2;
22114
22114
  }
22115
22115
  while (++index < length) {
22116
- var value = object == null ? undefined2 : object[toKey(path2[index])];
22116
+ var value = object == null ? undefined2 : object[toKey(path3[index])];
22117
22117
  if (value === undefined2) {
22118
22118
  index = length;
22119
22119
  value = defaultValue;
@@ -22122,12 +22122,12 @@ var require_lodash = __commonJS({
22122
22122
  }
22123
22123
  return object;
22124
22124
  }
22125
- function set(object, path2, value) {
22126
- return object == null ? object : baseSet(object, path2, value);
22125
+ function set(object, path3, value) {
22126
+ return object == null ? object : baseSet(object, path3, value);
22127
22127
  }
22128
- function setWith(object, path2, value, customizer) {
22128
+ function setWith(object, path3, value, customizer) {
22129
22129
  customizer = typeof customizer == "function" ? customizer : undefined2;
22130
- return object == null ? object : baseSet(object, path2, value, customizer);
22130
+ return object == null ? object : baseSet(object, path3, value, customizer);
22131
22131
  }
22132
22132
  var toPairs = createToPairs(keys);
22133
22133
  var toPairsIn = createToPairs(keysIn);
@@ -22149,15 +22149,15 @@ var require_lodash = __commonJS({
22149
22149
  });
22150
22150
  return accumulator;
22151
22151
  }
22152
- function unset(object, path2) {
22153
- return object == null ? true : baseUnset(object, path2);
22152
+ function unset(object, path3) {
22153
+ return object == null ? true : baseUnset(object, path3);
22154
22154
  }
22155
- function update(object, path2, updater) {
22156
- return object == null ? object : baseUpdate(object, path2, castFunction(updater));
22155
+ function update(object, path3, updater) {
22156
+ return object == null ? object : baseUpdate(object, path3, castFunction(updater));
22157
22157
  }
22158
- function updateWith(object, path2, updater, customizer) {
22158
+ function updateWith(object, path3, updater, customizer) {
22159
22159
  customizer = typeof customizer == "function" ? customizer : undefined2;
22160
- return object == null ? object : baseUpdate(object, path2, castFunction(updater), customizer);
22160
+ return object == null ? object : baseUpdate(object, path3, castFunction(updater), customizer);
22161
22161
  }
22162
22162
  function values(object) {
22163
22163
  return object == null ? [] : baseValues(object, keys(object));
@@ -22538,17 +22538,17 @@ var require_lodash = __commonJS({
22538
22538
  function matches(source) {
22539
22539
  return baseMatches(baseClone(source, CLONE_DEEP_FLAG));
22540
22540
  }
22541
- function matchesProperty(path2, srcValue) {
22542
- return baseMatchesProperty(path2, baseClone(srcValue, CLONE_DEEP_FLAG));
22541
+ function matchesProperty(path3, srcValue) {
22542
+ return baseMatchesProperty(path3, baseClone(srcValue, CLONE_DEEP_FLAG));
22543
22543
  }
22544
- var method = baseRest(function(path2, args) {
22544
+ var method = baseRest(function(path3, args) {
22545
22545
  return function(object) {
22546
- return baseInvoke(object, path2, args);
22546
+ return baseInvoke(object, path3, args);
22547
22547
  };
22548
22548
  });
22549
22549
  var methodOf = baseRest(function(object, args) {
22550
- return function(path2) {
22551
- return baseInvoke(object, path2, args);
22550
+ return function(path3) {
22551
+ return baseInvoke(object, path3, args);
22552
22552
  };
22553
22553
  });
22554
22554
  function mixin(object, source, options) {
@@ -22595,12 +22595,12 @@ var require_lodash = __commonJS({
22595
22595
  var over = createOver(arrayMap);
22596
22596
  var overEvery = createOver(arrayEvery);
22597
22597
  var overSome = createOver(arraySome);
22598
- function property(path2) {
22599
- return isKey(path2) ? baseProperty(toKey(path2)) : basePropertyDeep(path2);
22598
+ function property(path3) {
22599
+ return isKey(path3) ? baseProperty(toKey(path3)) : basePropertyDeep(path3);
22600
22600
  }
22601
22601
  function propertyOf(object) {
22602
- return function(path2) {
22603
- return object == null ? undefined2 : baseGet(object, path2);
22602
+ return function(path3) {
22603
+ return object == null ? undefined2 : baseGet(object, path3);
22604
22604
  };
22605
22605
  }
22606
22606
  var range = createRange();
@@ -23053,12 +23053,12 @@ var require_lodash = __commonJS({
23053
23053
  LazyWrapper.prototype.findLast = function(predicate) {
23054
23054
  return this.reverse().find(predicate);
23055
23055
  };
23056
- LazyWrapper.prototype.invokeMap = baseRest(function(path2, args) {
23057
- if (typeof path2 == "function") {
23056
+ LazyWrapper.prototype.invokeMap = baseRest(function(path3, args) {
23057
+ if (typeof path3 == "function") {
23058
23058
  return new LazyWrapper(this);
23059
23059
  }
23060
23060
  return this.map(function(value) {
23061
- return baseInvoke(value, path2, args);
23061
+ return baseInvoke(value, path3, args);
23062
23062
  });
23063
23063
  });
23064
23064
  LazyWrapper.prototype.reject = function(predicate) {
@@ -36199,7 +36199,7 @@ var require_watch = __commonJS({
36199
36199
  };
36200
36200
  Object.defineProperty(exports, "__esModule", { value: true });
36201
36201
  exports.watch = exports.WatchChangeType = void 0;
36202
- var path2 = __importStar(require("path"));
36202
+ var path3 = __importStar(require("path"));
36203
36203
  var compiled_1 = require_compiled();
36204
36204
  exports.WatchChangeType = {
36205
36205
  ADD: "add",
@@ -36213,17 +36213,17 @@ var require_watch = __commonJS({
36213
36213
  });
36214
36214
  watcher.on("ready", () => ready = true);
36215
36215
  watcher.on("change", (filePath) => __async(exports, null, function* () {
36216
- const changedFilePath = path2.resolve(filePath);
36216
+ const changedFilePath = path3.resolve(filePath);
36217
36217
  yield runTask({ changedFilePath, changeType: exports.WatchChangeType.CHANGE });
36218
36218
  }));
36219
36219
  watcher.on("add", (filePath) => __async(exports, null, function* () {
36220
- const changedFilePath = path2.resolve(filePath);
36220
+ const changedFilePath = path3.resolve(filePath);
36221
36221
  if (ready) {
36222
36222
  yield runTask({ changedFilePath, changeType: exports.WatchChangeType.ADD });
36223
36223
  }
36224
36224
  }));
36225
36225
  watcher.on("unlink", (filePath) => __async(exports, null, function* () {
36226
- const changedFilePath = path2.resolve(filePath);
36226
+ const changedFilePath = path3.resolve(filePath);
36227
36227
  yield runTask({ changedFilePath, changeType: exports.WatchChangeType.UNLINK });
36228
36228
  }));
36229
36229
  watcher.on("error", (err) => {
@@ -36302,11 +36302,11 @@ var require_getServerConfig = __commonJS({
36302
36302
  };
36303
36303
  Object.defineProperty(exports, "__esModule", { value: true });
36304
36304
  exports.getServerConfig = void 0;
36305
- var path2 = __importStar(require("path"));
36305
+ var path3 = __importStar(require("path"));
36306
36306
  var constants_1 = require_constants();
36307
36307
  var findExists_1 = require_findExists();
36308
36308
  var getServerConfig = (appDirectory, configFile) => __async(exports, null, function* () {
36309
- const configFilePath = (0, findExists_1.findExists)(constants_1.CONFIG_FILE_EXTENSIONS.map((extension) => path2.resolve(appDirectory, `${configFile}${extension}`)));
36309
+ const configFilePath = (0, findExists_1.findExists)(constants_1.CONFIG_FILE_EXTENSIONS.map((extension) => path3.resolve(appDirectory, `${configFile}${extension}`)));
36310
36310
  return configFilePath;
36311
36311
  });
36312
36312
  exports.getServerConfig = getServerConfig;
@@ -36476,10 +36476,10 @@ var require_analyzeProject = __commonJS({
36476
36476
  };
36477
36477
  Object.defineProperty(exports, "__esModule", { value: true });
36478
36478
  exports.isApiOnly = void 0;
36479
- var path2 = __importStar(require("path"));
36479
+ var path3 = __importStar(require("path"));
36480
36480
  var compiled_1 = require_compiled();
36481
36481
  var isApiOnly = (appDirectory, entryDir) => __async(exports, null, function* () {
36482
- const srcDir = path2.join(appDirectory, entryDir !== null && entryDir !== void 0 ? entryDir : "src");
36482
+ const srcDir = path3.join(appDirectory, entryDir !== null && entryDir !== void 0 ? entryDir : "src");
36483
36483
  const existSrc = yield compiled_1.fs.pathExists(srcDir);
36484
36484
  const options = (0, compiled_1.minimist)(process.argv.slice(2));
36485
36485
  return !existSrc || Boolean(options["api-only"]);
@@ -44651,9 +44651,9 @@ var require_src2 = __commonJS({
44651
44651
  }
44652
44652
  });
44653
44653
 
44654
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/env.js
44654
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/env.js
44655
44655
  var require_env = __commonJS({
44656
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/env.js"(exports) {
44656
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/env.js"(exports) {
44657
44657
  "use strict";
44658
44658
  Object.defineProperty(exports, "__esModule", {
44659
44659
  value: true
@@ -44715,9 +44715,9 @@ var require_env = __commonJS({
44715
44715
  }
44716
44716
  });
44717
44717
 
44718
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/install.js
44718
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/install.js
44719
44719
  var require_install = __commonJS({
44720
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/install.js"(exports) {
44720
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/install.js"(exports) {
44721
44721
  "use strict";
44722
44722
  Object.defineProperty(exports, "__esModule", {
44723
44723
  value: true
@@ -44869,9 +44869,9 @@ var require_install = __commonJS({
44869
44869
  }
44870
44870
  });
44871
44871
 
44872
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/index.js
44872
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/index.js
44873
44873
  var require_utils = __commonJS({
44874
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/index.js"(exports) {
44874
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/utils/index.js"(exports) {
44875
44875
  "use strict";
44876
44876
  Object.defineProperty(exports, "__esModule", {
44877
44877
  value: true
@@ -44935,9 +44935,9 @@ var require_utils = __commonJS({
44935
44935
  }
44936
44936
  });
44937
44937
 
44938
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js
44938
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js
44939
44939
  var require_node = __commonJS({
44940
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.4/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js"(exports) {
44940
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.0.5/node_modules/@modern-js/codesmith-api-npm/dist/js/node/index.js"(exports) {
44941
44941
  "use strict";
44942
44942
  Object.defineProperty(exports, "__esModule", {
44943
44943
  value: true
@@ -45012,9 +45012,9 @@ var require_node = __commonJS({
45012
45012
  }
45013
45013
  });
45014
45014
 
45015
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-git/dist/js/node/utils/index.js
45015
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/utils/index.js
45016
45016
  var require_utils2 = __commonJS({
45017
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-git/dist/js/node/utils/index.js"(exports) {
45017
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/utils/index.js"(exports) {
45018
45018
  "use strict";
45019
45019
  Object.defineProperty(exports, "__esModule", {
45020
45020
  value: true
@@ -45089,9 +45089,9 @@ var require_utils2 = __commonJS({
45089
45089
  }
45090
45090
  });
45091
45091
 
45092
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-git/dist/js/node/index.js
45092
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/index.js
45093
45093
  var require_node2 = __commonJS({
45094
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-git/dist/js/node/index.js"(exports) {
45094
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-git/dist/js/node/index.js"(exports) {
45095
45095
  "use strict";
45096
45096
  Object.defineProperty(exports, "__esModule", {
45097
45097
  value: true
@@ -45170,9 +45170,9 @@ var require_node2 = __commonJS({
45170
45170
  }
45171
45171
  });
45172
45172
 
45173
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js
45173
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js
45174
45174
  var require_constants2 = __commonJS({
45175
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js"(exports) {
45175
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/constants.js"(exports) {
45176
45176
  "use strict";
45177
45177
  Object.defineProperty(exports, "__esModule", {
45178
45178
  value: true
@@ -45193,9 +45193,9 @@ var require_constants2 = __commonJS({
45193
45193
  }
45194
45194
  });
45195
45195
 
45196
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js
45196
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js
45197
45197
  var require_logger2 = __commonJS({
45198
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js"(exports) {
45198
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/logger/index.js"(exports) {
45199
45199
  "use strict";
45200
45200
  Object.defineProperty(exports, "__esModule", {
45201
45201
  value: true
@@ -45263,9 +45263,9 @@ var require_logger2 = __commonJS({
45263
45263
  }
45264
45264
  });
45265
45265
 
45266
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js
45266
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js
45267
45267
  var require_constants3 = __commonJS({
45268
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js"(exports) {
45268
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/constants.js"(exports) {
45269
45269
  "use strict";
45270
45270
  Object.defineProperty(exports, "__esModule", {
45271
45271
  value: true
@@ -45276,9 +45276,9 @@ var require_constants3 = __commonJS({
45276
45276
  }
45277
45277
  });
45278
45278
 
45279
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js
45279
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js
45280
45280
  var require_FsResource = __commonJS({
45281
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js"(exports) {
45281
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsResource.js"(exports) {
45282
45282
  "use strict";
45283
45283
  Object.defineProperty(exports, "__esModule", {
45284
45284
  value: true
@@ -45329,9 +45329,9 @@ var require_FsResource = __commonJS({
45329
45329
  }
45330
45330
  });
45331
45331
 
45332
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js
45332
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js
45333
45333
  var require_FsMaterial = __commonJS({
45334
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js"(exports) {
45334
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/FsMaterial.js"(exports) {
45335
45335
  "use strict";
45336
45336
  Object.defineProperty(exports, "__esModule", {
45337
45337
  value: true
@@ -45383,23 +45383,23 @@ var require_FsMaterial = __commonJS({
45383
45383
  }
45384
45384
  });
45385
45385
 
45386
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js
45386
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js
45387
45387
  var require_nodeRequire = __commonJS({
45388
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js"(exports) {
45388
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/nodeRequire.js"(exports) {
45389
45389
  "use strict";
45390
45390
  Object.defineProperty(exports, "__esModule", {
45391
45391
  value: true
45392
45392
  });
45393
45393
  exports.nodeRequire = void 0;
45394
- var nodeRequire = (path2) => {
45394
+ var nodeRequire = (path3) => {
45395
45395
  try {
45396
- const module3 = __non_webpack_require__(path2);
45396
+ const module3 = __non_webpack_require__(path3);
45397
45397
  if (module3 !== null && module3 !== void 0 && module3.default) {
45398
45398
  return module3.default;
45399
45399
  }
45400
45400
  return module3;
45401
45401
  } catch (error) {
45402
- const module3 = require(path2);
45402
+ const module3 = require(path3);
45403
45403
  if (module3 !== null && module3 !== void 0 && module3.default) {
45404
45404
  return module3.default;
45405
45405
  }
@@ -45410,19 +45410,19 @@ var require_nodeRequire = __commonJS({
45410
45410
  }
45411
45411
  });
45412
45412
 
45413
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js
45413
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js
45414
45414
  var require_fsExists = __commonJS({
45415
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js"(exports) {
45415
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/fsExists.js"(exports) {
45416
45416
  "use strict";
45417
45417
  Object.defineProperty(exports, "__esModule", {
45418
45418
  value: true
45419
45419
  });
45420
45420
  exports.fsExists = fsExists;
45421
45421
  var _utils = require_dist();
45422
- function fsExists(path2) {
45422
+ function fsExists(path3) {
45423
45423
  return __async(this, null, function* () {
45424
45424
  try {
45425
- yield _utils.fs.access(path2);
45425
+ yield _utils.fs.access(path3);
45426
45426
  return true;
45427
45427
  } catch (e) {
45428
45428
  return false;
@@ -45432,9 +45432,9 @@ var require_fsExists = __commonJS({
45432
45432
  }
45433
45433
  });
45434
45434
 
45435
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js
45435
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js
45436
45436
  var require_getGeneratorDir = __commonJS({
45437
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js"(exports) {
45437
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getGeneratorDir.js"(exports) {
45438
45438
  "use strict";
45439
45439
  Object.defineProperty(exports, "__esModule", {
45440
45440
  value: true
@@ -45468,9 +45468,9 @@ var require_getGeneratorDir = __commonJS({
45468
45468
  }
45469
45469
  });
45470
45470
 
45471
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js
45471
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js
45472
45472
  var require_generator = __commonJS({
45473
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js"(exports) {
45473
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/generator/index.js"(exports) {
45474
45474
  "use strict";
45475
45475
  Object.defineProperty(exports, "__esModule", {
45476
45476
  value: true
@@ -45718,9 +45718,9 @@ check path: ${_utils.chalk.blue.underline(generator)} exist a package.json file
45718
45718
  }
45719
45719
  });
45720
45720
 
45721
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js
45721
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js
45722
45722
  var require_packageManager = __commonJS({
45723
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js"(exports) {
45723
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/packageManager.js"(exports) {
45724
45724
  "use strict";
45725
45725
  Object.defineProperty(exports, "__esModule", {
45726
45726
  value: true
@@ -45798,9 +45798,9 @@ var require_packageManager = __commonJS({
45798
45798
  }
45799
45799
  });
45800
45800
 
45801
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js
45801
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js
45802
45802
  var require_timeoutPromise = __commonJS({
45803
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js"(exports) {
45803
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/timeoutPromise.js"(exports) {
45804
45804
  "use strict";
45805
45805
  Object.defineProperty(exports, "__esModule", {
45806
45806
  value: true
@@ -46175,14 +46175,14 @@ var require_cookies = __commonJS({
46175
46175
  // Standard browser envs support document.cookie
46176
46176
  function standardBrowserEnv() {
46177
46177
  return {
46178
- write: function write(name, value, expires, path2, domain, secure) {
46178
+ write: function write(name, value, expires, path3, domain, secure) {
46179
46179
  var cookie = [];
46180
46180
  cookie.push(name + "=" + encodeURIComponent(value));
46181
46181
  if (utils.isNumber(expires)) {
46182
46182
  cookie.push("expires=" + new Date(expires).toGMTString());
46183
46183
  }
46184
- if (utils.isString(path2)) {
46185
- cookie.push("path=" + path2);
46184
+ if (utils.isString(path3)) {
46185
+ cookie.push("path=" + path3);
46186
46186
  }
46187
46187
  if (utils.isString(domain)) {
46188
46188
  cookie.push("domain=" + domain);
@@ -49582,10 +49582,10 @@ var require_header = __commonJS({
49582
49582
  throw new Error("need 512 bytes for header");
49583
49583
  const prefixSize = this.ctime || this.atime ? 130 : 155;
49584
49584
  const split = splitPrefix(this.path || "", prefixSize);
49585
- const path2 = split[0];
49585
+ const path3 = split[0];
49586
49586
  const prefix = split[1];
49587
49587
  this.needPax = split[2];
49588
- this.needPax = encString(buf, off, 100, path2) || this.needPax;
49588
+ this.needPax = encString(buf, off, 100, path3) || this.needPax;
49589
49589
  this.needPax = encNumber(buf, off + 100, 8, this.mode) || this.needPax;
49590
49590
  this.needPax = encNumber(buf, off + 108, 8, this.uid) || this.needPax;
49591
49591
  this.needPax = encNumber(buf, off + 116, 8, this.gid) || this.needPax;
@@ -49690,7 +49690,7 @@ var require_pax = __commonJS({
49690
49690
  "../../../../node_modules/.pnpm/tar@6.1.11/node_modules/tar/lib/pax.js"(exports, module2) {
49691
49691
  "use strict";
49692
49692
  var Header = require_header();
49693
- var path2 = require("path");
49693
+ var path3 = require("path");
49694
49694
  var Pax = class {
49695
49695
  constructor(obj, global2) {
49696
49696
  this.atime = obj.atime || null;
@@ -49723,7 +49723,7 @@ var require_pax = __commonJS({
49723
49723
  // XXX split the path
49724
49724
  // then the path should be PaxHeader + basename, but less than 99,
49725
49725
  // prepend with the dirname
49726
- path: ("PaxHeader/" + path2.basename(this.path)).slice(0, 99),
49726
+ path: ("PaxHeader/" + path3.basename(this.path)).slice(0, 99),
49727
49727
  mode: this.mode || 420,
49728
49728
  uid: this.uid || null,
49729
49729
  gid: this.gid || null,
@@ -49846,16 +49846,16 @@ var require_winchars = __commonJS({
49846
49846
  var require_strip_absolute_path = __commonJS({
49847
49847
  "../../../../node_modules/.pnpm/tar@6.1.11/node_modules/tar/lib/strip-absolute-path.js"(exports, module2) {
49848
49848
  var { isAbsolute, parse: parse2 } = require("path").win32;
49849
- module2.exports = (path2) => {
49849
+ module2.exports = (path3) => {
49850
49850
  let r = "";
49851
- let parsed = parse2(path2);
49852
- while (isAbsolute(path2) || parsed.root) {
49853
- const root = path2.charAt(0) === "/" && path2.slice(0, 4) !== "//?/" ? "/" : parsed.root;
49854
- path2 = path2.substr(root.length);
49851
+ let parsed = parse2(path3);
49852
+ while (isAbsolute(path3) || parsed.root) {
49853
+ const root = path3.charAt(0) === "/" && path3.slice(0, 4) !== "//?/" ? "/" : parsed.root;
49854
+ path3 = path3.substr(root.length);
49855
49855
  r += root;
49856
- parsed = parse2(path2);
49856
+ parsed = parse2(path3);
49857
49857
  }
49858
- return [r, path2];
49858
+ return [r, path3];
49859
49859
  };
49860
49860
  }
49861
49861
  });
@@ -49889,14 +49889,14 @@ var require_write_entry = __commonJS({
49889
49889
  var Pax = require_pax();
49890
49890
  var Header = require_header();
49891
49891
  var fs3 = require("fs");
49892
- var path2 = require("path");
49892
+ var path3 = require("path");
49893
49893
  var normPath = require_normalize_windows_path();
49894
49894
  var stripSlash = require_strip_trailing_slashes();
49895
- var prefixPath = (path3, prefix) => {
49895
+ var prefixPath = (path4, prefix) => {
49896
49896
  if (!prefix)
49897
- return normPath(path3);
49898
- path3 = normPath(path3).replace(/^\.(\/|$)/, "");
49899
- return stripSlash(prefix) + "/" + path3;
49897
+ return normPath(path4);
49898
+ path4 = normPath(path4).replace(/^\.(\/|$)/, "");
49899
+ return stripSlash(prefix) + "/" + path4;
49900
49900
  };
49901
49901
  var maxReadSize = 16 * 1024 * 1024;
49902
49902
  var PROCESS = Symbol("process");
@@ -49965,7 +49965,7 @@ var require_write_entry = __commonJS({
49965
49965
  this.path = winchars.decode(this.path.replace(/\\/g, "/"));
49966
49966
  p = p.replace(/\\/g, "/");
49967
49967
  }
49968
- this.absolute = normPath(opt.absolute || path2.resolve(this.cwd, p));
49968
+ this.absolute = normPath(opt.absolute || path3.resolve(this.cwd, p));
49969
49969
  if (this.path === "")
49970
49970
  this.path = "./";
49971
49971
  if (pathWarn) {
@@ -50015,8 +50015,8 @@ var require_write_entry = __commonJS({
50015
50015
  [MODE](mode) {
50016
50016
  return modeFix(mode, this.type === "Directory", this.portable);
50017
50017
  }
50018
- [PREFIX](path3) {
50019
- return prefixPath(path3, this.prefix);
50018
+ [PREFIX](path4) {
50019
+ return prefixPath(path4, this.prefix);
50020
50020
  }
50021
50021
  [HEADER]() {
50022
50022
  if (this.type === "Directory" && this.portable)
@@ -50076,7 +50076,7 @@ var require_write_entry = __commonJS({
50076
50076
  }
50077
50077
  [HARDLINK](linkpath) {
50078
50078
  this.type = "Link";
50079
- this.linkpath = normPath(path2.relative(this.cwd, linkpath));
50079
+ this.linkpath = normPath(path3.relative(this.cwd, linkpath));
50080
50080
  this.stat.size = 0;
50081
50081
  this[HEADER]();
50082
50082
  this.end();
@@ -50299,8 +50299,8 @@ var require_write_entry = __commonJS({
50299
50299
  super.write(this.header.block);
50300
50300
  readEntry.pipe(this);
50301
50301
  }
50302
- [PREFIX](path3) {
50303
- return prefixPath(path3, this.prefix);
50302
+ [PREFIX](path4) {
50303
+ return prefixPath(path4, this.prefix);
50304
50304
  }
50305
50305
  [MODE](mode) {
50306
50306
  return modeFix(mode, this.type === "Directory", this.portable);
@@ -50713,8 +50713,8 @@ var require_pack = __commonJS({
50713
50713
  "../../../../node_modules/.pnpm/tar@6.1.11/node_modules/tar/lib/pack.js"(exports, module2) {
50714
50714
  "use strict";
50715
50715
  var PackJob = class {
50716
- constructor(path3, absolute) {
50717
- this.path = path3 || "./";
50716
+ constructor(path4, absolute) {
50717
+ this.path = path4 || "./";
50718
50718
  this.absolute = absolute;
50719
50719
  this.entry = null;
50720
50720
  this.stat = null;
@@ -50753,7 +50753,7 @@ var require_pack = __commonJS({
50753
50753
  var WRITE = Symbol("write");
50754
50754
  var ONDRAIN = Symbol("ondrain");
50755
50755
  var fs3 = require("fs");
50756
- var path2 = require("path");
50756
+ var path3 = require("path");
50757
50757
  var warner = require_warn_mixin();
50758
50758
  var normPath = require_normalize_windows_path();
50759
50759
  var Pack = warner(class Pack extends MiniPass {
@@ -50802,28 +50802,28 @@ var require_pack = __commonJS({
50802
50802
  [WRITE](chunk) {
50803
50803
  return super.write(chunk);
50804
50804
  }
50805
- add(path3) {
50806
- this.write(path3);
50805
+ add(path4) {
50806
+ this.write(path4);
50807
50807
  return this;
50808
50808
  }
50809
- end(path3) {
50810
- if (path3)
50811
- this.write(path3);
50809
+ end(path4) {
50810
+ if (path4)
50811
+ this.write(path4);
50812
50812
  this[ENDED] = true;
50813
50813
  this[PROCESS]();
50814
50814
  return this;
50815
50815
  }
50816
- write(path3) {
50816
+ write(path4) {
50817
50817
  if (this[ENDED])
50818
50818
  throw new Error("write after end");
50819
- if (path3 instanceof ReadEntry)
50820
- this[ADDTARENTRY](path3);
50819
+ if (path4 instanceof ReadEntry)
50820
+ this[ADDTARENTRY](path4);
50821
50821
  else
50822
- this[ADDFSENTRY](path3);
50822
+ this[ADDFSENTRY](path4);
50823
50823
  return this.flowing;
50824
50824
  }
50825
50825
  [ADDTARENTRY](p) {
50826
- const absolute = normPath(path2.resolve(this.cwd, p.path));
50826
+ const absolute = normPath(path3.resolve(this.cwd, p.path));
50827
50827
  if (!this.filter(p.path, p))
50828
50828
  p.resume();
50829
50829
  else {
@@ -50836,7 +50836,7 @@ var require_pack = __commonJS({
50836
50836
  this[PROCESS]();
50837
50837
  }
50838
50838
  [ADDFSENTRY](p) {
50839
- const absolute = normPath(path2.resolve(this.cwd, p));
50839
+ const absolute = normPath(path3.resolve(this.cwd, p));
50840
50840
  this[QUEUE].push(new PackJob(p, absolute));
50841
50841
  this[PROCESS]();
50842
50842
  }
@@ -51090,16 +51090,16 @@ var require_fs_minipass = __commonJS({
51090
51090
  var _defaultFlag = Symbol("_defaultFlag");
51091
51091
  var _errored = Symbol("_errored");
51092
51092
  var ReadStream = class extends MiniPass {
51093
- constructor(path2, opt) {
51093
+ constructor(path3, opt) {
51094
51094
  opt = opt || {};
51095
51095
  super(opt);
51096
51096
  this.readable = true;
51097
51097
  this.writable = false;
51098
- if (typeof path2 !== "string")
51098
+ if (typeof path3 !== "string")
51099
51099
  throw new TypeError("path must be a string");
51100
51100
  this[_errored] = false;
51101
51101
  this[_fd] = typeof opt.fd === "number" ? opt.fd : null;
51102
- this[_path] = path2;
51102
+ this[_path] = path3;
51103
51103
  this[_readSize] = opt.readSize || 16 * 1024 * 1024;
51104
51104
  this[_reading] = false;
51105
51105
  this[_size] = typeof opt.size === "number" ? opt.size : Infinity;
@@ -51236,7 +51236,7 @@ var require_fs_minipass = __commonJS({
51236
51236
  }
51237
51237
  };
51238
51238
  var WriteStream = class extends EE {
51239
- constructor(path2, opt) {
51239
+ constructor(path3, opt) {
51240
51240
  opt = opt || {};
51241
51241
  super(opt);
51242
51242
  this.readable = false;
@@ -51246,7 +51246,7 @@ var require_fs_minipass = __commonJS({
51246
51246
  this[_ended] = false;
51247
51247
  this[_needDrain] = false;
51248
51248
  this[_queue] = [];
51249
- this[_path] = path2;
51249
+ this[_path] = path3;
51250
51250
  this[_fd] = typeof opt.fd === "number" ? opt.fd : null;
51251
51251
  this[_mode] = opt.mode === void 0 ? 438 : opt.mode;
51252
51252
  this[_pos] = typeof opt.start === "number" ? opt.start : null;
@@ -51802,7 +51802,7 @@ var require_list = __commonJS({
51802
51802
  var Parser2 = require_parse2();
51803
51803
  var fs3 = require("fs");
51804
51804
  var fsm = require_fs_minipass();
51805
- var path2 = require("path");
51805
+ var path3 = require("path");
51806
51806
  var stripSlash = require_strip_trailing_slashes();
51807
51807
  module2.exports = (opt_, files, cb) => {
51808
51808
  if (typeof opt_ === "function")
@@ -51837,8 +51837,8 @@ var require_list = __commonJS({
51837
51837
  const map2 = new Map(files.map((f) => [stripSlash(f), true]));
51838
51838
  const filter = opt.filter;
51839
51839
  const mapHas = (file, r) => {
51840
- const root = r || path2.parse(file).root || ".";
51841
- const ret = file === root ? false : map2.has(file) ? map2.get(file) : mapHas(path2.dirname(file), root);
51840
+ const root = r || path3.parse(file).root || ".";
51841
+ const ret = file === root ? false : map2.has(file) ? map2.get(file) : mapHas(path3.dirname(file), root);
51842
51842
  map2.set(file, ret);
51843
51843
  return ret;
51844
51844
  };
@@ -51909,7 +51909,7 @@ var require_create = __commonJS({
51909
51909
  var Pack = require_pack();
51910
51910
  var fsm = require_fs_minipass();
51911
51911
  var t = require_list();
51912
- var path2 = require("path");
51912
+ var path3 = require("path");
51913
51913
  module2.exports = (opt_, files, cb) => {
51914
51914
  if (typeof files === "function")
51915
51915
  cb = files;
@@ -51951,7 +51951,7 @@ var require_create = __commonJS({
51951
51951
  files.forEach((file) => {
51952
51952
  if (file.charAt(0) === "@") {
51953
51953
  t({
51954
- file: path2.resolve(p.cwd, file.substr(1)),
51954
+ file: path3.resolve(p.cwd, file.substr(1)),
51955
51955
  sync: true,
51956
51956
  noResume: true,
51957
51957
  onentry: (entry) => p.add(entry)
@@ -51966,7 +51966,7 @@ var require_create = __commonJS({
51966
51966
  const file = files.shift();
51967
51967
  if (file.charAt(0) === "@") {
51968
51968
  return t({
51969
- file: path2.resolve(p.cwd, file.substr(1)),
51969
+ file: path3.resolve(p.cwd, file.substr(1)),
51970
51970
  noResume: true,
51971
51971
  onentry: (entry) => p.add(entry)
51972
51972
  }).then((_) => addFilesAsync(p, files));
@@ -51997,7 +51997,7 @@ var require_replace = __commonJS({
51997
51997
  var fs3 = require("fs");
51998
51998
  var fsm = require_fs_minipass();
51999
51999
  var t = require_list();
52000
- var path2 = require("path");
52000
+ var path3 = require("path");
52001
52001
  var Header = require_header();
52002
52002
  module2.exports = (opt_, files, cb) => {
52003
52003
  const opt = hlo(opt_);
@@ -52154,7 +52154,7 @@ var require_replace = __commonJS({
52154
52154
  files.forEach((file) => {
52155
52155
  if (file.charAt(0) === "@") {
52156
52156
  t({
52157
- file: path2.resolve(p.cwd, file.substr(1)),
52157
+ file: path3.resolve(p.cwd, file.substr(1)),
52158
52158
  sync: true,
52159
52159
  noResume: true,
52160
52160
  onentry: (entry) => p.add(entry)
@@ -52169,7 +52169,7 @@ var require_replace = __commonJS({
52169
52169
  const file = files.shift();
52170
52170
  if (file.charAt(0) === "@") {
52171
52171
  return t({
52172
- file: path2.resolve(p.cwd, file.substr(1)),
52172
+ file: path3.resolve(p.cwd, file.substr(1)),
52173
52173
  noResume: true,
52174
52174
  onentry: (entry) => p.add(entry)
52175
52175
  }).then((_) => addFilesAsync(p, files));
@@ -52203,7 +52203,7 @@ var require_update = __commonJS({
52203
52203
  const filter = opt.filter;
52204
52204
  if (!opt.mtimeCache)
52205
52205
  opt.mtimeCache = /* @__PURE__ */ new Map();
52206
- opt.filter = filter ? (path2, stat) => filter(path2, stat) && !(opt.mtimeCache.get(path2) > stat.mtime) : (path2, stat) => !(opt.mtimeCache.get(path2) > stat.mtime);
52206
+ opt.filter = filter ? (path3, stat) => filter(path3, stat) && !(opt.mtimeCache.get(path3) > stat.mtime) : (path3, stat) => !(opt.mtimeCache.get(path3) > stat.mtime);
52207
52207
  };
52208
52208
  }
52209
52209
  });
@@ -52241,28 +52241,28 @@ var require_path_arg = __commonJS({
52241
52241
  "../../../../node_modules/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/path-arg.js"(exports, module2) {
52242
52242
  var platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform;
52243
52243
  var { resolve, parse: parse2 } = require("path");
52244
- var pathArg = (path2) => {
52245
- if (/\0/.test(path2)) {
52244
+ var pathArg = (path3) => {
52245
+ if (/\0/.test(path3)) {
52246
52246
  throw Object.assign(
52247
52247
  new TypeError("path must be a string without null bytes"),
52248
52248
  {
52249
- path: path2,
52249
+ path: path3,
52250
52250
  code: "ERR_INVALID_ARG_VALUE"
52251
52251
  }
52252
52252
  );
52253
52253
  }
52254
- path2 = resolve(path2);
52254
+ path3 = resolve(path3);
52255
52255
  if (platform === "win32") {
52256
52256
  const badWinChars = /[*|"<>?:]/;
52257
- const { root } = parse2(path2);
52258
- if (badWinChars.test(path2.substr(root.length))) {
52257
+ const { root } = parse2(path3);
52258
+ if (badWinChars.test(path3.substr(root.length))) {
52259
52259
  throw Object.assign(new Error("Illegal characters in path."), {
52260
- path: path2,
52260
+ path: path3,
52261
52261
  code: "EINVAL"
52262
52262
  });
52263
52263
  }
52264
52264
  }
52265
- return path2;
52265
+ return path3;
52266
52266
  };
52267
52267
  module2.exports = pathArg;
52268
52268
  }
@@ -52272,20 +52272,20 @@ var require_path_arg = __commonJS({
52272
52272
  var require_find_made = __commonJS({
52273
52273
  "../../../../node_modules/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/find-made.js"(exports, module2) {
52274
52274
  var { dirname } = require("path");
52275
- var findMade = (opts, parent, path2 = void 0) => {
52276
- if (path2 === parent)
52275
+ var findMade = (opts, parent, path3 = void 0) => {
52276
+ if (path3 === parent)
52277
52277
  return Promise.resolve();
52278
52278
  return opts.statAsync(parent).then(
52279
- (st) => st.isDirectory() ? path2 : void 0,
52279
+ (st) => st.isDirectory() ? path3 : void 0,
52280
52280
  // will fail later
52281
52281
  (er) => er.code === "ENOENT" ? findMade(opts, dirname(parent), parent) : void 0
52282
52282
  );
52283
52283
  };
52284
- var findMadeSync = (opts, parent, path2 = void 0) => {
52285
- if (path2 === parent)
52284
+ var findMadeSync = (opts, parent, path3 = void 0) => {
52285
+ if (path3 === parent)
52286
52286
  return void 0;
52287
52287
  try {
52288
- return opts.statSync(parent).isDirectory() ? path2 : void 0;
52288
+ return opts.statSync(parent).isDirectory() ? path3 : void 0;
52289
52289
  } catch (er) {
52290
52290
  return er.code === "ENOENT" ? findMadeSync(opts, dirname(parent), parent) : void 0;
52291
52291
  }
@@ -52298,21 +52298,21 @@ var require_find_made = __commonJS({
52298
52298
  var require_mkdirp_manual = __commonJS({
52299
52299
  "../../../../node_modules/.pnpm/mkdirp@1.0.4/node_modules/mkdirp/lib/mkdirp-manual.js"(exports, module2) {
52300
52300
  var { dirname } = require("path");
52301
- var mkdirpManual = (path2, opts, made) => {
52301
+ var mkdirpManual = (path3, opts, made) => {
52302
52302
  opts.recursive = false;
52303
- const parent = dirname(path2);
52304
- if (parent === path2) {
52305
- return opts.mkdirAsync(path2, opts).catch((er) => {
52303
+ const parent = dirname(path3);
52304
+ if (parent === path3) {
52305
+ return opts.mkdirAsync(path3, opts).catch((er) => {
52306
52306
  if (er.code !== "EISDIR")
52307
52307
  throw er;
52308
52308
  });
52309
52309
  }
52310
- return opts.mkdirAsync(path2, opts).then(() => made || path2, (er) => {
52310
+ return opts.mkdirAsync(path3, opts).then(() => made || path3, (er) => {
52311
52311
  if (er.code === "ENOENT")
52312
- return mkdirpManual(parent, opts).then((made2) => mkdirpManual(path2, opts, made2));
52312
+ return mkdirpManual(parent, opts).then((made2) => mkdirpManual(path3, opts, made2));
52313
52313
  if (er.code !== "EEXIST" && er.code !== "EROFS")
52314
52314
  throw er;
52315
- return opts.statAsync(path2).then((st) => {
52315
+ return opts.statAsync(path3).then((st) => {
52316
52316
  if (st.isDirectory())
52317
52317
  return made;
52318
52318
  else
@@ -52322,12 +52322,12 @@ var require_mkdirp_manual = __commonJS({
52322
52322
  });
52323
52323
  });
52324
52324
  };
52325
- var mkdirpManualSync = (path2, opts, made) => {
52326
- const parent = dirname(path2);
52325
+ var mkdirpManualSync = (path3, opts, made) => {
52326
+ const parent = dirname(path3);
52327
52327
  opts.recursive = false;
52328
- if (parent === path2) {
52328
+ if (parent === path3) {
52329
52329
  try {
52330
- return opts.mkdirSync(path2, opts);
52330
+ return opts.mkdirSync(path3, opts);
52331
52331
  } catch (er) {
52332
52332
  if (er.code !== "EISDIR")
52333
52333
  throw er;
@@ -52336,15 +52336,15 @@ var require_mkdirp_manual = __commonJS({
52336
52336
  }
52337
52337
  }
52338
52338
  try {
52339
- opts.mkdirSync(path2, opts);
52340
- return made || path2;
52339
+ opts.mkdirSync(path3, opts);
52340
+ return made || path3;
52341
52341
  } catch (er) {
52342
52342
  if (er.code === "ENOENT")
52343
- return mkdirpManualSync(path2, opts, mkdirpManualSync(parent, opts, made));
52343
+ return mkdirpManualSync(path3, opts, mkdirpManualSync(parent, opts, made));
52344
52344
  if (er.code !== "EEXIST" && er.code !== "EROFS")
52345
52345
  throw er;
52346
52346
  try {
52347
- if (!opts.statSync(path2).isDirectory())
52347
+ if (!opts.statSync(path3).isDirectory())
52348
52348
  throw er;
52349
52349
  } catch (_) {
52350
52350
  throw er;
@@ -52361,30 +52361,30 @@ var require_mkdirp_native = __commonJS({
52361
52361
  var { dirname } = require("path");
52362
52362
  var { findMade, findMadeSync } = require_find_made();
52363
52363
  var { mkdirpManual, mkdirpManualSync } = require_mkdirp_manual();
52364
- var mkdirpNative = (path2, opts) => {
52364
+ var mkdirpNative = (path3, opts) => {
52365
52365
  opts.recursive = true;
52366
- const parent = dirname(path2);
52367
- if (parent === path2)
52368
- return opts.mkdirAsync(path2, opts);
52369
- return findMade(opts, path2).then((made) => opts.mkdirAsync(path2, opts).then(() => made).catch((er) => {
52366
+ const parent = dirname(path3);
52367
+ if (parent === path3)
52368
+ return opts.mkdirAsync(path3, opts);
52369
+ return findMade(opts, path3).then((made) => opts.mkdirAsync(path3, opts).then(() => made).catch((er) => {
52370
52370
  if (er.code === "ENOENT")
52371
- return mkdirpManual(path2, opts);
52371
+ return mkdirpManual(path3, opts);
52372
52372
  else
52373
52373
  throw er;
52374
52374
  }));
52375
52375
  };
52376
- var mkdirpNativeSync = (path2, opts) => {
52376
+ var mkdirpNativeSync = (path3, opts) => {
52377
52377
  opts.recursive = true;
52378
- const parent = dirname(path2);
52379
- if (parent === path2)
52380
- return opts.mkdirSync(path2, opts);
52381
- const made = findMadeSync(opts, path2);
52378
+ const parent = dirname(path3);
52379
+ if (parent === path3)
52380
+ return opts.mkdirSync(path3, opts);
52381
+ const made = findMadeSync(opts, path3);
52382
52382
  try {
52383
- opts.mkdirSync(path2, opts);
52383
+ opts.mkdirSync(path3, opts);
52384
52384
  return made;
52385
52385
  } catch (er) {
52386
52386
  if (er.code === "ENOENT")
52387
- return mkdirpManualSync(path2, opts);
52387
+ return mkdirpManualSync(path3, opts);
52388
52388
  else
52389
52389
  throw er;
52390
52390
  }
@@ -52414,21 +52414,21 @@ var require_mkdirp = __commonJS({
52414
52414
  var { mkdirpNative, mkdirpNativeSync } = require_mkdirp_native();
52415
52415
  var { mkdirpManual, mkdirpManualSync } = require_mkdirp_manual();
52416
52416
  var { useNative, useNativeSync } = require_use_native();
52417
- var mkdirp = (path2, opts) => {
52418
- path2 = pathArg(path2);
52417
+ var mkdirp = (path3, opts) => {
52418
+ path3 = pathArg(path3);
52419
52419
  opts = optsArg(opts);
52420
- return useNative(opts) ? mkdirpNative(path2, opts) : mkdirpManual(path2, opts);
52420
+ return useNative(opts) ? mkdirpNative(path3, opts) : mkdirpManual(path3, opts);
52421
52421
  };
52422
- var mkdirpSync = (path2, opts) => {
52423
- path2 = pathArg(path2);
52422
+ var mkdirpSync = (path3, opts) => {
52423
+ path3 = pathArg(path3);
52424
52424
  opts = optsArg(opts);
52425
- return useNativeSync(opts) ? mkdirpNativeSync(path2, opts) : mkdirpManualSync(path2, opts);
52425
+ return useNativeSync(opts) ? mkdirpNativeSync(path3, opts) : mkdirpManualSync(path3, opts);
52426
52426
  };
52427
52427
  mkdirp.sync = mkdirpSync;
52428
- mkdirp.native = (path2, opts) => mkdirpNative(pathArg(path2), optsArg(opts));
52429
- mkdirp.manual = (path2, opts) => mkdirpManual(pathArg(path2), optsArg(opts));
52430
- mkdirp.nativeSync = (path2, opts) => mkdirpNativeSync(pathArg(path2), optsArg(opts));
52431
- mkdirp.manualSync = (path2, opts) => mkdirpManualSync(pathArg(path2), optsArg(opts));
52428
+ mkdirp.native = (path3, opts) => mkdirpNative(pathArg(path3), optsArg(opts));
52429
+ mkdirp.manual = (path3, opts) => mkdirpManual(pathArg(path3), optsArg(opts));
52430
+ mkdirp.nativeSync = (path3, opts) => mkdirpNativeSync(pathArg(path3), optsArg(opts));
52431
+ mkdirp.manualSync = (path3, opts) => mkdirpManualSync(pathArg(path3), optsArg(opts));
52432
52432
  module2.exports = mkdirp;
52433
52433
  }
52434
52434
  });
@@ -52438,46 +52438,46 @@ var require_chownr = __commonJS({
52438
52438
  "../../../../node_modules/.pnpm/chownr@2.0.0/node_modules/chownr/chownr.js"(exports, module2) {
52439
52439
  "use strict";
52440
52440
  var fs3 = require("fs");
52441
- var path2 = require("path");
52441
+ var path3 = require("path");
52442
52442
  var LCHOWN = fs3.lchown ? "lchown" : "chown";
52443
52443
  var LCHOWNSYNC = fs3.lchownSync ? "lchownSync" : "chownSync";
52444
52444
  var needEISDIRHandled = fs3.lchown && !process.version.match(/v1[1-9]+\./) && !process.version.match(/v10\.[6-9]/);
52445
- var lchownSync = (path3, uid2, gid) => {
52445
+ var lchownSync = (path4, uid2, gid) => {
52446
52446
  try {
52447
- return fs3[LCHOWNSYNC](path3, uid2, gid);
52447
+ return fs3[LCHOWNSYNC](path4, uid2, gid);
52448
52448
  } catch (er) {
52449
52449
  if (er.code !== "ENOENT")
52450
52450
  throw er;
52451
52451
  }
52452
52452
  };
52453
- var chownSync = (path3, uid2, gid) => {
52453
+ var chownSync = (path4, uid2, gid) => {
52454
52454
  try {
52455
- return fs3.chownSync(path3, uid2, gid);
52455
+ return fs3.chownSync(path4, uid2, gid);
52456
52456
  } catch (er) {
52457
52457
  if (er.code !== "ENOENT")
52458
52458
  throw er;
52459
52459
  }
52460
52460
  };
52461
- var handleEISDIR = needEISDIRHandled ? (path3, uid2, gid, cb) => (er) => {
52461
+ var handleEISDIR = needEISDIRHandled ? (path4, uid2, gid, cb) => (er) => {
52462
52462
  if (!er || er.code !== "EISDIR")
52463
52463
  cb(er);
52464
52464
  else
52465
- fs3.chown(path3, uid2, gid, cb);
52465
+ fs3.chown(path4, uid2, gid, cb);
52466
52466
  } : (_, __, ___, cb) => cb;
52467
- var handleEISDirSync = needEISDIRHandled ? (path3, uid2, gid) => {
52467
+ var handleEISDirSync = needEISDIRHandled ? (path4, uid2, gid) => {
52468
52468
  try {
52469
- return lchownSync(path3, uid2, gid);
52469
+ return lchownSync(path4, uid2, gid);
52470
52470
  } catch (er) {
52471
52471
  if (er.code !== "EISDIR")
52472
52472
  throw er;
52473
- chownSync(path3, uid2, gid);
52473
+ chownSync(path4, uid2, gid);
52474
52474
  }
52475
- } : (path3, uid2, gid) => lchownSync(path3, uid2, gid);
52475
+ } : (path4, uid2, gid) => lchownSync(path4, uid2, gid);
52476
52476
  var nodeVersion = process.version;
52477
- var readdir = (path3, options, cb) => fs3.readdir(path3, options, cb);
52478
- var readdirSync = (path3, options) => fs3.readdirSync(path3, options);
52477
+ var readdir = (path4, options, cb) => fs3.readdir(path4, options, cb);
52478
+ var readdirSync = (path4, options) => fs3.readdirSync(path4, options);
52479
52479
  if (/^v4\./.test(nodeVersion))
52480
- readdir = (path3, options, cb) => fs3.readdir(path3, cb);
52480
+ readdir = (path4, options, cb) => fs3.readdir(path4, cb);
52481
52481
  var chown = (cpath, uid2, gid, cb) => {
52482
52482
  fs3[LCHOWN](cpath, uid2, gid, handleEISDIR(cpath, uid2, gid, (er) => {
52483
52483
  cb(er && er.code !== "ENOENT" ? er : null);
@@ -52485,21 +52485,21 @@ var require_chownr = __commonJS({
52485
52485
  };
52486
52486
  var chownrKid = (p, child, uid2, gid, cb) => {
52487
52487
  if (typeof child === "string")
52488
- return fs3.lstat(path2.resolve(p, child), (er, stats) => {
52488
+ return fs3.lstat(path3.resolve(p, child), (er, stats) => {
52489
52489
  if (er)
52490
52490
  return cb(er.code !== "ENOENT" ? er : null);
52491
52491
  stats.name = child;
52492
52492
  chownrKid(p, stats, uid2, gid, cb);
52493
52493
  });
52494
52494
  if (child.isDirectory()) {
52495
- chownr(path2.resolve(p, child.name), uid2, gid, (er) => {
52495
+ chownr(path3.resolve(p, child.name), uid2, gid, (er) => {
52496
52496
  if (er)
52497
52497
  return cb(er);
52498
- const cpath = path2.resolve(p, child.name);
52498
+ const cpath = path3.resolve(p, child.name);
52499
52499
  chown(cpath, uid2, gid, cb);
52500
52500
  });
52501
52501
  } else {
52502
- const cpath = path2.resolve(p, child.name);
52502
+ const cpath = path3.resolve(p, child.name);
52503
52503
  chown(cpath, uid2, gid, cb);
52504
52504
  }
52505
52505
  };
@@ -52529,7 +52529,7 @@ var require_chownr = __commonJS({
52529
52529
  var chownrKidSync = (p, child, uid2, gid) => {
52530
52530
  if (typeof child === "string") {
52531
52531
  try {
52532
- const stats = fs3.lstatSync(path2.resolve(p, child));
52532
+ const stats = fs3.lstatSync(path3.resolve(p, child));
52533
52533
  stats.name = child;
52534
52534
  child = stats;
52535
52535
  } catch (er) {
@@ -52540,8 +52540,8 @@ var require_chownr = __commonJS({
52540
52540
  }
52541
52541
  }
52542
52542
  if (child.isDirectory())
52543
- chownrSync(path2.resolve(p, child.name), uid2, gid);
52544
- handleEISDirSync(path2.resolve(p, child.name), uid2, gid);
52543
+ chownrSync(path3.resolve(p, child.name), uid2, gid);
52544
+ handleEISDirSync(path3.resolve(p, child.name), uid2, gid);
52545
52545
  };
52546
52546
  var chownrSync = (p, uid2, gid) => {
52547
52547
  let children;
@@ -52570,13 +52570,13 @@ var require_mkdir = __commonJS({
52570
52570
  "use strict";
52571
52571
  var mkdirp = require_mkdirp();
52572
52572
  var fs3 = require("fs");
52573
- var path2 = require("path");
52573
+ var path3 = require("path");
52574
52574
  var chownr = require_chownr();
52575
52575
  var normPath = require_normalize_windows_path();
52576
52576
  var SymlinkError = class extends Error {
52577
- constructor(symlink, path3) {
52577
+ constructor(symlink, path4) {
52578
52578
  super("Cannot extract through symbolic link");
52579
- this.path = path3;
52579
+ this.path = path4;
52580
52580
  this.symlink = symlink;
52581
52581
  }
52582
52582
  get name() {
@@ -52584,9 +52584,9 @@ var require_mkdir = __commonJS({
52584
52584
  }
52585
52585
  };
52586
52586
  var CwdError = class extends Error {
52587
- constructor(path3, code) {
52588
- super(code + ": Cannot cd into '" + path3 + "'");
52589
- this.path = path3;
52587
+ constructor(path4, code) {
52588
+ super(code + ": Cannot cd into '" + path4 + "'");
52589
+ this.path = path4;
52590
52590
  this.code = code;
52591
52591
  }
52592
52592
  get name() {
@@ -52633,7 +52633,7 @@ var require_mkdir = __commonJS({
52633
52633
  return checkCwd(dir, done);
52634
52634
  if (preserve)
52635
52635
  return mkdirp(dir, { mode }).then((made) => done(null, made), done);
52636
- const sub = normPath(path2.relative(cwd, dir));
52636
+ const sub = normPath(path3.relative(cwd, dir));
52637
52637
  const parts = sub.split("/");
52638
52638
  mkdir_(cwd, parts, mode, cache, unlink, cwd, null, done);
52639
52639
  };
@@ -52641,7 +52641,7 @@ var require_mkdir = __commonJS({
52641
52641
  if (!parts.length)
52642
52642
  return cb(null, created);
52643
52643
  const p = parts.shift();
52644
- const part = normPath(path2.resolve(base + "/" + p));
52644
+ const part = normPath(path3.resolve(base + "/" + p));
52645
52645
  if (cGet(cache, part))
52646
52646
  return mkdir_(part, parts, mode, cache, unlink, cwd, created, cb);
52647
52647
  fs3.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
@@ -52709,11 +52709,11 @@ var require_mkdir = __commonJS({
52709
52709
  }
52710
52710
  if (preserve)
52711
52711
  return done(mkdirp.sync(dir, mode));
52712
- const sub = normPath(path2.relative(cwd, dir));
52712
+ const sub = normPath(path3.relative(cwd, dir));
52713
52713
  const parts = sub.split("/");
52714
52714
  let created = null;
52715
52715
  for (let p = parts.shift(), part = cwd; p && (part += "/" + p); p = parts.shift()) {
52716
- part = normPath(path2.resolve(part));
52716
+ part = normPath(path3.resolve(part));
52717
52717
  if (cGet(cache, part))
52718
52718
  continue;
52719
52719
  try {
@@ -52765,11 +52765,11 @@ var require_path_reservations = __commonJS({
52765
52765
  module2.exports = () => {
52766
52766
  const queues = /* @__PURE__ */ new Map();
52767
52767
  const reservations = /* @__PURE__ */ new Map();
52768
- const getDirs = (path2) => {
52769
- const dirs = path2.split("/").slice(0, -1).reduce((set, path3) => {
52768
+ const getDirs = (path3) => {
52769
+ const dirs = path3.split("/").slice(0, -1).reduce((set, path4) => {
52770
52770
  if (set.length)
52771
- path3 = join(set[set.length - 1], path3);
52772
- set.push(path3 || "/");
52771
+ path4 = join(set[set.length - 1], path4);
52772
+ set.push(path4 || "/");
52773
52773
  return set;
52774
52774
  }, []);
52775
52775
  return dirs;
@@ -52780,8 +52780,8 @@ var require_path_reservations = __commonJS({
52780
52780
  if (!res)
52781
52781
  throw new Error("function does not have any path reservations");
52782
52782
  return {
52783
- paths: res.paths.map((path2) => queues.get(path2)),
52784
- dirs: [...res.dirs].map((path2) => queues.get(path2))
52783
+ paths: res.paths.map((path3) => queues.get(path3)),
52784
+ dirs: [...res.dirs].map((path3) => queues.get(path3))
52785
52785
  };
52786
52786
  };
52787
52787
  const check = (fn) => {
@@ -52800,11 +52800,11 @@ var require_path_reservations = __commonJS({
52800
52800
  return false;
52801
52801
  const { paths, dirs } = reservations.get(fn);
52802
52802
  const next = /* @__PURE__ */ new Set();
52803
- paths.forEach((path2) => {
52804
- const q = queues.get(path2);
52803
+ paths.forEach((path3) => {
52804
+ const q = queues.get(path3);
52805
52805
  assert.equal(q[0], fn);
52806
52806
  if (q.length === 1)
52807
- queues.delete(path2);
52807
+ queues.delete(path3);
52808
52808
  else {
52809
52809
  q.shift();
52810
52810
  if (typeof q[0] === "function")
@@ -52833,13 +52833,13 @@ var require_path_reservations = __commonJS({
52833
52833
  return normalize(stripSlashes(join(p))).toLowerCase();
52834
52834
  });
52835
52835
  const dirs = new Set(
52836
- paths.map((path2) => getDirs(path2)).reduce((a, b) => a.concat(b))
52836
+ paths.map((path3) => getDirs(path3)).reduce((a, b) => a.concat(b))
52837
52837
  );
52838
52838
  reservations.set(fn, { dirs, paths });
52839
- paths.forEach((path2) => {
52840
- const q = queues.get(path2);
52839
+ paths.forEach((path3) => {
52840
+ const q = queues.get(path3);
52841
52841
  if (!q)
52842
- queues.set(path2, [fn]);
52842
+ queues.set(path3, [fn]);
52843
52843
  else
52844
52844
  q.push(fn);
52845
52845
  });
@@ -52881,7 +52881,7 @@ var require_unpack = __commonJS({
52881
52881
  var Parser2 = require_parse2();
52882
52882
  var fs3 = require("fs");
52883
52883
  var fsm = require_fs_minipass();
52884
- var path2 = require("path");
52884
+ var path3 = require("path");
52885
52885
  var mkdir = require_mkdir();
52886
52886
  var wc = require_winchars();
52887
52887
  var pathReservations = require_path_reservations();
@@ -52918,31 +52918,31 @@ var require_unpack = __commonJS({
52918
52918
  var getFlag = require_get_write_flag();
52919
52919
  var platform = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
52920
52920
  var isWindows = platform === "win32";
52921
- var unlinkFile = (path3, cb) => {
52921
+ var unlinkFile = (path4, cb) => {
52922
52922
  if (!isWindows)
52923
- return fs3.unlink(path3, cb);
52924
- const name = path3 + ".DELETE." + crypto.randomBytes(16).toString("hex");
52925
- fs3.rename(path3, name, (er) => {
52923
+ return fs3.unlink(path4, cb);
52924
+ const name = path4 + ".DELETE." + crypto.randomBytes(16).toString("hex");
52925
+ fs3.rename(path4, name, (er) => {
52926
52926
  if (er)
52927
52927
  return cb(er);
52928
52928
  fs3.unlink(name, cb);
52929
52929
  });
52930
52930
  };
52931
- var unlinkFileSync = (path3) => {
52931
+ var unlinkFileSync = (path4) => {
52932
52932
  if (!isWindows)
52933
- return fs3.unlinkSync(path3);
52934
- const name = path3 + ".DELETE." + crypto.randomBytes(16).toString("hex");
52935
- fs3.renameSync(path3, name);
52933
+ return fs3.unlinkSync(path4);
52934
+ const name = path4 + ".DELETE." + crypto.randomBytes(16).toString("hex");
52935
+ fs3.renameSync(path4, name);
52936
52936
  fs3.unlinkSync(name);
52937
52937
  };
52938
52938
  var uint32 = (a, b, c) => a === a >>> 0 ? a : b === b >>> 0 ? b : c;
52939
- var cacheKeyNormalize = (path3) => normalize(stripSlash(normPath(path3))).toLowerCase();
52939
+ var cacheKeyNormalize = (path4) => normalize(stripSlash(normPath(path4))).toLowerCase();
52940
52940
  var pruneCache = (cache, abs) => {
52941
52941
  abs = cacheKeyNormalize(abs);
52942
- for (const path3 of cache.keys()) {
52943
- const pnorm = cacheKeyNormalize(path3);
52942
+ for (const path4 of cache.keys()) {
52943
+ const pnorm = cacheKeyNormalize(path4);
52944
52944
  if (pnorm === abs || pnorm.indexOf(abs + "/") === 0)
52945
- cache.delete(path3);
52945
+ cache.delete(path4);
52946
52946
  }
52947
52947
  };
52948
52948
  var dropCache = (cache) => {
@@ -52995,7 +52995,7 @@ var require_unpack = __commonJS({
52995
52995
  this.noMtime = !!opt.noMtime;
52996
52996
  this.preservePaths = !!opt.preservePaths;
52997
52997
  this.unlink = !!opt.unlink;
52998
- this.cwd = normPath(path2.resolve(opt.cwd || process.cwd()));
52998
+ this.cwd = normPath(path3.resolve(opt.cwd || process.cwd()));
52999
52999
  this.strip = +opt.strip || 0;
53000
53000
  this.processUmask = opt.noChmod ? 0 : process.umask();
53001
53001
  this.umask = typeof opt.umask === "number" ? opt.umask : this.processUmask;
@@ -53052,10 +53052,10 @@ var require_unpack = __commonJS({
53052
53052
  });
53053
53053
  }
53054
53054
  }
53055
- if (path2.isAbsolute(entry.path))
53056
- entry.absolute = normPath(path2.resolve(entry.path));
53055
+ if (path3.isAbsolute(entry.path))
53056
+ entry.absolute = normPath(path3.resolve(entry.path));
53057
53057
  else
53058
- entry.absolute = normPath(path2.resolve(this.cwd, entry.path));
53058
+ entry.absolute = normPath(path3.resolve(this.cwd, entry.path));
53059
53059
  if (!this.preservePaths && entry.absolute.indexOf(this.cwd + "/") !== 0 && entry.absolute !== this.cwd) {
53060
53060
  this.warn("TAR_ENTRY_ERROR", "path escaped extraction target", {
53061
53061
  entry,
@@ -53068,9 +53068,9 @@ var require_unpack = __commonJS({
53068
53068
  if (entry.absolute === this.cwd && entry.type !== "Directory" && entry.type !== "GNUDumpDir")
53069
53069
  return false;
53070
53070
  if (this.win32) {
53071
- const { root: aRoot } = path2.win32.parse(entry.absolute);
53071
+ const { root: aRoot } = path3.win32.parse(entry.absolute);
53072
53072
  entry.absolute = aRoot + wc.encode(entry.absolute.substr(aRoot.length));
53073
- const { root: pRoot } = path2.win32.parse(entry.path);
53073
+ const { root: pRoot } = path3.win32.parse(entry.path);
53074
53074
  entry.path = pRoot + wc.encode(entry.path.substr(pRoot.length));
53075
53075
  }
53076
53076
  return true;
@@ -53232,7 +53232,7 @@ var require_unpack = __commonJS({
53232
53232
  this[LINK](entry, entry.linkpath, "symlink", done);
53233
53233
  }
53234
53234
  [HARDLINK](entry, done) {
53235
- const linkpath = normPath(path2.resolve(this.cwd, entry.linkpath));
53235
+ const linkpath = normPath(path3.resolve(this.cwd, entry.linkpath));
53236
53236
  this[LINK](entry, linkpath, "link", done);
53237
53237
  }
53238
53238
  [PEND]() {
@@ -53285,7 +53285,7 @@ var require_unpack = __commonJS({
53285
53285
  };
53286
53286
  const start = () => {
53287
53287
  if (entry.absolute !== this.cwd) {
53288
- const parent = normPath(path2.dirname(entry.absolute));
53288
+ const parent = normPath(path3.dirname(entry.absolute));
53289
53289
  if (parent !== this.cwd) {
53290
53290
  return this[MKDIR](parent, this.dmode, (er) => {
53291
53291
  if (er) {
@@ -53383,7 +53383,7 @@ var require_unpack = __commonJS({
53383
53383
  this[CHECKED_CWD] = true;
53384
53384
  }
53385
53385
  if (entry.absolute !== this.cwd) {
53386
- const parent = normPath(path2.dirname(entry.absolute));
53386
+ const parent = normPath(path3.dirname(entry.absolute));
53387
53387
  if (parent !== this.cwd) {
53388
53388
  const mkParent = this[MKDIR](parent, this.dmode);
53389
53389
  if (mkParent)
@@ -53535,7 +53535,7 @@ var require_extract = __commonJS({
53535
53535
  var Unpack = require_unpack();
53536
53536
  var fs3 = require("fs");
53537
53537
  var fsm = require_fs_minipass();
53538
- var path2 = require("path");
53538
+ var path3 = require("path");
53539
53539
  var stripSlash = require_strip_trailing_slashes();
53540
53540
  module2.exports = (opt_, files, cb) => {
53541
53541
  if (typeof opt_ === "function")
@@ -53561,8 +53561,8 @@ var require_extract = __commonJS({
53561
53561
  const map2 = new Map(files.map((f) => [stripSlash(f), true]));
53562
53562
  const filter = opt.filter;
53563
53563
  const mapHas = (file, r) => {
53564
- const root = r || path2.parse(file).root || ".";
53565
- const ret = file === root ? false : map2.has(file) ? map2.get(file) : mapHas(path2.dirname(file), root);
53564
+ const root = r || path3.parse(file).root || ".";
53565
+ const ret = file === root ? false : map2.has(file) ? map2.get(file) : mapHas(path3.dirname(file), root);
53566
53566
  map2.set(file, ret);
53567
53567
  return ret;
53568
53568
  };
@@ -53626,9 +53626,9 @@ var require_tar = __commonJS({
53626
53626
  }
53627
53627
  });
53628
53628
 
53629
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/constants.js
53629
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/constants.js
53630
53630
  var require_constants5 = __commonJS({
53631
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/constants.js"(exports) {
53631
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/constants.js"(exports) {
53632
53632
  "use strict";
53633
53633
  Object.defineProperty(exports, "__esModule", {
53634
53634
  value: true
@@ -53641,9 +53641,9 @@ var require_constants5 = __commonJS({
53641
53641
  }
53642
53642
  });
53643
53643
 
53644
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js
53644
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js
53645
53645
  var require_getNpmTarballUrl = __commonJS({
53646
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js"(exports) {
53646
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmTarballUrl.js"(exports) {
53647
53647
  "use strict";
53648
53648
  Object.defineProperty(exports, "__esModule", {
53649
53649
  value: true
@@ -53677,9 +53677,9 @@ var require_getNpmTarballUrl = __commonJS({
53677
53677
  }
53678
53678
  });
53679
53679
 
53680
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js
53680
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js
53681
53681
  var require_getNpmVersion = __commonJS({
53682
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js"(exports) {
53682
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getNpmVersion.js"(exports) {
53683
53683
  "use strict";
53684
53684
  Object.defineProperty(exports, "__esModule", {
53685
53685
  value: true
@@ -53715,9 +53715,9 @@ var require_getNpmVersion = __commonJS({
53715
53715
  }
53716
53716
  });
53717
53717
 
53718
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js
53718
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js
53719
53719
  var require_downloadPackage = __commonJS({
53720
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js"(exports) {
53720
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/downloadPackage.js"(exports) {
53721
53721
  "use strict";
53722
53722
  Object.defineProperty(exports, "__esModule", {
53723
53723
  value: true
@@ -53819,9 +53819,9 @@ var require_downloadPackage = __commonJS({
53819
53819
  }
53820
53820
  });
53821
53821
 
53822
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js
53822
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js
53823
53823
  var require_getPackageInfo = __commonJS({
53824
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js"(exports) {
53824
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/getPackageInfo.js"(exports) {
53825
53825
  "use strict";
53826
53826
  Object.defineProperty(exports, "__esModule", {
53827
53827
  value: true
@@ -53853,9 +53853,9 @@ var require_getPackageInfo = __commonJS({
53853
53853
  }
53854
53854
  });
53855
53855
 
53856
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js
53856
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js
53857
53857
  var require_utils4 = __commonJS({
53858
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js"(exports) {
53858
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/utils/index.js"(exports) {
53859
53859
  "use strict";
53860
53860
  Object.defineProperty(exports, "__esModule", {
53861
53861
  value: true
@@ -53931,9 +53931,9 @@ var require_utils4 = __commonJS({
53931
53931
  }
53932
53932
  });
53933
53933
 
53934
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js
53934
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js
53935
53935
  var require_materials = __commonJS({
53936
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js"(exports) {
53936
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/materials/index.js"(exports) {
53937
53937
  "use strict";
53938
53938
  Object.defineProperty(exports, "__esModule", {
53939
53939
  value: true
@@ -53991,9 +53991,9 @@ var require_materials = __commonJS({
53991
53991
  }
53992
53992
  });
53993
53993
 
53994
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js
53994
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js
53995
53995
  var require_codesmith = __commonJS({
53996
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js"(exports) {
53996
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/codesmith/index.js"(exports) {
53997
53997
  "use strict";
53998
53998
  Object.defineProperty(exports, "__esModule", {
53999
53999
  value: true
@@ -54069,9 +54069,9 @@ var require_codesmith = __commonJS({
54069
54069
  }
54070
54070
  });
54071
54071
 
54072
- // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/index.js
54072
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/index.js
54073
54073
  var require_node3 = __commonJS({
54074
- "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith/dist/js/node/index.js"(exports) {
54074
+ "../../../../node_modules/.pnpm/@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith/dist/js/node/index.js"(exports) {
54075
54075
  "use strict";
54076
54076
  Object.defineProperty(exports, "__esModule", {
54077
54077
  value: true
@@ -55336,13 +55336,13 @@ var require_ast = __commonJS({
55336
55336
  helperExpression: function helperExpression(node) {
55337
55337
  return node.type === "SubExpression" || (node.type === "MustacheStatement" || node.type === "BlockStatement") && !!(node.params && node.params.length || node.hash);
55338
55338
  },
55339
- scopedId: function scopedId(path2) {
55340
- return /^\.|this\b/.test(path2.original);
55339
+ scopedId: function scopedId(path3) {
55340
+ return /^\.|this\b/.test(path3.original);
55341
55341
  },
55342
55342
  // an ID is simple if it only has one part, and that part is not
55343
55343
  // `..` or `this`.
55344
- simpleId: function simpleId(path2) {
55345
- return path2.parts.length === 1 && !AST.helpers.scopedId(path2) && !path2.depth;
55344
+ simpleId: function simpleId(path3) {
55345
+ return path3.parts.length === 1 && !AST.helpers.scopedId(path3) && !path3.depth;
55346
55346
  }
55347
55347
  }
55348
55348
  };
@@ -56426,12 +56426,12 @@ var require_helpers2 = __commonJS({
56426
56426
  loc
56427
56427
  };
56428
56428
  }
56429
- function prepareMustache(path2, params, hash, open, strip, locInfo) {
56429
+ function prepareMustache(path3, params, hash, open, strip, locInfo) {
56430
56430
  var escapeFlag = open.charAt(3) || open.charAt(2), escaped = escapeFlag !== "{" && escapeFlag !== "&";
56431
56431
  var decorator = /\*/.test(open);
56432
56432
  return {
56433
56433
  type: decorator ? "Decorator" : "MustacheStatement",
56434
- path: path2,
56434
+ path: path3,
56435
56435
  params,
56436
56436
  hash,
56437
56437
  escaped,
@@ -56702,9 +56702,9 @@ var require_compiler = __commonJS({
56702
56702
  },
56703
56703
  DecoratorBlock: function DecoratorBlock(decorator) {
56704
56704
  var program2 = decorator.program && this.compileProgram(decorator.program);
56705
- var params = this.setupFullMustacheParams(decorator, program2, void 0), path2 = decorator.path;
56705
+ var params = this.setupFullMustacheParams(decorator, program2, void 0), path3 = decorator.path;
56706
56706
  this.useDecorators = true;
56707
- this.opcode("registerDecorator", params.length, path2.original);
56707
+ this.opcode("registerDecorator", params.length, path3.original);
56708
56708
  },
56709
56709
  PartialStatement: function PartialStatement(partial) {
56710
56710
  this.usePartial = true;
@@ -56768,46 +56768,46 @@ var require_compiler = __commonJS({
56768
56768
  }
56769
56769
  },
56770
56770
  ambiguousSexpr: function ambiguousSexpr(sexpr, program2, inverse) {
56771
- var path2 = sexpr.path, name = path2.parts[0], isBlock = program2 != null || inverse != null;
56772
- this.opcode("getContext", path2.depth);
56771
+ var path3 = sexpr.path, name = path3.parts[0], isBlock = program2 != null || inverse != null;
56772
+ this.opcode("getContext", path3.depth);
56773
56773
  this.opcode("pushProgram", program2);
56774
56774
  this.opcode("pushProgram", inverse);
56775
- path2.strict = true;
56776
- this.accept(path2);
56775
+ path3.strict = true;
56776
+ this.accept(path3);
56777
56777
  this.opcode("invokeAmbiguous", name, isBlock);
56778
56778
  },
56779
56779
  simpleSexpr: function simpleSexpr(sexpr) {
56780
- var path2 = sexpr.path;
56781
- path2.strict = true;
56782
- this.accept(path2);
56780
+ var path3 = sexpr.path;
56781
+ path3.strict = true;
56782
+ this.accept(path3);
56783
56783
  this.opcode("resolvePossibleLambda");
56784
56784
  },
56785
56785
  helperSexpr: function helperSexpr(sexpr, program2, inverse) {
56786
- var params = this.setupFullMustacheParams(sexpr, program2, inverse), path2 = sexpr.path, name = path2.parts[0];
56786
+ var params = this.setupFullMustacheParams(sexpr, program2, inverse), path3 = sexpr.path, name = path3.parts[0];
56787
56787
  if (this.options.knownHelpers[name]) {
56788
56788
  this.opcode("invokeKnownHelper", params.length, name);
56789
56789
  } else if (this.options.knownHelpersOnly) {
56790
56790
  throw new _exception2["default"]("You specified knownHelpersOnly, but used the unknown helper " + name, sexpr);
56791
56791
  } else {
56792
- path2.strict = true;
56793
- path2.falsy = true;
56794
- this.accept(path2);
56795
- this.opcode("invokeHelper", params.length, path2.original, _ast2["default"].helpers.simpleId(path2));
56792
+ path3.strict = true;
56793
+ path3.falsy = true;
56794
+ this.accept(path3);
56795
+ this.opcode("invokeHelper", params.length, path3.original, _ast2["default"].helpers.simpleId(path3));
56796
56796
  }
56797
56797
  },
56798
- PathExpression: function PathExpression(path2) {
56799
- this.addDepth(path2.depth);
56800
- this.opcode("getContext", path2.depth);
56801
- var name = path2.parts[0], scoped = _ast2["default"].helpers.scopedId(path2), blockParamId = !path2.depth && !scoped && this.blockParamIndex(name);
56798
+ PathExpression: function PathExpression(path3) {
56799
+ this.addDepth(path3.depth);
56800
+ this.opcode("getContext", path3.depth);
56801
+ var name = path3.parts[0], scoped = _ast2["default"].helpers.scopedId(path3), blockParamId = !path3.depth && !scoped && this.blockParamIndex(name);
56802
56802
  if (blockParamId) {
56803
- this.opcode("lookupBlockParam", blockParamId, path2.parts);
56803
+ this.opcode("lookupBlockParam", blockParamId, path3.parts);
56804
56804
  } else if (!name) {
56805
56805
  this.opcode("pushContext");
56806
- } else if (path2.data) {
56806
+ } else if (path3.data) {
56807
56807
  this.options.data = true;
56808
- this.opcode("lookupData", path2.depth, path2.parts, path2.strict);
56808
+ this.opcode("lookupData", path3.depth, path3.parts, path3.strict);
56809
56809
  } else {
56810
- this.opcode("lookupOnContext", path2.parts, path2.falsy, path2.strict, scoped);
56810
+ this.opcode("lookupOnContext", path3.parts, path3.falsy, path3.strict, scoped);
56811
56811
  }
56812
56812
  },
56813
56813
  StringLiteral: function StringLiteral(string) {
@@ -57158,16 +57158,16 @@ var require_util2 = __commonJS({
57158
57158
  }
57159
57159
  exports.urlGenerate = urlGenerate;
57160
57160
  function normalize(aPath) {
57161
- var path2 = aPath;
57161
+ var path3 = aPath;
57162
57162
  var url = urlParse(aPath);
57163
57163
  if (url) {
57164
57164
  if (!url.path) {
57165
57165
  return aPath;
57166
57166
  }
57167
- path2 = url.path;
57167
+ path3 = url.path;
57168
57168
  }
57169
- var isAbsolute = exports.isAbsolute(path2);
57170
- var parts = path2.split(/\/+/);
57169
+ var isAbsolute = exports.isAbsolute(path3);
57170
+ var parts = path3.split(/\/+/);
57171
57171
  for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {
57172
57172
  part = parts[i];
57173
57173
  if (part === ".") {
@@ -57184,15 +57184,15 @@ var require_util2 = __commonJS({
57184
57184
  }
57185
57185
  }
57186
57186
  }
57187
- path2 = parts.join("/");
57188
- if (path2 === "") {
57189
- path2 = isAbsolute ? "/" : ".";
57187
+ path3 = parts.join("/");
57188
+ if (path3 === "") {
57189
+ path3 = isAbsolute ? "/" : ".";
57190
57190
  }
57191
57191
  if (url) {
57192
- url.path = path2;
57192
+ url.path = path3;
57193
57193
  return urlGenerate(url);
57194
57194
  }
57195
- return path2;
57195
+ return path3;
57196
57196
  }
57197
57197
  exports.normalize = normalize;
57198
57198
  function join(aRoot, aPath) {
@@ -59974,8 +59974,8 @@ var require_printer = __commonJS({
59974
59974
  return this.accept(sexpr.path) + " " + params + hash;
59975
59975
  };
59976
59976
  PrintVisitor.prototype.PathExpression = function(id) {
59977
- var path2 = id.parts.join("/");
59978
- return (id.data ? "@" : "") + "PATH:" + path2;
59977
+ var path3 = id.parts.join("/");
59978
+ return (id.data ? "@" : "") + "PATH:" + path3;
59979
59979
  };
59980
59980
  PrintVisitor.prototype.StringLiteral = function(string) {
59981
59981
  return '"' + string.value + '"';
@@ -60025,9 +60025,9 @@ var require_lib = __commonJS({
60025
60025
  }
60026
60026
  });
60027
60027
 
60028
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/renderString.js
60028
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/renderString.js
60029
60029
  var require_renderString = __commonJS({
60030
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/renderString.js"(exports) {
60030
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/renderString.js"(exports) {
60031
60031
  "use strict";
60032
60032
  Object.defineProperty(exports, "__esModule", {
60033
60033
  value: true
@@ -60076,9 +60076,9 @@ var require_renderString = __commonJS({
60076
60076
  }
60077
60077
  });
60078
60078
 
60079
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/index.js
60079
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/index.js
60080
60080
  var require_utils6 = __commonJS({
60081
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/index.js"(exports) {
60081
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/utils/index.js"(exports) {
60082
60082
  "use strict";
60083
60083
  Object.defineProperty(exports, "__esModule", {
60084
60084
  value: true
@@ -60093,9 +60093,9 @@ var require_utils6 = __commonJS({
60093
60093
  }
60094
60094
  });
60095
60095
 
60096
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/index.js
60096
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/index.js
60097
60097
  var require_node4 = __commonJS({
60098
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/index.js"(exports) {
60098
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-handlebars/dist/js/node/index.js"(exports) {
60099
60099
  "use strict";
60100
60100
  Object.defineProperty(exports, "__esModule", {
60101
60101
  value: true
@@ -60109,6 +60109,27 @@ var require_node4 = __commonJS({
60109
60109
  });
60110
60110
  var _codesmith = require_node3();
60111
60111
  var _utils = require_utils6();
60112
+ function ownKeys(object, enumerableOnly) {
60113
+ var keys = Object.keys(object);
60114
+ if (Object.getOwnPropertySymbols) {
60115
+ var symbols = Object.getOwnPropertySymbols(object);
60116
+ enumerableOnly && (symbols = symbols.filter(function(sym) {
60117
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
60118
+ })), keys.push.apply(keys, symbols);
60119
+ }
60120
+ return keys;
60121
+ }
60122
+ function _objectSpread(target) {
60123
+ for (var i = 1; i < arguments.length; i++) {
60124
+ var source = null != arguments[i] ? arguments[i] : {};
60125
+ i % 2 ? ownKeys(Object(source), true).forEach(function(key) {
60126
+ _defineProperty(target, key, source[key]);
60127
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
60128
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
60129
+ });
60130
+ }
60131
+ return target;
60132
+ }
60112
60133
  function _defineProperty(obj, key, value) {
60113
60134
  if (key in obj) {
60114
60135
  Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
@@ -60127,6 +60148,16 @@ var require_node4 = __commonJS({
60127
60148
  partials: {}
60128
60149
  };
60129
60150
  }
60151
+ registerHelp(helpers) {
60152
+ return __async(this, null, function* () {
60153
+ this.registers.helpers = _objectSpread(_objectSpread({}, this.registers.helpers), helpers);
60154
+ });
60155
+ }
60156
+ registerPartials(partials) {
60157
+ return __async(this, null, function* () {
60158
+ this.registers.partials = _objectSpread(_objectSpread({}, this.registers.partials), partials);
60159
+ });
60160
+ }
60130
60161
  renderTemplate(_0, _1) {
60131
60162
  return __async(this, arguments, function* (templateResource, target, parameters = {}) {
60132
60163
  if (templateResource._type !== _codesmith.FS_RESOURCE) {
@@ -60327,7 +60358,7 @@ var require_ejs = __commonJS({
60327
60358
  "../../../../node_modules/.pnpm/ejs@3.1.8/node_modules/ejs/lib/ejs.js"(exports) {
60328
60359
  "use strict";
60329
60360
  var fs3 = require("fs");
60330
- var path2 = require("path");
60361
+ var path3 = require("path");
60331
60362
  var utils = require_utils7();
60332
60363
  var scopeOptionWarned = false;
60333
60364
  var _VERSION_STRING = require_package3().version;
@@ -60358,9 +60389,9 @@ var require_ejs = __commonJS({
60358
60389
  exports.localsName = _DEFAULT_LOCALS_NAME;
60359
60390
  exports.promiseImpl = new Function("return this;")().Promise;
60360
60391
  exports.resolveInclude = function(name, filename, isDir) {
60361
- var dirname = path2.dirname;
60362
- var extname = path2.extname;
60363
- var resolve = path2.resolve;
60392
+ var dirname = path3.dirname;
60393
+ var extname = path3.extname;
60394
+ var resolve = path3.resolve;
60364
60395
  var includePath = resolve(isDir ? filename : dirname(filename), name);
60365
60396
  var ext = extname(name);
60366
60397
  if (!ext) {
@@ -60377,30 +60408,30 @@ var require_ejs = __commonJS({
60377
60408
  return filePath;
60378
60409
  }
60379
60410
  }
60380
- function getIncludePath(path3, options) {
60411
+ function getIncludePath(path4, options) {
60381
60412
  var includePath;
60382
60413
  var filePath;
60383
60414
  var views = options.views;
60384
- var match = /^[A-Za-z]+:\\|^\//.exec(path3);
60415
+ var match = /^[A-Za-z]+:\\|^\//.exec(path4);
60385
60416
  if (match && match.length) {
60386
- path3 = path3.replace(/^\/*/, "");
60417
+ path4 = path4.replace(/^\/*/, "");
60387
60418
  if (Array.isArray(options.root)) {
60388
- includePath = resolvePaths(path3, options.root);
60419
+ includePath = resolvePaths(path4, options.root);
60389
60420
  } else {
60390
- includePath = exports.resolveInclude(path3, options.root || "/", true);
60421
+ includePath = exports.resolveInclude(path4, options.root || "/", true);
60391
60422
  }
60392
60423
  } else {
60393
60424
  if (options.filename) {
60394
- filePath = exports.resolveInclude(path3, options.filename);
60425
+ filePath = exports.resolveInclude(path4, options.filename);
60395
60426
  if (fs3.existsSync(filePath)) {
60396
60427
  includePath = filePath;
60397
60428
  }
60398
60429
  }
60399
60430
  if (!includePath && Array.isArray(views)) {
60400
- includePath = resolvePaths(path3, views);
60431
+ includePath = resolvePaths(path4, views);
60401
60432
  }
60402
60433
  if (!includePath && typeof options.includer !== "function") {
60403
- throw new Error('Could not find the include file "' + options.escapeFunction(path3) + '"');
60434
+ throw new Error('Could not find the include file "' + options.escapeFunction(path4) + '"');
60404
60435
  }
60405
60436
  }
60406
60437
  return includePath;
@@ -60459,11 +60490,11 @@ var require_ejs = __commonJS({
60459
60490
  function fileLoader(filePath) {
60460
60491
  return exports.fileLoader(filePath);
60461
60492
  }
60462
- function includeFile(path3, options) {
60493
+ function includeFile(path4, options) {
60463
60494
  var opts = utils.shallowCopy(utils.createNullProtoObjWherePossible(), options);
60464
- opts.filename = getIncludePath(path3, opts);
60495
+ opts.filename = getIncludePath(path4, opts);
60465
60496
  if (typeof options.includer === "function") {
60466
- var includerResult = options.includer(path3, opts.filename);
60497
+ var includerResult = options.includer(path4, opts.filename);
60467
60498
  if (includerResult) {
60468
60499
  if (includerResult.filename) {
60469
60500
  opts.filename = includerResult.filename;
@@ -60698,12 +60729,12 @@ var require_ejs = __commonJS({
60698
60729
  throw e;
60699
60730
  }
60700
60731
  var returnedFn = opts.client ? fn : function anonymous(data) {
60701
- var include = function(path3, includeData) {
60732
+ var include = function(path4, includeData) {
60702
60733
  var d = utils.shallowCopy(utils.createNullProtoObjWherePossible(), data);
60703
60734
  if (includeData) {
60704
60735
  d = utils.shallowCopy(d, includeData);
60705
60736
  }
60706
- return includeFile(path3, opts)(d);
60737
+ return includeFile(path4, opts)(d);
60707
60738
  };
60708
60739
  return fn.apply(
60709
60740
  opts.context,
@@ -60712,7 +60743,7 @@ var require_ejs = __commonJS({
60712
60743
  };
60713
60744
  if (opts.filename && typeof Object.defineProperty === "function") {
60714
60745
  var filename = opts.filename;
60715
- var basename = path2.basename(filename, path2.extname(filename));
60746
+ var basename = path3.basename(filename, path3.extname(filename));
60716
60747
  try {
60717
60748
  Object.defineProperty(returnedFn, "name", {
60718
60749
  value: basename,
@@ -60868,9 +60899,9 @@ var require_ejs = __commonJS({
60868
60899
  }
60869
60900
  });
60870
60901
 
60871
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/renderString.js
60902
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/renderString.js
60872
60903
  var require_renderString2 = __commonJS({
60873
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/renderString.js"(exports) {
60904
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/renderString.js"(exports) {
60874
60905
  "use strict";
60875
60906
  Object.defineProperty(exports, "__esModule", {
60876
60907
  value: true
@@ -60886,9 +60917,9 @@ var require_renderString2 = __commonJS({
60886
60917
  }
60887
60918
  });
60888
60919
 
60889
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/index.js
60920
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/index.js
60890
60921
  var require_utils8 = __commonJS({
60891
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/index.js"(exports) {
60922
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/utils/index.js"(exports) {
60892
60923
  "use strict";
60893
60924
  Object.defineProperty(exports, "__esModule", {
60894
60925
  value: true
@@ -60903,9 +60934,9 @@ var require_utils8 = __commonJS({
60903
60934
  }
60904
60935
  });
60905
60936
 
60906
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/index.js
60937
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/index.js
60907
60938
  var require_node5 = __commonJS({
60908
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/index.js"(exports) {
60939
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-ejs/dist/js/node/index.js"(exports) {
60909
60940
  "use strict";
60910
60941
  Object.defineProperty(exports, "__esModule", {
60911
60942
  value: true
@@ -60963,9 +60994,9 @@ var require_node5 = __commonJS({
60963
60994
  }
60964
60995
  });
60965
60996
 
60966
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-fs/dist/js/node/constant.js
60997
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/constant.js
60967
60998
  var require_constant = __commonJS({
60968
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-fs/dist/js/node/constant.js"(exports) {
60999
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/constant.js"(exports) {
60969
61000
  "use strict";
60970
61001
  Object.defineProperty(exports, "__esModule", {
60971
61002
  value: true
@@ -60976,9 +61007,9 @@ var require_constant = __commonJS({
60976
61007
  }
60977
61008
  });
60978
61009
 
60979
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-fs/dist/js/node/index.js
61010
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/index.js
60980
61011
  var require_node6 = __commonJS({
60981
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.4_@modern-js+codesmith@2.0.4/node_modules/@modern-js/codesmith-api-fs/dist/js/node/index.js"(exports) {
61012
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.0.5_@modern-js+codesmith@2.0.5/node_modules/@modern-js/codesmith-api-fs/dist/js/node/index.js"(exports) {
60982
61013
  "use strict";
60983
61014
  Object.defineProperty(exports, "__esModule", {
60984
61015
  value: true
@@ -62167,8 +62198,8 @@ var init_destructor = __esm({
62167
62198
  };
62168
62199
  setInByDestructor = function(source, rules, value, mutators) {
62169
62200
  rules.forEach(function(_a2) {
62170
- var key = _a2.key, path2 = _a2.path;
62171
- mutators.setIn([key], source, mutators.getIn(path2, value));
62201
+ var key = _a2.key, path3 = _a2.path;
62202
+ mutators.setIn([key], source, mutators.getIn(path3, value));
62172
62203
  });
62173
62204
  };
62174
62205
  getInByDestructor = function(source, rules, mutators) {
@@ -62180,8 +62211,8 @@ var init_destructor = __esm({
62180
62211
  }
62181
62212
  source = isValid2(source) ? source : {};
62182
62213
  rules.forEach(function(_a2) {
62183
- var key = _a2.key, path2 = _a2.path;
62184
- mutators.setIn(path2, response, source[key]);
62214
+ var key = _a2.key, path3 = _a2.path;
62215
+ mutators.setIn(path3, response, source[key]);
62185
62216
  });
62186
62217
  return response;
62187
62218
  };
@@ -62762,8 +62793,8 @@ var init_matcher = __esm({
62762
62793
  }
62763
62794
  return false;
62764
62795
  };
62765
- Matcher2.prototype.match = function(path2) {
62766
- this.path = path2;
62796
+ Matcher2.prototype.match = function(path3) {
62797
+ this.path = path3;
62767
62798
  return { matched: this.matchNode(this.tree), record: this.record };
62768
62799
  };
62769
62800
  Matcher2.matchSegments = function(source, target, record) {
@@ -63060,21 +63091,21 @@ var init_esm = __esm({
63060
63091
  if (_this.isMatchPattern || _this.isRegExp) {
63061
63092
  throw new Error("".concat(_this.entire, " cannot be concat"));
63062
63093
  }
63063
- var path2 = new Path2("");
63064
- path2.segments = (_a3 = _this.segments).concat.apply(_a3, __spreadArray([], __read(args.map(function(s) {
63094
+ var path3 = new Path2("");
63095
+ path3.segments = (_a3 = _this.segments).concat.apply(_a3, __spreadArray([], __read(args.map(function(s) {
63065
63096
  return parseString(s);
63066
63097
  })), false));
63067
- path2.entire = path2.segments.join(".");
63068
- return path2;
63098
+ path3.entire = path3.segments.join(".");
63099
+ return path3;
63069
63100
  };
63070
63101
  this.slice = function(start, end) {
63071
63102
  if (_this.isMatchPattern || _this.isRegExp) {
63072
63103
  throw new Error("".concat(_this.entire, " cannot be slice"));
63073
63104
  }
63074
- var path2 = new Path2("");
63075
- path2.segments = _this.segments.slice(start, end);
63076
- path2.entire = path2.segments.join(".");
63077
- return path2;
63105
+ var path3 = new Path2("");
63106
+ path3.segments = _this.segments.slice(start, end);
63107
+ path3.entire = path3.segments.join(".");
63108
+ return path3;
63078
63109
  };
63079
63110
  this.push = function() {
63080
63111
  var items = [];
@@ -63166,8 +63197,8 @@ var init_esm = __esm({
63166
63197
  };
63167
63198
  this.match = function(pattern) {
63168
63199
  var _a3, _b;
63169
- var path2 = Path2.parse(pattern);
63170
- var cache = _this.matchCache.get(path2.entire);
63200
+ var path3 = Path2.parse(pattern);
63201
+ var cache = _this.matchCache.get(path3.entire);
63171
63202
  if (cache !== void 0) {
63172
63203
  if (cache.record && cache.record.score !== void 0) {
63173
63204
  _this.matchScore = cache.record.score;
@@ -63175,21 +63206,21 @@ var init_esm = __esm({
63175
63206
  return cache.matched;
63176
63207
  }
63177
63208
  var cacheWith = function(value) {
63178
- _this.matchCache.set(path2.entire, value);
63209
+ _this.matchCache.set(path3.entire, value);
63179
63210
  return value;
63180
63211
  };
63181
- if (path2.isMatchPattern) {
63212
+ if (path3.isMatchPattern) {
63182
63213
  if (_this.isMatchPattern) {
63183
- throw new Error("".concat(path2.entire, " cannot match ").concat(_this.entire));
63214
+ throw new Error("".concat(path3.entire, " cannot match ").concat(_this.entire));
63184
63215
  } else {
63185
63216
  _this.matchScore = 0;
63186
- return cacheWith(path2.match(_this.segments));
63217
+ return cacheWith(path3.match(_this.segments));
63187
63218
  }
63188
63219
  } else {
63189
63220
  if (_this.isMatchPattern) {
63190
63221
  if (_this.isRegExp) {
63191
63222
  try {
63192
- return (_b = (_a3 = _this["entire"]) === null || _a3 === void 0 ? void 0 : _a3["test"]) === null || _b === void 0 ? void 0 : _b.call(_a3, path2.entire);
63223
+ return (_b = (_a3 = _this["entire"]) === null || _a3 === void 0 ? void 0 : _a3["test"]) === null || _b === void 0 ? void 0 : _b.call(_a3, path3.entire);
63193
63224
  } finally {
63194
63225
  ;
63195
63226
  _this.entire.lastIndex = 0;
@@ -63198,14 +63229,14 @@ var init_esm = __esm({
63198
63229
  var record = {
63199
63230
  score: 0
63200
63231
  };
63201
- var result = cacheWith(new Matcher(_this.tree, record).match(path2.segments));
63232
+ var result = cacheWith(new Matcher(_this.tree, record).match(path3.segments));
63202
63233
  _this.matchScore = record.score;
63203
63234
  return result.matched;
63204
63235
  } else {
63205
63236
  var record = {
63206
63237
  score: 0
63207
63238
  };
63208
- var result = cacheWith(Matcher.matchSegments(_this.segments, path2.segments, record));
63239
+ var result = cacheWith(Matcher.matchSegments(_this.segments, path3.segments, record));
63209
63240
  _this.matchScore = record.score;
63210
63241
  return result.matched;
63211
63242
  }
@@ -63281,12 +63312,12 @@ var init_esm = __esm({
63281
63312
  configurable: true
63282
63313
  });
63283
63314
  Path2.match = function(pattern) {
63284
- var path2 = Path2.parse(pattern);
63315
+ var path3 = Path2.parse(pattern);
63285
63316
  var matcher = function(target) {
63286
- return path2.match(target);
63317
+ return path3.match(target);
63287
63318
  };
63288
63319
  matcher[isMatcher] = true;
63289
- matcher.path = path2;
63320
+ matcher.path = path3;
63290
63321
  return matcher;
63291
63322
  };
63292
63323
  Path2.isPathPattern = function(target) {
@@ -63298,52 +63329,52 @@ var init_esm = __esm({
63298
63329
  Path2.transform = function(pattern, regexp, callback) {
63299
63330
  return Path2.parse(pattern).transform(regexp, callback);
63300
63331
  };
63301
- Path2.parse = function(path2, base) {
63302
- if (path2 === void 0) {
63303
- path2 = "";
63332
+ Path2.parse = function(path3, base) {
63333
+ if (path3 === void 0) {
63334
+ path3 = "";
63304
63335
  }
63305
- if (path2 instanceof Path2) {
63306
- var found = pathCache.get(path2.entire);
63336
+ if (path3 instanceof Path2) {
63337
+ var found = pathCache.get(path3.entire);
63307
63338
  if (found) {
63308
63339
  return found;
63309
63340
  } else {
63310
- pathCache.set(path2.entire, path2);
63311
- return path2;
63341
+ pathCache.set(path3.entire, path3);
63342
+ return path3;
63312
63343
  }
63313
- } else if (path2 && path2[isMatcher]) {
63314
- return Path2.parse(path2["path"]);
63344
+ } else if (path3 && path3[isMatcher]) {
63345
+ return Path2.parse(path3["path"]);
63315
63346
  } else {
63316
63347
  var key_ = base ? Path2.parse(base) : "";
63317
- var key = "".concat(path2, ":").concat(key_);
63348
+ var key = "".concat(path3, ":").concat(key_);
63318
63349
  var found = pathCache.get(key);
63319
63350
  if (found) {
63320
63351
  return found;
63321
63352
  } else {
63322
- path2 = new Path2(path2, base);
63323
- pathCache.set(key, path2);
63324
- return path2;
63353
+ path3 = new Path2(path3, base);
63354
+ pathCache.set(key, path3);
63355
+ return path3;
63325
63356
  }
63326
63357
  }
63327
63358
  };
63328
63359
  Path2.getIn = function(source, pattern) {
63329
- var path2 = Path2.parse(pattern);
63330
- return path2.getIn(source);
63360
+ var path3 = Path2.parse(pattern);
63361
+ return path3.getIn(source);
63331
63362
  };
63332
63363
  Path2.setIn = function(source, pattern, value) {
63333
- var path2 = Path2.parse(pattern);
63334
- return path2.setIn(source, value);
63364
+ var path3 = Path2.parse(pattern);
63365
+ return path3.setIn(source, value);
63335
63366
  };
63336
63367
  Path2.deleteIn = function(source, pattern) {
63337
- var path2 = Path2.parse(pattern);
63338
- return path2.deleteIn(source);
63368
+ var path3 = Path2.parse(pattern);
63369
+ return path3.deleteIn(source);
63339
63370
  };
63340
63371
  Path2.existIn = function(source, pattern, start) {
63341
- var path2 = Path2.parse(pattern);
63342
- return path2.existIn(source, start);
63372
+ var path3 = Path2.parse(pattern);
63373
+ return path3.existIn(source, start);
63343
63374
  };
63344
63375
  Path2.ensureIn = function(source, pattern, defaultValue) {
63345
- var path2 = Path2.parse(pattern);
63346
- return path2.ensureIn(source, defaultValue);
63376
+ var path3 = Path2.parse(pattern);
63377
+ return path3.ensureIn(source, defaultValue);
63347
63378
  };
63348
63379
  return Path2;
63349
63380
  }();
@@ -65380,9 +65411,9 @@ var init_shared2 = __esm({
65380
65411
  traverse = function(target, visitor) {
65381
65412
  var seenObjects = [];
65382
65413
  var root = target;
65383
- var traverse2 = function(target2, path2) {
65384
- if (path2 === void 0) {
65385
- path2 = [];
65414
+ var traverse2 = function(target2, path3) {
65415
+ if (path3 === void 0) {
65416
+ path3 = [];
65386
65417
  }
65387
65418
  if (isPlainObj(target2)) {
65388
65419
  var seenIndex = seenObjects.indexOf(target2);
@@ -65392,15 +65423,15 @@ var init_shared2 = __esm({
65392
65423
  var addIndex = seenObjects.length;
65393
65424
  seenObjects.push(target2);
65394
65425
  if (isNoNeedCompileObject(target2) && root !== target2) {
65395
- visitor(target2, path2);
65426
+ visitor(target2, path3);
65396
65427
  return;
65397
65428
  }
65398
65429
  each(target2, function(value, key) {
65399
- traverse2(value, path2.concat(key));
65430
+ traverse2(value, path3.concat(key));
65400
65431
  });
65401
65432
  seenObjects.splice(addIndex, 1);
65402
65433
  } else {
65403
- visitor(target2, path2);
65434
+ visitor(target2, path3);
65404
65435
  }
65405
65436
  };
65406
65437
  traverse2(target);
@@ -65411,24 +65442,24 @@ var init_shared2 = __esm({
65411
65442
  }
65412
65443
  var seenObjects = [];
65413
65444
  var root = schema;
65414
- var traverse2 = function(target, path2) {
65445
+ var traverse2 = function(target, path3) {
65415
65446
  var _a2;
65416
- if (path2 === void 0) {
65417
- path2 = [];
65447
+ if (path3 === void 0) {
65448
+ path3 = [];
65418
65449
  }
65419
- if (path2[0] === "x-compile-omitted" || path2[0] === "x-validator" || path2[0] === "version" || path2[0] === "_isJSONSchemaObject")
65450
+ if (path3[0] === "x-compile-omitted" || path3[0] === "x-validator" || path3[0] === "version" || path3[0] === "_isJSONSchemaObject")
65420
65451
  return;
65421
- if (String(path2[0]).indexOf("x-") == -1 && isFn(target))
65452
+ if (String(path3[0]).indexOf("x-") == -1 && isFn(target))
65422
65453
  return;
65423
- if (SchemaNestedMap[path2[0]])
65454
+ if (SchemaNestedMap[path3[0]])
65424
65455
  return;
65425
- if (((_a2 = schema["x-compile-omitted"]) === null || _a2 === void 0 ? void 0 : _a2.indexOf(path2[0])) > -1) {
65426
- visitor(target, path2, true);
65456
+ if (((_a2 = schema["x-compile-omitted"]) === null || _a2 === void 0 ? void 0 : _a2.indexOf(path3[0])) > -1) {
65457
+ visitor(target, path3, true);
65427
65458
  return;
65428
65459
  }
65429
65460
  if (isPlainObj(target)) {
65430
- if (path2[0] === "default" || path2[0] === "x-value") {
65431
- visitor(target, path2);
65461
+ if (path3[0] === "default" || path3[0] === "x-value") {
65462
+ visitor(target, path3);
65432
65463
  return;
65433
65464
  }
65434
65465
  var seenIndex = seenObjects.indexOf(target);
@@ -65438,15 +65469,15 @@ var init_shared2 = __esm({
65438
65469
  var addIndex = seenObjects.length;
65439
65470
  seenObjects.push(target);
65440
65471
  if (isNoNeedCompileObject(target) && root !== target) {
65441
- visitor(target, path2);
65472
+ visitor(target, path3);
65442
65473
  return;
65443
65474
  }
65444
65475
  each(target, function(value, key) {
65445
- traverse2(value, path2.concat(key));
65476
+ traverse2(value, path3.concat(key));
65446
65477
  });
65447
65478
  seenObjects.splice(addIndex, 1);
65448
65479
  } else {
65449
- visitor(target, path2);
65480
+ visitor(target, path3);
65450
65481
  }
65451
65482
  };
65452
65483
  traverse2(schema);
@@ -65490,8 +65521,8 @@ var init_shared2 = __esm({
65490
65521
  patchStateFormSchema = function(targetState, pattern, compiled) {
65491
65522
  untracked(function() {
65492
65523
  var _a2;
65493
- var path2 = Path.parse(pattern);
65494
- var segments = path2.segments;
65524
+ var path3 = Path.parse(pattern);
65525
+ var segments = path3.segments;
65495
65526
  var key = segments[0];
65496
65527
  var isEnum = key === "enum" && isArr(compiled);
65497
65528
  var schemaMapKey = SchemaStateMap[key];
@@ -65583,14 +65614,14 @@ var init_compiler = __esm({
65583
65614
  };
65584
65615
  patchCompile = function(targetState, sourceState, scope) {
65585
65616
  traverse(sourceState, function(value, pattern) {
65586
- var path2 = Path.parse(pattern);
65617
+ var path3 = Path.parse(pattern);
65587
65618
  var compiled = compile(value, scope);
65588
- var key = path2.segments[0];
65619
+ var key = path3.segments[0];
65589
65620
  if (compiled === void 0)
65590
65621
  return;
65591
65622
  if (hasOwnProperty4.call(targetState, key)) {
65592
65623
  untracked(function() {
65593
- return Path.setIn(targetState, path2, compiled);
65624
+ return Path.setIn(targetState, path3, compiled);
65594
65625
  });
65595
65626
  }
65596
65627
  });
@@ -65599,7 +65630,7 @@ var init_compiler = __esm({
65599
65630
  if (demand === void 0) {
65600
65631
  demand = false;
65601
65632
  }
65602
- traverseSchema(sourceSchema, function(value, path2, omitCompile) {
65633
+ traverseSchema(sourceSchema, function(value, path3, omitCompile) {
65603
65634
  var compiled = value;
65604
65635
  var collected = hasCollected(function() {
65605
65636
  if (!omitCompile) {
@@ -65610,10 +65641,10 @@ var init_compiler = __esm({
65610
65641
  return;
65611
65642
  if (demand) {
65612
65643
  if (collected || !targetState.initialized) {
65613
- patchStateFormSchema(targetState, path2, compiled);
65644
+ patchStateFormSchema(targetState, path3, compiled);
65614
65645
  }
65615
65646
  } else {
65616
- patchStateFormSchema(targetState, path2, compiled);
65647
+ patchStateFormSchema(targetState, path3, compiled);
65617
65648
  }
65618
65649
  });
65619
65650
  };
@@ -65937,14 +65968,14 @@ var init_registry = __esm({
65937
65968
  getValidateLanguage = function() {
65938
65969
  return registry.locales.language;
65939
65970
  };
65940
- getLocaleByPath = function(path2, lang) {
65971
+ getLocaleByPath = function(path3, lang) {
65941
65972
  if (lang === void 0) {
65942
65973
  lang = registry.locales.language;
65943
65974
  }
65944
- return getIn2(registry.locales.messages, "".concat(getISOCode(lang), ".").concat(path2));
65975
+ return getIn2(registry.locales.messages, "".concat(getISOCode(lang), ".").concat(path3));
65945
65976
  };
65946
- getValidateLocale = function(path2) {
65947
- var message = getLocaleByPath(path2);
65977
+ getValidateLocale = function(path3) {
65978
+ var message = getLocaleByPath(path3);
65948
65979
  return message || getLocaleByPath("pattern") || getLocaleByPath("pattern", defaultLanguage);
65949
65980
  };
65950
65981
  getValidateMessageTemplateEngine = function() {
@@ -67302,15 +67333,15 @@ var init_internals2 = __esm({
67302
67333
  buildDataPath = function(fields, pattern) {
67303
67334
  var prevArray = false;
67304
67335
  var segments = pattern.segments;
67305
- var path2 = segments.reduce(function(path3, key, index) {
67306
- var currentPath = path3.concat(key);
67336
+ var path3 = segments.reduce(function(path4, key, index) {
67337
+ var currentPath = path4.concat(key);
67307
67338
  var currentAddress = segments.slice(0, index + 1);
67308
67339
  var current = fields[currentAddress.join(".")];
67309
67340
  if (prevArray) {
67310
67341
  if (!isVoidField(current)) {
67311
67342
  prevArray = false;
67312
67343
  }
67313
- return path3;
67344
+ return path4;
67314
67345
  }
67315
67346
  if (index >= segments.length - 1) {
67316
67347
  return currentPath;
@@ -67322,13 +67353,13 @@ var init_internals2 = __esm({
67322
67353
  prevArray = true;
67323
67354
  return currentPath;
67324
67355
  }
67325
- return path3;
67356
+ return path4;
67326
67357
  } else {
67327
67358
  prevArray = false;
67328
67359
  }
67329
67360
  return currentPath;
67330
67361
  }, []);
67331
- return new Path(path2);
67362
+ return new Path(path3);
67332
67363
  };
67333
67364
  locateNode = function(field, address2) {
67334
67365
  field.address = Path.parse(address2);
@@ -67362,33 +67393,33 @@ var init_internals2 = __esm({
67362
67393
  field === null || field === void 0 ? void 0 : field.dispose();
67363
67394
  if (isDataField(field) && forceClear) {
67364
67395
  var form = field.form;
67365
- var path2 = field.path;
67366
- form.deleteValuesIn(path2);
67367
- form.deleteInitialValuesIn(path2);
67396
+ var path3 = field.path;
67397
+ form.deleteValuesIn(path3);
67398
+ form.deleteInitialValuesIn(path3);
67368
67399
  }
67369
67400
  delete target[address2];
67370
67401
  };
67371
- patchFormValues = function(form, path2, source) {
67372
- var update = function(path3, source2) {
67373
- if (path3.length) {
67374
- form.setValuesIn(path3, clone(source2));
67402
+ patchFormValues = function(form, path3, source) {
67403
+ var update = function(path4, source2) {
67404
+ if (path4.length) {
67405
+ form.setValuesIn(path4, clone(source2));
67375
67406
  } else {
67376
67407
  Object.assign(form.values, clone(source2));
67377
67408
  }
67378
67409
  };
67379
- var patch = function(source2, path3) {
67380
- if (path3 === void 0) {
67381
- path3 = [];
67410
+ var patch = function(source2, path4) {
67411
+ if (path4 === void 0) {
67412
+ path4 = [];
67382
67413
  }
67383
- var targetValue = form.getValuesIn(path3);
67384
- var targetField = form.query(path3).take();
67414
+ var targetValue = form.getValuesIn(path4);
67415
+ var targetField = form.query(path4).take();
67385
67416
  var isUnVoidField = targetField && !isVoidField(targetField);
67386
67417
  if (isUnVoidField && targetField.display === "none") {
67387
67418
  targetField.caches.value = clone(source2);
67388
67419
  return;
67389
67420
  }
67390
67421
  if (allowAssignDefaultValue(targetValue, source2)) {
67391
- update(path3, source2);
67422
+ update(path4, source2);
67392
67423
  } else {
67393
67424
  if (isEmpty(source2))
67394
67425
  return;
@@ -67396,20 +67427,20 @@ var init_internals2 = __esm({
67396
67427
  return;
67397
67428
  if (isPlainObj(targetValue) && isPlainObj(source2)) {
67398
67429
  each(source2, function(value, key) {
67399
- patch(value, path3.concat(key));
67430
+ patch(value, path4.concat(key));
67400
67431
  });
67401
67432
  } else {
67402
67433
  if (targetField) {
67403
67434
  if (isUnVoidField && !targetField.selfModified) {
67404
- update(path3, source2);
67435
+ update(path4, source2);
67405
67436
  }
67406
67437
  } else if (form.initialized) {
67407
- update(path3, source2);
67438
+ update(path4, source2);
67408
67439
  }
67409
67440
  }
67410
67441
  }
67411
67442
  };
67412
- patch(source, path2);
67443
+ patch(source, path3);
67413
67444
  };
67414
67445
  matchFeedback = function(search, feedback) {
67415
67446
  if (!search || !feedback)
@@ -67832,13 +67863,13 @@ var init_internals2 = __esm({
67832
67863
  } else if (isGeneralField(pattern)) {
67833
67864
  pattern.setState(payload);
67834
67865
  } else {
67835
- var matchCount_1 = 0, path2 = Path.parse(pattern);
67836
- form.query(path2).forEach(function(field) {
67866
+ var matchCount_1 = 0, path3 = Path.parse(pattern);
67867
+ form.query(path3).forEach(function(field) {
67837
67868
  field.setState(payload);
67838
67869
  matchCount_1++;
67839
67870
  });
67840
- if (matchCount_1 === 0 || path2.isWildMatchPattern) {
67841
- subscribeUpdate(form, path2, payload);
67871
+ if (matchCount_1 === 0 || path3.isWildMatchPattern) {
67872
+ subscribeUpdate(form, path3, payload);
67842
67873
  }
67843
67874
  }
67844
67875
  });
@@ -70543,8 +70574,8 @@ var init_transformer = __esm({
70543
70574
  };
70544
70575
  DefaultFieldEffects = ["onFieldInit", "onFieldValueChange"];
70545
70576
  getDependencyValue = function(field, pattern, property) {
70546
- var _a2 = __read7(String(pattern).split(/\s*#\s*/), 2), target = _a2[0], path2 = _a2[1];
70547
- return field.query(target).getIn(path2 || property || "value");
70577
+ var _a2 = __read7(String(pattern).split(/\s*#\s*/), 2), target = _a2[0], path3 = _a2[1];
70578
+ return field.query(target).getIn(path3 || property || "value");
70548
70579
  };
70549
70580
  getDependencies = function(field, dependencies) {
70550
70581
  if (isArr(dependencies)) {
@@ -72726,11 +72757,11 @@ var require_baseGet = __commonJS({
72726
72757
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGet.js"(exports, module2) {
72727
72758
  var castPath = require_castPath();
72728
72759
  var toKey = require_toKey();
72729
- function baseGet(object, path2) {
72730
- path2 = castPath(path2, object);
72731
- var index = 0, length = path2.length;
72760
+ function baseGet(object, path3) {
72761
+ path3 = castPath(path3, object);
72762
+ var index = 0, length = path3.length;
72732
72763
  while (object != null && index < length) {
72733
- object = object[toKey(path2[index++])];
72764
+ object = object[toKey(path3[index++])];
72734
72765
  }
72735
72766
  return index && index == length ? object : void 0;
72736
72767
  }
@@ -72742,8 +72773,8 @@ var require_baseGet = __commonJS({
72742
72773
  var require_get = __commonJS({
72743
72774
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/get.js"(exports, module2) {
72744
72775
  var baseGet = require_baseGet();
72745
- function get2(object, path2, defaultValue) {
72746
- var result = object == null ? void 0 : baseGet(object, path2);
72776
+ function get2(object, path3, defaultValue) {
72777
+ var result = object == null ? void 0 : baseGet(object, path3);
72747
72778
  return result === void 0 ? defaultValue : result;
72748
72779
  }
72749
72780
  module2.exports = get2;
@@ -72825,14 +72856,14 @@ var require_baseSet = __commonJS({
72825
72856
  var isIndex = require_isIndex();
72826
72857
  var isObject2 = require_isObject();
72827
72858
  var toKey = require_toKey();
72828
- function baseSet(object, path2, value, customizer) {
72859
+ function baseSet(object, path3, value, customizer) {
72829
72860
  if (!isObject2(object)) {
72830
72861
  return object;
72831
72862
  }
72832
- path2 = castPath(path2, object);
72833
- var index = -1, length = path2.length, lastIndex = length - 1, nested = object;
72863
+ path3 = castPath(path3, object);
72864
+ var index = -1, length = path3.length, lastIndex = length - 1, nested = object;
72834
72865
  while (nested != null && ++index < length) {
72835
- var key = toKey(path2[index]), newValue = value;
72866
+ var key = toKey(path3[index]), newValue = value;
72836
72867
  if (key === "__proto__" || key === "constructor" || key === "prototype") {
72837
72868
  return object;
72838
72869
  }
@@ -72840,7 +72871,7 @@ var require_baseSet = __commonJS({
72840
72871
  var objValue = nested[key];
72841
72872
  newValue = customizer ? customizer(objValue, key, nested) : void 0;
72842
72873
  if (newValue === void 0) {
72843
- newValue = isObject2(objValue) ? objValue : isIndex(path2[index + 1]) ? [] : {};
72874
+ newValue = isObject2(objValue) ? objValue : isIndex(path3[index + 1]) ? [] : {};
72844
72875
  }
72845
72876
  }
72846
72877
  assignValue(nested, key, newValue);
@@ -72856,8 +72887,8 @@ var require_baseSet = __commonJS({
72856
72887
  var require_set = __commonJS({
72857
72888
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/set.js"(exports, module2) {
72858
72889
  var baseSet = require_baseSet();
72859
- function set(object, path2, value) {
72860
- return object == null ? object : baseSet(object, path2, value);
72890
+ function set(object, path3, value) {
72891
+ return object == null ? object : baseSet(object, path3, value);
72861
72892
  }
72862
72893
  module2.exports = set;
72863
72894
  }
@@ -85370,11 +85401,11 @@ var require_hasPath = __commonJS({
85370
85401
  var isIndex = require_isIndex();
85371
85402
  var isLength = require_isLength();
85372
85403
  var toKey = require_toKey();
85373
- function hasPath(object, path2, hasFunc) {
85374
- path2 = castPath(path2, object);
85375
- var index = -1, length = path2.length, result = false;
85404
+ function hasPath(object, path3, hasFunc) {
85405
+ path3 = castPath(path3, object);
85406
+ var index = -1, length = path3.length, result = false;
85376
85407
  while (++index < length) {
85377
- var key = toKey(path2[index]);
85408
+ var key = toKey(path3[index]);
85378
85409
  if (!(result = object != null && hasFunc(object, key))) {
85379
85410
  break;
85380
85411
  }
@@ -85395,8 +85426,8 @@ var require_hasIn = __commonJS({
85395
85426
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/hasIn.js"(exports, module2) {
85396
85427
  var baseHasIn = require_baseHasIn();
85397
85428
  var hasPath = require_hasPath();
85398
- function hasIn(object, path2) {
85399
- return object != null && hasPath(object, path2, baseHasIn);
85429
+ function hasIn(object, path3) {
85430
+ return object != null && hasPath(object, path3, baseHasIn);
85400
85431
  }
85401
85432
  module2.exports = hasIn;
85402
85433
  }
@@ -85414,13 +85445,13 @@ var require_baseMatchesProperty = __commonJS({
85414
85445
  var toKey = require_toKey();
85415
85446
  var COMPARE_PARTIAL_FLAG = 1;
85416
85447
  var COMPARE_UNORDERED_FLAG = 2;
85417
- function baseMatchesProperty(path2, srcValue) {
85418
- if (isKey(path2) && isStrictComparable(srcValue)) {
85419
- return matchesStrictComparable(toKey(path2), srcValue);
85448
+ function baseMatchesProperty(path3, srcValue) {
85449
+ if (isKey(path3) && isStrictComparable(srcValue)) {
85450
+ return matchesStrictComparable(toKey(path3), srcValue);
85420
85451
  }
85421
85452
  return function(object) {
85422
- var objValue = get2(object, path2);
85423
- return objValue === void 0 && objValue === srcValue ? hasIn(object, path2) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
85453
+ var objValue = get2(object, path3);
85454
+ return objValue === void 0 && objValue === srcValue ? hasIn(object, path3) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
85424
85455
  };
85425
85456
  }
85426
85457
  module2.exports = baseMatchesProperty;
@@ -85443,9 +85474,9 @@ var require_baseProperty = __commonJS({
85443
85474
  var require_basePropertyDeep = __commonJS({
85444
85475
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePropertyDeep.js"(exports, module2) {
85445
85476
  var baseGet = require_baseGet();
85446
- function basePropertyDeep(path2) {
85477
+ function basePropertyDeep(path3) {
85447
85478
  return function(object) {
85448
- return baseGet(object, path2);
85479
+ return baseGet(object, path3);
85449
85480
  };
85450
85481
  }
85451
85482
  module2.exports = basePropertyDeep;
@@ -85459,8 +85490,8 @@ var require_property = __commonJS({
85459
85490
  var basePropertyDeep = require_basePropertyDeep();
85460
85491
  var isKey = require_isKey();
85461
85492
  var toKey = require_toKey();
85462
- function property(path2) {
85463
- return isKey(path2) ? baseProperty(toKey(path2)) : basePropertyDeep(path2);
85493
+ function property(path3) {
85494
+ return isKey(path3) ? baseProperty(toKey(path3)) : basePropertyDeep(path3);
85464
85495
  }
85465
85496
  module2.exports = property;
85466
85497
  }
@@ -101539,16 +101570,16 @@ var require_os_tmpdir = __commonJS({
101539
101570
  var isWindows = process.platform === "win32";
101540
101571
  var trailingSlashRe = isWindows ? /[^:]\\$/ : /.\/$/;
101541
101572
  module2.exports = function() {
101542
- var path2;
101573
+ var path3;
101543
101574
  if (isWindows) {
101544
- path2 = process.env.TEMP || process.env.TMP || (process.env.SystemRoot || process.env.windir) + "\\temp";
101575
+ path3 = process.env.TEMP || process.env.TMP || (process.env.SystemRoot || process.env.windir) + "\\temp";
101545
101576
  } else {
101546
- path2 = process.env.TMPDIR || process.env.TMP || process.env.TEMP || "/tmp";
101577
+ path3 = process.env.TMPDIR || process.env.TMP || process.env.TEMP || "/tmp";
101547
101578
  }
101548
- if (trailingSlashRe.test(path2)) {
101549
- path2 = path2.slice(0, -1);
101579
+ if (trailingSlashRe.test(path3)) {
101580
+ path3 = path3.slice(0, -1);
101550
101581
  }
101551
- return path2;
101582
+ return path3;
101552
101583
  };
101553
101584
  }
101554
101585
  });
@@ -101557,7 +101588,7 @@ var require_os_tmpdir = __commonJS({
101557
101588
  var require_tmp = __commonJS({
101558
101589
  "../../../../node_modules/.pnpm/tmp@0.0.33/node_modules/tmp/lib/tmp.js"(exports, module2) {
101559
101590
  var fs3 = require("fs");
101560
- var path2 = require("path");
101591
+ var path3 = require("path");
101561
101592
  var crypto = require("crypto");
101562
101593
  var osTmpDir = require_os_tmpdir();
101563
101594
  var _c = process.binding("constants");
@@ -101599,7 +101630,7 @@ var require_tmp = __commonJS({
101599
101630
  }
101600
101631
  function _generateTmpName(opts) {
101601
101632
  if (opts.name) {
101602
- return path2.join(opts.dir || tmpDir, opts.name);
101633
+ return path3.join(opts.dir || tmpDir, opts.name);
101603
101634
  }
101604
101635
  if (opts.template) {
101605
101636
  return opts.template.replace(TEMPLATE_PATTERN, _randomChars(6));
@@ -101610,7 +101641,7 @@ var require_tmp = __commonJS({
101610
101641
  _randomChars(12),
101611
101642
  opts.postfix || ""
101612
101643
  ].join("");
101613
- return path2.join(opts.dir || tmpDir, name);
101644
+ return path3.join(opts.dir || tmpDir, name);
101614
101645
  }
101615
101646
  function tmpName(options, callback) {
101616
101647
  var args = _parseArguments(options, callback), opts = args[0], cb = args[1], tries = opts.name ? 1 : opts.tries || DEFAULT_TRIES;
@@ -101698,7 +101729,7 @@ var require_tmp = __commonJS({
101698
101729
  do {
101699
101730
  var dir2 = dirs.pop(), deferred = false, files = fs3.readdirSync(dir2);
101700
101731
  for (var i = 0, length = files.length; i < length; i++) {
101701
- var file2 = path2.join(dir2, files[i]), stat = fs3.lstatSync(file2);
101732
+ var file2 = path3.join(dir2, files[i]), stat = fs3.lstatSync(file2);
101702
101733
  if (stat.isDirectory()) {
101703
101734
  if (!deferred) {
101704
101735
  deferred = true;
@@ -102337,9 +102368,9 @@ var require_inquirer = __commonJS({
102337
102368
  }
102338
102369
  });
102339
102370
 
102340
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js
102371
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js
102341
102372
  var require_transform = __commonJS({
102342
- "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js"(exports) {
102373
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/transform.js"(exports) {
102343
102374
  "use strict";
102344
102375
  Object.defineProperty(exports, "__esModule", {
102345
102376
  value: true
@@ -102508,9 +102539,9 @@ var require_transform = __commonJS({
102508
102539
  }
102509
102540
  });
102510
102541
 
102511
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js
102542
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js
102512
102543
  var require_prompt2 = __commonJS({
102513
- "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js"(exports) {
102544
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/prompt.js"(exports) {
102514
102545
  "use strict";
102515
102546
  Object.defineProperty(exports, "__esModule", {
102516
102547
  value: true
@@ -102648,9 +102679,9 @@ var require_prompt2 = __commonJS({
102648
102679
  }
102649
102680
  });
102650
102681
 
102651
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js
102682
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js
102652
102683
  var require_inquirer2 = __commonJS({
102653
- "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js"(exports) {
102684
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/inquirer.js"(exports) {
102654
102685
  "use strict";
102655
102686
  Object.defineProperty(exports, "__esModule", {
102656
102687
  value: true
@@ -102722,9 +102753,9 @@ var require_inquirer2 = __commonJS({
102722
102753
  }
102723
102754
  });
102724
102755
 
102725
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js
102756
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js
102726
102757
  var require_node7 = __commonJS({
102727
- "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js"(exports) {
102758
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-formily/dist/js/node/index.js"(exports) {
102728
102759
  "use strict";
102729
102760
  Object.defineProperty(exports, "__esModule", {
102730
102761
  value: true
@@ -102905,8 +102936,8 @@ var require_parent = __commonJS({
102905
102936
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_parent.js"(exports, module2) {
102906
102937
  var baseGet = require_baseGet();
102907
102938
  var baseSlice = require_baseSlice();
102908
- function parent(object, path2) {
102909
- return path2.length < 2 ? object : baseGet(object, baseSlice(path2, 0, -1));
102939
+ function parent(object, path3) {
102940
+ return path3.length < 2 ? object : baseGet(object, baseSlice(path3, 0, -1));
102910
102941
  }
102911
102942
  module2.exports = parent;
102912
102943
  }
@@ -102919,10 +102950,10 @@ var require_baseUnset = __commonJS({
102919
102950
  var last = require_last2();
102920
102951
  var parent = require_parent();
102921
102952
  var toKey = require_toKey();
102922
- function baseUnset(object, path2) {
102923
- path2 = castPath(path2, object);
102924
- object = parent(object, path2);
102925
- return object == null || delete object[toKey(last(path2))];
102953
+ function baseUnset(object, path3) {
102954
+ path3 = castPath(path3, object);
102955
+ object = parent(object, path3);
102956
+ return object == null || delete object[toKey(last(path3))];
102926
102957
  }
102927
102958
  module2.exports = baseUnset;
102928
102959
  }
@@ -103025,10 +103056,10 @@ var require_omit = __commonJS({
103025
103056
  return result;
103026
103057
  }
103027
103058
  var isDeep = false;
103028
- paths = arrayMap(paths, function(path2) {
103029
- path2 = castPath(path2, object);
103030
- isDeep || (isDeep = path2.length > 1);
103031
- return path2;
103059
+ paths = arrayMap(paths, function(path3) {
103060
+ path3 = castPath(path3, object);
103061
+ isDeep || (isDeep = path3.length > 1);
103062
+ return path3;
103032
103063
  });
103033
103064
  copyObject(object, getAllKeysIn(object), result);
103034
103065
  if (isDeep) {
@@ -105537,9 +105568,9 @@ var require_node8 = __commonJS({
105537
105568
  }
105538
105569
  });
105539
105570
 
105540
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js
105571
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js
105541
105572
  var require_zh = __commonJS({
105542
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js"(exports) {
105573
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/zh.js"(exports) {
105543
105574
  "use strict";
105544
105575
  Object.defineProperty(exports, "__esModule", {
105545
105576
  value: true
@@ -105574,9 +105605,9 @@ var require_zh = __commonJS({
105574
105605
  }
105575
105606
  });
105576
105607
 
105577
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js
105608
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js
105578
105609
  var require_en = __commonJS({
105579
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js"(exports) {
105610
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/en.js"(exports) {
105580
105611
  "use strict";
105581
105612
  Object.defineProperty(exports, "__esModule", {
105582
105613
  value: true
@@ -105611,9 +105642,9 @@ var require_en = __commonJS({
105611
105642
  }
105612
105643
  });
105613
105644
 
105614
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js
105645
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js
105615
105646
  var require_locale = __commonJS({
105616
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js"(exports) {
105647
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/locale/index.js"(exports) {
105617
105648
  "use strict";
105618
105649
  Object.defineProperty(exports, "__esModule", {
105619
105650
  value: true
@@ -105638,9 +105669,9 @@ var require_locale = __commonJS({
105638
105669
  }
105639
105670
  });
105640
105671
 
105641
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js
105672
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js
105642
105673
  var require_transform2 = __commonJS({
105643
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js"(exports) {
105674
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/transform.js"(exports) {
105644
105675
  "use strict";
105645
105676
  Object.defineProperty(exports, "__esModule", {
105646
105677
  value: true
@@ -105675,9 +105706,9 @@ var require_transform2 = __commonJS({
105675
105706
  }
105676
105707
  });
105677
105708
 
105678
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js
105709
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js
105679
105710
  var require_checkUseNvm = __commonJS({
105680
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js"(exports) {
105711
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/utils/checkUseNvm.js"(exports) {
105681
105712
  "use strict";
105682
105713
  Object.defineProperty(exports, "__esModule", {
105683
105714
  value: true
@@ -105740,9 +105771,9 @@ var require_checkUseNvm = __commonJS({
105740
105771
  }
105741
105772
  });
105742
105773
 
105743
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js
105774
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js
105744
105775
  var require_node9 = __commonJS({
105745
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.4_abeg2odgkribreskybq6zrfqfq/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js"(exports) {
105776
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.0.5_nm4hhkiukvbf5akr5dslvh5h6q/node_modules/@modern-js/codesmith-api-app/dist/js/node/index.js"(exports) {
105746
105777
  "use strict";
105747
105778
  Object.defineProperty(exports, "__esModule", {
105748
105779
  value: true
@@ -105796,13 +105827,13 @@ var require_node9 = __commonJS({
105796
105827
  var AppAPI2 = class {
105797
105828
  constructor(generatorContext, generatorCore) {
105798
105829
  _defineProperty(this, "i18n", _locale.i18n);
105799
- _defineProperty(this, "generatorCore", void 0);
105800
- _defineProperty(this, "generatorContext", void 0);
105801
105830
  _defineProperty(this, "npmApi", void 0);
105802
105831
  _defineProperty(this, "gitApi", void 0);
105803
105832
  _defineProperty(this, "handlebarsAPI", void 0);
105804
105833
  _defineProperty(this, "ejsAPI", void 0);
105805
105834
  _defineProperty(this, "fsAPI", void 0);
105835
+ _defineProperty(this, "generatorCore", void 0);
105836
+ _defineProperty(this, "generatorContext", void 0);
105806
105837
  this.generatorCore = generatorCore;
105807
105838
  this.generatorContext = generatorContext;
105808
105839
  this.npmApi = new _codesmithApiNpm.NpmAPI(generatorCore);
@@ -105862,6 +105893,7 @@ var require_node9 = __commonJS({
105862
105893
  yield intallPromise;
105863
105894
  this.generatorCore.logger.info(_locale.i18n.t(_locale.localeKeys.install.success));
105864
105895
  } catch (e) {
105896
+ this.generatorCore.logger.warn(e);
105865
105897
  this.generatorCore.logger.warn(_locale.i18n.t(_locale.localeKeys.install.failed, {
105866
105898
  command: command || `${packageManager} install`
105867
105899
  }));
@@ -106311,26 +106343,26 @@ var require_mongo_dot = __commonJS({
106311
106343
  }
106312
106344
  }
106313
106345
  exports.parent = parent;
106314
- var get2 = function(obj, path2) {
106315
- if (path2.includes(".")) {
106316
- var par = parent(obj, path2);
106317
- var mainKey = path2.split(".").pop();
106346
+ var get2 = function(obj, path3) {
106347
+ if (path3.includes(".")) {
106348
+ var par = parent(obj, path3);
106349
+ var mainKey = path3.split(".").pop();
106318
106350
  var t = get_type_1.default(par);
106319
106351
  if ("object" === t || "array" === t)
106320
106352
  return par[mainKey];
106321
106353
  } else {
106322
- return obj[path2];
106354
+ return obj[path3];
106323
106355
  }
106324
106356
  };
106325
106357
  exports.get = get2;
106326
- var set = function(obj, path2, val) {
106327
- if (path2.includes(".")) {
106328
- var par = parent(obj, path2, true);
106329
- var mainKey = path2.split(".").pop();
106358
+ var set = function(obj, path3, val) {
106359
+ if (path3.includes(".")) {
106360
+ var par = parent(obj, path3, true);
106361
+ var mainKey = path3.split(".").pop();
106330
106362
  if (par && "object" === get_type_1.default(par))
106331
106363
  par[mainKey] = val;
106332
106364
  } else {
106333
- obj[path2] = val;
106365
+ obj[path3] = val;
106334
106366
  }
106335
106367
  };
106336
106368
  exports.set = set;
@@ -106412,9 +106444,9 @@ var require_mods = __commonJS({
106412
106444
  }
106413
106445
  };
106414
106446
  }
106415
- var $set = function $set2(obj, path2, val) {
106416
- var key = path2.split(".").pop();
106417
- obj = mongoDot.parent(obj, path2, true);
106447
+ var $set = function $set2(obj, path3, val) {
106448
+ var key = path3.split(".").pop();
106449
+ obj = mongoDot.parent(obj, path3, true);
106418
106450
  switch (get_type_1.default(obj)) {
106419
106451
  case "object":
106420
106452
  if (!mongo_eql_1.default(obj[key], val)) {
@@ -106441,9 +106473,9 @@ var require_mods = __commonJS({
106441
106473
  }
106442
106474
  };
106443
106475
  exports.$set = $set;
106444
- var $unset = function $unset2(obj, path2) {
106445
- var key = path2.split(".").pop();
106446
- obj = mongoDot.parent(obj, path2);
106476
+ var $unset = function $unset2(obj, path3) {
106477
+ var key = path3.split(".").pop();
106478
+ obj = mongoDot.parent(obj, path3);
106447
106479
  switch (get_type_1.default(obj)) {
106448
106480
  case "array":
106449
106481
  case "object":
@@ -106457,17 +106489,17 @@ var require_mods = __commonJS({
106457
106489
  }
106458
106490
  };
106459
106491
  exports.$unset = $unset;
106460
- var $rename = function $rename2(obj, path2, newKey) {
106461
- if (path2 === newKey) {
106492
+ var $rename = function $rename2(obj, path3, newKey) {
106493
+ if (path3 === newKey) {
106462
106494
  throw new Error("$rename source must differ from target");
106463
106495
  }
106464
- if (0 === path2.indexOf(newKey + ".")) {
106496
+ if (0 === path3.indexOf(newKey + ".")) {
106465
106497
  throw new Error("$rename target may not be a parent of source");
106466
106498
  }
106467
- var p = mongoDot.parent(obj, path2);
106499
+ var p = mongoDot.parent(obj, path3);
106468
106500
  var t = get_type_1.default(p);
106469
106501
  if ("object" === t) {
106470
- var key_1 = path2.split(".").pop();
106502
+ var key_1 = path3.split(".").pop();
106471
106503
  if (p.hasOwnProperty(key_1)) {
106472
106504
  return function() {
106473
106505
  var val = p[key_1];
@@ -106488,12 +106520,12 @@ var require_mods = __commonJS({
106488
106520
  }
106489
106521
  };
106490
106522
  exports.$rename = $rename;
106491
- var $inc = function $inc2(obj, path2, inc) {
106523
+ var $inc = function $inc2(obj, path3, inc) {
106492
106524
  if ("number" !== get_type_1.default(inc)) {
106493
106525
  throw new Error("Modifier $inc allowed for numbers only");
106494
106526
  }
106495
- obj = mongoDot.parent(obj, path2, true);
106496
- var key = path2.split(".").pop();
106527
+ obj = mongoDot.parent(obj, path3, true);
106528
+ var key = path3.split(".").pop();
106497
106529
  switch (get_type_1.default(obj)) {
106498
106530
  case "array":
106499
106531
  case "object":
@@ -106519,9 +106551,9 @@ var require_mods = __commonJS({
106519
106551
  }
106520
106552
  };
106521
106553
  exports.$inc = $inc;
106522
- var $pop = function $pop2(obj, path2, val) {
106523
- obj = mongoDot.parent(obj, path2);
106524
- var key = path2.split(".").pop();
106554
+ var $pop = function $pop2(obj, path3, val) {
106555
+ obj = mongoDot.parent(obj, path3);
106556
+ var key = path3.split(".").pop();
106525
106557
  switch (get_type_1.default(obj)) {
106526
106558
  case "array":
106527
106559
  case "object":
@@ -106554,9 +106586,9 @@ var require_mods = __commonJS({
106554
106586
  }
106555
106587
  };
106556
106588
  exports.$pop = $pop;
106557
- var $push = function $push2(obj, path2, val) {
106558
- obj = mongoDot.parent(obj, path2, true);
106559
- var key = path2.split(".").pop();
106589
+ var $push = function $push2(obj, path3, val) {
106590
+ obj = mongoDot.parent(obj, path3, true);
106591
+ var key = path3.split(".").pop();
106560
106592
  switch (get_type_1.default(obj)) {
106561
106593
  case "object":
106562
106594
  if (obj.hasOwnProperty(key)) {
@@ -106597,12 +106629,12 @@ var require_mods = __commonJS({
106597
106629
  }
106598
106630
  };
106599
106631
  exports.$push = $push;
106600
- var $pushAll = function $pushAll2(obj, path2, val) {
106632
+ var $pushAll = function $pushAll2(obj, path3, val) {
106601
106633
  if ("array" !== get_type_1.default(val)) {
106602
106634
  throw new Error("Modifier $pushAll/pullAll allowed for arrays only");
106603
106635
  }
106604
- obj = mongoDot.parent(obj, path2, true);
106605
- var key = path2.split(".").pop();
106636
+ obj = mongoDot.parent(obj, path3, true);
106637
+ var key = path3.split(".").pop();
106606
106638
  switch (get_type_1.default(obj)) {
106607
106639
  case "object":
106608
106640
  if (obj.hasOwnProperty(key)) {
@@ -106643,9 +106675,9 @@ var require_mods = __commonJS({
106643
106675
  }
106644
106676
  };
106645
106677
  exports.$pushAll = $pushAll;
106646
- var $pull = function $pull2(obj, path2, val) {
106647
- obj = mongoDot.parent(obj, path2, true);
106648
- var key = path2.split(".").pop();
106678
+ var $pull = function $pull2(obj, path3, val) {
106679
+ obj = mongoDot.parent(obj, path3, true);
106680
+ var key = path3.split(".").pop();
106649
106681
  var t = get_type_1.default(obj);
106650
106682
  switch (t) {
106651
106683
  case "object":
@@ -106689,12 +106721,12 @@ var require_mods = __commonJS({
106689
106721
  }
106690
106722
  };
106691
106723
  exports.$pull = $pull;
106692
- var $pullAll = function $pullAll2(obj, path2, val) {
106724
+ var $pullAll = function $pullAll2(obj, path3, val) {
106693
106725
  if ("array" !== get_type_1.default(val)) {
106694
106726
  throw new Error("Modifier $pushAll/pullAll allowed for arrays only");
106695
106727
  }
106696
- obj = mongoDot.parent(obj, path2, true);
106697
- var key = path2.split(".").pop();
106728
+ obj = mongoDot.parent(obj, path3, true);
106729
+ var key = path3.split(".").pop();
106698
106730
  var t = get_type_1.default(obj);
106699
106731
  switch (t) {
106700
106732
  case "object":
@@ -106738,11 +106770,11 @@ var require_mods = __commonJS({
106738
106770
  }
106739
106771
  };
106740
106772
  exports.$pullAll = $pullAll;
106741
- var $addToSet = function $addToSet2(obj, path2, val, recursing) {
106773
+ var $addToSet = function $addToSet2(obj, path3, val, recursing) {
106742
106774
  if (!recursing && "array" === get_type_1.default(val.$each)) {
106743
106775
  var fns_1 = [];
106744
106776
  for (var i = 0, l = val.$each.length; i < l; i++) {
106745
- var fn = $addToSet2(obj, path2, val.$each[i], true);
106777
+ var fn = $addToSet2(obj, path3, val.$each[i], true);
106746
106778
  if (fn)
106747
106779
  fns_1.push(fn);
106748
106780
  }
@@ -106757,8 +106789,8 @@ var require_mods = __commonJS({
106757
106789
  return;
106758
106790
  }
106759
106791
  }
106760
- obj = mongoDot.parent(obj, path2, true);
106761
- var key = path2.split(".").pop();
106792
+ obj = mongoDot.parent(obj, path3, true);
106793
+ var key = path3.split(".").pop();
106762
106794
  switch (get_type_1.default(obj)) {
106763
106795
  case "object":
106764
106796
  if (obj.hasOwnProperty(key)) {
@@ -106893,9 +106925,9 @@ var require_dist2 = __commonJS({
106893
106925
  }
106894
106926
  });
106895
106927
 
106896
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.4/node_modules/@modern-js/codesmith-api-json/dist/js/node/utils/index.js
106928
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/utils/index.js
106897
106929
  var require_utils12 = __commonJS({
106898
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.4/node_modules/@modern-js/codesmith-api-json/dist/js/node/utils/index.js"(exports) {
106930
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/utils/index.js"(exports) {
106899
106931
  "use strict";
106900
106932
  Object.defineProperty(exports, "__esModule", {
106901
106933
  value: true
@@ -106917,9 +106949,9 @@ var require_utils12 = __commonJS({
106917
106949
  }
106918
106950
  });
106919
106951
 
106920
- // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.4/node_modules/@modern-js/codesmith-api-json/dist/js/node/index.js
106952
+ // ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/index.js
106921
106953
  var require_node10 = __commonJS({
106922
- "../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.4/node_modules/@modern-js/codesmith-api-json/dist/js/node/index.js"(exports) {
106954
+ "../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.0.5/node_modules/@modern-js/codesmith-api-json/dist/js/node/index.js"(exports) {
106923
106955
  "use strict";
106924
106956
  Object.defineProperty(exports, "__esModule", {
106925
106957
  value: true
@@ -136375,7 +136407,7 @@ var require_FileSizeReporter2 = __commonJS({
136375
136407
  });
136376
136408
  module2.exports = __toCommonJS2(FileSizeReporter_exports);
136377
136409
  var import_fs = __toESM2(require("fs"));
136378
- var import_path3 = __toESM2(require("path"));
136410
+ var import_path4 = __toESM2(require("path"));
136379
136411
  var import_compiled = require_compiled2();
136380
136412
  var import_logger = require_logger4();
136381
136413
  function canReadAsset(asset) {
@@ -136386,7 +136418,7 @@ var require_FileSizeReporter2 = __commonJS({
136386
136418
  var sizes = previousSizeMap.sizes;
136387
136419
  var assets = (webpackStats.stats || [webpackStats]).map(
136388
136420
  (stats) => stats.toJson({ all: false, assets: true }).assets.filter((asset) => canReadAsset(asset.name)).map((asset) => {
136389
- var fileContents = import_fs.default.readFileSync(import_path3.default.join(root, asset.name));
136421
+ var fileContents = import_fs.default.readFileSync(import_path4.default.join(root, asset.name));
136390
136422
  var size = fileContents.length;
136391
136423
  var gzippedSize = import_compiled.gzipSize.sync(fileContents);
136392
136424
  var [previousSize, previousGzipSize] = sizes[removeFileNameHash(root, asset.name)] || [];
@@ -136396,11 +136428,11 @@ var require_FileSizeReporter2 = __commonJS({
136396
136428
  previousGzipSize
136397
136429
  );
136398
136430
  return {
136399
- folder: import_path3.default.join(
136400
- import_path3.default.basename(buildFolder),
136401
- import_path3.default.dirname(asset.name)
136431
+ folder: import_path4.default.join(
136432
+ import_path4.default.basename(buildFolder),
136433
+ import_path4.default.dirname(asset.name)
136402
136434
  ),
136403
- name: import_path3.default.basename(asset.name),
136435
+ name: import_path4.default.basename(asset.name),
136404
136436
  gzippedSize,
136405
136437
  sizeLabel: (0, import_compiled.filesize)(size) + (sizeDifference ? " (" + sizeDifference + ")" : ""),
136406
136438
  gzipSizeLabel: (0, import_compiled.filesize)(gzippedSize) + (gzipSizeDifference ? " (" + gzipSizeDifference + ")" : "")
@@ -136414,19 +136446,19 @@ var require_FileSizeReporter2 = __commonJS({
136414
136446
  );
136415
136447
  var longestFileNameLength = Math.max.apply(
136416
136448
  null,
136417
- assets.map((a) => (0, import_compiled.stripAnsi)(a.folder + import_path3.default.sep + a.name).length)
136449
+ assets.map((a) => (0, import_compiled.stripAnsi)(a.folder + import_path4.default.sep + a.name).length)
136418
136450
  );
136419
136451
  printFileSizesHeader(longestFileNameLength, longestSizeLabelLength);
136420
136452
  var suggestBundleSplitting = false;
136421
136453
  assets.forEach((asset) => {
136422
136454
  var { folder, name, sizeLabel, gzipSizeLabel, gzippedSize } = asset;
136423
- var fileNameLength = (0, import_compiled.stripAnsi)(folder + import_path3.default.sep + name).length;
136455
+ var fileNameLength = (0, import_compiled.stripAnsi)(folder + import_path4.default.sep + name).length;
136424
136456
  var sizeLength = (0, import_compiled.stripAnsi)(sizeLabel).length;
136425
136457
  if (sizeLength < longestSizeLabelLength) {
136426
136458
  var rightPadding = " ".repeat(longestSizeLabelLength - sizeLength);
136427
136459
  sizeLabel += rightPadding;
136428
136460
  }
136429
- var fileNameLabel = import_compiled.chalk.dim(asset.folder + import_path3.default.sep) + import_compiled.chalk.cyan(asset.name);
136461
+ var fileNameLabel = import_compiled.chalk.dim(asset.folder + import_path4.default.sep) + import_compiled.chalk.cyan(asset.name);
136430
136462
  if (fileNameLength < longestFileNameLength) {
136431
136463
  var rightPadding = " ".repeat(longestFileNameLength - fileNameLength);
136432
136464
  fileNameLabel += rightPadding;
@@ -136434,7 +136466,7 @@ var require_FileSizeReporter2 = __commonJS({
136434
136466
  var isMainBundle = asset.name.indexOf("main.") === 0;
136435
136467
  var maxRecommendedSize = isMainBundle ? maxBundleGzipSize : maxChunkGzipSize;
136436
136468
  var isLarge = maxRecommendedSize && gzippedSize > maxRecommendedSize;
136437
- if (isLarge && import_path3.default.extname(asset.name) === ".js") {
136469
+ if (isLarge && import_path4.default.extname(asset.name) === ".js") {
136438
136470
  suggestBundleSplitting = true;
136439
136471
  }
136440
136472
  import_logger.logger.log(
@@ -136800,14 +136832,16 @@ var require_is2 = __commonJS({
136800
136832
  isEmpty: () => isEmpty2,
136801
136833
  isFastRefresh: () => isFastRefresh,
136802
136834
  isRouterV5: () => isRouterV5,
136835
+ isSSGEntry: () => isSSGEntry,
136803
136836
  isSSR: () => isSSR,
136804
136837
  isServiceWorker: () => isServiceWorker,
136838
+ isSingleEntry: () => isSingleEntry,
136805
136839
  isTypescript: () => isTypescript,
136806
136840
  isUseSSRBundle: () => isUseSSRBundle
136807
136841
  });
136808
136842
  module2.exports = __toCommonJS2(is_exports);
136809
136843
  var import_fs = __toESM2(require("fs"));
136810
- var import_path3 = __toESM2(require("path"));
136844
+ var import_path4 = __toESM2(require("path"));
136811
136845
  var import_debug = require_debug5();
136812
136846
  var import_nodeEnv = require_nodeEnv2();
136813
136847
  __reExport(is_exports, require_nodeEnv2(), module2.exports);
@@ -136815,7 +136849,7 @@ var require_is2 = __commonJS({
136815
136849
  __reExport(is_exports, require_type2(), module2.exports);
136816
136850
  var debug2 = (0, import_debug.createDebugger)("judge-depExists");
136817
136851
  var isDepExists = (appDirectory, name) => {
136818
- const pkgPath = import_path3.default.resolve(appDirectory, "./package.json");
136852
+ const pkgPath = import_path4.default.resolve(appDirectory, "./package.json");
136819
136853
  if (!import_fs.default.existsSync(pkgPath)) {
136820
136854
  debug2(`can't find package.json under: %s`, appDirectory);
136821
136855
  return false;
@@ -136824,7 +136858,7 @@ var require_is2 = __commonJS({
136824
136858
  const { dependencies = {}, devDependencies = {} } = json;
136825
136859
  return dependencies.hasOwnProperty(name) || devDependencies.hasOwnProperty(name);
136826
136860
  };
136827
- var isTypescript = (root) => import_fs.default.existsSync(import_path3.default.resolve(root, "./tsconfig.json"));
136861
+ var isTypescript = (root) => import_fs.default.existsSync(import_path4.default.resolve(root, "./tsconfig.json"));
136828
136862
  var isEmpty2 = (o) => Object.entries(o).length === 0 && o.constructor === Object;
136829
136863
  var isSSR = (config) => {
136830
136864
  const { server } = config;
@@ -136859,6 +136893,12 @@ var require_is2 = __commonJS({
136859
136893
  var _a2, _b, _c;
136860
136894
  return typeof ((_a2 = config.runtime) == null ? void 0 : _a2.router) !== "boolean" && ((_c = (_b = config == null ? void 0 : config.runtime) == null ? void 0 : _b.router) == null ? void 0 : _c.mode) === "react-router-5";
136861
136895
  };
136896
+ var isSSGEntry = (config, entryName, entrypoints) => {
136897
+ const ssgConfig = config.output.ssg;
136898
+ const useSSG = isSingleEntry(entrypoints) ? Boolean(ssgConfig) : ssgConfig === true || typeof (ssgConfig == null ? void 0 : ssgConfig[0]) === "function" || Boolean(ssgConfig == null ? void 0 : ssgConfig[entryName]);
136899
+ return useSSG;
136900
+ };
136901
+ var isSingleEntry = (entrypoints) => entrypoints.length === 1 && entrypoints[0].entryName === "main";
136862
136902
  }
136863
136903
  });
136864
136904
 
@@ -136931,12 +136971,12 @@ var require_compatRequire2 = __commonJS({
136931
136971
  delete require.cache[filepath];
136932
136972
  });
136933
136973
  };
136934
- function deleteRequireCache(path2) {
136935
- if (require.cache[path2]) {
136936
- delete require.cache[path2];
136974
+ function deleteRequireCache(path3) {
136975
+ if (require.cache[path3]) {
136976
+ delete require.cache[path3];
136937
136977
  }
136938
136978
  if (module2.children) {
136939
- module2.children = module2.children.filter((item) => item.filename !== path2);
136979
+ module2.children = module2.children.filter((item) => item.filename !== path3);
136940
136980
  }
136941
136981
  }
136942
136982
  }
@@ -137294,8 +137334,8 @@ var require_ensureAbsolutePath2 = __commonJS({
137294
137334
  ensureAbsolutePath: () => ensureAbsolutePath
137295
137335
  });
137296
137336
  module2.exports = __toCommonJS2(ensureAbsolutePath_exports);
137297
- var import_path3 = __toESM2(require("path"));
137298
- var ensureAbsolutePath = (base, filePath) => import_path3.default.isAbsolute(filePath) ? filePath : import_path3.default.resolve(base, filePath);
137337
+ var import_path4 = __toESM2(require("path"));
137338
+ var ensureAbsolutePath = (base, filePath) => import_path4.default.isAbsolute(filePath) ? filePath : import_path4.default.resolve(base, filePath);
137299
137339
  }
137300
137340
  });
137301
137341
 
@@ -137683,7 +137723,7 @@ var require_monorepo2 = __commonJS({
137683
137723
  });
137684
137724
  module2.exports = __toCommonJS2(monorepo_exports);
137685
137725
  var import_fs = __toESM2(require("fs"));
137686
- var import_path3 = __toESM2(require("path"));
137726
+ var import_path4 = __toESM2(require("path"));
137687
137727
  var import_compiled = require_compiled2();
137688
137728
  var PACKAGE_MAX_DEPTH = 5;
137689
137729
  var WORKSPACE_FILES = {
@@ -137691,20 +137731,20 @@ var require_monorepo2 = __commonJS({
137691
137731
  PNPM: "pnpm-workspace.yaml",
137692
137732
  LERNA: "lerna.json"
137693
137733
  };
137694
- var isLerna = (root) => import_fs.default.existsSync(import_path3.default.join(root, WORKSPACE_FILES.LERNA));
137734
+ var isLerna = (root) => import_fs.default.existsSync(import_path4.default.join(root, WORKSPACE_FILES.LERNA));
137695
137735
  var isYarnWorkspaces = (root) => {
137696
137736
  var _a2;
137697
- const pkg = import_path3.default.join(root, WORKSPACE_FILES.YARN);
137737
+ const pkg = import_path4.default.join(root, WORKSPACE_FILES.YARN);
137698
137738
  if (!import_fs.default.existsSync(pkg)) {
137699
137739
  return false;
137700
137740
  }
137701
137741
  const json = JSON.parse(import_fs.default.readFileSync(pkg, "utf8"));
137702
137742
  return Boolean((_a2 = json.workspaces) == null ? void 0 : _a2.packages);
137703
137743
  };
137704
- var isPnpmWorkspaces = (root) => import_fs.default.existsSync(import_path3.default.join(root, WORKSPACE_FILES.PNPM));
137744
+ var isPnpmWorkspaces = (root) => import_fs.default.existsSync(import_path4.default.join(root, WORKSPACE_FILES.PNPM));
137705
137745
  var isMonorepo = (root) => isLerna(root) || isYarnWorkspaces(root) || isPnpmWorkspaces(root);
137706
137746
  var isModernjsMonorepo = (root) => {
137707
- const pkgJsonPath = import_path3.default.join(root, "package.json");
137747
+ const pkgJsonPath = import_path4.default.join(root, "package.json");
137708
137748
  if (!import_fs.default.existsSync(pkgJsonPath)) {
137709
137749
  return false;
137710
137750
  }
@@ -137719,7 +137759,7 @@ var require_monorepo2 = __commonJS({
137719
137759
  inMonorepo = true;
137720
137760
  break;
137721
137761
  }
137722
- appDirectory = import_path3.default.dirname(appDirectory);
137762
+ appDirectory = import_path4.default.dirname(appDirectory);
137723
137763
  }
137724
137764
  return inMonorepo ? appDirectory : void 0;
137725
137765
  };
@@ -137727,31 +137767,31 @@ var require_monorepo2 = __commonJS({
137727
137767
  let packages = [];
137728
137768
  if (isYarnWorkspaces(root)) {
137729
137769
  const json = JSON.parse(
137730
- import_fs.default.readFileSync(import_path3.default.join(root, "package.json"), "utf8")
137770
+ import_fs.default.readFileSync(import_path4.default.join(root, "package.json"), "utf8")
137731
137771
  );
137732
137772
  ({ packages } = json.workspaces);
137733
137773
  } else if (isLerna(root)) {
137734
137774
  const json = JSON.parse(
137735
- import_fs.default.readFileSync(import_path3.default.resolve(root, "lerna.json"), "utf8")
137775
+ import_fs.default.readFileSync(import_path4.default.resolve(root, "lerna.json"), "utf8")
137736
137776
  );
137737
137777
  ({ packages } = json);
137738
137778
  } else {
137739
137779
  ({ packages } = import_compiled.yaml.load(
137740
- import_fs.default.readFileSync(import_path3.default.join(root, WORKSPACE_FILES.PNPM), "utf8")
137780
+ import_fs.default.readFileSync(import_path4.default.join(root, WORKSPACE_FILES.PNPM), "utf8")
137741
137781
  ));
137742
137782
  }
137743
137783
  if (packages) {
137744
137784
  return packages.map(
137745
137785
  (name) => (
137746
137786
  // The trailing / ensures only dirs are picked up
137747
- import_compiled.glob.sync(import_path3.default.join(root, `${name}/`), {
137787
+ import_compiled.glob.sync(import_path4.default.join(root, `${name}/`), {
137748
137788
  ignore: ["**/node_modules/**"]
137749
137789
  })
137750
137790
  )
137751
- ).reduce((acc, val) => acc.concat(val), []).filter((filepath) => import_fs.default.existsSync(import_path3.default.resolve(filepath, "package.json"))).map((filepath) => ({
137791
+ ).reduce((acc, val) => acc.concat(val), []).filter((filepath) => import_fs.default.existsSync(import_path4.default.resolve(filepath, "package.json"))).map((filepath) => ({
137752
137792
  path: filepath,
137753
137793
  name: JSON.parse(
137754
- import_fs.default.readFileSync(import_path3.default.resolve(filepath, "package.json"), "utf8")
137794
+ import_fs.default.readFileSync(import_path4.default.resolve(filepath, "package.json"), "utf8")
137755
137795
  ).name
137756
137796
  }));
137757
137797
  }
@@ -137897,7 +137937,7 @@ var require_getPackageManager2 = __commonJS({
137897
137937
  });
137898
137938
  module2.exports = __toCommonJS2(getPackageManager_exports);
137899
137939
  var import_os = __toESM2(require("os"));
137900
- var import_path3 = __toESM2(require("path"));
137940
+ var import_path4 = __toESM2(require("path"));
137901
137941
  var import_compiled = require_compiled2();
137902
137942
  var import_nodeEnv = require_nodeEnv3();
137903
137943
  var MAX_TIMES = 5;
@@ -137907,16 +137947,16 @@ var require_getPackageManager2 = __commonJS({
137907
137947
  let times = 0;
137908
137948
  while (import_os.default.homedir() !== appDirectory && times < MAX_TIMES) {
137909
137949
  times++;
137910
- if (import_compiled.fs.existsSync(import_path3.default.resolve(appDirectory, "pnpm-lock.yaml"))) {
137950
+ if (import_compiled.fs.existsSync(import_path4.default.resolve(appDirectory, "pnpm-lock.yaml"))) {
137911
137951
  return "pnpm";
137912
137952
  }
137913
- if (import_compiled.fs.existsSync(import_path3.default.resolve(appDirectory, "yarn.lock"))) {
137953
+ if (import_compiled.fs.existsSync(import_path4.default.resolve(appDirectory, "yarn.lock"))) {
137914
137954
  return "yarn";
137915
137955
  }
137916
- if (import_compiled.fs.existsSync(import_path3.default.resolve(appDirectory, "package-lock.json"))) {
137956
+ if (import_compiled.fs.existsSync(import_path4.default.resolve(appDirectory, "package-lock.json"))) {
137917
137957
  return "npm";
137918
137958
  }
137919
- appDirectory = import_path3.default.join(appDirectory, "..");
137959
+ appDirectory = import_path4.default.join(appDirectory, "..");
137920
137960
  }
137921
137961
  if (yield (0, import_nodeEnv.canUsePnpm)()) {
137922
137962
  return "pnpm";
@@ -137974,20 +138014,20 @@ var require_path2 = __commonJS({
137974
138014
  upwardPaths: () => upwardPaths
137975
138015
  });
137976
138016
  module2.exports = __toCommonJS2(path_exports);
137977
- var import_path3 = __toESM2(require("path"));
138017
+ var import_path4 = __toESM2(require("path"));
137978
138018
  var import_os = __toESM2(require("os"));
137979
138019
  var import_fs = __toESM2(require("fs"));
137980
138020
  var import_compiled = require_compiled2();
137981
- var isPathString = (test) => import_path3.default.posix.basename(test) !== test || import_path3.default.win32.basename(test) !== test;
138021
+ var isPathString = (test) => import_path4.default.posix.basename(test) !== test || import_path4.default.win32.basename(test) !== test;
137982
138022
  var isRelativePath = (test) => /^\.\.?($|[\\/])/.test(test);
137983
138023
  var normalizeOutputPath = (s) => s.replace(/\\/g, "\\\\");
137984
- var normalizeToPosixPath = (p) => import_compiled.upath.normalizeSafe(import_path3.default.normalize(p || "")).replace(/^([a-zA-Z]+):/, (_2, m) => `/${m.toLowerCase()}`);
138024
+ var normalizeToPosixPath = (p) => import_compiled.upath.normalizeSafe(import_path4.default.normalize(p || "")).replace(/^([a-zA-Z]+):/, (_2, m) => `/${m.toLowerCase()}`);
137985
138025
  var getTemplatePath = (prefix) => {
137986
138026
  const tmpRoot = import_fs.default.realpathSync(import_os.default.tmpdir());
137987
138027
  const parts = [tmpRoot];
137988
138028
  prefix && parts.push(prefix);
137989
138029
  parts.push((0, import_compiled.nanoid)());
137990
- return import_path3.default.resolve(...parts);
138030
+ return import_path4.default.resolve(...parts);
137991
138031
  };
137992
138032
  function compilePathMatcherRegExp(match) {
137993
138033
  if (typeof match !== "string") {
@@ -138050,7 +138090,7 @@ var require_runtimeExports2 = __commonJS({
138050
138090
  createRuntimeExportsUtils: () => createRuntimeExportsUtils
138051
138091
  });
138052
138092
  module2.exports = __toCommonJS2(runtimeExports_exports);
138053
- var import_path3 = __toESM2(require("path"));
138093
+ var import_path4 = __toESM2(require("path"));
138054
138094
  var import_compiled = require_compiled2();
138055
138095
  var import_path22 = require_path2();
138056
138096
  var memo = (fn) => {
@@ -138068,7 +138108,7 @@ var require_runtimeExports2 = __commonJS({
138068
138108
  };
138069
138109
  var createRuntimeExportsUtils = memo(
138070
138110
  (pwd = "", namespace = "index") => {
138071
- const entryExportFile = import_path3.default.join(pwd, `.runtime-exports/${namespace}.js`);
138111
+ const entryExportFile = import_path4.default.join(pwd, `.runtime-exports/${namespace}.js`);
138072
138112
  const addExport = (statement) => {
138073
138113
  statement = (0, import_path22.normalizeOutputPath)(statement);
138074
138114
  try {
@@ -138126,13 +138166,13 @@ var require_readTsConfig2 = __commonJS({
138126
138166
  readTsConfigByFile: () => readTsConfigByFile2
138127
138167
  });
138128
138168
  module2.exports = __toCommonJS2(readTsConfig_exports);
138129
- var import_path3 = __toESM2(require("path"));
138169
+ var import_path4 = __toESM2(require("path"));
138130
138170
  var import_compiled = require_compiled2();
138131
138171
  var readTsConfig = (root) => {
138132
- return readTsConfigByFile2(import_path3.default.resolve(root, "./tsconfig.json"));
138172
+ return readTsConfigByFile2(import_path4.default.resolve(root, "./tsconfig.json"));
138133
138173
  };
138134
138174
  var readTsConfigByFile2 = (filename) => {
138135
- const content = import_compiled.fs.readFileSync(import_path3.default.resolve(filename), "utf-8");
138175
+ const content = import_compiled.fs.readFileSync(import_path4.default.resolve(filename), "utf-8");
138136
138176
  return import_compiled.json5.parse(content);
138137
138177
  };
138138
138178
  }
@@ -138178,12 +138218,12 @@ var require_pathSerializer = __commonJS({
138178
138218
  module2.exports = __toCommonJS2(pathSerializer_exports);
138179
138219
  var import_os = __toESM2(require("os"));
138180
138220
  var import_lodash3 = __toESM2(require_lodash3());
138181
- var import_path3 = require_path2();
138182
- var matchUpwardPathsAsUnknown = (p) => (0, import_lodash3.default)((0, import_path3.upwardPaths)((0, import_path3.normalizeToPosixPath)(p))).map((match) => ({ match, mark: "unknown" })).slice(1, -1).value();
138221
+ var import_path4 = require_path2();
138222
+ var matchUpwardPathsAsUnknown = (p) => (0, import_lodash3.default)((0, import_path4.upwardPaths)((0, import_path4.normalizeToPosixPath)(p))).map((match) => ({ match, mark: "unknown" })).slice(1, -1).value();
138183
138223
  function applyPathMatcher(matcher, str, options = {}) {
138184
- const regex2 = (0, import_path3.compilePathMatcherRegExp)(matcher.match);
138224
+ const regex2 = (0, import_path4.compilePathMatcherRegExp)(matcher.match);
138185
138225
  const replacer = (substring, ...args) => {
138186
- if (options.minPartials && (0, import_path3.splitPathString)(substring).length < options.minPartials) {
138226
+ if (options.minPartials && (0, import_path4.splitPathString)(substring).length < options.minPartials) {
138187
138227
  return substring;
138188
138228
  }
138189
138229
  const ret = typeof matcher.mark === "string" ? matcher.mark : matcher.mark(substring, ...args);
@@ -138203,7 +138243,7 @@ var require_pathSerializer = __commonJS({
138203
138243
  mark: "pnpmInner"
138204
138244
  }
138205
138245
  ];
138206
- const tmpdir = (0, import_path3.getRealTemporaryDirectory)();
138246
+ const tmpdir = (0, import_path4.getRealTemporaryDirectory)();
138207
138247
  tmpdir && ret.push({ match: tmpdir, mark: "temp" });
138208
138248
  ret.push({ match: import_os.default.tmpdir(), mark: "temp" });
138209
138249
  ret.push({ match: import_os.default.homedir(), mark: "home" });
@@ -138310,14 +138350,12 @@ var require_prettyInstructions2 = __commonJS({
138310
138350
  __export2(prettyInstructions_exports, {
138311
138351
  getAddressUrls: () => getAddressUrls,
138312
138352
  getIpv4Interfaces: () => getIpv4Interfaces,
138313
- isSingleEntry: () => isSingleEntry,
138314
138353
  prettyInstructions: () => prettyInstructions
138315
138354
  });
138316
138355
  module2.exports = __toCommonJS2(prettyInstructions_exports);
138317
138356
  var import_os = __toESM2(require("os"));
138318
138357
  var import_compiled = require_compiled2();
138319
138358
  var import_is = require_is2();
138320
- var isSingleEntry = (entrypoints) => entrypoints.length === 1 && entrypoints[0].entryName === "main";
138321
138359
  var normalizeUrl = (url) => url.replace(/([^:]\/)\/+/g, "$1");
138322
138360
  var getIpv4Interfaces = () => {
138323
138361
  const interfaces = import_os.default.networkInterfaces();
@@ -138356,7 +138394,7 @@ var require_prettyInstructions2 = __commonJS({
138356
138394
  );
138357
138395
  const routes = !apiOnly ? serverRoutes.filter((route) => route.entryName) : serverRoutes;
138358
138396
  let message = "App running at:\n\n";
138359
- if (isSingleEntry(entrypoints) || apiOnly) {
138397
+ if ((0, import_is.isSingleEntry)(entrypoints) || apiOnly) {
138360
138398
  message += urls.map(
138361
138399
  ({ type, url }) => ` ${import_compiled.chalk.bold(`> ${type.padEnd(10)}`)}${import_compiled.chalk.cyanBright(
138362
138400
  normalizeUrl(`${url}/${routes[0].urlPath}`)
@@ -138446,7 +138484,7 @@ var require_alias2 = __commonJS({
138446
138484
  });
138447
138485
  module2.exports = __toCommonJS2(alias_exports);
138448
138486
  var import_fs = __toESM2(require("fs"));
138449
- var import_path3 = __toESM2(require("path"));
138487
+ var import_path4 = __toESM2(require("path"));
138450
138488
  var import_compiled = require_compiled2();
138451
138489
  var import_readTsConfig = require_readTsConfig2();
138452
138490
  var import_applyOptionsChain = require_applyOptionsChain2();
@@ -138485,7 +138523,7 @@ var require_alias2 = __commonJS({
138485
138523
  const tsconfig = (0, import_readTsConfig.readTsConfigByFile)(option.tsconfigPath);
138486
138524
  const baseUrl = (_a2 = tsconfig == null ? void 0 : tsconfig.compilerOptions) == null ? void 0 : _a2.baseUrl;
138487
138525
  return {
138488
- absoluteBaseUrl: baseUrl ? import_path3.default.join(option.appDirectory, baseUrl) : option.appDirectory,
138526
+ absoluteBaseUrl: baseUrl ? import_path4.default.join(option.appDirectory, baseUrl) : option.appDirectory,
138489
138527
  paths: __spreadValues2(__spreadValues2({}, alias), (_b = tsconfig == null ? void 0 : tsconfig.compilerOptions) == null ? void 0 : _b.paths),
138490
138528
  isTsPath: true,
138491
138529
  isTsProject
@@ -138556,7 +138594,7 @@ var require_watch2 = __commonJS({
138556
138594
  watch: () => watch
138557
138595
  });
138558
138596
  module2.exports = __toCommonJS2(watch_exports);
138559
- var path2 = __toESM2(require("path"));
138597
+ var path3 = __toESM2(require("path"));
138560
138598
  var import_compiled = require_compiled2();
138561
138599
  var WatchChangeType = {
138562
138600
  ADD: "add",
@@ -138570,17 +138608,17 @@ var require_watch2 = __commonJS({
138570
138608
  });
138571
138609
  watcher.on("ready", () => ready = true);
138572
138610
  watcher.on("change", (filePath) => __async2(void 0, null, function* () {
138573
- const changedFilePath = path2.resolve(filePath);
138611
+ const changedFilePath = path3.resolve(filePath);
138574
138612
  yield runTask({ changedFilePath, changeType: WatchChangeType.CHANGE });
138575
138613
  }));
138576
138614
  watcher.on("add", (filePath) => __async2(void 0, null, function* () {
138577
- const changedFilePath = path2.resolve(filePath);
138615
+ const changedFilePath = path3.resolve(filePath);
138578
138616
  if (ready) {
138579
138617
  yield runTask({ changedFilePath, changeType: WatchChangeType.ADD });
138580
138618
  }
138581
138619
  }));
138582
138620
  watcher.on("unlink", (filePath) => __async2(void 0, null, function* () {
138583
- const changedFilePath = path2.resolve(filePath);
138621
+ const changedFilePath = path3.resolve(filePath);
138584
138622
  yield runTask({ changedFilePath, changeType: WatchChangeType.UNLINK });
138585
138623
  }));
138586
138624
  watcher.on("error", (err) => {
@@ -138731,13 +138769,13 @@ var require_getServerConfig2 = __commonJS({
138731
138769
  getServerConfig: () => getServerConfig
138732
138770
  });
138733
138771
  module2.exports = __toCommonJS2(getServerConfig_exports);
138734
- var path2 = __toESM2(require("path"));
138772
+ var path3 = __toESM2(require("path"));
138735
138773
  var import_constants3 = require_constants6();
138736
138774
  var import_findExists = require_findExists2();
138737
138775
  var getServerConfig = (appDirectory, configFile) => __async2(void 0, null, function* () {
138738
138776
  const configFilePath = (0, import_findExists.findExists)(
138739
138777
  import_constants3.CONFIG_FILE_EXTENSIONS.map(
138740
- (extension) => path2.resolve(appDirectory, `${configFile}${extension}`)
138778
+ (extension) => path3.resolve(appDirectory, `${configFile}${extension}`)
138741
138779
  )
138742
138780
  );
138743
138781
  return configFilePath;
@@ -138848,17 +138886,22 @@ var require_analyzeProject2 = __commonJS({
138848
138886
  };
138849
138887
  var analyzeProject_exports = {};
138850
138888
  __export2(analyzeProject_exports, {
138851
- isApiOnly: () => isApiOnly
138889
+ isApiOnly: () => isApiOnly,
138890
+ isWebOnly: () => isWebOnly
138852
138891
  });
138853
138892
  module2.exports = __toCommonJS2(analyzeProject_exports);
138854
- var path2 = __toESM2(require("path"));
138893
+ var path3 = __toESM2(require("path"));
138855
138894
  var import_compiled = require_compiled2();
138856
138895
  var isApiOnly = (appDirectory, entryDir) => __async2(void 0, null, function* () {
138857
- const srcDir = path2.join(appDirectory, entryDir != null ? entryDir : "src");
138896
+ const srcDir = path3.join(appDirectory, entryDir != null ? entryDir : "src");
138858
138897
  const existSrc = yield import_compiled.fs.pathExists(srcDir);
138859
138898
  const options = (0, import_compiled.minimist)(process.argv.slice(2));
138860
138899
  return !existSrc || Boolean(options["api-only"]);
138861
138900
  });
138901
+ var isWebOnly = () => __async2(void 0, null, function* () {
138902
+ const options = (0, import_compiled.minimist)(process.argv.slice(2));
138903
+ return Boolean(options["web-only"]);
138904
+ });
138862
138905
  }
138863
138906
  });
138864
138907
 
@@ -139147,7 +139190,7 @@ var require_version2 = __commonJS({
139147
139190
  isReact18: () => isReact182
139148
139191
  });
139149
139192
  module2.exports = __toCommonJS2(version_exports);
139150
- var import_path3 = __toESM2(require("path"));
139193
+ var import_path4 = __toESM2(require("path"));
139151
139194
  var import_compiled = require_compiled2();
139152
139195
  function getPnpmVersion() {
139153
139196
  return __async2(this, null, function* () {
@@ -139156,7 +139199,7 @@ var require_version2 = __commonJS({
139156
139199
  });
139157
139200
  }
139158
139201
  var isReact182 = (cwd) => {
139159
- const pkgPath = import_path3.default.join(cwd, "package.json");
139202
+ const pkgPath = import_path4.default.join(cwd, "package.json");
139160
139203
  if (!import_compiled.fs.existsSync(pkgPath)) {
139161
139204
  return false;
139162
139205
  }
@@ -139254,16 +139297,16 @@ var require_routes = __commonJS({
139254
139297
  getRouteId: () => getRouteId
139255
139298
  });
139256
139299
  module2.exports = __toCommonJS2(routes_exports);
139257
- var import_path3 = __toESM2(require("path"));
139300
+ var import_path4 = __toESM2(require("path"));
139258
139301
  var import_path22 = require_path2();
139259
139302
  var import_constants3 = require_constants6();
139260
139303
  var getPathWithoutExt = (filename) => {
139261
- const extname = import_path3.default.extname(filename);
139304
+ const extname = import_path4.default.extname(filename);
139262
139305
  return filename.slice(0, -extname.length);
139263
139306
  };
139264
139307
  var getRouteId = (componentPath, routesDir, entryName) => {
139265
139308
  const relativePath = (0, import_path22.normalizeToPosixPath)(
139266
- import_path3.default.relative(routesDir, componentPath)
139309
+ import_path4.default.relative(routesDir, componentPath)
139267
139310
  );
139268
139311
  const pathWithoutExt = getPathWithoutExt(relativePath);
139269
139312
  let id = ``;
@@ -139414,10 +139457,10 @@ var require_react = __commonJS({
139414
139457
  isBeyondReact17: () => isBeyondReact17
139415
139458
  });
139416
139459
  module2.exports = __toCommonJS2(react_exports);
139417
- var import_path3 = __toESM2(require("path"));
139460
+ var import_path4 = __toESM2(require("path"));
139418
139461
  var import__ = require_dist3();
139419
139462
  var isBeyondReact17 = (cwd) => {
139420
- const pkgPath = import_path3.default.join(cwd, "package.json");
139463
+ const pkgPath = import_path4.default.join(cwd, "package.json");
139421
139464
  if (!import__.fs.existsSync(pkgPath)) {
139422
139465
  return false;
139423
139466
  }
@@ -139466,10 +139509,10 @@ var require_getTargetDir = __commonJS({
139466
139509
  getTargetDir: () => getTargetDir
139467
139510
  });
139468
139511
  module2.exports = __toCommonJS2(getTargetDir_exports);
139469
- var path2 = __toESM2(require("path"));
139512
+ var path3 = __toESM2(require("path"));
139470
139513
  var getTargetDir = (from, baseDir, targetBaseDir) => {
139471
- const relativePath = path2.relative(baseDir, from);
139472
- return path2.resolve(targetBaseDir, relativePath);
139514
+ const relativePath = path3.relative(baseDir, from);
139515
+ return path3.resolve(targetBaseDir, relativePath);
139473
139516
  };
139474
139517
  }
139475
139518
  });
@@ -139547,11 +139590,12 @@ __export(src_exports, {
139547
139590
  handleTemplateFile: () => handleTemplateFile
139548
139591
  });
139549
139592
  module.exports = __toCommonJS(src_exports);
139550
- var import_path2 = __toESM(require("path"));
139593
+ var import_path3 = __toESM(require("path"));
139551
139594
  var import_codesmith_api_app = __toESM(require_node9());
139552
139595
  var import_codesmith_api_json = __toESM(require_node10());
139553
139596
 
139554
139597
  // ../../generator-utils/dist/esm/index.js
139598
+ var import_path2 = __toESM(require("path"));
139555
139599
  var import_utils3 = __toESM(require_dist3());
139556
139600
 
139557
139601
  // ../../../cli/plugin-i18n/dist/esm-node/index.js
@@ -139627,8 +139671,8 @@ var I18n = class {
139627
139671
  var ZH_LOCALE = {
139628
139672
  solution: {
139629
139673
  self: "请选择你想创建的工程类型",
139630
- mwa: "应用",
139631
- module: "模块",
139674
+ mwa: "Web 应用",
139675
+ module: "Npm 模块",
139632
139676
  monorepo: "Monorepo",
139633
139677
  custom: "自定义",
139634
139678
  default: "默认"
@@ -139638,10 +139682,10 @@ var ZH_LOCALE = {
139638
139682
  },
139639
139683
  sub_solution: {
139640
139684
  self: "请选择你想创建的工程类型",
139641
- mwa: "应用",
139642
- mwa_test: "应用(测试)",
139643
- module: "模块",
139644
- inner_module: "模块(内部)"
139685
+ mwa: "Web 应用",
139686
+ mwa_test: "Web 应用(测试)",
139687
+ module: "Npm 模块",
139688
+ inner_module: "Npm 模块(内部)"
139645
139689
  },
139646
139690
  action: {
139647
139691
  self: "请选择你想要的操作",
@@ -139661,7 +139705,7 @@ var ZH_LOCALE = {
139661
139705
  polyfill: "启用「基于 UA 的 Polyfill」功能",
139662
139706
  proxy: "启用「全局代理」",
139663
139707
  swc: "启用「SWC 编译」",
139664
- rspack: "启用「rspack 构建」"
139708
+ rspack: "启用「Rspack 构建」(实验性)"
139665
139709
  },
139666
139710
  element: {
139667
139711
  self: "创建工程元素",
@@ -139715,7 +139759,7 @@ var ZH_LOCALE = {
139715
139759
  buildTools: {
139716
139760
  self: "请选择构建工具",
139717
139761
  webpack: "webpack",
139718
- rspack: "rspack (experimental)"
139762
+ rspack: "Rspack (实验性)"
139719
139763
  }
139720
139764
  };
139721
139765
 
@@ -139723,9 +139767,9 @@ var ZH_LOCALE = {
139723
139767
  var EN_LOCALE = {
139724
139768
  solution: {
139725
139769
  self: "Please select the solution you want to create",
139726
- mwa: "Web App Solution",
139727
- module: "Module Solution",
139728
- monorepo: "Monorepo Solution",
139770
+ mwa: "Web App",
139771
+ module: "Npm Module",
139772
+ monorepo: "Monorepo",
139729
139773
  custom: "Custom Solution",
139730
139774
  default: "Default"
139731
139775
  },
@@ -139734,11 +139778,11 @@ var EN_LOCALE = {
139734
139778
  },
139735
139779
  sub_solution: {
139736
139780
  self: "Please select the solution you want to create",
139737
- mwa: "Web App Solution",
139738
- mwa_test: "Web App Solution (Test)",
139739
- module: "Module Solution",
139740
- inner_module: "Module Solution (Inner)",
139741
- monorepo: "Monorepo Solution"
139781
+ mwa: "Web App",
139782
+ mwa_test: "Web App (Test)",
139783
+ module: "Npm Module",
139784
+ inner_module: "Npm Module (Inner)",
139785
+ monorepo: "Monorepo"
139742
139786
  },
139743
139787
  action: {
139744
139788
  self: "Action",
@@ -139758,7 +139802,7 @@ var EN_LOCALE = {
139758
139802
  polyfill: "Enable UA-based Polyfill Feature",
139759
139803
  proxy: "Enable Global Proxy",
139760
139804
  swc: "Enable SWC Compile",
139761
- rspack: "Enable rspack Build"
139805
+ rspack: "Enable Rspack Build (experimental)"
139762
139806
  },
139763
139807
  element: {
139764
139808
  self: "Create project element",
@@ -139778,7 +139822,7 @@ var EN_LOCALE = {
139778
139822
  self: "Development Language"
139779
139823
  },
139780
139824
  packageManager: {
139781
- self: "Package Management Tool"
139825
+ self: "Package Manager"
139782
139826
  },
139783
139827
  packageName: {
139784
139828
  self: "Package Name",
@@ -139810,9 +139854,9 @@ var EN_LOCALE = {
139810
139854
  }
139811
139855
  },
139812
139856
  buildTools: {
139813
- self: "Build Tools",
139857
+ self: "Bundler",
139814
139858
  webpack: "webpack",
139815
- rspack: "rspack (experimental)"
139859
+ rspack: "Rspack (experimental)"
139816
139860
  }
139817
139861
  };
139818
139862
 
@@ -140061,7 +140105,7 @@ var handleTemplateFile = (context, generator, appApi) => __async(void 0, null, f
140061
140105
  const packageManager = yield (0, import_utils4.getPackageManager)(appDir);
140062
140106
  context.config.packageManager = packageManager;
140063
140107
  if (packageManager === PackageManager.Pnpm) {
140064
- const npmrcPath = import_path2.default.join(generator.outputPath, ".npmrc");
140108
+ const npmrcPath = import_path3.default.join(generator.outputPath, ".npmrc");
140065
140109
  if (import_utils4.fs.existsSync(npmrcPath)) {
140066
140110
  const content = import_utils4.fs.readFileSync(npmrcPath, "utf-8");
140067
140111
  if (!content.includes("strict-peer-dependencies=false")) {
@@ -140116,7 +140160,7 @@ var handleTemplateFile = (context, generator, appApi) => __async(void 0, null, f
140116
140160
  )
140117
140161
  );
140118
140162
  yield jsonAPI.update(
140119
- context.materials.default.get(import_path2.default.join(appDir, "package.json")),
140163
+ context.materials.default.get(import_path3.default.join(appDir, "package.json")),
140120
140164
  {
140121
140165
  query: {},
140122
140166
  update: {
@@ -140130,7 +140174,7 @@ var handleTemplateFile = (context, generator, appApi) => __async(void 0, null, f
140130
140174
  if (huskyVersion && import_utils4.semver.lt(huskyVersion, "8.0.0")) {
140131
140175
  generator.logger.info(`${i18n2.t(localeKeys2.updateHusky)}`);
140132
140176
  yield jsonAPI.update(
140133
- context.materials.default.get(import_path2.default.join(appDir, "package.json")),
140177
+ context.materials.default.get(import_path3.default.join(appDir, "package.json")),
140134
140178
  {
140135
140179
  query: {},
140136
140180
  update: {
@@ -140141,7 +140185,7 @@ var handleTemplateFile = (context, generator, appApi) => __async(void 0, null, f
140141
140185
  }
140142
140186
  );
140143
140187
  const pkgPath = context.materials.default.get(
140144
- import_path2.default.join(appDir, "package.json")
140188
+ import_path3.default.join(appDir, "package.json")
140145
140189
  ).filePath;
140146
140190
  const pkgInfo2 = import_utils4.fs.readJSONSync(pkgPath, "utf-8");
140147
140191
  const { prepare } = pkgInfo2.scripts;
@@ -140154,7 +140198,7 @@ var handleTemplateFile = (context, generator, appApi) => __async(void 0, null, f
140154
140198
  import_utils4.fs.writeJSONSync(pkgPath, pkgInfo2, { spaces: 2 });
140155
140199
  yield appApi.forgeTemplate("templates/**/*");
140156
140200
  import_utils4.fs.chmodSync(
140157
- import_path2.default.join(generator.outputPath, ".husky", "pre-commit"),
140201
+ import_path3.default.join(generator.outputPath, ".husky", "pre-commit"),
140158
140202
  "755"
140159
140203
  );
140160
140204
  }