@storm-software/workspace-tools 1.33.1 → 1.34.0

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.
@@ -169,11 +169,11 @@ function __metadata(metadataKey, metadataValue) {
169
169
  }
170
170
  function __awaiter(thisArg, _arguments, P, generator) {
171
171
  function adopt(value) {
172
- return value instanceof P ? value : new P(function(resolve2) {
173
- resolve2(value);
172
+ return value instanceof P ? value : new P(function(resolve) {
173
+ resolve(value);
174
174
  });
175
175
  }
176
- return new (P || (P = Promise))(function(resolve2, reject) {
176
+ return new (P || (P = Promise))(function(resolve, reject) {
177
177
  function fulfilled(value) {
178
178
  try {
179
179
  step(generator.next(value));
@@ -189,7 +189,7 @@ function __awaiter(thisArg, _arguments, P, generator) {
189
189
  }
190
190
  }
191
191
  function step(result) {
192
- result.done ? resolve2(result.value) : adopt(result.value).then(fulfilled, rejected);
192
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
193
193
  }
194
194
  step((generator = generator.apply(thisArg, _arguments || [])).next());
195
195
  });
@@ -395,14 +395,14 @@ function __asyncValues(o) {
395
395
  }, i);
396
396
  function verb(n) {
397
397
  i[n] = o[n] && function(v) {
398
- return new Promise(function(resolve2, reject) {
399
- v = o[n](v), settle(resolve2, reject, v.done, v.value);
398
+ return new Promise(function(resolve, reject) {
399
+ v = o[n](v), settle(resolve, reject, v.done, v.value);
400
400
  });
401
401
  };
402
402
  }
403
- function settle(resolve2, reject, d, v) {
403
+ function settle(resolve, reject, d, v) {
404
404
  Promise.resolve(v).then(function(v2) {
405
- resolve2({ value: v2, done: d });
405
+ resolve({ value: v2, done: d });
406
406
  }, reject);
407
407
  }
408
408
  }
@@ -606,7 +606,7 @@ var require_format_files = __commonJS({
606
606
  "use strict";
607
607
  Object.defineProperty(exports, "__esModule", { value: true });
608
608
  exports.formatFiles = void 0;
609
- var path2 = require("path");
609
+ var path = require("path");
610
610
  var nx_1 = require_nx();
611
611
  var { updateJson: updateJson2, readJson: readJson2, sortObjectByKeys } = (0, nx_1.requireNx)();
612
612
  sortObjectByKeys = sortObjectByKeys ?? require("nx/src/utils/object-sort").sortObjectByKeys;
@@ -623,7 +623,7 @@ var require_format_files = __commonJS({
623
623
  const changedPrettierInTree = getChangedPrettierConfigInTree(tree);
624
624
  await Promise.all(Array.from(files).map(async (file) => {
625
625
  try {
626
- const systemPath = path2.join(tree.root, file.path);
626
+ const systemPath = path.join(tree.root, file.path);
627
627
  const resolvedOptions = await prettier.resolveConfig(systemPath, {
628
628
  editorconfig: true
629
629
  });
@@ -667,9 +667,9 @@ var require_format_files = __commonJS({
667
667
  }
668
668
  }
669
669
  function getRootTsConfigPath(tree) {
670
- for (const path3 of ["tsconfig.base.json", "tsconfig.json"]) {
671
- if (tree.exists(path3)) {
672
- return path3;
670
+ for (const path2 of ["tsconfig.base.json", "tsconfig.json"]) {
671
+ if (tree.exists(path2)) {
672
+ return path2;
673
673
  }
674
674
  }
675
675
  return null;
@@ -962,8 +962,8 @@ var require_binary_extensions = __commonJS({
962
962
  ".zip",
963
963
  ".zipx"
964
964
  ]);
965
- function isBinaryPath(path2) {
966
- return binaryExtensions.has((0, path_1.extname)(path2).toLowerCase());
965
+ function isBinaryPath(path) {
966
+ return binaryExtensions.has((0, path_1.extname)(path).toLowerCase());
967
967
  }
968
968
  exports.isBinaryPath = isBinaryPath;
969
969
  }
@@ -1146,8 +1146,8 @@ var require_package = __commonJS({
1146
1146
  var require_ejs = __commonJS({
1147
1147
  "node_modules/.pnpm/ejs@3.1.9/node_modules/ejs/lib/ejs.js"(exports) {
1148
1148
  "use strict";
1149
- var fs2 = require("fs");
1150
- var path2 = require("path");
1149
+ var fs = require("fs");
1150
+ var path = require("path");
1151
1151
  var utils = require_utils();
1152
1152
  var scopeOptionWarned = false;
1153
1153
  var _VERSION_STRING = require_package().version;
@@ -1174,14 +1174,14 @@ var require_ejs = __commonJS({
1174
1174
  var _BOM = /^\uFEFF/;
1175
1175
  var _JS_IDENTIFIER = /^[a-zA-Z_$][0-9a-zA-Z_$]*$/;
1176
1176
  exports.cache = utils.cache;
1177
- exports.fileLoader = fs2.readFileSync;
1177
+ exports.fileLoader = fs.readFileSync;
1178
1178
  exports.localsName = _DEFAULT_LOCALS_NAME;
1179
1179
  exports.promiseImpl = new Function("return this;")().Promise;
1180
1180
  exports.resolveInclude = function(name, filename, isDir) {
1181
- var dirname2 = path2.dirname;
1182
- var extname = path2.extname;
1183
- var resolve2 = path2.resolve;
1184
- var includePath = resolve2(isDir ? filename : dirname2(filename), name);
1181
+ var dirname = path.dirname;
1182
+ var extname = path.extname;
1183
+ var resolve = path.resolve;
1184
+ var includePath = resolve(isDir ? filename : dirname(filename), name);
1185
1185
  var ext = extname(name);
1186
1186
  if (!ext) {
1187
1187
  includePath += ".ejs";
@@ -1192,35 +1192,35 @@ var require_ejs = __commonJS({
1192
1192
  var filePath;
1193
1193
  if (paths.some(function(v) {
1194
1194
  filePath = exports.resolveInclude(name, v, true);
1195
- return fs2.existsSync(filePath);
1195
+ return fs.existsSync(filePath);
1196
1196
  })) {
1197
1197
  return filePath;
1198
1198
  }
1199
1199
  }
1200
- function getIncludePath(path3, options) {
1200
+ function getIncludePath(path2, options) {
1201
1201
  var includePath;
1202
1202
  var filePath;
1203
1203
  var views = options.views;
1204
- var match = /^[A-Za-z]+:\\|^\//.exec(path3);
1204
+ var match = /^[A-Za-z]+:\\|^\//.exec(path2);
1205
1205
  if (match && match.length) {
1206
- path3 = path3.replace(/^\/*/, "");
1206
+ path2 = path2.replace(/^\/*/, "");
1207
1207
  if (Array.isArray(options.root)) {
1208
- includePath = resolvePaths(path3, options.root);
1208
+ includePath = resolvePaths(path2, options.root);
1209
1209
  } else {
1210
- includePath = exports.resolveInclude(path3, options.root || "/", true);
1210
+ includePath = exports.resolveInclude(path2, options.root || "/", true);
1211
1211
  }
1212
1212
  } else {
1213
1213
  if (options.filename) {
1214
- filePath = exports.resolveInclude(path3, options.filename);
1215
- if (fs2.existsSync(filePath)) {
1214
+ filePath = exports.resolveInclude(path2, options.filename);
1215
+ if (fs.existsSync(filePath)) {
1216
1216
  includePath = filePath;
1217
1217
  }
1218
1218
  }
1219
1219
  if (!includePath && Array.isArray(views)) {
1220
- includePath = resolvePaths(path3, views);
1220
+ includePath = resolvePaths(path2, views);
1221
1221
  }
1222
1222
  if (!includePath && typeof options.includer !== "function") {
1223
- throw new Error('Could not find the include file "' + options.escapeFunction(path3) + '"');
1223
+ throw new Error('Could not find the include file "' + options.escapeFunction(path2) + '"');
1224
1224
  }
1225
1225
  }
1226
1226
  return includePath;
@@ -1256,10 +1256,10 @@ var require_ejs = __commonJS({
1256
1256
  var result;
1257
1257
  if (!cb) {
1258
1258
  if (typeof exports.promiseImpl == "function") {
1259
- return new exports.promiseImpl(function(resolve2, reject) {
1259
+ return new exports.promiseImpl(function(resolve, reject) {
1260
1260
  try {
1261
1261
  result = handleCache(options)(data);
1262
- resolve2(result);
1262
+ resolve(result);
1263
1263
  } catch (err) {
1264
1264
  reject(err);
1265
1265
  }
@@ -1279,11 +1279,11 @@ var require_ejs = __commonJS({
1279
1279
  function fileLoader(filePath) {
1280
1280
  return exports.fileLoader(filePath);
1281
1281
  }
1282
- function includeFile(path3, options) {
1282
+ function includeFile(path2, options) {
1283
1283
  var opts = utils.shallowCopy(utils.createNullProtoObjWherePossible(), options);
1284
- opts.filename = getIncludePath(path3, opts);
1284
+ opts.filename = getIncludePath(path2, opts);
1285
1285
  if (typeof options.includer === "function") {
1286
- var includerResult = options.includer(path3, opts.filename);
1286
+ var includerResult = options.includer(path2, opts.filename);
1287
1287
  if (includerResult) {
1288
1288
  if (includerResult.filename) {
1289
1289
  opts.filename = includerResult.filename;
@@ -1518,12 +1518,12 @@ var require_ejs = __commonJS({
1518
1518
  throw e;
1519
1519
  }
1520
1520
  var returnedFn = opts.client ? fn : function anonymous(data) {
1521
- var include = function(path3, includeData) {
1521
+ var include = function(path2, includeData) {
1522
1522
  var d = utils.shallowCopy(utils.createNullProtoObjWherePossible(), data);
1523
1523
  if (includeData) {
1524
1524
  d = utils.shallowCopy(d, includeData);
1525
1525
  }
1526
- return includeFile(path3, opts)(d);
1526
+ return includeFile(path2, opts)(d);
1527
1527
  };
1528
1528
  return fn.apply(
1529
1529
  opts.context,
@@ -1532,7 +1532,7 @@ var require_ejs = __commonJS({
1532
1532
  };
1533
1533
  if (opts.filename && typeof Object.defineProperty === "function") {
1534
1534
  var filename = opts.filename;
1535
- var basename = path2.basename(filename, path2.extname(filename));
1535
+ var basename = path.basename(filename, path.extname(filename));
1536
1536
  try {
1537
1537
  Object.defineProperty(returnedFn, "name", {
1538
1538
  value: basename,
@@ -1695,7 +1695,7 @@ var require_generate_files = __commonJS({
1695
1695
  Object.defineProperty(exports, "__esModule", { value: true });
1696
1696
  exports.generateFiles = void 0;
1697
1697
  var fs_1 = require("fs");
1698
- var path2 = require("path");
1698
+ var path = require("path");
1699
1699
  var nx_1 = require_nx();
1700
1700
  var binary_extensions_1 = require_binary_extensions();
1701
1701
  var { logger } = (0, nx_1.requireNx)();
@@ -1727,8 +1727,8 @@ var require_generate_files = __commonJS({
1727
1727
  }
1728
1728
  exports.generateFiles = generateFiles2;
1729
1729
  function computePath(srcFolder, target, filePath, substitutions) {
1730
- const relativeFromSrcFolder = path2.relative(srcFolder, filePath);
1731
- let computedPath = path2.join(target, relativeFromSrcFolder);
1730
+ const relativeFromSrcFolder = path.relative(srcFolder, filePath);
1731
+ let computedPath = path.join(target, relativeFromSrcFolder);
1732
1732
  if (computedPath.endsWith(".template")) {
1733
1733
  computedPath = computedPath.substring(0, computedPath.length - 9);
1734
1734
  }
@@ -1741,7 +1741,7 @@ var require_generate_files = __commonJS({
1741
1741
  let res = [];
1742
1742
  try {
1743
1743
  (0, fs_1.readdirSync)(parent).forEach((c) => {
1744
- const child = path2.join(parent, c);
1744
+ const child = path.join(parent, c);
1745
1745
  try {
1746
1746
  const s = (0, fs_1.statSync)(child);
1747
1747
  if (!s.isDirectory()) {
@@ -2172,7 +2172,7 @@ var require_semver = __commonJS({
2172
2172
  var require_parse = __commonJS({
2173
2173
  "node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/parse.js"(exports, module2) {
2174
2174
  var SemVer = require_semver();
2175
- var parse2 = (version, options, throwErrors = false) => {
2175
+ var parse = (version, options, throwErrors = false) => {
2176
2176
  if (version instanceof SemVer) {
2177
2177
  return version;
2178
2178
  }
@@ -2185,16 +2185,16 @@ var require_parse = __commonJS({
2185
2185
  throw er;
2186
2186
  }
2187
2187
  };
2188
- module2.exports = parse2;
2188
+ module2.exports = parse;
2189
2189
  }
2190
2190
  });
2191
2191
 
2192
2192
  // node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/valid.js
2193
2193
  var require_valid = __commonJS({
2194
2194
  "node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/valid.js"(exports, module2) {
2195
- var parse2 = require_parse();
2195
+ var parse = require_parse();
2196
2196
  var valid = (version, options) => {
2197
- const v = parse2(version, options);
2197
+ const v = parse(version, options);
2198
2198
  return v ? v.version : null;
2199
2199
  };
2200
2200
  module2.exports = valid;
@@ -2204,9 +2204,9 @@ var require_valid = __commonJS({
2204
2204
  // node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/clean.js
2205
2205
  var require_clean = __commonJS({
2206
2206
  "node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/clean.js"(exports, module2) {
2207
- var parse2 = require_parse();
2207
+ var parse = require_parse();
2208
2208
  var clean = (version, options) => {
2209
- const s = parse2(version.trim().replace(/^[=v]+/, ""), options);
2209
+ const s = parse(version.trim().replace(/^[=v]+/, ""), options);
2210
2210
  return s ? s.version : null;
2211
2211
  };
2212
2212
  module2.exports = clean;
@@ -2239,10 +2239,10 @@ var require_inc = __commonJS({
2239
2239
  // node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/diff.js
2240
2240
  var require_diff = __commonJS({
2241
2241
  "node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/diff.js"(exports, module2) {
2242
- var parse2 = require_parse();
2242
+ var parse = require_parse();
2243
2243
  var diff = (version1, version2) => {
2244
- const v1 = parse2(version1, null, true);
2245
- const v2 = parse2(version2, null, true);
2244
+ const v1 = parse(version1, null, true);
2245
+ const v2 = parse(version2, null, true);
2246
2246
  const comparison = v1.compare(v2);
2247
2247
  if (comparison === 0) {
2248
2248
  return null;
@@ -2310,9 +2310,9 @@ var require_patch = __commonJS({
2310
2310
  // node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/prerelease.js
2311
2311
  var require_prerelease = __commonJS({
2312
2312
  "node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/prerelease.js"(exports, module2) {
2313
- var parse2 = require_parse();
2313
+ var parse = require_parse();
2314
2314
  var prerelease = (version, options) => {
2315
- const parsed = parse2(version, options);
2315
+ const parsed = parse(version, options);
2316
2316
  return parsed && parsed.prerelease.length ? parsed.prerelease : null;
2317
2317
  };
2318
2318
  module2.exports = prerelease;
@@ -2484,7 +2484,7 @@ var require_cmp = __commonJS({
2484
2484
  var require_coerce = __commonJS({
2485
2485
  "node_modules/.pnpm/semver@7.5.3/node_modules/semver/functions/coerce.js"(exports, module2) {
2486
2486
  var SemVer = require_semver();
2487
- var parse2 = require_parse();
2487
+ var parse = require_parse();
2488
2488
  var { safeRe: re, t } = require_re();
2489
2489
  var coerce = (version, options) => {
2490
2490
  if (version instanceof SemVer) {
@@ -2513,7 +2513,7 @@ var require_coerce = __commonJS({
2513
2513
  if (match === null) {
2514
2514
  return null;
2515
2515
  }
2516
- return parse2(`${match[2]}.${match[3] || "0"}.${match[4] || "0"}`, options);
2516
+ return parse(`${match[2]}.${match[3] || "0"}.${match[4] || "0"}`, options);
2517
2517
  };
2518
2518
  module2.exports = coerce;
2519
2519
  }
@@ -2538,7 +2538,7 @@ var require_yallist = __commonJS({
2538
2538
  "node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js"(exports, module2) {
2539
2539
  "use strict";
2540
2540
  module2.exports = Yallist;
2541
- Yallist.Node = Node2;
2541
+ Yallist.Node = Node;
2542
2542
  Yallist.create = Yallist;
2543
2543
  function Yallist(list) {
2544
2544
  var self = this;
@@ -2852,7 +2852,7 @@ var require_yallist = __commonJS({
2852
2852
  return this;
2853
2853
  };
2854
2854
  function insert(self, node, value) {
2855
- var inserted = node === self.head ? new Node2(value, null, node, self) : new Node2(value, node, node.next, self);
2855
+ var inserted = node === self.head ? new Node(value, null, node, self) : new Node(value, node, node.next, self);
2856
2856
  if (inserted.next === null) {
2857
2857
  self.tail = inserted;
2858
2858
  }
@@ -2863,22 +2863,22 @@ var require_yallist = __commonJS({
2863
2863
  return inserted;
2864
2864
  }
2865
2865
  function push(self, item) {
2866
- self.tail = new Node2(item, self.tail, null, self);
2866
+ self.tail = new Node(item, self.tail, null, self);
2867
2867
  if (!self.head) {
2868
2868
  self.head = self.tail;
2869
2869
  }
2870
2870
  self.length++;
2871
2871
  }
2872
2872
  function unshift(self, item) {
2873
- self.head = new Node2(item, null, self.head, self);
2873
+ self.head = new Node(item, null, self.head, self);
2874
2874
  if (!self.tail) {
2875
2875
  self.tail = self.head;
2876
2876
  }
2877
2877
  self.length++;
2878
2878
  }
2879
- function Node2(value, prev, next, list) {
2880
- if (!(this instanceof Node2)) {
2881
- return new Node2(value, prev, next, list);
2879
+ function Node(value, prev, next, list) {
2880
+ if (!(this instanceof Node)) {
2881
+ return new Node(value, prev, next, list);
2882
2882
  }
2883
2883
  this.list = list;
2884
2884
  this.value = value;
@@ -4110,7 +4110,7 @@ var require_semver2 = __commonJS({
4110
4110
  var constants = require_constants();
4111
4111
  var SemVer = require_semver();
4112
4112
  var identifiers = require_identifiers();
4113
- var parse2 = require_parse();
4113
+ var parse = require_parse();
4114
4114
  var valid = require_valid();
4115
4115
  var clean = require_clean();
4116
4116
  var inc = require_inc();
@@ -4148,7 +4148,7 @@ var require_semver2 = __commonJS({
4148
4148
  var simplifyRange = require_simplify();
4149
4149
  var subset = require_subset();
4150
4150
  module2.exports = {
4151
- parse: parse2,
4151
+ parse,
4152
4152
  valid,
4153
4153
  clean,
4154
4154
  inc,
@@ -4235,7 +4235,7 @@ var require_old = __commonJS({
4235
4235
  "node_modules/.pnpm/fs.realpath@1.0.0/node_modules/fs.realpath/old.js"(exports) {
4236
4236
  var pathModule = require("path");
4237
4237
  var isWindows = process.platform === "win32";
4238
- var fs2 = require("fs");
4238
+ var fs = require("fs");
4239
4239
  var DEBUG = process.env.NODE_DEBUG && /fs/.test(process.env.NODE_DEBUG);
4240
4240
  function rethrow() {
4241
4241
  var callback;
@@ -4300,7 +4300,7 @@ var require_old = __commonJS({
4300
4300
  base = m[0];
4301
4301
  previous = "";
4302
4302
  if (isWindows && !knownHard[base]) {
4303
- fs2.lstatSync(base);
4303
+ fs.lstatSync(base);
4304
4304
  knownHard[base] = true;
4305
4305
  }
4306
4306
  }
@@ -4318,7 +4318,7 @@ var require_old = __commonJS({
4318
4318
  if (cache && Object.prototype.hasOwnProperty.call(cache, base)) {
4319
4319
  resolvedLink = cache[base];
4320
4320
  } else {
4321
- var stat = fs2.lstatSync(base);
4321
+ var stat = fs.lstatSync(base);
4322
4322
  if (!stat.isSymbolicLink()) {
4323
4323
  knownHard[base] = true;
4324
4324
  if (cache)
@@ -4333,8 +4333,8 @@ var require_old = __commonJS({
4333
4333
  }
4334
4334
  }
4335
4335
  if (linkTarget === null) {
4336
- fs2.statSync(base);
4337
- linkTarget = fs2.readlinkSync(base);
4336
+ fs.statSync(base);
4337
+ linkTarget = fs.readlinkSync(base);
4338
4338
  }
4339
4339
  resolvedLink = pathModule.resolve(previous, linkTarget);
4340
4340
  if (cache)
@@ -4371,7 +4371,7 @@ var require_old = __commonJS({
4371
4371
  base = m[0];
4372
4372
  previous = "";
4373
4373
  if (isWindows && !knownHard[base]) {
4374
- fs2.lstat(base, function(err) {
4374
+ fs.lstat(base, function(err) {
4375
4375
  if (err)
4376
4376
  return cb(err);
4377
4377
  knownHard[base] = true;
@@ -4399,7 +4399,7 @@ var require_old = __commonJS({
4399
4399
  if (cache && Object.prototype.hasOwnProperty.call(cache, base)) {
4400
4400
  return gotResolvedLink(cache[base]);
4401
4401
  }
4402
- return fs2.lstat(base, gotStat);
4402
+ return fs.lstat(base, gotStat);
4403
4403
  }
4404
4404
  function gotStat(err, stat) {
4405
4405
  if (err)
@@ -4416,10 +4416,10 @@ var require_old = __commonJS({
4416
4416
  return gotTarget(null, seenLinks[id], base);
4417
4417
  }
4418
4418
  }
4419
- fs2.stat(base, function(err2) {
4419
+ fs.stat(base, function(err2) {
4420
4420
  if (err2)
4421
4421
  return cb(err2);
4422
- fs2.readlink(base, function(err3, target) {
4422
+ fs.readlink(base, function(err3, target) {
4423
4423
  if (!isWindows)
4424
4424
  seenLinks[id] = target;
4425
4425
  gotTarget(err3, target);
@@ -4451,9 +4451,9 @@ var require_fs = __commonJS({
4451
4451
  realpath.realpathSync = realpathSync;
4452
4452
  realpath.monkeypatch = monkeypatch;
4453
4453
  realpath.unmonkeypatch = unmonkeypatch;
4454
- var fs2 = require("fs");
4455
- var origRealpath = fs2.realpath;
4456
- var origRealpathSync = fs2.realpathSync;
4454
+ var fs = require("fs");
4455
+ var origRealpath = fs.realpath;
4456
+ var origRealpathSync = fs.realpathSync;
4457
4457
  var version = process.version;
4458
4458
  var ok = /^v[0-5]\./.test(version);
4459
4459
  var old = require_old();
@@ -4491,12 +4491,12 @@ var require_fs = __commonJS({
4491
4491
  }
4492
4492
  }
4493
4493
  function monkeypatch() {
4494
- fs2.realpath = realpath;
4495
- fs2.realpathSync = realpathSync;
4494
+ fs.realpath = realpath;
4495
+ fs.realpathSync = realpathSync;
4496
4496
  }
4497
4497
  function unmonkeypatch() {
4498
- fs2.realpath = origRealpath;
4499
- fs2.realpathSync = origRealpathSync;
4498
+ fs.realpath = origRealpath;
4499
+ fs.realpathSync = origRealpathSync;
4500
4500
  }
4501
4501
  }
4502
4502
  });
@@ -4731,7 +4731,7 @@ var require_minimatch = __commonJS({
4731
4731
  "node_modules/.pnpm/minimatch@3.1.2/node_modules/minimatch/minimatch.js"(exports, module2) {
4732
4732
  module2.exports = minimatch;
4733
4733
  minimatch.Minimatch = Minimatch;
4734
- var path2 = function() {
4734
+ var path = function() {
4735
4735
  try {
4736
4736
  return require("path");
4737
4737
  } catch (e) {
@@ -4739,7 +4739,7 @@ var require_minimatch = __commonJS({
4739
4739
  }() || {
4740
4740
  sep: "/"
4741
4741
  };
4742
- minimatch.sep = path2.sep;
4742
+ minimatch.sep = path.sep;
4743
4743
  var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {};
4744
4744
  var expand = require_brace_expansion();
4745
4745
  var plTypes = {
@@ -4830,8 +4830,8 @@ var require_minimatch = __commonJS({
4830
4830
  if (!options)
4831
4831
  options = {};
4832
4832
  pattern = pattern.trim();
4833
- if (!options.allowWindowsEscape && path2.sep !== "/") {
4834
- pattern = pattern.split(path2.sep).join("/");
4833
+ if (!options.allowWindowsEscape && path.sep !== "/") {
4834
+ pattern = pattern.split(path.sep).join("/");
4835
4835
  }
4836
4836
  this.options = options;
4837
4837
  this.set = [];
@@ -4922,9 +4922,9 @@ var require_minimatch = __commonJS({
4922
4922
  throw new TypeError("pattern is too long");
4923
4923
  }
4924
4924
  };
4925
- Minimatch.prototype.parse = parse2;
4925
+ Minimatch.prototype.parse = parse;
4926
4926
  var SUBPARSE = {};
4927
- function parse2(pattern, isSub) {
4927
+ function parse(pattern, isSub) {
4928
4928
  assertValidPattern(pattern);
4929
4929
  var options = this.options;
4930
4930
  if (pattern === "**") {
@@ -5208,8 +5208,8 @@ var require_minimatch = __commonJS({
5208
5208
  if (f === "/" && partial)
5209
5209
  return true;
5210
5210
  var options = this.options;
5211
- if (path2.sep !== "/") {
5212
- f = f.split(path2.sep).join("/");
5211
+ if (path.sep !== "/") {
5212
+ f = f.split(path.sep).join("/");
5213
5213
  }
5214
5214
  f = f.split(slashSplit);
5215
5215
  this.debug(this.pattern, "split", f);
@@ -5367,12 +5367,12 @@ var require_inherits = __commonJS({
5367
5367
  var require_path_is_absolute = __commonJS({
5368
5368
  "node_modules/.pnpm/path-is-absolute@1.0.1/node_modules/path-is-absolute/index.js"(exports, module2) {
5369
5369
  "use strict";
5370
- function posix(path2) {
5371
- return path2.charAt(0) === "/";
5370
+ function posix(path) {
5371
+ return path.charAt(0) === "/";
5372
5372
  }
5373
- function win32(path2) {
5373
+ function win32(path) {
5374
5374
  var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;
5375
- var result = splitDeviceRe.exec(path2);
5375
+ var result = splitDeviceRe.exec(path);
5376
5376
  var device = result[1] || "";
5377
5377
  var isUnc = Boolean(device && device.charAt(1) !== ":");
5378
5378
  return Boolean(result[2] || isUnc);
@@ -5396,8 +5396,8 @@ var require_common = __commonJS({
5396
5396
  function ownProp(obj, field) {
5397
5397
  return Object.prototype.hasOwnProperty.call(obj, field);
5398
5398
  }
5399
- var fs2 = require("fs");
5400
- var path2 = require("path");
5399
+ var fs = require("fs");
5400
+ var path = require("path");
5401
5401
  var minimatch = require_minimatch();
5402
5402
  var isAbsolute = require_path_is_absolute();
5403
5403
  var Minimatch = minimatch.Minimatch;
@@ -5451,7 +5451,7 @@ var require_common = __commonJS({
5451
5451
  self.stat = !!options.stat;
5452
5452
  self.noprocess = !!options.noprocess;
5453
5453
  self.absolute = !!options.absolute;
5454
- self.fs = options.fs || fs2;
5454
+ self.fs = options.fs || fs;
5455
5455
  self.maxLength = options.maxLength || Infinity;
5456
5456
  self.cache = options.cache || /* @__PURE__ */ Object.create(null);
5457
5457
  self.statCache = options.statCache || /* @__PURE__ */ Object.create(null);
@@ -5462,11 +5462,11 @@ var require_common = __commonJS({
5462
5462
  if (!ownProp(options, "cwd"))
5463
5463
  self.cwd = cwd;
5464
5464
  else {
5465
- self.cwd = path2.resolve(options.cwd);
5465
+ self.cwd = path.resolve(options.cwd);
5466
5466
  self.changedCwd = self.cwd !== cwd;
5467
5467
  }
5468
- self.root = options.root || path2.resolve(self.cwd, "/");
5469
- self.root = path2.resolve(self.root);
5468
+ self.root = options.root || path.resolve(self.cwd, "/");
5469
+ self.root = path.resolve(self.root);
5470
5470
  if (process.platform === "win32")
5471
5471
  self.root = self.root.replace(/\\/g, "/");
5472
5472
  self.cwdAbs = isAbsolute(self.cwd) ? self.cwd : makeAbs(self, self.cwd);
@@ -5548,30 +5548,30 @@ var require_common = __commonJS({
5548
5548
  function makeAbs(self, f) {
5549
5549
  var abs = f;
5550
5550
  if (f.charAt(0) === "/") {
5551
- abs = path2.join(self.root, f);
5551
+ abs = path.join(self.root, f);
5552
5552
  } else if (isAbsolute(f) || f === "") {
5553
5553
  abs = f;
5554
5554
  } else if (self.changedCwd) {
5555
- abs = path2.resolve(self.cwd, f);
5555
+ abs = path.resolve(self.cwd, f);
5556
5556
  } else {
5557
- abs = path2.resolve(f);
5557
+ abs = path.resolve(f);
5558
5558
  }
5559
5559
  if (process.platform === "win32")
5560
5560
  abs = abs.replace(/\\/g, "/");
5561
5561
  return abs;
5562
5562
  }
5563
- function isIgnored(self, path3) {
5563
+ function isIgnored(self, path2) {
5564
5564
  if (!self.ignore.length)
5565
5565
  return false;
5566
5566
  return self.ignore.some(function(item) {
5567
- return item.matcher.match(path3) || !!(item.gmatcher && item.gmatcher.match(path3));
5567
+ return item.matcher.match(path2) || !!(item.gmatcher && item.gmatcher.match(path2));
5568
5568
  });
5569
5569
  }
5570
- function childrenIgnored(self, path3) {
5570
+ function childrenIgnored(self, path2) {
5571
5571
  if (!self.ignore.length)
5572
5572
  return false;
5573
5573
  return self.ignore.some(function(item) {
5574
- return !!(item.gmatcher && item.gmatcher.match(path3));
5574
+ return !!(item.gmatcher && item.gmatcher.match(path2));
5575
5575
  });
5576
5576
  }
5577
5577
  }
@@ -5587,7 +5587,7 @@ var require_sync = __commonJS({
5587
5587
  var Minimatch = minimatch.Minimatch;
5588
5588
  var Glob = require_glob().Glob;
5589
5589
  var util2 = require("util");
5590
- var path2 = require("path");
5590
+ var path = require("path");
5591
5591
  var assert = require("assert");
5592
5592
  var isAbsolute = require_path_is_absolute();
5593
5593
  var common = require_common();
@@ -5715,7 +5715,7 @@ var require_sync = __commonJS({
5715
5715
  e = prefix + e;
5716
5716
  }
5717
5717
  if (e.charAt(0) === "/" && !this.nomount) {
5718
- e = path2.join(this.root, e);
5718
+ e = path.join(this.root, e);
5719
5719
  }
5720
5720
  this._emitMatch(index, e);
5721
5721
  }
@@ -5864,9 +5864,9 @@ var require_sync = __commonJS({
5864
5864
  if (prefix && isAbsolute(prefix) && !this.nomount) {
5865
5865
  var trail = /[\/\\]$/.test(prefix);
5866
5866
  if (prefix.charAt(0) === "/") {
5867
- prefix = path2.join(this.root, prefix);
5867
+ prefix = path.join(this.root, prefix);
5868
5868
  } else {
5869
- prefix = path2.resolve(this.root, prefix);
5869
+ prefix = path.resolve(this.root, prefix);
5870
5870
  if (trail)
5871
5871
  prefix += "/";
5872
5872
  }
@@ -6061,7 +6061,7 @@ var require_glob = __commonJS({
6061
6061
  var Minimatch = minimatch.Minimatch;
6062
6062
  var inherits = require_inherits();
6063
6063
  var EE = require("events").EventEmitter;
6064
- var path2 = require("path");
6064
+ var path = require("path");
6065
6065
  var assert = require("assert");
6066
6066
  var isAbsolute = require_path_is_absolute();
6067
6067
  var globSync = require_sync();
@@ -6344,7 +6344,7 @@ var require_glob = __commonJS({
6344
6344
  e = prefix + e;
6345
6345
  }
6346
6346
  if (e.charAt(0) === "/" && !this.nomount) {
6347
- e = path2.join(this.root, e);
6347
+ e = path.join(this.root, e);
6348
6348
  }
6349
6349
  this._emitMatch(index, e);
6350
6350
  }
@@ -6531,9 +6531,9 @@ var require_glob = __commonJS({
6531
6531
  if (prefix && isAbsolute(prefix) && !this.nomount) {
6532
6532
  var trail = /[\/\\]$/.test(prefix);
6533
6533
  if (prefix.charAt(0) === "/") {
6534
- prefix = path2.join(this.root, prefix);
6534
+ prefix = path.join(this.root, prefix);
6535
6535
  } else {
6536
- prefix = path2.resolve(this.root, prefix);
6536
+ prefix = path.resolve(this.root, prefix);
6537
6537
  if (trail)
6538
6538
  prefix += "/";
6539
6539
  }
@@ -6611,8 +6611,8 @@ var require_glob = __commonJS({
6611
6611
  var require_rimraf = __commonJS({
6612
6612
  "node_modules/.pnpm/rimraf@3.0.2/node_modules/rimraf/rimraf.js"(exports, module2) {
6613
6613
  var assert = require("assert");
6614
- var path2 = require("path");
6615
- var fs2 = require("fs");
6614
+ var path = require("path");
6615
+ var fs = require("fs");
6616
6616
  var glob = void 0;
6617
6617
  try {
6618
6618
  glob = require_glob();
@@ -6634,9 +6634,9 @@ var require_rimraf = __commonJS({
6634
6634
  "readdir"
6635
6635
  ];
6636
6636
  methods.forEach((m) => {
6637
- options[m] = options[m] || fs2[m];
6637
+ options[m] = options[m] || fs[m];
6638
6638
  m = m + "Sync";
6639
- options[m] = options[m] || fs2[m];
6639
+ options[m] = options[m] || fs[m];
6640
6640
  });
6641
6641
  options.maxBusyTries = options.maxBusyTries || 3;
6642
6642
  options.emfileWait = options.emfileWait || 1e3;
@@ -6793,7 +6793,7 @@ var require_rimraf = __commonJS({
6793
6793
  return options.rmdir(p, cb);
6794
6794
  let errState;
6795
6795
  files.forEach((f) => {
6796
- rimraf(path2.join(p, f), options, (er2) => {
6796
+ rimraf(path.join(p, f), options, (er2) => {
6797
6797
  if (errState)
6798
6798
  return;
6799
6799
  if (er2)
@@ -6868,7 +6868,7 @@ var require_rimraf = __commonJS({
6868
6868
  var rmkidsSync = (p, options) => {
6869
6869
  assert(p);
6870
6870
  assert(options);
6871
- options.readdirSync(p).forEach((f) => rimrafSync(path2.join(p, f), options));
6871
+ options.readdirSync(p).forEach((f) => rimrafSync(path.join(p, f), options));
6872
6872
  const retries = isWindows ? 100 : 1;
6873
6873
  let i = 0;
6874
6874
  do {
@@ -6891,11 +6891,11 @@ var require_rimraf = __commonJS({
6891
6891
  // node_modules/.pnpm/tmp@0.2.1/node_modules/tmp/lib/tmp.js
6892
6892
  var require_tmp = __commonJS({
6893
6893
  "node_modules/.pnpm/tmp@0.2.1/node_modules/tmp/lib/tmp.js"(exports, module2) {
6894
- var fs2 = require("fs");
6894
+ var fs = require("fs");
6895
6895
  var os = require("os");
6896
- var path2 = require("path");
6896
+ var path = require("path");
6897
6897
  var crypto = require("crypto");
6898
- var _c = { fs: fs2.constants, os: os.constants };
6898
+ var _c = { fs: fs.constants, os: os.constants };
6899
6899
  var rimraf = require_rimraf();
6900
6900
  var RANDOM_CHARS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
6901
6901
  var TEMPLATE_PATTERN = /XXXXXX/;
@@ -6908,7 +6908,7 @@ var require_tmp = __commonJS({
6908
6908
  var FILE_MODE = 384;
6909
6909
  var EXIT = "exit";
6910
6910
  var _removeObjects = [];
6911
- var FN_RMDIR_SYNC = fs2.rmdirSync.bind(fs2);
6911
+ var FN_RMDIR_SYNC = fs.rmdirSync.bind(fs);
6912
6912
  var FN_RIMRAF_SYNC = rimraf.sync;
6913
6913
  var _gracefulCleanup = false;
6914
6914
  function tmpName(options, callback) {
@@ -6922,7 +6922,7 @@ var require_tmp = __commonJS({
6922
6922
  (function _getUniqueName() {
6923
6923
  try {
6924
6924
  const name = _generateTmpName(opts);
6925
- fs2.stat(name, function(err) {
6925
+ fs.stat(name, function(err) {
6926
6926
  if (!err) {
6927
6927
  if (tries-- > 0)
6928
6928
  return _getUniqueName();
@@ -6942,7 +6942,7 @@ var require_tmp = __commonJS({
6942
6942
  do {
6943
6943
  const name = _generateTmpName(opts);
6944
6944
  try {
6945
- fs2.statSync(name);
6945
+ fs.statSync(name);
6946
6946
  } catch (e) {
6947
6947
  return name;
6948
6948
  }
@@ -6954,11 +6954,11 @@ var require_tmp = __commonJS({
6954
6954
  tmpName(opts, function _tmpNameCreated(err, name) {
6955
6955
  if (err)
6956
6956
  return cb(err);
6957
- fs2.open(name, CREATE_FLAGS, opts.mode || FILE_MODE, function _fileCreated(err2, fd) {
6957
+ fs.open(name, CREATE_FLAGS, opts.mode || FILE_MODE, function _fileCreated(err2, fd) {
6958
6958
  if (err2)
6959
6959
  return cb(err2);
6960
6960
  if (opts.discardDescriptor) {
6961
- return fs2.close(fd, function _discardCallback(possibleErr) {
6961
+ return fs.close(fd, function _discardCallback(possibleErr) {
6962
6962
  return cb(possibleErr, name, void 0, _prepareTmpFileRemoveCallback(name, -1, opts, false));
6963
6963
  });
6964
6964
  } else {
@@ -6972,9 +6972,9 @@ var require_tmp = __commonJS({
6972
6972
  const args = _parseArguments(options), opts = args[0];
6973
6973
  const discardOrDetachDescriptor = opts.discardDescriptor || opts.detachDescriptor;
6974
6974
  const name = tmpNameSync(opts);
6975
- var fd = fs2.openSync(name, CREATE_FLAGS, opts.mode || FILE_MODE);
6975
+ var fd = fs.openSync(name, CREATE_FLAGS, opts.mode || FILE_MODE);
6976
6976
  if (opts.discardDescriptor) {
6977
- fs2.closeSync(fd);
6977
+ fs.closeSync(fd);
6978
6978
  fd = void 0;
6979
6979
  }
6980
6980
  return {
@@ -6988,7 +6988,7 @@ var require_tmp = __commonJS({
6988
6988
  tmpName(opts, function _tmpNameCreated(err, name) {
6989
6989
  if (err)
6990
6990
  return cb(err);
6991
- fs2.mkdir(name, opts.mode || DIR_MODE, function _dirCreated(err2) {
6991
+ fs.mkdir(name, opts.mode || DIR_MODE, function _dirCreated(err2) {
6992
6992
  if (err2)
6993
6993
  return cb(err2);
6994
6994
  cb(null, name, _prepareTmpDirRemoveCallback(name, opts, false));
@@ -6998,7 +6998,7 @@ var require_tmp = __commonJS({
6998
6998
  function dirSync(options) {
6999
6999
  const args = _parseArguments(options), opts = args[0];
7000
7000
  const name = tmpNameSync(opts);
7001
- fs2.mkdirSync(name, opts.mode || DIR_MODE);
7001
+ fs.mkdirSync(name, opts.mode || DIR_MODE);
7002
7002
  return {
7003
7003
  name,
7004
7004
  removeCallback: _prepareTmpDirRemoveCallback(name, opts, true)
@@ -7012,23 +7012,23 @@ var require_tmp = __commonJS({
7012
7012
  next();
7013
7013
  };
7014
7014
  if (0 <= fdPath[0])
7015
- fs2.close(fdPath[0], function() {
7016
- fs2.unlink(fdPath[1], _handler);
7015
+ fs.close(fdPath[0], function() {
7016
+ fs.unlink(fdPath[1], _handler);
7017
7017
  });
7018
7018
  else
7019
- fs2.unlink(fdPath[1], _handler);
7019
+ fs.unlink(fdPath[1], _handler);
7020
7020
  }
7021
7021
  function _removeFileSync(fdPath) {
7022
7022
  let rethrownException = null;
7023
7023
  try {
7024
7024
  if (0 <= fdPath[0])
7025
- fs2.closeSync(fdPath[0]);
7025
+ fs.closeSync(fdPath[0]);
7026
7026
  } catch (e) {
7027
7027
  if (!_isEBADF(e) && !_isENOENT(e))
7028
7028
  throw e;
7029
7029
  } finally {
7030
7030
  try {
7031
- fs2.unlinkSync(fdPath[1]);
7031
+ fs.unlinkSync(fdPath[1]);
7032
7032
  } catch (e) {
7033
7033
  if (!_isENOENT(e))
7034
7034
  rethrownException = e;
@@ -7046,7 +7046,7 @@ var require_tmp = __commonJS({
7046
7046
  return sync ? removeCallbackSync : removeCallback;
7047
7047
  }
7048
7048
  function _prepareTmpDirRemoveCallback(name, opts, sync) {
7049
- const removeFunction = opts.unsafeCleanup ? rimraf : fs2.rmdir.bind(fs2);
7049
+ const removeFunction = opts.unsafeCleanup ? rimraf : fs.rmdir.bind(fs);
7050
7050
  const removeFunctionSync = opts.unsafeCleanup ? FN_RIMRAF_SYNC : FN_RMDIR_SYNC;
7051
7051
  const removeCallbackSync = _prepareRemoveCallback(removeFunctionSync, name, sync);
7052
7052
  const removeCallback = _prepareRemoveCallback(removeFunction, name, sync, removeCallbackSync);
@@ -7116,9 +7116,9 @@ var require_tmp = __commonJS({
7116
7116
  function _generateTmpName(opts) {
7117
7117
  const tmpDir = opts.tmpdir;
7118
7118
  if (!_isUndefined(opts.name))
7119
- return path2.join(tmpDir, opts.dir, opts.name);
7119
+ return path.join(tmpDir, opts.dir, opts.name);
7120
7120
  if (!_isUndefined(opts.template))
7121
- return path2.join(tmpDir, opts.dir, opts.template).replace(TEMPLATE_PATTERN, _randomChars(6));
7121
+ return path.join(tmpDir, opts.dir, opts.template).replace(TEMPLATE_PATTERN, _randomChars(6));
7122
7122
  const name = [
7123
7123
  opts.prefix ? opts.prefix : "tmp",
7124
7124
  "-",
@@ -7127,7 +7127,7 @@ var require_tmp = __commonJS({
7127
7127
  _randomChars(12),
7128
7128
  opts.postfix ? "-" + opts.postfix : ""
7129
7129
  ].join("");
7130
- return path2.join(tmpDir, opts.dir, name);
7130
+ return path.join(tmpDir, opts.dir, name);
7131
7131
  }
7132
7132
  function _assertAndSanitizeOptions(options) {
7133
7133
  options.tmpdir = _getTmpDir(options);
@@ -7148,9 +7148,9 @@ var require_tmp = __commonJS({
7148
7148
  options.detachDescriptor = !!options.detachDescriptor;
7149
7149
  options.discardDescriptor = !!options.discardDescriptor;
7150
7150
  options.unsafeCleanup = !!options.unsafeCleanup;
7151
- options.dir = _isUndefined(options.dir) ? "" : path2.relative(tmpDir, _resolvePath(options.dir, tmpDir));
7152
- options.template = _isUndefined(options.template) ? void 0 : path2.relative(tmpDir, _resolvePath(options.template, tmpDir));
7153
- options.template = _isBlank(options.template) ? void 0 : path2.relative(options.dir, options.template);
7151
+ options.dir = _isUndefined(options.dir) ? "" : path.relative(tmpDir, _resolvePath(options.dir, tmpDir));
7152
+ options.template = _isUndefined(options.template) ? void 0 : path.relative(tmpDir, _resolvePath(options.template, tmpDir));
7153
+ options.template = _isBlank(options.template) ? void 0 : path.relative(options.dir, options.template);
7154
7154
  options.name = _isUndefined(options.name) ? void 0 : _sanitizeName(options.name);
7155
7155
  options.prefix = _isUndefined(options.prefix) ? "" : options.prefix;
7156
7156
  options.postfix = _isUndefined(options.postfix) ? "" : options.postfix;
@@ -7158,9 +7158,9 @@ var require_tmp = __commonJS({
7158
7158
  function _resolvePath(name, tmpDir) {
7159
7159
  const sanitizedName = _sanitizeName(name);
7160
7160
  if (sanitizedName.startsWith(tmpDir)) {
7161
- return path2.resolve(sanitizedName);
7161
+ return path.resolve(sanitizedName);
7162
7162
  } else {
7163
- return path2.resolve(path2.join(tmpDir, sanitizedName));
7163
+ return path.resolve(path.join(tmpDir, sanitizedName));
7164
7164
  }
7165
7165
  }
7166
7166
  function _sanitizeName(name) {
@@ -7171,13 +7171,13 @@ var require_tmp = __commonJS({
7171
7171
  }
7172
7172
  function _assertIsRelative(name, option, tmpDir) {
7173
7173
  if (option === "name") {
7174
- if (path2.isAbsolute(name))
7174
+ if (path.isAbsolute(name))
7175
7175
  throw new Error(`${option} option must not contain an absolute path, found "${name}".`);
7176
- let basename = path2.basename(name);
7176
+ let basename = path.basename(name);
7177
7177
  if (basename === ".." || basename === "." || basename !== name)
7178
7178
  throw new Error(`${option} option must not contain a path, found "${name}".`);
7179
7179
  } else {
7180
- if (path2.isAbsolute(name) && !name.startsWith(tmpDir)) {
7180
+ if (path.isAbsolute(name) && !name.startsWith(tmpDir)) {
7181
7181
  throw new Error(`${option} option must be relative to "${tmpDir}", found "${name}".`);
7182
7182
  }
7183
7183
  let resolvedPath = _resolvePath(name, tmpDir);
@@ -7198,7 +7198,7 @@ var require_tmp = __commonJS({
7198
7198
  _gracefulCleanup = true;
7199
7199
  }
7200
7200
  function _getTmpDir(options) {
7201
- return path2.resolve(_sanitizeName(options && options.tmpdir || os.tmpdir()));
7201
+ return path.resolve(_sanitizeName(options && options.tmpdir || os.tmpdir()));
7202
7202
  }
7203
7203
  process.addListener(EXIT, _garbageCollector);
7204
7204
  Object.defineProperty(module2.exports, "tmpdir", {
@@ -7809,17 +7809,17 @@ var require_ignore = __commonJS({
7809
7809
  var throwError = (message, Ctor) => {
7810
7810
  throw new Ctor(message);
7811
7811
  };
7812
- var checkPath = (path2, originalPath, doThrow) => {
7813
- if (!isString(path2)) {
7812
+ var checkPath = (path, originalPath, doThrow) => {
7813
+ if (!isString(path)) {
7814
7814
  return doThrow(
7815
7815
  `path must be a string, but got \`${originalPath}\``,
7816
7816
  TypeError
7817
7817
  );
7818
7818
  }
7819
- if (!path2) {
7819
+ if (!path) {
7820
7820
  return doThrow(`path must not be empty`, TypeError);
7821
7821
  }
7822
- if (checkPath.isNotRelative(path2)) {
7822
+ if (checkPath.isNotRelative(path)) {
7823
7823
  const r = "`path.relative()`d";
7824
7824
  return doThrow(
7825
7825
  `path should be a ${r} string, but got "${originalPath}"`,
@@ -7828,7 +7828,7 @@ var require_ignore = __commonJS({
7828
7828
  }
7829
7829
  return true;
7830
7830
  };
7831
- var isNotRelative = (path2) => REGEX_TEST_INVALID_PATH.test(path2);
7831
+ var isNotRelative = (path) => REGEX_TEST_INVALID_PATH.test(path);
7832
7832
  checkPath.isNotRelative = isNotRelative;
7833
7833
  checkPath.convert = (p) => p;
7834
7834
  var Ignore = class {
@@ -7887,7 +7887,7 @@ var require_ignore = __commonJS({
7887
7887
  // setting `checkUnignored` to `false` could reduce additional
7888
7888
  // path matching.
7889
7889
  // @returns {TestResult} true if a file is ignored
7890
- _testOne(path2, checkUnignored) {
7890
+ _testOne(path, checkUnignored) {
7891
7891
  let ignored = false;
7892
7892
  let unignored = false;
7893
7893
  this._rules.forEach((rule) => {
@@ -7895,7 +7895,7 @@ var require_ignore = __commonJS({
7895
7895
  if (unignored === negative && ignored !== unignored || negative && !ignored && !unignored && !checkUnignored) {
7896
7896
  return;
7897
7897
  }
7898
- const matched = rule.regex.test(path2);
7898
+ const matched = rule.regex.test(path);
7899
7899
  if (matched) {
7900
7900
  ignored = !negative;
7901
7901
  unignored = negative;
@@ -7908,24 +7908,24 @@ var require_ignore = __commonJS({
7908
7908
  }
7909
7909
  // @returns {TestResult}
7910
7910
  _test(originalPath, cache, checkUnignored, slices) {
7911
- const path2 = originalPath && checkPath.convert(originalPath);
7911
+ const path = originalPath && checkPath.convert(originalPath);
7912
7912
  checkPath(
7913
- path2,
7913
+ path,
7914
7914
  originalPath,
7915
7915
  this._allowRelativePaths ? RETURN_FALSE : throwError
7916
7916
  );
7917
- return this._t(path2, cache, checkUnignored, slices);
7917
+ return this._t(path, cache, checkUnignored, slices);
7918
7918
  }
7919
- _t(path2, cache, checkUnignored, slices) {
7920
- if (path2 in cache) {
7921
- return cache[path2];
7919
+ _t(path, cache, checkUnignored, slices) {
7920
+ if (path in cache) {
7921
+ return cache[path];
7922
7922
  }
7923
7923
  if (!slices) {
7924
- slices = path2.split(SLASH);
7924
+ slices = path.split(SLASH);
7925
7925
  }
7926
7926
  slices.pop();
7927
7927
  if (!slices.length) {
7928
- return cache[path2] = this._testOne(path2, checkUnignored);
7928
+ return cache[path] = this._testOne(path, checkUnignored);
7929
7929
  }
7930
7930
  const parent = this._t(
7931
7931
  slices.join(SLASH) + SLASH,
@@ -7933,24 +7933,24 @@ var require_ignore = __commonJS({
7933
7933
  checkUnignored,
7934
7934
  slices
7935
7935
  );
7936
- return cache[path2] = parent.ignored ? parent : this._testOne(path2, checkUnignored);
7936
+ return cache[path] = parent.ignored ? parent : this._testOne(path, checkUnignored);
7937
7937
  }
7938
- ignores(path2) {
7939
- return this._test(path2, this._ignoreCache, false).ignored;
7938
+ ignores(path) {
7939
+ return this._test(path, this._ignoreCache, false).ignored;
7940
7940
  }
7941
7941
  createFilter() {
7942
- return (path2) => !this.ignores(path2);
7942
+ return (path) => !this.ignores(path);
7943
7943
  }
7944
7944
  filter(paths) {
7945
7945
  return makeArray(paths).filter(this.createFilter());
7946
7946
  }
7947
7947
  // @returns {TestResult}
7948
- test(path2) {
7949
- return this._test(path2, this._testCache, true);
7948
+ test(path) {
7949
+ return this._test(path, this._testCache, true);
7950
7950
  }
7951
7951
  };
7952
7952
  var factory = (options) => new Ignore(options);
7953
- var isPathValid = (path2) => checkPath(path2 && checkPath.convert(path2), path2, RETURN_FALSE);
7953
+ var isPathValid = (path) => checkPath(path && checkPath.convert(path), path, RETURN_FALSE);
7954
7954
  factory.isPathValid = isPathValid;
7955
7955
  factory.default = factory;
7956
7956
  module2.exports = factory;
@@ -7961,7 +7961,7 @@ var require_ignore = __commonJS({
7961
7961
  const makePosix = (str) => /^\\\\\?\\/.test(str) || /["<>|\u0000-\u001F]+/u.test(str) ? str : str.replace(/\\/g, "/");
7962
7962
  checkPath.convert = makePosix;
7963
7963
  const REGIX_IS_WINDOWS_PATH_ABSOLUTE = /^[a-z]:\//i;
7964
- checkPath.isNotRelative = (path2) => REGIX_IS_WINDOWS_PATH_ABSOLUTE.test(path2) || isNotRelative(path2);
7964
+ checkPath.isNotRelative = (path) => REGIX_IS_WINDOWS_PATH_ABSOLUTE.test(path) || isNotRelative(path);
7965
7965
  }
7966
7966
  }
7967
7967
  });
@@ -8002,8 +8002,8 @@ var require_visit_not_ignored_files = __commonJS({
8002
8002
  }
8003
8003
  }
8004
8004
  exports.visitNotIgnoredFiles = visitNotIgnoredFiles;
8005
- function normalizePathRelativeToRoot(path2, root) {
8006
- return (0, path_1.relative)(root, (0, path_1.join)(root, path2)).split(path_1.sep).join("/");
8005
+ function normalizePathRelativeToRoot(path, root) {
8006
+ return (0, path_1.relative)(root, (0, path_1.join)(root, path)).split(path_1.sep).join("/");
8007
8007
  }
8008
8008
  }
8009
8009
  });
@@ -8384,8 +8384,8 @@ var require_invoke_nx_generator = __commonJS({
8384
8384
  }
8385
8385
  return fileChanges;
8386
8386
  }
8387
- normalize(path2) {
8388
- return (0, path_1.relative)(this.root, (0, path_1.join)(this.root, path2));
8387
+ normalize(path) {
8388
+ return (0, path_1.relative)(this.root, (0, path_1.join)(this.root, path));
8389
8389
  }
8390
8390
  read(filePath, encoding) {
8391
8391
  return encoding ? this.tree.read(filePath).toString(encoding) : this.tree.read(filePath);
@@ -9144,7 +9144,7 @@ var require_Observable = __commonJS({
9144
9144
  Observable2.prototype.forEach = function(next, promiseCtor) {
9145
9145
  var _this = this;
9146
9146
  promiseCtor = getPromiseCtor(promiseCtor);
9147
- return new promiseCtor(function(resolve2, reject) {
9147
+ return new promiseCtor(function(resolve, reject) {
9148
9148
  var subscriber = new Subscriber_1.SafeSubscriber({
9149
9149
  next: function(value) {
9150
9150
  try {
@@ -9155,7 +9155,7 @@ var require_Observable = __commonJS({
9155
9155
  }
9156
9156
  },
9157
9157
  error: reject,
9158
- complete: resolve2
9158
+ complete: resolve
9159
9159
  });
9160
9160
  _this.subscribe(subscriber);
9161
9161
  });
@@ -9177,14 +9177,14 @@ var require_Observable = __commonJS({
9177
9177
  Observable2.prototype.toPromise = function(promiseCtor) {
9178
9178
  var _this = this;
9179
9179
  promiseCtor = getPromiseCtor(promiseCtor);
9180
- return new promiseCtor(function(resolve2, reject) {
9180
+ return new promiseCtor(function(resolve, reject) {
9181
9181
  var value;
9182
9182
  _this.subscribe(function(x) {
9183
9183
  return value = x;
9184
9184
  }, function(err) {
9185
9185
  return reject(err);
9186
9186
  }, function() {
9187
- return resolve2(value);
9187
+ return resolve(value);
9188
9188
  });
9189
9189
  });
9190
9190
  };
@@ -11336,11 +11336,11 @@ var require_innerFrom = __commonJS({
11336
11336
  "use strict";
11337
11337
  var __awaiter2 = exports && exports.__awaiter || function(thisArg, _arguments, P, generator) {
11338
11338
  function adopt(value) {
11339
- return value instanceof P ? value : new P(function(resolve2) {
11340
- resolve2(value);
11339
+ return value instanceof P ? value : new P(function(resolve) {
11340
+ resolve(value);
11341
11341
  });
11342
11342
  }
11343
- return new (P || (P = Promise))(function(resolve2, reject) {
11343
+ return new (P || (P = Promise))(function(resolve, reject) {
11344
11344
  function fulfilled(value) {
11345
11345
  try {
11346
11346
  step(generator.next(value));
@@ -11356,7 +11356,7 @@ var require_innerFrom = __commonJS({
11356
11356
  }
11357
11357
  }
11358
11358
  function step(result) {
11359
- result.done ? resolve2(result.value) : adopt(result.value).then(fulfilled, rejected);
11359
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
11360
11360
  }
11361
11361
  step((generator = generator.apply(thisArg, _arguments || [])).next());
11362
11362
  });
@@ -11446,14 +11446,14 @@ var require_innerFrom = __commonJS({
11446
11446
  }, i);
11447
11447
  function verb(n) {
11448
11448
  i[n] = o[n] && function(v) {
11449
- return new Promise(function(resolve2, reject) {
11450
- v = o[n](v), settle(resolve2, reject, v.done, v.value);
11449
+ return new Promise(function(resolve, reject) {
11450
+ v = o[n](v), settle(resolve, reject, v.done, v.value);
11451
11451
  });
11452
11452
  };
11453
11453
  }
11454
- function settle(resolve2, reject, d, v) {
11454
+ function settle(resolve, reject, d, v) {
11455
11455
  Promise.resolve(v).then(function(v2) {
11456
- resolve2({ value: v2, done: d });
11456
+ resolve({ value: v2, done: d });
11457
11457
  }, reject);
11458
11458
  }
11459
11459
  };
@@ -11571,7 +11571,7 @@ var require_innerFrom = __commonJS({
11571
11571
  exports.fromIterable = fromIterable;
11572
11572
  function fromAsyncIterable(asyncIterable) {
11573
11573
  return new Observable_1.Observable(function(subscriber) {
11574
- process3(asyncIterable, subscriber).catch(function(err) {
11574
+ process2(asyncIterable, subscriber).catch(function(err) {
11575
11575
  return subscriber.error(err);
11576
11576
  });
11577
11577
  });
@@ -11581,7 +11581,7 @@ var require_innerFrom = __commonJS({
11581
11581
  return fromAsyncIterable(isReadableStreamLike_1.readableStreamLikeToAsyncGenerator(readableStream));
11582
11582
  }
11583
11583
  exports.fromReadableStreamLike = fromReadableStreamLike;
11584
- function process3(asyncIterable, subscriber) {
11584
+ function process2(asyncIterable, subscriber) {
11585
11585
  var asyncIterable_1, asyncIterable_1_1;
11586
11586
  var e_2, _a;
11587
11587
  return __awaiter2(this, void 0, void 0, function() {
@@ -12080,7 +12080,7 @@ var require_lastValueFrom = __commonJS({
12080
12080
  var EmptyError_1 = require_EmptyError();
12081
12081
  function lastValueFrom(source, config) {
12082
12082
  var hasConfig = typeof config === "object";
12083
- return new Promise(function(resolve2, reject) {
12083
+ return new Promise(function(resolve, reject) {
12084
12084
  var _hasValue = false;
12085
12085
  var _value;
12086
12086
  source.subscribe({
@@ -12091,9 +12091,9 @@ var require_lastValueFrom = __commonJS({
12091
12091
  error: reject,
12092
12092
  complete: function() {
12093
12093
  if (_hasValue) {
12094
- resolve2(_value);
12094
+ resolve(_value);
12095
12095
  } else if (hasConfig) {
12096
- resolve2(config.defaultValue);
12096
+ resolve(config.defaultValue);
12097
12097
  } else {
12098
12098
  reject(new EmptyError_1.EmptyError());
12099
12099
  }
@@ -12115,16 +12115,16 @@ var require_firstValueFrom = __commonJS({
12115
12115
  var Subscriber_1 = require_Subscriber();
12116
12116
  function firstValueFrom(source, config) {
12117
12117
  var hasConfig = typeof config === "object";
12118
- return new Promise(function(resolve2, reject) {
12118
+ return new Promise(function(resolve, reject) {
12119
12119
  var subscriber = new Subscriber_1.SafeSubscriber({
12120
12120
  next: function(value) {
12121
- resolve2(value);
12121
+ resolve(value);
12122
12122
  subscriber.unsubscribe();
12123
12123
  },
12124
12124
  error: reject,
12125
12125
  complete: function() {
12126
12126
  if (hasConfig) {
12127
- resolve2(config.defaultValue);
12127
+ resolve(config.defaultValue);
12128
12128
  } else {
12129
12129
  reject(new EmptyError_1.EmptyError());
12130
12130
  }
@@ -18236,9 +18236,9 @@ var require_devkit = __commonJS({
18236
18236
  var require_resolve_from = __commonJS({
18237
18237
  "node_modules/.pnpm/resolve-from@4.0.0/node_modules/resolve-from/index.js"(exports, module2) {
18238
18238
  "use strict";
18239
- var path2 = require("path");
18239
+ var path = require("path");
18240
18240
  var Module = require("module");
18241
- var fs2 = require("fs");
18241
+ var fs = require("fs");
18242
18242
  var resolveFrom = (fromDir, moduleId, silent) => {
18243
18243
  if (typeof fromDir !== "string") {
18244
18244
  throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof fromDir}\``);
@@ -18247,17 +18247,17 @@ var require_resolve_from = __commonJS({
18247
18247
  throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof moduleId}\``);
18248
18248
  }
18249
18249
  try {
18250
- fromDir = fs2.realpathSync(fromDir);
18250
+ fromDir = fs.realpathSync(fromDir);
18251
18251
  } catch (err) {
18252
18252
  if (err.code === "ENOENT") {
18253
- fromDir = path2.resolve(fromDir);
18253
+ fromDir = path.resolve(fromDir);
18254
18254
  } else if (silent) {
18255
18255
  return null;
18256
18256
  } else {
18257
18257
  throw err;
18258
18258
  }
18259
18259
  }
18260
- const fromFile = path2.join(fromDir, "noop.js");
18260
+ const fromFile = path.join(fromDir, "noop.js");
18261
18261
  const resolveFileName = () => Module._resolveFilename(moduleId, {
18262
18262
  id: fromFile,
18263
18263
  filename: fromFile,
@@ -18329,7 +18329,7 @@ var require_parent_module = __commonJS({
18329
18329
  var require_import_fresh = __commonJS({
18330
18330
  "node_modules/.pnpm/import-fresh@3.3.0/node_modules/import-fresh/index.js"(exports, module2) {
18331
18331
  "use strict";
18332
- var path2 = require("path");
18332
+ var path = require("path");
18333
18333
  var resolveFrom = require_resolve_from();
18334
18334
  var parentModule = require_parent_module();
18335
18335
  module2.exports = (moduleId) => {
@@ -18337,7 +18337,7 @@ var require_import_fresh = __commonJS({
18337
18337
  throw new TypeError("Expected a string");
18338
18338
  }
18339
18339
  const parentPath = parentModule(__filename);
18340
- const cwd = parentPath ? path2.dirname(parentPath) : __dirname;
18340
+ const cwd = parentPath ? path.dirname(parentPath) : __dirname;
18341
18341
  const filePath = resolveFrom(cwd, moduleId);
18342
18342
  const oldModule = require.cache[filePath];
18343
18343
  if (oldModule && oldModule.parent) {
@@ -19779,15 +19779,15 @@ var require_route = __commonJS({
19779
19779
  };
19780
19780
  }
19781
19781
  function wrapConversion(toModel, graph) {
19782
- var path2 = [graph[toModel].parent, toModel];
19782
+ var path = [graph[toModel].parent, toModel];
19783
19783
  var fn = conversions[graph[toModel].parent][toModel];
19784
19784
  var cur = graph[toModel].parent;
19785
19785
  while (graph[cur].parent) {
19786
- path2.unshift(graph[cur].parent);
19786
+ path.unshift(graph[cur].parent);
19787
19787
  fn = link(conversions[graph[cur].parent][cur], fn);
19788
19788
  cur = graph[cur].parent;
19789
19789
  }
19790
- fn.conversion = path2;
19790
+ fn.conversion = path;
19791
19791
  return fn;
19792
19792
  }
19793
19793
  module2.exports = function(fromModel) {
@@ -23783,7 +23783,7 @@ ${error.message}`;
23783
23783
  return typescript.sys.fileExists(fileName);
23784
23784
  });
23785
23785
  if (filePath !== void 0) {
23786
- const { config, error } = typescript.readConfigFile(filePath, (path2) => typescript.sys.readFile(path2));
23786
+ const { config, error } = typescript.readConfigFile(filePath, (path) => typescript.sys.readFile(path));
23787
23787
  if (error) {
23788
23788
  throw new Error(`Error in ${filePath}: ${error.messageText.toString()}`);
23789
23789
  }
@@ -23906,42 +23906,42 @@ var require_defaults = __commonJS({
23906
23906
  var require_env_paths = __commonJS({
23907
23907
  "node_modules/.pnpm/env-paths@2.2.1/node_modules/env-paths/index.js"(exports, module2) {
23908
23908
  "use strict";
23909
- var path2 = require("path");
23909
+ var path = require("path");
23910
23910
  var os = require("os");
23911
23911
  var homedir = os.homedir();
23912
23912
  var tmpdir = os.tmpdir();
23913
23913
  var { env } = process;
23914
23914
  var macos = (name) => {
23915
- const library = path2.join(homedir, "Library");
23915
+ const library = path.join(homedir, "Library");
23916
23916
  return {
23917
- data: path2.join(library, "Application Support", name),
23918
- config: path2.join(library, "Preferences", name),
23919
- cache: path2.join(library, "Caches", name),
23920
- log: path2.join(library, "Logs", name),
23921
- temp: path2.join(tmpdir, name)
23917
+ data: path.join(library, "Application Support", name),
23918
+ config: path.join(library, "Preferences", name),
23919
+ cache: path.join(library, "Caches", name),
23920
+ log: path.join(library, "Logs", name),
23921
+ temp: path.join(tmpdir, name)
23922
23922
  };
23923
23923
  };
23924
23924
  var windows = (name) => {
23925
- const appData = env.APPDATA || path2.join(homedir, "AppData", "Roaming");
23926
- const localAppData = env.LOCALAPPDATA || path2.join(homedir, "AppData", "Local");
23925
+ const appData = env.APPDATA || path.join(homedir, "AppData", "Roaming");
23926
+ const localAppData = env.LOCALAPPDATA || path.join(homedir, "AppData", "Local");
23927
23927
  return {
23928
23928
  // Data/config/cache/log are invented by me as Windows isn't opinionated about this
23929
- data: path2.join(localAppData, name, "Data"),
23930
- config: path2.join(appData, name, "Config"),
23931
- cache: path2.join(localAppData, name, "Cache"),
23932
- log: path2.join(localAppData, name, "Log"),
23933
- temp: path2.join(tmpdir, name)
23929
+ data: path.join(localAppData, name, "Data"),
23930
+ config: path.join(appData, name, "Config"),
23931
+ cache: path.join(localAppData, name, "Cache"),
23932
+ log: path.join(localAppData, name, "Log"),
23933
+ temp: path.join(tmpdir, name)
23934
23934
  };
23935
23935
  };
23936
23936
  var linux = (name) => {
23937
- const username = path2.basename(homedir);
23937
+ const username = path.basename(homedir);
23938
23938
  return {
23939
- data: path2.join(env.XDG_DATA_HOME || path2.join(homedir, ".local", "share"), name),
23940
- config: path2.join(env.XDG_CONFIG_HOME || path2.join(homedir, ".config"), name),
23941
- cache: path2.join(env.XDG_CACHE_HOME || path2.join(homedir, ".cache"), name),
23939
+ data: path.join(env.XDG_DATA_HOME || path.join(homedir, ".local", "share"), name),
23940
+ config: path.join(env.XDG_CONFIG_HOME || path.join(homedir, ".config"), name),
23941
+ cache: path.join(env.XDG_CACHE_HOME || path.join(homedir, ".cache"), name),
23942
23942
  // https://wiki.debian.org/XDGBaseDirectorySpecification#state
23943
- log: path2.join(env.XDG_STATE_HOME || path2.join(homedir, ".local", "state"), name),
23944
- temp: path2.join(tmpdir, username, name)
23943
+ log: path.join(env.XDG_STATE_HOME || path.join(homedir, ".local", "state"), name),
23944
+ temp: path.join(tmpdir, username, name)
23945
23945
  };
23946
23946
  };
23947
23947
  var envPaths = (name, options) => {
@@ -24014,11 +24014,11 @@ var require_util = __commonJS({
24014
24014
  return result;
24015
24015
  }
24016
24016
  exports.emplace = emplace;
24017
- function getPropertyByPath(source, path2) {
24018
- if (typeof path2 === "string" && Object.prototype.hasOwnProperty.call(source, path2)) {
24019
- return source[path2];
24017
+ function getPropertyByPath(source, path) {
24018
+ if (typeof path === "string" && Object.prototype.hasOwnProperty.call(source, path)) {
24019
+ return source[path];
24020
24020
  }
24021
- const parsedPath = typeof path2 === "string" ? path2.split(".") : path2;
24021
+ const parsedPath = typeof path === "string" ? path.split(".") : path;
24022
24022
  return parsedPath.reduce((previous, key) => {
24023
24023
  if (previous === void 0) {
24024
24024
  return previous;
@@ -24031,9 +24031,9 @@ var require_util = __commonJS({
24031
24031
  return Object.fromEntries(Object.entries(options).filter(([, value]) => value !== void 0));
24032
24032
  }
24033
24033
  exports.removeUndefinedValuesFromObject = removeUndefinedValuesFromObject;
24034
- async function isDirectory(path2) {
24034
+ async function isDirectory(path) {
24035
24035
  try {
24036
- const stat = await fs_1.promises.stat(path2);
24036
+ const stat = await fs_1.promises.stat(path);
24037
24037
  return stat.isDirectory();
24038
24038
  } catch (e) {
24039
24039
  if (e.code === "ENOENT") {
@@ -24043,9 +24043,9 @@ var require_util = __commonJS({
24043
24043
  }
24044
24044
  }
24045
24045
  exports.isDirectory = isDirectory;
24046
- function isDirectorySync(path2) {
24046
+ function isDirectorySync(path) {
24047
24047
  try {
24048
- const stat = fs_1.default.statSync(path2);
24048
+ const stat = fs_1.default.statSync(path);
24049
24049
  return stat.isDirectory();
24050
24050
  } catch (e) {
24051
24051
  if (e.code === "ENOENT") {
@@ -24143,7 +24143,7 @@ var require_ExplorerBase = __commonJS({
24143
24143
  const idx = importStack.indexOf(fullPath);
24144
24144
  if (idx !== -1) {
24145
24145
  throw new Error(`Circular import detected:
24146
- ${[...importStack, fullPath].map((path2, i) => `${i + 1}. ${path2}`).join("\n")} (same as ${idx + 1}.)`);
24146
+ ${[...importStack, fullPath].map((path, i) => `${i + 1}. ${path}`).join("\n")} (same as ${idx + 1}.)`);
24147
24147
  }
24148
24148
  }
24149
24149
  }
@@ -24328,9 +24328,9 @@ var require_Explorer = __commonJS({
24328
24328
  throw error;
24329
24329
  }
24330
24330
  }
24331
- async #fileExists(path2) {
24331
+ async #fileExists(path) {
24332
24332
  try {
24333
- await promises_1.default.stat(path2);
24333
+ await promises_1.default.stat(path);
24334
24334
  return true;
24335
24335
  } catch (e) {
24336
24336
  return false;
@@ -24486,9 +24486,9 @@ var require_ExplorerSync = __commonJS({
24486
24486
  throw error;
24487
24487
  }
24488
24488
  }
24489
- #fileExists(path2) {
24489
+ #fileExists(path) {
24490
24490
  try {
24491
- fs_1.default.statSync(path2);
24491
+ fs_1.default.statSync(path);
24492
24492
  return true;
24493
24493
  } catch (e) {
24494
24494
  return false;
@@ -24608,7 +24608,7 @@ var require_dist = __commonJS({
24608
24608
  };
24609
24609
  }
24610
24610
  function getResolvedSearchPlaces(moduleName, toolDefinedSearchPlaces, userConfiguredOptions) {
24611
- const userConfiguredSearchPlaces = userConfiguredOptions.searchPlaces?.map((path2) => path2.replace("{name}", moduleName));
24611
+ const userConfiguredSearchPlaces = userConfiguredOptions.searchPlaces?.map((path) => path.replace("{name}", moduleName));
24612
24612
  if (userConfiguredOptions.mergeSearchPlaces) {
24613
24613
  return [...userConfiguredSearchPlaces ?? [], ...toolDefinedSearchPlaces];
24614
24614
  }
@@ -25575,15 +25575,15 @@ var require_route2 = __commonJS({
25575
25575
  };
25576
25576
  }
25577
25577
  function wrapConversion(toModel, graph) {
25578
- const path2 = [graph[toModel].parent, toModel];
25578
+ const path = [graph[toModel].parent, toModel];
25579
25579
  let fn = conversions[graph[toModel].parent][toModel];
25580
25580
  let cur = graph[toModel].parent;
25581
25581
  while (graph[cur].parent) {
25582
- path2.unshift(graph[cur].parent);
25582
+ path.unshift(graph[cur].parent);
25583
25583
  fn = link(conversions[graph[cur].parent][cur], fn);
25584
25584
  cur = graph[cur].parent;
25585
25585
  }
25586
- fn.conversion = path2;
25586
+ fn.conversion = path;
25587
25587
  return fn;
25588
25588
  }
25589
25589
  module2.exports = function(fromModel) {
@@ -27629,8 +27629,8 @@ var require_prompt = __commonJS({
27629
27629
  throw new Error("expected prompt to have a custom render method");
27630
27630
  }
27631
27631
  run() {
27632
- return new Promise(async (resolve2, reject) => {
27633
- this.once("submit", resolve2);
27632
+ return new Promise(async (resolve, reject) => {
27633
+ this.once("submit", resolve);
27634
27634
  this.once("cancel", reject);
27635
27635
  if (await this.skip()) {
27636
27636
  this.render = () => {
@@ -28174,7 +28174,7 @@ var require_array = __commonJS({
28174
28174
  return this.render();
28175
28175
  };
28176
28176
  clearTimeout(this.numberTimeout);
28177
- return new Promise((resolve2) => {
28177
+ return new Promise((resolve) => {
28178
28178
  let len = this.choices.length;
28179
28179
  let num = this.num;
28180
28180
  let handle = (val = false, res) => {
@@ -28182,7 +28182,7 @@ var require_array = __commonJS({
28182
28182
  if (val)
28183
28183
  res = number(num);
28184
28184
  this.num = "";
28185
- resolve2(res);
28185
+ resolve(res);
28186
28186
  };
28187
28187
  if (num === "0" || num.length === 1 && Number(num + "0") > len) {
28188
28188
  return handle(true);
@@ -31031,8 +31031,8 @@ var require_project_name_and_root_utils = __commonJS({
31031
31031
  function getCwd() {
31032
31032
  return process.env.INIT_CWD?.startsWith(workspaceRoot) ? process.env.INIT_CWD : process.cwd();
31033
31033
  }
31034
- function setCwd(path2) {
31035
- process.env.INIT_CWD = (0, path_1.join)(workspaceRoot, path2);
31034
+ function setCwd(path) {
31035
+ process.env.INIT_CWD = (0, path_1.join)(workspaceRoot, path);
31036
31036
  }
31037
31037
  exports.setCwd = setCwd;
31038
31038
  }
@@ -31406,9 +31406,9 @@ var require_ts_config = __commonJS({
31406
31406
  }
31407
31407
  exports.readTsConfig = readTsConfig;
31408
31408
  function getRootTsConfigPathInTree(tree) {
31409
- for (const path2 of ["tsconfig.base.json", "tsconfig.json"]) {
31410
- if (tree.exists(path2)) {
31411
- return path2;
31409
+ for (const path of ["tsconfig.base.json", "tsconfig.json"]) {
31410
+ if (tree.exists(path)) {
31411
+ return path;
31412
31412
  }
31413
31413
  }
31414
31414
  return "tsconfig.base.json";
@@ -31478,7 +31478,7 @@ var require_run_type_check = __commonJS({
31478
31478
  Object.defineProperty(exports, "__esModule", { value: true });
31479
31479
  exports.getFormattedDiagnostic = exports.runTypeCheck = exports.runTypeCheckWatch = void 0;
31480
31480
  var chalk2 = require_source();
31481
- var path2 = require("path");
31481
+ var path = require("path");
31482
31482
  var code_frames_1 = require("nx/src/utils/code-frames");
31483
31483
  var highlight_1 = require_highlight();
31484
31484
  var ts_config_1 = require_ts_config();
@@ -31511,7 +31511,7 @@ var require_run_type_check = __commonJS({
31511
31511
  options: {
31512
31512
  ...compilerOptions,
31513
31513
  incremental: true,
31514
- tsBuildInfoFile: path2.join(cacheDir, ".tsbuildinfo")
31514
+ tsBuildInfoFile: path.join(cacheDir, ".tsbuildinfo")
31515
31515
  }
31516
31516
  });
31517
31517
  } else {
@@ -31576,7 +31576,7 @@ var require_run_type_check = __commonJS({
31576
31576
  const pos = diagnostic.file.getLineAndCharacterOfPosition(diagnostic.start);
31577
31577
  const line = pos.line + 1;
31578
31578
  const column = pos.character + 1;
31579
- const fileName = path2.relative(workspaceRoot, diagnostic.file.fileName);
31579
+ const fileName = path.relative(workspaceRoot, diagnostic.file.fileName);
31580
31580
  message = `${chalk2.underline.blue(`${fileName}:${line}:${column}`)} - ` + message;
31581
31581
  const code = diagnostic.file.getFullText(diagnostic.file.getSourceFile());
31582
31582
  message += "\n" + (0, code_frames_1.codeFrameColumns)(code, {
@@ -31894,9 +31894,9 @@ var require_ts_config2 = __commonJS({
31894
31894
  }
31895
31895
  exports.readTsConfig = readTsConfig;
31896
31896
  function getRootTsConfigPathInTree(tree) {
31897
- for (const path2 of ["tsconfig.base.json", "tsconfig.json"]) {
31898
- if (tree.exists(path2)) {
31899
- return path2;
31897
+ for (const path of ["tsconfig.base.json", "tsconfig.json"]) {
31898
+ if (tree.exists(path)) {
31899
+ return path;
31900
31900
  }
31901
31901
  }
31902
31902
  return "tsconfig.base.json";
@@ -32419,8 +32419,8 @@ var require_universalify = __commonJS({
32419
32419
  if (typeof args[args.length - 1] === "function")
32420
32420
  fn.apply(this, args);
32421
32421
  else {
32422
- return new Promise((resolve2, reject) => {
32423
- args.push((err, res) => err != null ? reject(err) : resolve2(res));
32422
+ return new Promise((resolve, reject) => {
32423
+ args.push((err, res) => err != null ? reject(err) : resolve(res));
32424
32424
  fn.apply(this, args);
32425
32425
  });
32426
32426
  }
@@ -32467,56 +32467,56 @@ var require_polyfills = __commonJS({
32467
32467
  }
32468
32468
  var chdir;
32469
32469
  module2.exports = patch;
32470
- function patch(fs2) {
32470
+ function patch(fs) {
32471
32471
  if (constants.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
32472
- patchLchmod(fs2);
32473
- }
32474
- if (!fs2.lutimes) {
32475
- patchLutimes(fs2);
32476
- }
32477
- fs2.chown = chownFix(fs2.chown);
32478
- fs2.fchown = chownFix(fs2.fchown);
32479
- fs2.lchown = chownFix(fs2.lchown);
32480
- fs2.chmod = chmodFix(fs2.chmod);
32481
- fs2.fchmod = chmodFix(fs2.fchmod);
32482
- fs2.lchmod = chmodFix(fs2.lchmod);
32483
- fs2.chownSync = chownFixSync(fs2.chownSync);
32484
- fs2.fchownSync = chownFixSync(fs2.fchownSync);
32485
- fs2.lchownSync = chownFixSync(fs2.lchownSync);
32486
- fs2.chmodSync = chmodFixSync(fs2.chmodSync);
32487
- fs2.fchmodSync = chmodFixSync(fs2.fchmodSync);
32488
- fs2.lchmodSync = chmodFixSync(fs2.lchmodSync);
32489
- fs2.stat = statFix(fs2.stat);
32490
- fs2.fstat = statFix(fs2.fstat);
32491
- fs2.lstat = statFix(fs2.lstat);
32492
- fs2.statSync = statFixSync(fs2.statSync);
32493
- fs2.fstatSync = statFixSync(fs2.fstatSync);
32494
- fs2.lstatSync = statFixSync(fs2.lstatSync);
32495
- if (fs2.chmod && !fs2.lchmod) {
32496
- fs2.lchmod = function(path2, mode, cb) {
32472
+ patchLchmod(fs);
32473
+ }
32474
+ if (!fs.lutimes) {
32475
+ patchLutimes(fs);
32476
+ }
32477
+ fs.chown = chownFix(fs.chown);
32478
+ fs.fchown = chownFix(fs.fchown);
32479
+ fs.lchown = chownFix(fs.lchown);
32480
+ fs.chmod = chmodFix(fs.chmod);
32481
+ fs.fchmod = chmodFix(fs.fchmod);
32482
+ fs.lchmod = chmodFix(fs.lchmod);
32483
+ fs.chownSync = chownFixSync(fs.chownSync);
32484
+ fs.fchownSync = chownFixSync(fs.fchownSync);
32485
+ fs.lchownSync = chownFixSync(fs.lchownSync);
32486
+ fs.chmodSync = chmodFixSync(fs.chmodSync);
32487
+ fs.fchmodSync = chmodFixSync(fs.fchmodSync);
32488
+ fs.lchmodSync = chmodFixSync(fs.lchmodSync);
32489
+ fs.stat = statFix(fs.stat);
32490
+ fs.fstat = statFix(fs.fstat);
32491
+ fs.lstat = statFix(fs.lstat);
32492
+ fs.statSync = statFixSync(fs.statSync);
32493
+ fs.fstatSync = statFixSync(fs.fstatSync);
32494
+ fs.lstatSync = statFixSync(fs.lstatSync);
32495
+ if (fs.chmod && !fs.lchmod) {
32496
+ fs.lchmod = function(path, mode, cb) {
32497
32497
  if (cb)
32498
32498
  process.nextTick(cb);
32499
32499
  };
32500
- fs2.lchmodSync = function() {
32500
+ fs.lchmodSync = function() {
32501
32501
  };
32502
32502
  }
32503
- if (fs2.chown && !fs2.lchown) {
32504
- fs2.lchown = function(path2, uid, gid, cb) {
32503
+ if (fs.chown && !fs.lchown) {
32504
+ fs.lchown = function(path, uid, gid, cb) {
32505
32505
  if (cb)
32506
32506
  process.nextTick(cb);
32507
32507
  };
32508
- fs2.lchownSync = function() {
32508
+ fs.lchownSync = function() {
32509
32509
  };
32510
32510
  }
32511
32511
  if (platform === "win32") {
32512
- fs2.rename = typeof fs2.rename !== "function" ? fs2.rename : function(fs$rename) {
32512
+ fs.rename = typeof fs.rename !== "function" ? fs.rename : function(fs$rename) {
32513
32513
  function rename(from, to, cb) {
32514
32514
  var start = Date.now();
32515
32515
  var backoff = 0;
32516
32516
  fs$rename(from, to, function CB(er) {
32517
32517
  if (er && (er.code === "EACCES" || er.code === "EPERM" || er.code === "EBUSY") && Date.now() - start < 6e4) {
32518
32518
  setTimeout(function() {
32519
- fs2.stat(to, function(stater, st) {
32519
+ fs.stat(to, function(stater, st) {
32520
32520
  if (stater && stater.code === "ENOENT")
32521
32521
  fs$rename(from, to, CB);
32522
32522
  else
@@ -32534,9 +32534,9 @@ var require_polyfills = __commonJS({
32534
32534
  if (Object.setPrototypeOf)
32535
32535
  Object.setPrototypeOf(rename, fs$rename);
32536
32536
  return rename;
32537
- }(fs2.rename);
32537
+ }(fs.rename);
32538
32538
  }
32539
- fs2.read = typeof fs2.read !== "function" ? fs2.read : function(fs$read) {
32539
+ fs.read = typeof fs.read !== "function" ? fs.read : function(fs$read) {
32540
32540
  function read(fd, buffer, offset, length, position, callback_) {
32541
32541
  var callback;
32542
32542
  if (callback_ && typeof callback_ === "function") {
@@ -32544,23 +32544,23 @@ var require_polyfills = __commonJS({
32544
32544
  callback = function(er, _, __) {
32545
32545
  if (er && er.code === "EAGAIN" && eagCounter < 10) {
32546
32546
  eagCounter++;
32547
- return fs$read.call(fs2, fd, buffer, offset, length, position, callback);
32547
+ return fs$read.call(fs, fd, buffer, offset, length, position, callback);
32548
32548
  }
32549
32549
  callback_.apply(this, arguments);
32550
32550
  };
32551
32551
  }
32552
- return fs$read.call(fs2, fd, buffer, offset, length, position, callback);
32552
+ return fs$read.call(fs, fd, buffer, offset, length, position, callback);
32553
32553
  }
32554
32554
  if (Object.setPrototypeOf)
32555
32555
  Object.setPrototypeOf(read, fs$read);
32556
32556
  return read;
32557
- }(fs2.read);
32558
- fs2.readSync = typeof fs2.readSync !== "function" ? fs2.readSync : function(fs$readSync) {
32557
+ }(fs.read);
32558
+ fs.readSync = typeof fs.readSync !== "function" ? fs.readSync : function(fs$readSync) {
32559
32559
  return function(fd, buffer, offset, length, position) {
32560
32560
  var eagCounter = 0;
32561
32561
  while (true) {
32562
32562
  try {
32563
- return fs$readSync.call(fs2, fd, buffer, offset, length, position);
32563
+ return fs$readSync.call(fs, fd, buffer, offset, length, position);
32564
32564
  } catch (er) {
32565
32565
  if (er.code === "EAGAIN" && eagCounter < 10) {
32566
32566
  eagCounter++;
@@ -32570,11 +32570,11 @@ var require_polyfills = __commonJS({
32570
32570
  }
32571
32571
  }
32572
32572
  };
32573
- }(fs2.readSync);
32574
- function patchLchmod(fs3) {
32575
- fs3.lchmod = function(path2, mode, callback) {
32576
- fs3.open(
32577
- path2,
32573
+ }(fs.readSync);
32574
+ function patchLchmod(fs2) {
32575
+ fs2.lchmod = function(path, mode, callback) {
32576
+ fs2.open(
32577
+ path,
32578
32578
  constants.O_WRONLY | constants.O_SYMLINK,
32579
32579
  mode,
32580
32580
  function(err, fd) {
@@ -32583,8 +32583,8 @@ var require_polyfills = __commonJS({
32583
32583
  callback(err);
32584
32584
  return;
32585
32585
  }
32586
- fs3.fchmod(fd, mode, function(err2) {
32587
- fs3.close(fd, function(err22) {
32586
+ fs2.fchmod(fd, mode, function(err2) {
32587
+ fs2.close(fd, function(err22) {
32588
32588
  if (callback)
32589
32589
  callback(err2 || err22);
32590
32590
  });
@@ -32592,68 +32592,68 @@ var require_polyfills = __commonJS({
32592
32592
  }
32593
32593
  );
32594
32594
  };
32595
- fs3.lchmodSync = function(path2, mode) {
32596
- var fd = fs3.openSync(path2, constants.O_WRONLY | constants.O_SYMLINK, mode);
32595
+ fs2.lchmodSync = function(path, mode) {
32596
+ var fd = fs2.openSync(path, constants.O_WRONLY | constants.O_SYMLINK, mode);
32597
32597
  var threw = true;
32598
32598
  var ret;
32599
32599
  try {
32600
- ret = fs3.fchmodSync(fd, mode);
32600
+ ret = fs2.fchmodSync(fd, mode);
32601
32601
  threw = false;
32602
32602
  } finally {
32603
32603
  if (threw) {
32604
32604
  try {
32605
- fs3.closeSync(fd);
32605
+ fs2.closeSync(fd);
32606
32606
  } catch (er) {
32607
32607
  }
32608
32608
  } else {
32609
- fs3.closeSync(fd);
32609
+ fs2.closeSync(fd);
32610
32610
  }
32611
32611
  }
32612
32612
  return ret;
32613
32613
  };
32614
32614
  }
32615
- function patchLutimes(fs3) {
32616
- if (constants.hasOwnProperty("O_SYMLINK") && fs3.futimes) {
32617
- fs3.lutimes = function(path2, at, mt, cb) {
32618
- fs3.open(path2, constants.O_SYMLINK, function(er, fd) {
32615
+ function patchLutimes(fs2) {
32616
+ if (constants.hasOwnProperty("O_SYMLINK") && fs2.futimes) {
32617
+ fs2.lutimes = function(path, at, mt, cb) {
32618
+ fs2.open(path, constants.O_SYMLINK, function(er, fd) {
32619
32619
  if (er) {
32620
32620
  if (cb)
32621
32621
  cb(er);
32622
32622
  return;
32623
32623
  }
32624
- fs3.futimes(fd, at, mt, function(er2) {
32625
- fs3.close(fd, function(er22) {
32624
+ fs2.futimes(fd, at, mt, function(er2) {
32625
+ fs2.close(fd, function(er22) {
32626
32626
  if (cb)
32627
32627
  cb(er2 || er22);
32628
32628
  });
32629
32629
  });
32630
32630
  });
32631
32631
  };
32632
- fs3.lutimesSync = function(path2, at, mt) {
32633
- var fd = fs3.openSync(path2, constants.O_SYMLINK);
32632
+ fs2.lutimesSync = function(path, at, mt) {
32633
+ var fd = fs2.openSync(path, constants.O_SYMLINK);
32634
32634
  var ret;
32635
32635
  var threw = true;
32636
32636
  try {
32637
- ret = fs3.futimesSync(fd, at, mt);
32637
+ ret = fs2.futimesSync(fd, at, mt);
32638
32638
  threw = false;
32639
32639
  } finally {
32640
32640
  if (threw) {
32641
32641
  try {
32642
- fs3.closeSync(fd);
32642
+ fs2.closeSync(fd);
32643
32643
  } catch (er) {
32644
32644
  }
32645
32645
  } else {
32646
- fs3.closeSync(fd);
32646
+ fs2.closeSync(fd);
32647
32647
  }
32648
32648
  }
32649
32649
  return ret;
32650
32650
  };
32651
- } else if (fs3.futimes) {
32652
- fs3.lutimes = function(_a, _b, _c, cb) {
32651
+ } else if (fs2.futimes) {
32652
+ fs2.lutimes = function(_a, _b, _c, cb) {
32653
32653
  if (cb)
32654
32654
  process.nextTick(cb);
32655
32655
  };
32656
- fs3.lutimesSync = function() {
32656
+ fs2.lutimesSync = function() {
32657
32657
  };
32658
32658
  }
32659
32659
  }
@@ -32661,7 +32661,7 @@ var require_polyfills = __commonJS({
32661
32661
  if (!orig)
32662
32662
  return orig;
32663
32663
  return function(target, mode, cb) {
32664
- return orig.call(fs2, target, mode, function(er) {
32664
+ return orig.call(fs, target, mode, function(er) {
32665
32665
  if (chownErOk(er))
32666
32666
  er = null;
32667
32667
  if (cb)
@@ -32674,7 +32674,7 @@ var require_polyfills = __commonJS({
32674
32674
  return orig;
32675
32675
  return function(target, mode) {
32676
32676
  try {
32677
- return orig.call(fs2, target, mode);
32677
+ return orig.call(fs, target, mode);
32678
32678
  } catch (er) {
32679
32679
  if (!chownErOk(er))
32680
32680
  throw er;
@@ -32685,7 +32685,7 @@ var require_polyfills = __commonJS({
32685
32685
  if (!orig)
32686
32686
  return orig;
32687
32687
  return function(target, uid, gid, cb) {
32688
- return orig.call(fs2, target, uid, gid, function(er) {
32688
+ return orig.call(fs, target, uid, gid, function(er) {
32689
32689
  if (chownErOk(er))
32690
32690
  er = null;
32691
32691
  if (cb)
@@ -32698,7 +32698,7 @@ var require_polyfills = __commonJS({
32698
32698
  return orig;
32699
32699
  return function(target, uid, gid) {
32700
32700
  try {
32701
- return orig.call(fs2, target, uid, gid);
32701
+ return orig.call(fs, target, uid, gid);
32702
32702
  } catch (er) {
32703
32703
  if (!chownErOk(er))
32704
32704
  throw er;
@@ -32723,14 +32723,14 @@ var require_polyfills = __commonJS({
32723
32723
  if (cb)
32724
32724
  cb.apply(this, arguments);
32725
32725
  }
32726
- return options ? orig.call(fs2, target, options, callback) : orig.call(fs2, target, callback);
32726
+ return options ? orig.call(fs, target, options, callback) : orig.call(fs, target, callback);
32727
32727
  };
32728
32728
  }
32729
32729
  function statFixSync(orig) {
32730
32730
  if (!orig)
32731
32731
  return orig;
32732
32732
  return function(target, options) {
32733
- var stats = options ? orig.call(fs2, target, options) : orig.call(fs2, target);
32733
+ var stats = options ? orig.call(fs, target, options) : orig.call(fs, target);
32734
32734
  if (stats) {
32735
32735
  if (stats.uid < 0)
32736
32736
  stats.uid += 4294967296;
@@ -32761,17 +32761,17 @@ var require_legacy_streams = __commonJS({
32761
32761
  "node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js"(exports, module2) {
32762
32762
  var Stream = require("stream").Stream;
32763
32763
  module2.exports = legacy;
32764
- function legacy(fs2) {
32764
+ function legacy(fs) {
32765
32765
  return {
32766
32766
  ReadStream,
32767
32767
  WriteStream
32768
32768
  };
32769
- function ReadStream(path2, options) {
32769
+ function ReadStream(path, options) {
32770
32770
  if (!(this instanceof ReadStream))
32771
- return new ReadStream(path2, options);
32771
+ return new ReadStream(path, options);
32772
32772
  Stream.call(this);
32773
32773
  var self = this;
32774
- this.path = path2;
32774
+ this.path = path;
32775
32775
  this.fd = null;
32776
32776
  this.readable = true;
32777
32777
  this.paused = false;
@@ -32806,7 +32806,7 @@ var require_legacy_streams = __commonJS({
32806
32806
  });
32807
32807
  return;
32808
32808
  }
32809
- fs2.open(this.path, this.flags, this.mode, function(err, fd) {
32809
+ fs.open(this.path, this.flags, this.mode, function(err, fd) {
32810
32810
  if (err) {
32811
32811
  self.emit("error", err);
32812
32812
  self.readable = false;
@@ -32817,11 +32817,11 @@ var require_legacy_streams = __commonJS({
32817
32817
  self._read();
32818
32818
  });
32819
32819
  }
32820
- function WriteStream(path2, options) {
32820
+ function WriteStream(path, options) {
32821
32821
  if (!(this instanceof WriteStream))
32822
- return new WriteStream(path2, options);
32822
+ return new WriteStream(path, options);
32823
32823
  Stream.call(this);
32824
- this.path = path2;
32824
+ this.path = path;
32825
32825
  this.fd = null;
32826
32826
  this.writable = true;
32827
32827
  this.flags = "w";
@@ -32846,7 +32846,7 @@ var require_legacy_streams = __commonJS({
32846
32846
  this.busy = false;
32847
32847
  this._queue = [];
32848
32848
  if (this.fd === null) {
32849
- this._open = fs2.open;
32849
+ this._open = fs.open;
32850
32850
  this._queue.push([this._open, this.path, this.flags, this.mode, void 0]);
32851
32851
  this.flush();
32852
32852
  }
@@ -32881,7 +32881,7 @@ var require_clone = __commonJS({
32881
32881
  // node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js
32882
32882
  var require_graceful_fs = __commonJS({
32883
32883
  "node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js"(exports, module2) {
32884
- var fs2 = require("fs");
32884
+ var fs = require("fs");
32885
32885
  var polyfills = require_polyfills();
32886
32886
  var legacy = require_legacy_streams();
32887
32887
  var clone = require_clone();
@@ -32913,12 +32913,12 @@ var require_graceful_fs = __commonJS({
32913
32913
  m = "GFS4: " + m.split(/\n/).join("\nGFS4: ");
32914
32914
  console.error(m);
32915
32915
  };
32916
- if (!fs2[gracefulQueue]) {
32916
+ if (!fs[gracefulQueue]) {
32917
32917
  queue = global[gracefulQueue] || [];
32918
- publishQueue(fs2, queue);
32919
- fs2.close = function(fs$close) {
32918
+ publishQueue(fs, queue);
32919
+ fs.close = function(fs$close) {
32920
32920
  function close(fd, cb) {
32921
- return fs$close.call(fs2, fd, function(err) {
32921
+ return fs$close.call(fs, fd, function(err) {
32922
32922
  if (!err) {
32923
32923
  resetQueue();
32924
32924
  }
@@ -32930,48 +32930,48 @@ var require_graceful_fs = __commonJS({
32930
32930
  value: fs$close
32931
32931
  });
32932
32932
  return close;
32933
- }(fs2.close);
32934
- fs2.closeSync = function(fs$closeSync) {
32933
+ }(fs.close);
32934
+ fs.closeSync = function(fs$closeSync) {
32935
32935
  function closeSync(fd) {
32936
- fs$closeSync.apply(fs2, arguments);
32936
+ fs$closeSync.apply(fs, arguments);
32937
32937
  resetQueue();
32938
32938
  }
32939
32939
  Object.defineProperty(closeSync, previousSymbol, {
32940
32940
  value: fs$closeSync
32941
32941
  });
32942
32942
  return closeSync;
32943
- }(fs2.closeSync);
32943
+ }(fs.closeSync);
32944
32944
  if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) {
32945
32945
  process.on("exit", function() {
32946
- debug(fs2[gracefulQueue]);
32947
- require("assert").equal(fs2[gracefulQueue].length, 0);
32946
+ debug(fs[gracefulQueue]);
32947
+ require("assert").equal(fs[gracefulQueue].length, 0);
32948
32948
  });
32949
32949
  }
32950
32950
  }
32951
32951
  var queue;
32952
32952
  if (!global[gracefulQueue]) {
32953
- publishQueue(global, fs2[gracefulQueue]);
32954
- }
32955
- module2.exports = patch(clone(fs2));
32956
- if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs2.__patched) {
32957
- module2.exports = patch(fs2);
32958
- fs2.__patched = true;
32959
- }
32960
- function patch(fs3) {
32961
- polyfills(fs3);
32962
- fs3.gracefulify = patch;
32963
- fs3.createReadStream = createReadStream;
32964
- fs3.createWriteStream = createWriteStream;
32965
- var fs$readFile = fs3.readFile;
32966
- fs3.readFile = readFile;
32967
- function readFile(path2, options, cb) {
32953
+ publishQueue(global, fs[gracefulQueue]);
32954
+ }
32955
+ module2.exports = patch(clone(fs));
32956
+ if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs.__patched) {
32957
+ module2.exports = patch(fs);
32958
+ fs.__patched = true;
32959
+ }
32960
+ function patch(fs2) {
32961
+ polyfills(fs2);
32962
+ fs2.gracefulify = patch;
32963
+ fs2.createReadStream = createReadStream;
32964
+ fs2.createWriteStream = createWriteStream;
32965
+ var fs$readFile = fs2.readFile;
32966
+ fs2.readFile = readFile;
32967
+ function readFile(path, options, cb) {
32968
32968
  if (typeof options === "function")
32969
32969
  cb = options, options = null;
32970
- return go$readFile(path2, options, cb);
32971
- function go$readFile(path3, options2, cb2, startTime) {
32972
- return fs$readFile(path3, options2, function(err) {
32970
+ return go$readFile(path, options, cb);
32971
+ function go$readFile(path2, options2, cb2, startTime) {
32972
+ return fs$readFile(path2, options2, function(err) {
32973
32973
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
32974
- enqueue([go$readFile, [path3, options2, cb2], err, startTime || Date.now(), Date.now()]);
32974
+ enqueue([go$readFile, [path2, options2, cb2], err, startTime || Date.now(), Date.now()]);
32975
32975
  else {
32976
32976
  if (typeof cb2 === "function")
32977
32977
  cb2.apply(this, arguments);
@@ -32979,16 +32979,16 @@ var require_graceful_fs = __commonJS({
32979
32979
  });
32980
32980
  }
32981
32981
  }
32982
- var fs$writeFile = fs3.writeFile;
32983
- fs3.writeFile = writeFile;
32984
- function writeFile(path2, data, options, cb) {
32982
+ var fs$writeFile = fs2.writeFile;
32983
+ fs2.writeFile = writeFile;
32984
+ function writeFile(path, data, options, cb) {
32985
32985
  if (typeof options === "function")
32986
32986
  cb = options, options = null;
32987
- return go$writeFile(path2, data, options, cb);
32988
- function go$writeFile(path3, data2, options2, cb2, startTime) {
32989
- return fs$writeFile(path3, data2, options2, function(err) {
32987
+ return go$writeFile(path, data, options, cb);
32988
+ function go$writeFile(path2, data2, options2, cb2, startTime) {
32989
+ return fs$writeFile(path2, data2, options2, function(err) {
32990
32990
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
32991
- enqueue([go$writeFile, [path3, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
32991
+ enqueue([go$writeFile, [path2, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
32992
32992
  else {
32993
32993
  if (typeof cb2 === "function")
32994
32994
  cb2.apply(this, arguments);
@@ -32996,17 +32996,17 @@ var require_graceful_fs = __commonJS({
32996
32996
  });
32997
32997
  }
32998
32998
  }
32999
- var fs$appendFile = fs3.appendFile;
32999
+ var fs$appendFile = fs2.appendFile;
33000
33000
  if (fs$appendFile)
33001
- fs3.appendFile = appendFile;
33002
- function appendFile(path2, data, options, cb) {
33001
+ fs2.appendFile = appendFile;
33002
+ function appendFile(path, data, options, cb) {
33003
33003
  if (typeof options === "function")
33004
33004
  cb = options, options = null;
33005
- return go$appendFile(path2, data, options, cb);
33006
- function go$appendFile(path3, data2, options2, cb2, startTime) {
33007
- return fs$appendFile(path3, data2, options2, function(err) {
33005
+ return go$appendFile(path, data, options, cb);
33006
+ function go$appendFile(path2, data2, options2, cb2, startTime) {
33007
+ return fs$appendFile(path2, data2, options2, function(err) {
33008
33008
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
33009
- enqueue([go$appendFile, [path3, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
33009
+ enqueue([go$appendFile, [path2, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
33010
33010
  else {
33011
33011
  if (typeof cb2 === "function")
33012
33012
  cb2.apply(this, arguments);
@@ -33014,9 +33014,9 @@ var require_graceful_fs = __commonJS({
33014
33014
  });
33015
33015
  }
33016
33016
  }
33017
- var fs$copyFile = fs3.copyFile;
33017
+ var fs$copyFile = fs2.copyFile;
33018
33018
  if (fs$copyFile)
33019
- fs3.copyFile = copyFile;
33019
+ fs2.copyFile = copyFile;
33020
33020
  function copyFile(src, dest, flags, cb) {
33021
33021
  if (typeof flags === "function") {
33022
33022
  cb = flags;
@@ -33034,34 +33034,34 @@ var require_graceful_fs = __commonJS({
33034
33034
  });
33035
33035
  }
33036
33036
  }
33037
- var fs$readdir = fs3.readdir;
33038
- fs3.readdir = readdir;
33037
+ var fs$readdir = fs2.readdir;
33038
+ fs2.readdir = readdir;
33039
33039
  var noReaddirOptionVersions = /^v[0-5]\./;
33040
- function readdir(path2, options, cb) {
33040
+ function readdir(path, options, cb) {
33041
33041
  if (typeof options === "function")
33042
33042
  cb = options, options = null;
33043
- var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path3, options2, cb2, startTime) {
33044
- return fs$readdir(path3, fs$readdirCallback(
33045
- path3,
33043
+ var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path2, options2, cb2, startTime) {
33044
+ return fs$readdir(path2, fs$readdirCallback(
33045
+ path2,
33046
33046
  options2,
33047
33047
  cb2,
33048
33048
  startTime
33049
33049
  ));
33050
- } : function go$readdir2(path3, options2, cb2, startTime) {
33051
- return fs$readdir(path3, options2, fs$readdirCallback(
33052
- path3,
33050
+ } : function go$readdir2(path2, options2, cb2, startTime) {
33051
+ return fs$readdir(path2, options2, fs$readdirCallback(
33052
+ path2,
33053
33053
  options2,
33054
33054
  cb2,
33055
33055
  startTime
33056
33056
  ));
33057
33057
  };
33058
- return go$readdir(path2, options, cb);
33059
- function fs$readdirCallback(path3, options2, cb2, startTime) {
33058
+ return go$readdir(path, options, cb);
33059
+ function fs$readdirCallback(path2, options2, cb2, startTime) {
33060
33060
  return function(err, files) {
33061
33061
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
33062
33062
  enqueue([
33063
33063
  go$readdir,
33064
- [path3, options2, cb2],
33064
+ [path2, options2, cb2],
33065
33065
  err,
33066
33066
  startTime || Date.now(),
33067
33067
  Date.now()
@@ -33076,21 +33076,21 @@ var require_graceful_fs = __commonJS({
33076
33076
  }
33077
33077
  }
33078
33078
  if (process.version.substr(0, 4) === "v0.8") {
33079
- var legStreams = legacy(fs3);
33079
+ var legStreams = legacy(fs2);
33080
33080
  ReadStream = legStreams.ReadStream;
33081
33081
  WriteStream = legStreams.WriteStream;
33082
33082
  }
33083
- var fs$ReadStream = fs3.ReadStream;
33083
+ var fs$ReadStream = fs2.ReadStream;
33084
33084
  if (fs$ReadStream) {
33085
33085
  ReadStream.prototype = Object.create(fs$ReadStream.prototype);
33086
33086
  ReadStream.prototype.open = ReadStream$open;
33087
33087
  }
33088
- var fs$WriteStream = fs3.WriteStream;
33088
+ var fs$WriteStream = fs2.WriteStream;
33089
33089
  if (fs$WriteStream) {
33090
33090
  WriteStream.prototype = Object.create(fs$WriteStream.prototype);
33091
33091
  WriteStream.prototype.open = WriteStream$open;
33092
33092
  }
33093
- Object.defineProperty(fs3, "ReadStream", {
33093
+ Object.defineProperty(fs2, "ReadStream", {
33094
33094
  get: function() {
33095
33095
  return ReadStream;
33096
33096
  },
@@ -33100,7 +33100,7 @@ var require_graceful_fs = __commonJS({
33100
33100
  enumerable: true,
33101
33101
  configurable: true
33102
33102
  });
33103
- Object.defineProperty(fs3, "WriteStream", {
33103
+ Object.defineProperty(fs2, "WriteStream", {
33104
33104
  get: function() {
33105
33105
  return WriteStream;
33106
33106
  },
@@ -33111,7 +33111,7 @@ var require_graceful_fs = __commonJS({
33111
33111
  configurable: true
33112
33112
  });
33113
33113
  var FileReadStream = ReadStream;
33114
- Object.defineProperty(fs3, "FileReadStream", {
33114
+ Object.defineProperty(fs2, "FileReadStream", {
33115
33115
  get: function() {
33116
33116
  return FileReadStream;
33117
33117
  },
@@ -33122,7 +33122,7 @@ var require_graceful_fs = __commonJS({
33122
33122
  configurable: true
33123
33123
  });
33124
33124
  var FileWriteStream = WriteStream;
33125
- Object.defineProperty(fs3, "FileWriteStream", {
33125
+ Object.defineProperty(fs2, "FileWriteStream", {
33126
33126
  get: function() {
33127
33127
  return FileWriteStream;
33128
33128
  },
@@ -33132,7 +33132,7 @@ var require_graceful_fs = __commonJS({
33132
33132
  enumerable: true,
33133
33133
  configurable: true
33134
33134
  });
33135
- function ReadStream(path2, options) {
33135
+ function ReadStream(path, options) {
33136
33136
  if (this instanceof ReadStream)
33137
33137
  return fs$ReadStream.apply(this, arguments), this;
33138
33138
  else
@@ -33152,7 +33152,7 @@ var require_graceful_fs = __commonJS({
33152
33152
  }
33153
33153
  });
33154
33154
  }
33155
- function WriteStream(path2, options) {
33155
+ function WriteStream(path, options) {
33156
33156
  if (this instanceof WriteStream)
33157
33157
  return fs$WriteStream.apply(this, arguments), this;
33158
33158
  else
@@ -33170,22 +33170,22 @@ var require_graceful_fs = __commonJS({
33170
33170
  }
33171
33171
  });
33172
33172
  }
33173
- function createReadStream(path2, options) {
33174
- return new fs3.ReadStream(path2, options);
33173
+ function createReadStream(path, options) {
33174
+ return new fs2.ReadStream(path, options);
33175
33175
  }
33176
- function createWriteStream(path2, options) {
33177
- return new fs3.WriteStream(path2, options);
33176
+ function createWriteStream(path, options) {
33177
+ return new fs2.WriteStream(path, options);
33178
33178
  }
33179
- var fs$open = fs3.open;
33180
- fs3.open = open;
33181
- function open(path2, flags, mode, cb) {
33179
+ var fs$open = fs2.open;
33180
+ fs2.open = open;
33181
+ function open(path, flags, mode, cb) {
33182
33182
  if (typeof mode === "function")
33183
33183
  cb = mode, mode = null;
33184
- return go$open(path2, flags, mode, cb);
33185
- function go$open(path3, flags2, mode2, cb2, startTime) {
33186
- return fs$open(path3, flags2, mode2, function(err, fd) {
33184
+ return go$open(path, flags, mode, cb);
33185
+ function go$open(path2, flags2, mode2, cb2, startTime) {
33186
+ return fs$open(path2, flags2, mode2, function(err, fd) {
33187
33187
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
33188
- enqueue([go$open, [path3, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
33188
+ enqueue([go$open, [path2, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
33189
33189
  else {
33190
33190
  if (typeof cb2 === "function")
33191
33191
  cb2.apply(this, arguments);
@@ -33193,20 +33193,20 @@ var require_graceful_fs = __commonJS({
33193
33193
  });
33194
33194
  }
33195
33195
  }
33196
- return fs3;
33196
+ return fs2;
33197
33197
  }
33198
33198
  function enqueue(elem) {
33199
33199
  debug("ENQUEUE", elem[0].name, elem[1]);
33200
- fs2[gracefulQueue].push(elem);
33200
+ fs[gracefulQueue].push(elem);
33201
33201
  retry();
33202
33202
  }
33203
33203
  var retryTimer;
33204
33204
  function resetQueue() {
33205
33205
  var now = Date.now();
33206
- for (var i = 0; i < fs2[gracefulQueue].length; ++i) {
33207
- if (fs2[gracefulQueue][i].length > 2) {
33208
- fs2[gracefulQueue][i][3] = now;
33209
- fs2[gracefulQueue][i][4] = now;
33206
+ for (var i = 0; i < fs[gracefulQueue].length; ++i) {
33207
+ if (fs[gracefulQueue][i].length > 2) {
33208
+ fs[gracefulQueue][i][3] = now;
33209
+ fs[gracefulQueue][i][4] = now;
33210
33210
  }
33211
33211
  }
33212
33212
  retry();
@@ -33214,9 +33214,9 @@ var require_graceful_fs = __commonJS({
33214
33214
  function retry() {
33215
33215
  clearTimeout(retryTimer);
33216
33216
  retryTimer = void 0;
33217
- if (fs2[gracefulQueue].length === 0)
33217
+ if (fs[gracefulQueue].length === 0)
33218
33218
  return;
33219
- var elem = fs2[gracefulQueue].shift();
33219
+ var elem = fs[gracefulQueue].shift();
33220
33220
  var fn = elem[0];
33221
33221
  var args = elem[1];
33222
33222
  var err = elem[2];
@@ -33238,7 +33238,7 @@ var require_graceful_fs = __commonJS({
33238
33238
  debug("RETRY", fn.name, args);
33239
33239
  fn.apply(null, args.concat([startTime]));
33240
33240
  } else {
33241
- fs2[gracefulQueue].push(elem);
33241
+ fs[gracefulQueue].push(elem);
33242
33242
  }
33243
33243
  }
33244
33244
  if (retryTimer === void 0) {
@@ -33253,7 +33253,7 @@ var require_fs2 = __commonJS({
33253
33253
  "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/fs/index.js"(exports) {
33254
33254
  "use strict";
33255
33255
  var u = require_universalify().fromCallback;
33256
- var fs2 = require_graceful_fs();
33256
+ var fs = require_graceful_fs();
33257
33257
  var api = [
33258
33258
  "access",
33259
33259
  "appendFile",
@@ -33290,70 +33290,70 @@ var require_fs2 = __commonJS({
33290
33290
  "utimes",
33291
33291
  "writeFile"
33292
33292
  ].filter((key) => {
33293
- return typeof fs2[key] === "function";
33293
+ return typeof fs[key] === "function";
33294
33294
  });
33295
- Object.assign(exports, fs2);
33295
+ Object.assign(exports, fs);
33296
33296
  api.forEach((method) => {
33297
- exports[method] = u(fs2[method]);
33297
+ exports[method] = u(fs[method]);
33298
33298
  });
33299
33299
  exports.exists = function(filename, callback) {
33300
33300
  if (typeof callback === "function") {
33301
- return fs2.exists(filename, callback);
33301
+ return fs.exists(filename, callback);
33302
33302
  }
33303
- return new Promise((resolve2) => {
33304
- return fs2.exists(filename, resolve2);
33303
+ return new Promise((resolve) => {
33304
+ return fs.exists(filename, resolve);
33305
33305
  });
33306
33306
  };
33307
33307
  exports.read = function(fd, buffer, offset, length, position, callback) {
33308
33308
  if (typeof callback === "function") {
33309
- return fs2.read(fd, buffer, offset, length, position, callback);
33309
+ return fs.read(fd, buffer, offset, length, position, callback);
33310
33310
  }
33311
- return new Promise((resolve2, reject) => {
33312
- fs2.read(fd, buffer, offset, length, position, (err, bytesRead, buffer2) => {
33311
+ return new Promise((resolve, reject) => {
33312
+ fs.read(fd, buffer, offset, length, position, (err, bytesRead, buffer2) => {
33313
33313
  if (err)
33314
33314
  return reject(err);
33315
- resolve2({ bytesRead, buffer: buffer2 });
33315
+ resolve({ bytesRead, buffer: buffer2 });
33316
33316
  });
33317
33317
  });
33318
33318
  };
33319
33319
  exports.write = function(fd, buffer, ...args) {
33320
33320
  if (typeof args[args.length - 1] === "function") {
33321
- return fs2.write(fd, buffer, ...args);
33321
+ return fs.write(fd, buffer, ...args);
33322
33322
  }
33323
- return new Promise((resolve2, reject) => {
33324
- fs2.write(fd, buffer, ...args, (err, bytesWritten, buffer2) => {
33323
+ return new Promise((resolve, reject) => {
33324
+ fs.write(fd, buffer, ...args, (err, bytesWritten, buffer2) => {
33325
33325
  if (err)
33326
33326
  return reject(err);
33327
- resolve2({ bytesWritten, buffer: buffer2 });
33327
+ resolve({ bytesWritten, buffer: buffer2 });
33328
33328
  });
33329
33329
  });
33330
33330
  };
33331
33331
  exports.readv = function(fd, buffers, ...args) {
33332
33332
  if (typeof args[args.length - 1] === "function") {
33333
- return fs2.readv(fd, buffers, ...args);
33333
+ return fs.readv(fd, buffers, ...args);
33334
33334
  }
33335
- return new Promise((resolve2, reject) => {
33336
- fs2.readv(fd, buffers, ...args, (err, bytesRead, buffers2) => {
33335
+ return new Promise((resolve, reject) => {
33336
+ fs.readv(fd, buffers, ...args, (err, bytesRead, buffers2) => {
33337
33337
  if (err)
33338
33338
  return reject(err);
33339
- resolve2({ bytesRead, buffers: buffers2 });
33339
+ resolve({ bytesRead, buffers: buffers2 });
33340
33340
  });
33341
33341
  });
33342
33342
  };
33343
33343
  exports.writev = function(fd, buffers, ...args) {
33344
33344
  if (typeof args[args.length - 1] === "function") {
33345
- return fs2.writev(fd, buffers, ...args);
33345
+ return fs.writev(fd, buffers, ...args);
33346
33346
  }
33347
- return new Promise((resolve2, reject) => {
33348
- fs2.writev(fd, buffers, ...args, (err, bytesWritten, buffers2) => {
33347
+ return new Promise((resolve, reject) => {
33348
+ fs.writev(fd, buffers, ...args, (err, bytesWritten, buffers2) => {
33349
33349
  if (err)
33350
33350
  return reject(err);
33351
- resolve2({ bytesWritten, buffers: buffers2 });
33351
+ resolve({ bytesWritten, buffers: buffers2 });
33352
33352
  });
33353
33353
  });
33354
33354
  };
33355
- if (typeof fs2.realpath.native === "function") {
33356
- exports.realpath.native = u(fs2.realpath.native);
33355
+ if (typeof fs.realpath.native === "function") {
33356
+ exports.realpath.native = u(fs.realpath.native);
33357
33357
  } else {
33358
33358
  process.emitWarning(
33359
33359
  "fs.realpath.native is not a function. Is fs being monkey-patched?",
@@ -33368,10 +33368,10 @@ var require_fs2 = __commonJS({
33368
33368
  var require_utils3 = __commonJS({
33369
33369
  "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/mkdirs/utils.js"(exports, module2) {
33370
33370
  "use strict";
33371
- var path2 = require("path");
33371
+ var path = require("path");
33372
33372
  module2.exports.checkPath = function checkPath(pth) {
33373
33373
  if (process.platform === "win32") {
33374
- const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path2.parse(pth).root, ""));
33374
+ const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path.parse(pth).root, ""));
33375
33375
  if (pathHasInvalidWinCharacters) {
33376
33376
  const error = new Error(`Path contains invalid characters: ${pth}`);
33377
33377
  error.code = "EINVAL";
@@ -33386,7 +33386,7 @@ var require_utils3 = __commonJS({
33386
33386
  var require_make_dir = __commonJS({
33387
33387
  "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/mkdirs/make-dir.js"(exports, module2) {
33388
33388
  "use strict";
33389
- var fs2 = require_fs2();
33389
+ var fs = require_fs2();
33390
33390
  var { checkPath } = require_utils3();
33391
33391
  var getMode = (options) => {
33392
33392
  const defaults = { mode: 511 };
@@ -33396,14 +33396,14 @@ var require_make_dir = __commonJS({
33396
33396
  };
33397
33397
  module2.exports.makeDir = async (dir, options) => {
33398
33398
  checkPath(dir);
33399
- return fs2.mkdir(dir, {
33399
+ return fs.mkdir(dir, {
33400
33400
  mode: getMode(options),
33401
33401
  recursive: true
33402
33402
  });
33403
33403
  };
33404
33404
  module2.exports.makeDirSync = (dir, options) => {
33405
33405
  checkPath(dir);
33406
- return fs2.mkdirSync(dir, {
33406
+ return fs.mkdirSync(dir, {
33407
33407
  mode: getMode(options),
33408
33408
  recursive: true
33409
33409
  });
@@ -33435,13 +33435,13 @@ var require_path_exists = __commonJS({
33435
33435
  "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/path-exists/index.js"(exports, module2) {
33436
33436
  "use strict";
33437
33437
  var u = require_universalify().fromPromise;
33438
- var fs2 = require_fs2();
33439
- function pathExists(path2) {
33440
- return fs2.access(path2).then(() => true).catch(() => false);
33438
+ var fs = require_fs2();
33439
+ function pathExists(path) {
33440
+ return fs.access(path).then(() => true).catch(() => false);
33441
33441
  }
33442
33442
  module2.exports = {
33443
33443
  pathExists: u(pathExists),
33444
- pathExistsSync: fs2.existsSync
33444
+ pathExistsSync: fs.existsSync
33445
33445
  };
33446
33446
  }
33447
33447
  });
@@ -33450,16 +33450,16 @@ var require_path_exists = __commonJS({
33450
33450
  var require_utimes = __commonJS({
33451
33451
  "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/util/utimes.js"(exports, module2) {
33452
33452
  "use strict";
33453
- var fs2 = require_fs2();
33453
+ var fs = require_fs2();
33454
33454
  var u = require_universalify().fromPromise;
33455
- async function utimesMillis(path2, atime, mtime) {
33456
- const fd = await fs2.open(path2, "r+");
33455
+ async function utimesMillis(path, atime, mtime) {
33456
+ const fd = await fs.open(path, "r+");
33457
33457
  let closeErr = null;
33458
33458
  try {
33459
- await fs2.futimes(fd, atime, mtime);
33459
+ await fs.futimes(fd, atime, mtime);
33460
33460
  } finally {
33461
33461
  try {
33462
- await fs2.close(fd);
33462
+ await fs.close(fd);
33463
33463
  } catch (e) {
33464
33464
  closeErr = e;
33465
33465
  }
@@ -33468,10 +33468,10 @@ var require_utimes = __commonJS({
33468
33468
  throw closeErr;
33469
33469
  }
33470
33470
  }
33471
- function utimesMillisSync(path2, atime, mtime) {
33472
- const fd = fs2.openSync(path2, "r+");
33473
- fs2.futimesSync(fd, atime, mtime);
33474
- return fs2.closeSync(fd);
33471
+ function utimesMillisSync(path, atime, mtime) {
33472
+ const fd = fs.openSync(path, "r+");
33473
+ fs.futimesSync(fd, atime, mtime);
33474
+ return fs.closeSync(fd);
33475
33475
  }
33476
33476
  module2.exports = {
33477
33477
  utimesMillis: u(utimesMillis),
@@ -33484,11 +33484,11 @@ var require_utimes = __commonJS({
33484
33484
  var require_stat = __commonJS({
33485
33485
  "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/util/stat.js"(exports, module2) {
33486
33486
  "use strict";
33487
- var fs2 = require_fs2();
33488
- var path2 = require("path");
33487
+ var fs = require_fs2();
33488
+ var path = require("path");
33489
33489
  var u = require_universalify().fromPromise;
33490
33490
  function getStats(src, dest, opts) {
33491
- const statFunc = opts.dereference ? (file) => fs2.stat(file, { bigint: true }) : (file) => fs2.lstat(file, { bigint: true });
33491
+ const statFunc = opts.dereference ? (file) => fs.stat(file, { bigint: true }) : (file) => fs.lstat(file, { bigint: true });
33492
33492
  return Promise.all([
33493
33493
  statFunc(src),
33494
33494
  statFunc(dest).catch((err) => {
@@ -33500,7 +33500,7 @@ var require_stat = __commonJS({
33500
33500
  }
33501
33501
  function getStatsSync(src, dest, opts) {
33502
33502
  let destStat;
33503
- const statFunc = opts.dereference ? (file) => fs2.statSync(file, { bigint: true }) : (file) => fs2.lstatSync(file, { bigint: true });
33503
+ const statFunc = opts.dereference ? (file) => fs.statSync(file, { bigint: true }) : (file) => fs.lstatSync(file, { bigint: true });
33504
33504
  const srcStat = statFunc(src);
33505
33505
  try {
33506
33506
  destStat = statFunc(dest);
@@ -33515,8 +33515,8 @@ var require_stat = __commonJS({
33515
33515
  const { srcStat, destStat } = await getStats(src, dest, opts);
33516
33516
  if (destStat) {
33517
33517
  if (areIdentical(srcStat, destStat)) {
33518
- const srcBaseName = path2.basename(src);
33519
- const destBaseName = path2.basename(dest);
33518
+ const srcBaseName = path.basename(src);
33519
+ const destBaseName = path.basename(dest);
33520
33520
  if (funcName === "move" && srcBaseName !== destBaseName && srcBaseName.toLowerCase() === destBaseName.toLowerCase()) {
33521
33521
  return { srcStat, destStat, isChangingCase: true };
33522
33522
  }
@@ -33538,8 +33538,8 @@ var require_stat = __commonJS({
33538
33538
  const { srcStat, destStat } = getStatsSync(src, dest, opts);
33539
33539
  if (destStat) {
33540
33540
  if (areIdentical(srcStat, destStat)) {
33541
- const srcBaseName = path2.basename(src);
33542
- const destBaseName = path2.basename(dest);
33541
+ const srcBaseName = path.basename(src);
33542
+ const destBaseName = path.basename(dest);
33543
33543
  if (funcName === "move" && srcBaseName !== destBaseName && srcBaseName.toLowerCase() === destBaseName.toLowerCase()) {
33544
33544
  return { srcStat, destStat, isChangingCase: true };
33545
33545
  }
@@ -33558,13 +33558,13 @@ var require_stat = __commonJS({
33558
33558
  return { srcStat, destStat };
33559
33559
  }
33560
33560
  async function checkParentPaths(src, srcStat, dest, funcName) {
33561
- const srcParent = path2.resolve(path2.dirname(src));
33562
- const destParent = path2.resolve(path2.dirname(dest));
33563
- if (destParent === srcParent || destParent === path2.parse(destParent).root)
33561
+ const srcParent = path.resolve(path.dirname(src));
33562
+ const destParent = path.resolve(path.dirname(dest));
33563
+ if (destParent === srcParent || destParent === path.parse(destParent).root)
33564
33564
  return;
33565
33565
  let destStat;
33566
33566
  try {
33567
- destStat = await fs2.stat(destParent, { bigint: true });
33567
+ destStat = await fs.stat(destParent, { bigint: true });
33568
33568
  } catch (err) {
33569
33569
  if (err.code === "ENOENT")
33570
33570
  return;
@@ -33576,13 +33576,13 @@ var require_stat = __commonJS({
33576
33576
  return checkParentPaths(src, srcStat, destParent, funcName);
33577
33577
  }
33578
33578
  function checkParentPathsSync(src, srcStat, dest, funcName) {
33579
- const srcParent = path2.resolve(path2.dirname(src));
33580
- const destParent = path2.resolve(path2.dirname(dest));
33581
- if (destParent === srcParent || destParent === path2.parse(destParent).root)
33579
+ const srcParent = path.resolve(path.dirname(src));
33580
+ const destParent = path.resolve(path.dirname(dest));
33581
+ if (destParent === srcParent || destParent === path.parse(destParent).root)
33582
33582
  return;
33583
33583
  let destStat;
33584
33584
  try {
33585
- destStat = fs2.statSync(destParent, { bigint: true });
33585
+ destStat = fs.statSync(destParent, { bigint: true });
33586
33586
  } catch (err) {
33587
33587
  if (err.code === "ENOENT")
33588
33588
  return;
@@ -33597,8 +33597,8 @@ var require_stat = __commonJS({
33597
33597
  return destStat.ino && destStat.dev && destStat.ino === srcStat.ino && destStat.dev === srcStat.dev;
33598
33598
  }
33599
33599
  function isSrcSubdir(src, dest) {
33600
- const srcArr = path2.resolve(src).split(path2.sep).filter((i) => i);
33601
- const destArr = path2.resolve(dest).split(path2.sep).filter((i) => i);
33600
+ const srcArr = path.resolve(src).split(path.sep).filter((i) => i);
33601
+ const destArr = path.resolve(dest).split(path.sep).filter((i) => i);
33602
33602
  return srcArr.every((cur, i) => destArr[i] === cur);
33603
33603
  }
33604
33604
  function errMsg(src, dest, funcName) {
@@ -33622,8 +33622,8 @@ var require_stat = __commonJS({
33622
33622
  var require_copy = __commonJS({
33623
33623
  "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/copy/copy.js"(exports, module2) {
33624
33624
  "use strict";
33625
- var fs2 = require_fs2();
33626
- var path2 = require("path");
33625
+ var fs = require_fs2();
33626
+ var path = require("path");
33627
33627
  var { mkdirs } = require_mkdirs();
33628
33628
  var { pathExists } = require_path_exists();
33629
33629
  var { utimesMillis } = require_utimes();
@@ -33646,7 +33646,7 @@ var require_copy = __commonJS({
33646
33646
  const include = await runFilter(src, dest, opts);
33647
33647
  if (!include)
33648
33648
  return;
33649
- const destParent = path2.dirname(dest);
33649
+ const destParent = path.dirname(dest);
33650
33650
  const dirExists = await pathExists(destParent);
33651
33651
  if (!dirExists) {
33652
33652
  await mkdirs(destParent);
@@ -33659,7 +33659,7 @@ var require_copy = __commonJS({
33659
33659
  return opts.filter(src, dest);
33660
33660
  }
33661
33661
  async function getStatsAndPerformCopy(destStat, src, dest, opts) {
33662
- const statFn = opts.dereference ? fs2.stat : fs2.lstat;
33662
+ const statFn = opts.dereference ? fs.stat : fs.lstat;
33663
33663
  const srcStat = await statFn(src);
33664
33664
  if (srcStat.isDirectory())
33665
33665
  return onDir(srcStat, destStat, src, dest, opts);
@@ -33677,7 +33677,7 @@ var require_copy = __commonJS({
33677
33677
  if (!destStat)
33678
33678
  return copyFile(srcStat, src, dest, opts);
33679
33679
  if (opts.overwrite) {
33680
- await fs2.unlink(dest);
33680
+ await fs.unlink(dest);
33681
33681
  return copyFile(srcStat, src, dest, opts);
33682
33682
  }
33683
33683
  if (opts.errorOnExist) {
@@ -33685,30 +33685,30 @@ var require_copy = __commonJS({
33685
33685
  }
33686
33686
  }
33687
33687
  async function copyFile(srcStat, src, dest, opts) {
33688
- await fs2.copyFile(src, dest);
33688
+ await fs.copyFile(src, dest);
33689
33689
  if (opts.preserveTimestamps) {
33690
33690
  if (fileIsNotWritable(srcStat.mode)) {
33691
33691
  await makeFileWritable(dest, srcStat.mode);
33692
33692
  }
33693
- const updatedSrcStat = await fs2.stat(src);
33693
+ const updatedSrcStat = await fs.stat(src);
33694
33694
  await utimesMillis(dest, updatedSrcStat.atime, updatedSrcStat.mtime);
33695
33695
  }
33696
- return fs2.chmod(dest, srcStat.mode);
33696
+ return fs.chmod(dest, srcStat.mode);
33697
33697
  }
33698
33698
  function fileIsNotWritable(srcMode) {
33699
33699
  return (srcMode & 128) === 0;
33700
33700
  }
33701
33701
  function makeFileWritable(dest, srcMode) {
33702
- return fs2.chmod(dest, srcMode | 128);
33702
+ return fs.chmod(dest, srcMode | 128);
33703
33703
  }
33704
33704
  async function onDir(srcStat, destStat, src, dest, opts) {
33705
33705
  if (!destStat) {
33706
- await fs2.mkdir(dest);
33706
+ await fs.mkdir(dest);
33707
33707
  }
33708
- const items = await fs2.readdir(src);
33708
+ const items = await fs.readdir(src);
33709
33709
  await Promise.all(items.map(async (item) => {
33710
- const srcItem = path2.join(src, item);
33711
- const destItem = path2.join(dest, item);
33710
+ const srcItem = path.join(src, item);
33711
+ const destItem = path.join(dest, item);
33712
33712
  const include = await runFilter(srcItem, destItem, opts);
33713
33713
  if (!include)
33714
33714
  return;
@@ -33716,27 +33716,27 @@ var require_copy = __commonJS({
33716
33716
  return getStatsAndPerformCopy(destStat2, srcItem, destItem, opts);
33717
33717
  }));
33718
33718
  if (!destStat) {
33719
- await fs2.chmod(dest, srcStat.mode);
33719
+ await fs.chmod(dest, srcStat.mode);
33720
33720
  }
33721
33721
  }
33722
33722
  async function onLink(destStat, src, dest, opts) {
33723
- let resolvedSrc = await fs2.readlink(src);
33723
+ let resolvedSrc = await fs.readlink(src);
33724
33724
  if (opts.dereference) {
33725
- resolvedSrc = path2.resolve(process.cwd(), resolvedSrc);
33725
+ resolvedSrc = path.resolve(process.cwd(), resolvedSrc);
33726
33726
  }
33727
33727
  if (!destStat) {
33728
- return fs2.symlink(resolvedSrc, dest);
33728
+ return fs.symlink(resolvedSrc, dest);
33729
33729
  }
33730
33730
  let resolvedDest = null;
33731
33731
  try {
33732
- resolvedDest = await fs2.readlink(dest);
33732
+ resolvedDest = await fs.readlink(dest);
33733
33733
  } catch (e) {
33734
33734
  if (e.code === "EINVAL" || e.code === "UNKNOWN")
33735
- return fs2.symlink(resolvedSrc, dest);
33735
+ return fs.symlink(resolvedSrc, dest);
33736
33736
  throw e;
33737
33737
  }
33738
33738
  if (opts.dereference) {
33739
- resolvedDest = path2.resolve(process.cwd(), resolvedDest);
33739
+ resolvedDest = path.resolve(process.cwd(), resolvedDest);
33740
33740
  }
33741
33741
  if (stat.isSrcSubdir(resolvedSrc, resolvedDest)) {
33742
33742
  throw new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`);
@@ -33744,8 +33744,8 @@ var require_copy = __commonJS({
33744
33744
  if (stat.isSrcSubdir(resolvedDest, resolvedSrc)) {
33745
33745
  throw new Error(`Cannot overwrite '${resolvedDest}' with '${resolvedSrc}'.`);
33746
33746
  }
33747
- await fs2.unlink(dest);
33748
- return fs2.symlink(resolvedSrc, dest);
33747
+ await fs.unlink(dest);
33748
+ return fs.symlink(resolvedSrc, dest);
33749
33749
  }
33750
33750
  module2.exports = copy;
33751
33751
  }
@@ -33755,8 +33755,8 @@ var require_copy = __commonJS({
33755
33755
  var require_copy_sync = __commonJS({
33756
33756
  "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/copy/copy-sync.js"(exports, module2) {
33757
33757
  "use strict";
33758
- var fs2 = require_graceful_fs();
33759
- var path2 = require("path");
33758
+ var fs = require_graceful_fs();
33759
+ var path = require("path");
33760
33760
  var mkdirsSync = require_mkdirs().mkdirsSync;
33761
33761
  var utimesMillisSync = require_utimes().utimesMillisSync;
33762
33762
  var stat = require_stat();
@@ -33778,13 +33778,13 @@ var require_copy_sync = __commonJS({
33778
33778
  stat.checkParentPathsSync(src, srcStat, dest, "copy");
33779
33779
  if (opts.filter && !opts.filter(src, dest))
33780
33780
  return;
33781
- const destParent = path2.dirname(dest);
33782
- if (!fs2.existsSync(destParent))
33781
+ const destParent = path.dirname(dest);
33782
+ if (!fs.existsSync(destParent))
33783
33783
  mkdirsSync(destParent);
33784
33784
  return getStats(destStat, src, dest, opts);
33785
33785
  }
33786
33786
  function getStats(destStat, src, dest, opts) {
33787
- const statSync = opts.dereference ? fs2.statSync : fs2.lstatSync;
33787
+ const statSync = opts.dereference ? fs.statSync : fs.lstatSync;
33788
33788
  const srcStat = statSync(src);
33789
33789
  if (srcStat.isDirectory())
33790
33790
  return onDir(srcStat, destStat, src, dest, opts);
@@ -33805,14 +33805,14 @@ var require_copy_sync = __commonJS({
33805
33805
  }
33806
33806
  function mayCopyFile(srcStat, src, dest, opts) {
33807
33807
  if (opts.overwrite) {
33808
- fs2.unlinkSync(dest);
33808
+ fs.unlinkSync(dest);
33809
33809
  return copyFile(srcStat, src, dest, opts);
33810
33810
  } else if (opts.errorOnExist) {
33811
33811
  throw new Error(`'${dest}' already exists`);
33812
33812
  }
33813
33813
  }
33814
33814
  function copyFile(srcStat, src, dest, opts) {
33815
- fs2.copyFileSync(src, dest);
33815
+ fs.copyFileSync(src, dest);
33816
33816
  if (opts.preserveTimestamps)
33817
33817
  handleTimestamps(srcStat.mode, src, dest);
33818
33818
  return setDestMode(dest, srcStat.mode);
@@ -33829,10 +33829,10 @@ var require_copy_sync = __commonJS({
33829
33829
  return setDestMode(dest, srcMode | 128);
33830
33830
  }
33831
33831
  function setDestMode(dest, srcMode) {
33832
- return fs2.chmodSync(dest, srcMode);
33832
+ return fs.chmodSync(dest, srcMode);
33833
33833
  }
33834
33834
  function setDestTimestamps(src, dest) {
33835
- const updatedSrcStat = fs2.statSync(src);
33835
+ const updatedSrcStat = fs.statSync(src);
33836
33836
  return utimesMillisSync(dest, updatedSrcStat.atime, updatedSrcStat.mtime);
33837
33837
  }
33838
33838
  function onDir(srcStat, destStat, src, dest, opts) {
@@ -33841,39 +33841,39 @@ var require_copy_sync = __commonJS({
33841
33841
  return copyDir(src, dest, opts);
33842
33842
  }
33843
33843
  function mkDirAndCopy(srcMode, src, dest, opts) {
33844
- fs2.mkdirSync(dest);
33844
+ fs.mkdirSync(dest);
33845
33845
  copyDir(src, dest, opts);
33846
33846
  return setDestMode(dest, srcMode);
33847
33847
  }
33848
33848
  function copyDir(src, dest, opts) {
33849
- fs2.readdirSync(src).forEach((item) => copyDirItem(item, src, dest, opts));
33849
+ fs.readdirSync(src).forEach((item) => copyDirItem(item, src, dest, opts));
33850
33850
  }
33851
33851
  function copyDirItem(item, src, dest, opts) {
33852
- const srcItem = path2.join(src, item);
33853
- const destItem = path2.join(dest, item);
33852
+ const srcItem = path.join(src, item);
33853
+ const destItem = path.join(dest, item);
33854
33854
  if (opts.filter && !opts.filter(srcItem, destItem))
33855
33855
  return;
33856
33856
  const { destStat } = stat.checkPathsSync(srcItem, destItem, "copy", opts);
33857
33857
  return getStats(destStat, srcItem, destItem, opts);
33858
33858
  }
33859
33859
  function onLink(destStat, src, dest, opts) {
33860
- let resolvedSrc = fs2.readlinkSync(src);
33860
+ let resolvedSrc = fs.readlinkSync(src);
33861
33861
  if (opts.dereference) {
33862
- resolvedSrc = path2.resolve(process.cwd(), resolvedSrc);
33862
+ resolvedSrc = path.resolve(process.cwd(), resolvedSrc);
33863
33863
  }
33864
33864
  if (!destStat) {
33865
- return fs2.symlinkSync(resolvedSrc, dest);
33865
+ return fs.symlinkSync(resolvedSrc, dest);
33866
33866
  } else {
33867
33867
  let resolvedDest;
33868
33868
  try {
33869
- resolvedDest = fs2.readlinkSync(dest);
33869
+ resolvedDest = fs.readlinkSync(dest);
33870
33870
  } catch (err) {
33871
33871
  if (err.code === "EINVAL" || err.code === "UNKNOWN")
33872
- return fs2.symlinkSync(resolvedSrc, dest);
33872
+ return fs.symlinkSync(resolvedSrc, dest);
33873
33873
  throw err;
33874
33874
  }
33875
33875
  if (opts.dereference) {
33876
- resolvedDest = path2.resolve(process.cwd(), resolvedDest);
33876
+ resolvedDest = path.resolve(process.cwd(), resolvedDest);
33877
33877
  }
33878
33878
  if (stat.isSrcSubdir(resolvedSrc, resolvedDest)) {
33879
33879
  throw new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`);
@@ -33885,8 +33885,8 @@ var require_copy_sync = __commonJS({
33885
33885
  }
33886
33886
  }
33887
33887
  function copyLink(resolvedSrc, dest) {
33888
- fs2.unlinkSync(dest);
33889
- return fs2.symlinkSync(resolvedSrc, dest);
33888
+ fs.unlinkSync(dest);
33889
+ return fs.symlinkSync(resolvedSrc, dest);
33890
33890
  }
33891
33891
  module2.exports = copySync;
33892
33892
  }
@@ -33908,13 +33908,13 @@ var require_copy2 = __commonJS({
33908
33908
  var require_remove = __commonJS({
33909
33909
  "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/remove/index.js"(exports, module2) {
33910
33910
  "use strict";
33911
- var fs2 = require_graceful_fs();
33911
+ var fs = require_graceful_fs();
33912
33912
  var u = require_universalify().fromCallback;
33913
- function remove(path2, callback) {
33914
- fs2.rm(path2, { recursive: true, force: true }, callback);
33913
+ function remove(path, callback) {
33914
+ fs.rm(path, { recursive: true, force: true }, callback);
33915
33915
  }
33916
- function removeSync(path2) {
33917
- fs2.rmSync(path2, { recursive: true, force: true });
33916
+ function removeSync(path) {
33917
+ fs.rmSync(path, { recursive: true, force: true });
33918
33918
  }
33919
33919
  module2.exports = {
33920
33920
  remove: u(remove),
@@ -33928,28 +33928,28 @@ var require_empty2 = __commonJS({
33928
33928
  "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/empty/index.js"(exports, module2) {
33929
33929
  "use strict";
33930
33930
  var u = require_universalify().fromPromise;
33931
- var fs2 = require_fs2();
33932
- var path2 = require("path");
33931
+ var fs = require_fs2();
33932
+ var path = require("path");
33933
33933
  var mkdir = require_mkdirs();
33934
33934
  var remove = require_remove();
33935
33935
  var emptyDir = u(async function emptyDir2(dir) {
33936
33936
  let items;
33937
33937
  try {
33938
- items = await fs2.readdir(dir);
33938
+ items = await fs.readdir(dir);
33939
33939
  } catch {
33940
33940
  return mkdir.mkdirs(dir);
33941
33941
  }
33942
- return Promise.all(items.map((item) => remove.remove(path2.join(dir, item))));
33942
+ return Promise.all(items.map((item) => remove.remove(path.join(dir, item))));
33943
33943
  });
33944
33944
  function emptyDirSync(dir) {
33945
33945
  let items;
33946
33946
  try {
33947
- items = fs2.readdirSync(dir);
33947
+ items = fs.readdirSync(dir);
33948
33948
  } catch {
33949
33949
  return mkdir.mkdirsSync(dir);
33950
33950
  }
33951
33951
  items.forEach((item) => {
33952
- item = path2.join(dir, item);
33952
+ item = path.join(dir, item);
33953
33953
  remove.removeSync(item);
33954
33954
  });
33955
33955
  }
@@ -33967,48 +33967,48 @@ var require_file = __commonJS({
33967
33967
  "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/file.js"(exports, module2) {
33968
33968
  "use strict";
33969
33969
  var u = require_universalify().fromPromise;
33970
- var path2 = require("path");
33971
- var fs2 = require_fs2();
33970
+ var path = require("path");
33971
+ var fs = require_fs2();
33972
33972
  var mkdir = require_mkdirs();
33973
33973
  async function createFile(file) {
33974
33974
  let stats;
33975
33975
  try {
33976
- stats = await fs2.stat(file);
33976
+ stats = await fs.stat(file);
33977
33977
  } catch {
33978
33978
  }
33979
33979
  if (stats && stats.isFile())
33980
33980
  return;
33981
- const dir = path2.dirname(file);
33981
+ const dir = path.dirname(file);
33982
33982
  let dirStats = null;
33983
33983
  try {
33984
- dirStats = await fs2.stat(dir);
33984
+ dirStats = await fs.stat(dir);
33985
33985
  } catch (err) {
33986
33986
  if (err.code === "ENOENT") {
33987
33987
  await mkdir.mkdirs(dir);
33988
- await fs2.writeFile(file, "");
33988
+ await fs.writeFile(file, "");
33989
33989
  return;
33990
33990
  } else {
33991
33991
  throw err;
33992
33992
  }
33993
33993
  }
33994
33994
  if (dirStats.isDirectory()) {
33995
- await fs2.writeFile(file, "");
33995
+ await fs.writeFile(file, "");
33996
33996
  } else {
33997
- await fs2.readdir(dir);
33997
+ await fs.readdir(dir);
33998
33998
  }
33999
33999
  }
34000
34000
  function createFileSync(file) {
34001
34001
  let stats;
34002
34002
  try {
34003
- stats = fs2.statSync(file);
34003
+ stats = fs.statSync(file);
34004
34004
  } catch {
34005
34005
  }
34006
34006
  if (stats && stats.isFile())
34007
34007
  return;
34008
- const dir = path2.dirname(file);
34008
+ const dir = path.dirname(file);
34009
34009
  try {
34010
- if (!fs2.statSync(dir).isDirectory()) {
34011
- fs2.readdirSync(dir);
34010
+ if (!fs.statSync(dir).isDirectory()) {
34011
+ fs.readdirSync(dir);
34012
34012
  }
34013
34013
  } catch (err) {
34014
34014
  if (err && err.code === "ENOENT")
@@ -34016,7 +34016,7 @@ var require_file = __commonJS({
34016
34016
  else
34017
34017
  throw err;
34018
34018
  }
34019
- fs2.writeFileSync(file, "");
34019
+ fs.writeFileSync(file, "");
34020
34020
  }
34021
34021
  module2.exports = {
34022
34022
  createFile: u(createFile),
@@ -34030,53 +34030,53 @@ var require_link = __commonJS({
34030
34030
  "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/link.js"(exports, module2) {
34031
34031
  "use strict";
34032
34032
  var u = require_universalify().fromPromise;
34033
- var path2 = require("path");
34034
- var fs2 = require_fs2();
34033
+ var path = require("path");
34034
+ var fs = require_fs2();
34035
34035
  var mkdir = require_mkdirs();
34036
34036
  var { pathExists } = require_path_exists();
34037
34037
  var { areIdentical } = require_stat();
34038
34038
  async function createLink(srcpath, dstpath) {
34039
34039
  let dstStat;
34040
34040
  try {
34041
- dstStat = await fs2.lstat(dstpath);
34041
+ dstStat = await fs.lstat(dstpath);
34042
34042
  } catch {
34043
34043
  }
34044
34044
  let srcStat;
34045
34045
  try {
34046
- srcStat = await fs2.lstat(srcpath);
34046
+ srcStat = await fs.lstat(srcpath);
34047
34047
  } catch (err) {
34048
34048
  err.message = err.message.replace("lstat", "ensureLink");
34049
34049
  throw err;
34050
34050
  }
34051
34051
  if (dstStat && areIdentical(srcStat, dstStat))
34052
34052
  return;
34053
- const dir = path2.dirname(dstpath);
34053
+ const dir = path.dirname(dstpath);
34054
34054
  const dirExists = await pathExists(dir);
34055
34055
  if (!dirExists) {
34056
34056
  await mkdir.mkdirs(dir);
34057
34057
  }
34058
- await fs2.link(srcpath, dstpath);
34058
+ await fs.link(srcpath, dstpath);
34059
34059
  }
34060
34060
  function createLinkSync(srcpath, dstpath) {
34061
34061
  let dstStat;
34062
34062
  try {
34063
- dstStat = fs2.lstatSync(dstpath);
34063
+ dstStat = fs.lstatSync(dstpath);
34064
34064
  } catch {
34065
34065
  }
34066
34066
  try {
34067
- const srcStat = fs2.lstatSync(srcpath);
34067
+ const srcStat = fs.lstatSync(srcpath);
34068
34068
  if (dstStat && areIdentical(srcStat, dstStat))
34069
34069
  return;
34070
34070
  } catch (err) {
34071
34071
  err.message = err.message.replace("lstat", "ensureLink");
34072
34072
  throw err;
34073
34073
  }
34074
- const dir = path2.dirname(dstpath);
34075
- const dirExists = fs2.existsSync(dir);
34074
+ const dir = path.dirname(dstpath);
34075
+ const dirExists = fs.existsSync(dir);
34076
34076
  if (dirExists)
34077
- return fs2.linkSync(srcpath, dstpath);
34077
+ return fs.linkSync(srcpath, dstpath);
34078
34078
  mkdir.mkdirsSync(dir);
34079
- return fs2.linkSync(srcpath, dstpath);
34079
+ return fs.linkSync(srcpath, dstpath);
34080
34080
  }
34081
34081
  module2.exports = {
34082
34082
  createLink: u(createLink),
@@ -34089,14 +34089,14 @@ var require_link = __commonJS({
34089
34089
  var require_symlink_paths = __commonJS({
34090
34090
  "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/symlink-paths.js"(exports, module2) {
34091
34091
  "use strict";
34092
- var path2 = require("path");
34093
- var fs2 = require_fs2();
34092
+ var path = require("path");
34093
+ var fs = require_fs2();
34094
34094
  var { pathExists } = require_path_exists();
34095
34095
  var u = require_universalify().fromPromise;
34096
34096
  async function symlinkPaths(srcpath, dstpath) {
34097
- if (path2.isAbsolute(srcpath)) {
34097
+ if (path.isAbsolute(srcpath)) {
34098
34098
  try {
34099
- await fs2.lstat(srcpath);
34099
+ await fs.lstat(srcpath);
34100
34100
  } catch (err) {
34101
34101
  err.message = err.message.replace("lstat", "ensureSymlink");
34102
34102
  throw err;
@@ -34106,8 +34106,8 @@ var require_symlink_paths = __commonJS({
34106
34106
  toDst: srcpath
34107
34107
  };
34108
34108
  }
34109
- const dstdir = path2.dirname(dstpath);
34110
- const relativeToDst = path2.join(dstdir, srcpath);
34109
+ const dstdir = path.dirname(dstpath);
34110
+ const relativeToDst = path.join(dstdir, srcpath);
34111
34111
  const exists = await pathExists(relativeToDst);
34112
34112
  if (exists) {
34113
34113
  return {
@@ -34116,19 +34116,19 @@ var require_symlink_paths = __commonJS({
34116
34116
  };
34117
34117
  }
34118
34118
  try {
34119
- await fs2.lstat(srcpath);
34119
+ await fs.lstat(srcpath);
34120
34120
  } catch (err) {
34121
34121
  err.message = err.message.replace("lstat", "ensureSymlink");
34122
34122
  throw err;
34123
34123
  }
34124
34124
  return {
34125
34125
  toCwd: srcpath,
34126
- toDst: path2.relative(dstdir, srcpath)
34126
+ toDst: path.relative(dstdir, srcpath)
34127
34127
  };
34128
34128
  }
34129
34129
  function symlinkPathsSync(srcpath, dstpath) {
34130
- if (path2.isAbsolute(srcpath)) {
34131
- const exists2 = fs2.existsSync(srcpath);
34130
+ if (path.isAbsolute(srcpath)) {
34131
+ const exists2 = fs.existsSync(srcpath);
34132
34132
  if (!exists2)
34133
34133
  throw new Error("absolute srcpath does not exist");
34134
34134
  return {
@@ -34136,21 +34136,21 @@ var require_symlink_paths = __commonJS({
34136
34136
  toDst: srcpath
34137
34137
  };
34138
34138
  }
34139
- const dstdir = path2.dirname(dstpath);
34140
- const relativeToDst = path2.join(dstdir, srcpath);
34141
- const exists = fs2.existsSync(relativeToDst);
34139
+ const dstdir = path.dirname(dstpath);
34140
+ const relativeToDst = path.join(dstdir, srcpath);
34141
+ const exists = fs.existsSync(relativeToDst);
34142
34142
  if (exists) {
34143
34143
  return {
34144
34144
  toCwd: relativeToDst,
34145
34145
  toDst: srcpath
34146
34146
  };
34147
34147
  }
34148
- const srcExists = fs2.existsSync(srcpath);
34148
+ const srcExists = fs.existsSync(srcpath);
34149
34149
  if (!srcExists)
34150
34150
  throw new Error("relative srcpath does not exist");
34151
34151
  return {
34152
34152
  toCwd: srcpath,
34153
- toDst: path2.relative(dstdir, srcpath)
34153
+ toDst: path.relative(dstdir, srcpath)
34154
34154
  };
34155
34155
  }
34156
34156
  module2.exports = {
@@ -34164,14 +34164,14 @@ var require_symlink_paths = __commonJS({
34164
34164
  var require_symlink_type = __commonJS({
34165
34165
  "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/symlink-type.js"(exports, module2) {
34166
34166
  "use strict";
34167
- var fs2 = require_fs2();
34167
+ var fs = require_fs2();
34168
34168
  var u = require_universalify().fromPromise;
34169
34169
  async function symlinkType(srcpath, type) {
34170
34170
  if (type)
34171
34171
  return type;
34172
34172
  let stats;
34173
34173
  try {
34174
- stats = await fs2.lstat(srcpath);
34174
+ stats = await fs.lstat(srcpath);
34175
34175
  } catch {
34176
34176
  return "file";
34177
34177
  }
@@ -34182,7 +34182,7 @@ var require_symlink_type = __commonJS({
34182
34182
  return type;
34183
34183
  let stats;
34184
34184
  try {
34185
- stats = fs2.lstatSync(srcpath);
34185
+ stats = fs.lstatSync(srcpath);
34186
34186
  } catch {
34187
34187
  return "file";
34188
34188
  }
@@ -34200,8 +34200,8 @@ var require_symlink = __commonJS({
34200
34200
  "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/symlink.js"(exports, module2) {
34201
34201
  "use strict";
34202
34202
  var u = require_universalify().fromPromise;
34203
- var path2 = require("path");
34204
- var fs2 = require_fs2();
34203
+ var path = require("path");
34204
+ var fs = require_fs2();
34205
34205
  var { mkdirs, mkdirsSync } = require_mkdirs();
34206
34206
  var { symlinkPaths, symlinkPathsSync } = require_symlink_paths();
34207
34207
  var { symlinkType, symlinkTypeSync } = require_symlink_type();
@@ -34210,13 +34210,13 @@ var require_symlink = __commonJS({
34210
34210
  async function createSymlink(srcpath, dstpath, type) {
34211
34211
  let stats;
34212
34212
  try {
34213
- stats = await fs2.lstat(dstpath);
34213
+ stats = await fs.lstat(dstpath);
34214
34214
  } catch {
34215
34215
  }
34216
34216
  if (stats && stats.isSymbolicLink()) {
34217
34217
  const [srcStat, dstStat] = await Promise.all([
34218
- fs2.stat(srcpath),
34219
- fs2.stat(dstpath)
34218
+ fs.stat(srcpath),
34219
+ fs.stat(dstpath)
34220
34220
  ]);
34221
34221
  if (areIdentical(srcStat, dstStat))
34222
34222
  return;
@@ -34224,33 +34224,33 @@ var require_symlink = __commonJS({
34224
34224
  const relative = await symlinkPaths(srcpath, dstpath);
34225
34225
  srcpath = relative.toDst;
34226
34226
  const toType = await symlinkType(relative.toCwd, type);
34227
- const dir = path2.dirname(dstpath);
34227
+ const dir = path.dirname(dstpath);
34228
34228
  if (!await pathExists(dir)) {
34229
34229
  await mkdirs(dir);
34230
34230
  }
34231
- return fs2.symlink(srcpath, dstpath, toType);
34231
+ return fs.symlink(srcpath, dstpath, toType);
34232
34232
  }
34233
34233
  function createSymlinkSync(srcpath, dstpath, type) {
34234
34234
  let stats;
34235
34235
  try {
34236
- stats = fs2.lstatSync(dstpath);
34236
+ stats = fs.lstatSync(dstpath);
34237
34237
  } catch {
34238
34238
  }
34239
34239
  if (stats && stats.isSymbolicLink()) {
34240
- const srcStat = fs2.statSync(srcpath);
34241
- const dstStat = fs2.statSync(dstpath);
34240
+ const srcStat = fs.statSync(srcpath);
34241
+ const dstStat = fs.statSync(dstpath);
34242
34242
  if (areIdentical(srcStat, dstStat))
34243
34243
  return;
34244
34244
  }
34245
34245
  const relative = symlinkPathsSync(srcpath, dstpath);
34246
34246
  srcpath = relative.toDst;
34247
34247
  type = symlinkTypeSync(relative.toCwd, type);
34248
- const dir = path2.dirname(dstpath);
34249
- const exists = fs2.existsSync(dir);
34248
+ const dir = path.dirname(dstpath);
34249
+ const exists = fs.existsSync(dir);
34250
34250
  if (exists)
34251
- return fs2.symlinkSync(srcpath, dstpath, type);
34251
+ return fs.symlinkSync(srcpath, dstpath, type);
34252
34252
  mkdirsSync(dir);
34253
- return fs2.symlinkSync(srcpath, dstpath, type);
34253
+ return fs.symlinkSync(srcpath, dstpath, type);
34254
34254
  }
34255
34255
  module2.exports = {
34256
34256
  createSymlink: u(createSymlink),
@@ -34318,9 +34318,9 @@ var require_jsonfile = __commonJS({
34318
34318
  if (typeof options === "string") {
34319
34319
  options = { encoding: options };
34320
34320
  }
34321
- const fs2 = options.fs || _fs;
34321
+ const fs = options.fs || _fs;
34322
34322
  const shouldThrow = "throws" in options ? options.throws : true;
34323
- let data = await universalify.fromCallback(fs2.readFile)(file, options);
34323
+ let data = await universalify.fromCallback(fs.readFile)(file, options);
34324
34324
  data = stripBom(data);
34325
34325
  let obj;
34326
34326
  try {
@@ -34340,10 +34340,10 @@ var require_jsonfile = __commonJS({
34340
34340
  if (typeof options === "string") {
34341
34341
  options = { encoding: options };
34342
34342
  }
34343
- const fs2 = options.fs || _fs;
34343
+ const fs = options.fs || _fs;
34344
34344
  const shouldThrow = "throws" in options ? options.throws : true;
34345
34345
  try {
34346
- let content = fs2.readFileSync(file, options);
34346
+ let content = fs.readFileSync(file, options);
34347
34347
  content = stripBom(content);
34348
34348
  return JSON.parse(content, options.reviver);
34349
34349
  } catch (err) {
@@ -34356,15 +34356,15 @@ var require_jsonfile = __commonJS({
34356
34356
  }
34357
34357
  }
34358
34358
  async function _writeFile(file, obj, options = {}) {
34359
- const fs2 = options.fs || _fs;
34359
+ const fs = options.fs || _fs;
34360
34360
  const str = stringify(obj, options);
34361
- await universalify.fromCallback(fs2.writeFile)(file, str, options);
34361
+ await universalify.fromCallback(fs.writeFile)(file, str, options);
34362
34362
  }
34363
34363
  var writeFile = universalify.fromPromise(_writeFile);
34364
34364
  function writeFileSync(file, obj, options = {}) {
34365
- const fs2 = options.fs || _fs;
34365
+ const fs = options.fs || _fs;
34366
34366
  const str = stringify(obj, options);
34367
- return fs2.writeFileSync(file, str, options);
34367
+ return fs.writeFileSync(file, str, options);
34368
34368
  }
34369
34369
  var jsonfile = {
34370
34370
  readFile,
@@ -34396,23 +34396,23 @@ var require_output_file = __commonJS({
34396
34396
  "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/output-file/index.js"(exports, module2) {
34397
34397
  "use strict";
34398
34398
  var u = require_universalify().fromPromise;
34399
- var fs2 = require_fs2();
34400
- var path2 = require("path");
34399
+ var fs = require_fs2();
34400
+ var path = require("path");
34401
34401
  var mkdir = require_mkdirs();
34402
34402
  var pathExists = require_path_exists().pathExists;
34403
34403
  async function outputFile(file, data, encoding = "utf-8") {
34404
- const dir = path2.dirname(file);
34404
+ const dir = path.dirname(file);
34405
34405
  if (!await pathExists(dir)) {
34406
34406
  await mkdir.mkdirs(dir);
34407
34407
  }
34408
- return fs2.writeFile(file, data, encoding);
34408
+ return fs.writeFile(file, data, encoding);
34409
34409
  }
34410
34410
  function outputFileSync(file, ...args) {
34411
- const dir = path2.dirname(file);
34412
- if (!fs2.existsSync(dir)) {
34411
+ const dir = path.dirname(file);
34412
+ if (!fs.existsSync(dir)) {
34413
34413
  mkdir.mkdirsSync(dir);
34414
34414
  }
34415
- fs2.writeFileSync(file, ...args);
34415
+ fs.writeFileSync(file, ...args);
34416
34416
  }
34417
34417
  module2.exports = {
34418
34418
  outputFile: u(outputFile),
@@ -34471,8 +34471,8 @@ var require_json2 = __commonJS({
34471
34471
  var require_move = __commonJS({
34472
34472
  "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/move/move.js"(exports, module2) {
34473
34473
  "use strict";
34474
- var fs2 = require_fs2();
34475
- var path2 = require("path");
34474
+ var fs = require_fs2();
34475
+ var path = require("path");
34476
34476
  var { copy } = require_copy2();
34477
34477
  var { remove } = require_remove();
34478
34478
  var { mkdirp } = require_mkdirs();
@@ -34482,8 +34482,8 @@ var require_move = __commonJS({
34482
34482
  const overwrite = opts.overwrite || opts.clobber || false;
34483
34483
  const { srcStat, isChangingCase = false } = await stat.checkPaths(src, dest, "move", opts);
34484
34484
  await stat.checkParentPaths(src, srcStat, dest, "move");
34485
- const destParent = path2.dirname(dest);
34486
- const parsedParentPath = path2.parse(destParent);
34485
+ const destParent = path.dirname(dest);
34486
+ const parsedParentPath = path.parse(destParent);
34487
34487
  if (parsedParentPath.root !== destParent) {
34488
34488
  await mkdirp(destParent);
34489
34489
  }
@@ -34498,7 +34498,7 @@ var require_move = __commonJS({
34498
34498
  }
34499
34499
  }
34500
34500
  try {
34501
- await fs2.rename(src, dest);
34501
+ await fs.rename(src, dest);
34502
34502
  } catch (err) {
34503
34503
  if (err.code !== "EXDEV") {
34504
34504
  throw err;
@@ -34523,8 +34523,8 @@ var require_move = __commonJS({
34523
34523
  var require_move_sync = __commonJS({
34524
34524
  "node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/move/move-sync.js"(exports, module2) {
34525
34525
  "use strict";
34526
- var fs2 = require_graceful_fs();
34527
- var path2 = require("path");
34526
+ var fs = require_graceful_fs();
34527
+ var path = require("path");
34528
34528
  var copySync = require_copy2().copySync;
34529
34529
  var removeSync = require_remove().removeSync;
34530
34530
  var mkdirpSync = require_mkdirs().mkdirpSync;
@@ -34535,12 +34535,12 @@ var require_move_sync = __commonJS({
34535
34535
  const { srcStat, isChangingCase = false } = stat.checkPathsSync(src, dest, "move", opts);
34536
34536
  stat.checkParentPathsSync(src, srcStat, dest, "move");
34537
34537
  if (!isParentRoot(dest))
34538
- mkdirpSync(path2.dirname(dest));
34538
+ mkdirpSync(path.dirname(dest));
34539
34539
  return doRename(src, dest, overwrite, isChangingCase);
34540
34540
  }
34541
34541
  function isParentRoot(dest) {
34542
- const parent = path2.dirname(dest);
34543
- const parsedPath = path2.parse(parent);
34542
+ const parent = path.dirname(dest);
34543
+ const parsedPath = path.parse(parent);
34544
34544
  return parsedPath.root === parent;
34545
34545
  }
34546
34546
  function doRename(src, dest, overwrite, isChangingCase) {
@@ -34550,13 +34550,13 @@ var require_move_sync = __commonJS({
34550
34550
  removeSync(dest);
34551
34551
  return rename(src, dest, overwrite);
34552
34552
  }
34553
- if (fs2.existsSync(dest))
34553
+ if (fs.existsSync(dest))
34554
34554
  throw new Error("dest already exists.");
34555
34555
  return rename(src, dest, overwrite);
34556
34556
  }
34557
34557
  function rename(src, dest, overwrite) {
34558
34558
  try {
34559
- fs2.renameSync(src, dest);
34559
+ fs.renameSync(src, dest);
34560
34560
  } catch (err) {
34561
34561
  if (err.code !== "EXDEV")
34562
34562
  throw err;
@@ -35034,16 +35034,16 @@ var require_buildable_libs_utils = __commonJS({
35034
35034
  dependencies.forEach((dep) => {
35035
35035
  if (dep.outputs && dep.outputs.length > 0) {
35036
35036
  paths[dep.name] = dep.outputs;
35037
- for (const path2 of pathsKeys) {
35037
+ for (const path of pathsKeys) {
35038
35038
  const nestedName = `${dep.name}/`;
35039
- if (path2.startsWith(nestedName)) {
35040
- const nestedPart = path2.slice(nestedName.length);
35039
+ if (path.startsWith(nestedName)) {
35040
+ const nestedPart = path.slice(nestedName.length);
35041
35041
  let mappedPaths = dep.outputs.map((output) => `${output}/${nestedPart}`);
35042
35042
  const { root } = dep.node?.data || {};
35043
35043
  if (root) {
35044
- mappedPaths = mappedPaths.concat(paths[path2].flatMap((path3) => dep.outputs.map((output) => path3.replace(root, output))));
35044
+ mappedPaths = mappedPaths.concat(paths[path].flatMap((path2) => dep.outputs.map((output) => path2.replace(root, output))));
35045
35045
  }
35046
- paths[path2] = mappedPaths;
35046
+ paths[path] = mappedPaths;
35047
35047
  }
35048
35048
  }
35049
35049
  }
@@ -35177,7 +35177,7 @@ var require_minimatch2 = __commonJS({
35177
35177
  "node_modules/.pnpm/minimatch@3.0.5/node_modules/minimatch/minimatch.js"(exports, module2) {
35178
35178
  module2.exports = minimatch;
35179
35179
  minimatch.Minimatch = Minimatch;
35180
- var path2 = (() => {
35180
+ var path = (() => {
35181
35181
  try {
35182
35182
  return require("path");
35183
35183
  } catch (e) {
@@ -35185,7 +35185,7 @@ var require_minimatch2 = __commonJS({
35185
35185
  })() || {
35186
35186
  sep: "/"
35187
35187
  };
35188
- minimatch.sep = path2.sep;
35188
+ minimatch.sep = path.sep;
35189
35189
  var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {};
35190
35190
  var expand = require_brace_expansion();
35191
35191
  var plTypes = {
@@ -35279,8 +35279,8 @@ var require_minimatch2 = __commonJS({
35279
35279
  if (!options)
35280
35280
  options = {};
35281
35281
  pattern = pattern.trim();
35282
- if (path2.sep !== "/") {
35283
- pattern = pattern.split(path2.sep).join("/");
35282
+ if (path.sep !== "/") {
35283
+ pattern = pattern.split(path.sep).join("/");
35284
35284
  }
35285
35285
  this.options = options;
35286
35286
  this.set = [];
@@ -35370,9 +35370,9 @@ var require_minimatch2 = __commonJS({
35370
35370
  throw new TypeError("pattern is too long");
35371
35371
  }
35372
35372
  };
35373
- Minimatch.prototype.parse = parse2;
35373
+ Minimatch.prototype.parse = parse;
35374
35374
  var SUBPARSE = {};
35375
- function parse2(pattern, isSub) {
35375
+ function parse(pattern, isSub) {
35376
35376
  assertValidPattern(pattern);
35377
35377
  var options = this.options;
35378
35378
  if (!options.noglobstar && pattern === "**")
@@ -35653,8 +35653,8 @@ var require_minimatch2 = __commonJS({
35653
35653
  if (f === "/" && partial)
35654
35654
  return true;
35655
35655
  var options = this.options;
35656
- if (path2.sep !== "/") {
35657
- f = f.split(path2.sep).join("/");
35656
+ if (path.sep !== "/") {
35657
+ f = f.split(path.sep).join("/");
35658
35658
  }
35659
35659
  f = f.split(slashSplit);
35660
35660
  this.debug(this.pattern, "split", f);
@@ -35836,7 +35836,7 @@ var require_path = __commonJS({
35836
35836
  "use strict";
35837
35837
  Object.defineProperty(exports, "__esModule", { value: true });
35838
35838
  exports.removeLeadingDotSegment = exports.escape = exports.makeAbsolute = exports.unixify = void 0;
35839
- var path2 = require("path");
35839
+ var path = require("path");
35840
35840
  var LEADING_DOT_SEGMENT_CHARACTERS_COUNT = 2;
35841
35841
  var UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;
35842
35842
  function unixify(filepath) {
@@ -35844,7 +35844,7 @@ var require_path = __commonJS({
35844
35844
  }
35845
35845
  exports.unixify = unixify;
35846
35846
  function makeAbsolute(cwd, filepath) {
35847
- return path2.resolve(cwd, filepath);
35847
+ return path.resolve(cwd, filepath);
35848
35848
  }
35849
35849
  exports.makeAbsolute = makeAbsolute;
35850
35850
  function escape(pattern) {
@@ -36874,7 +36874,7 @@ var require_parse2 = __commonJS({
36874
36874
  CHAR_NO_BREAK_SPACE,
36875
36875
  CHAR_ZERO_WIDTH_NOBREAK_SPACE
36876
36876
  } = require_constants2();
36877
- var parse2 = (input, options = {}) => {
36877
+ var parse = (input, options = {}) => {
36878
36878
  if (typeof input !== "string") {
36879
36879
  throw new TypeError("Expected a string");
36880
36880
  }
@@ -36890,7 +36890,7 @@ var require_parse2 = __commonJS({
36890
36890
  let brackets = 0;
36891
36891
  let length = input.length;
36892
36892
  let index = 0;
36893
- let depth = 0;
36893
+ let depth2 = 0;
36894
36894
  let value;
36895
36895
  let memo = {};
36896
36896
  const advance = () => input[index++];
@@ -36985,14 +36985,14 @@ var require_parse2 = __commonJS({
36985
36985
  continue;
36986
36986
  }
36987
36987
  if (value === CHAR_LEFT_CURLY_BRACE) {
36988
- depth++;
36988
+ depth2++;
36989
36989
  let dollar = prev.value && prev.value.slice(-1) === "$" || block.dollar === true;
36990
36990
  let brace = {
36991
36991
  type: "brace",
36992
36992
  open: true,
36993
36993
  close: false,
36994
36994
  dollar,
36995
- depth,
36995
+ depth: depth2,
36996
36996
  commas: 0,
36997
36997
  ranges: 0,
36998
36998
  nodes: []
@@ -37011,11 +37011,11 @@ var require_parse2 = __commonJS({
37011
37011
  block = stack.pop();
37012
37012
  block.close = true;
37013
37013
  push({ type, value });
37014
- depth--;
37014
+ depth2--;
37015
37015
  block = stack[stack.length - 1];
37016
37016
  continue;
37017
37017
  }
37018
- if (value === CHAR_COMMA && depth > 0) {
37018
+ if (value === CHAR_COMMA && depth2 > 0) {
37019
37019
  if (block.ranges > 0) {
37020
37020
  block.ranges = 0;
37021
37021
  let open = block.nodes.shift();
@@ -37025,9 +37025,9 @@ var require_parse2 = __commonJS({
37025
37025
  block.commas++;
37026
37026
  continue;
37027
37027
  }
37028
- if (value === CHAR_DOT && depth > 0 && block.commas === 0) {
37028
+ if (value === CHAR_DOT && depth2 > 0 && block.commas === 0) {
37029
37029
  let siblings = block.nodes;
37030
- if (depth === 0 || siblings.length === 0) {
37030
+ if (depth2 === 0 || siblings.length === 0) {
37031
37031
  push({ type: "text", value });
37032
37032
  continue;
37033
37033
  }
@@ -37080,7 +37080,7 @@ var require_parse2 = __commonJS({
37080
37080
  push({ type: "eos" });
37081
37081
  return ast;
37082
37082
  };
37083
- module2.exports = parse2;
37083
+ module2.exports = parse;
37084
37084
  }
37085
37085
  });
37086
37086
 
@@ -37091,7 +37091,7 @@ var require_braces = __commonJS({
37091
37091
  var stringify = require_stringify();
37092
37092
  var compile = require_compile();
37093
37093
  var expand = require_expand2();
37094
- var parse2 = require_parse2();
37094
+ var parse = require_parse2();
37095
37095
  var braces = (input, options = {}) => {
37096
37096
  let output = [];
37097
37097
  if (Array.isArray(input)) {
@@ -37111,7 +37111,7 @@ var require_braces = __commonJS({
37111
37111
  }
37112
37112
  return output;
37113
37113
  };
37114
- braces.parse = (input, options = {}) => parse2(input, options);
37114
+ braces.parse = (input, options = {}) => parse(input, options);
37115
37115
  braces.stringify = (input, options = {}) => {
37116
37116
  if (typeof input === "string") {
37117
37117
  return stringify(braces.parse(input, options), options);
@@ -37151,7 +37151,7 @@ var require_braces = __commonJS({
37151
37151
  var require_constants3 = __commonJS({
37152
37152
  "node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.js"(exports, module2) {
37153
37153
  "use strict";
37154
- var path2 = require("path");
37154
+ var path = require("path");
37155
37155
  var WIN_SLASH = "\\\\/";
37156
37156
  var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
37157
37157
  var DOT_LITERAL = "\\.";
@@ -37321,7 +37321,7 @@ var require_constants3 = __commonJS({
37321
37321
  /* | */
37322
37322
  CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279,
37323
37323
  /* \uFEFF */
37324
- SEP: path2.sep,
37324
+ SEP: path.sep,
37325
37325
  /**
37326
37326
  * Create EXTGLOB_CHARS
37327
37327
  */
@@ -37348,7 +37348,7 @@ var require_constants3 = __commonJS({
37348
37348
  var require_utils6 = __commonJS({
37349
37349
  "node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.js"(exports) {
37350
37350
  "use strict";
37351
- var path2 = require("path");
37351
+ var path = require("path");
37352
37352
  var win32 = process.platform === "win32";
37353
37353
  var {
37354
37354
  REGEX_BACKSLASH,
@@ -37377,7 +37377,7 @@ var require_utils6 = __commonJS({
37377
37377
  if (options && typeof options.windows === "boolean") {
37378
37378
  return options.windows;
37379
37379
  }
37380
- return win32 === true || path2.sep === "\\";
37380
+ return win32 === true || path.sep === "\\";
37381
37381
  };
37382
37382
  exports.escapeLast = (input, char, lastIdx) => {
37383
37383
  const idx = input.lastIndexOf(char, lastIdx);
@@ -37447,7 +37447,7 @@ var require_scan2 = __commonJS({
37447
37447
  var isPathSeparator = (code) => {
37448
37448
  return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;
37449
37449
  };
37450
- var depth = (token) => {
37450
+ var depth2 = (token) => {
37451
37451
  if (token.isPrefix !== true) {
37452
37452
  token.depth = token.isGlobstar ? Infinity : 1;
37453
37453
  }
@@ -37714,7 +37714,7 @@ var require_scan2 = __commonJS({
37714
37714
  } else {
37715
37715
  tokens[idx].value = value;
37716
37716
  }
37717
- depth(tokens[idx]);
37717
+ depth2(tokens[idx]);
37718
37718
  state.maxDepth += tokens[idx].depth;
37719
37719
  }
37720
37720
  if (idx !== 0 || value !== "") {
@@ -37727,7 +37727,7 @@ var require_scan2 = __commonJS({
37727
37727
  parts.push(value);
37728
37728
  if (opts.tokens) {
37729
37729
  tokens[tokens.length - 1].value = value;
37730
- depth(tokens[tokens.length - 1]);
37730
+ depth2(tokens[tokens.length - 1]);
37731
37731
  state.maxDepth += tokens[tokens.length - 1].depth;
37732
37732
  }
37733
37733
  }
@@ -37769,7 +37769,7 @@ var require_parse3 = __commonJS({
37769
37769
  var syntaxError = (type, char) => {
37770
37770
  return `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`;
37771
37771
  };
37772
- var parse2 = (input, options) => {
37772
+ var parse = (input, options) => {
37773
37773
  if (typeof input !== "string") {
37774
37774
  throw new TypeError("Expected a string");
37775
37775
  }
@@ -37919,7 +37919,7 @@ var require_parse3 = __commonJS({
37919
37919
  output = token.close = `)$))${extglobStar}`;
37920
37920
  }
37921
37921
  if (token.inner.includes("*") && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
37922
- const expression = parse2(rest, { ...options, fastpaths: false }).output;
37922
+ const expression = parse(rest, { ...options, fastpaths: false }).output;
37923
37923
  output = token.close = `)${expression})${extglobStar})`;
37924
37924
  }
37925
37925
  if (token.prev.type === "bos") {
@@ -38448,7 +38448,7 @@ var require_parse3 = __commonJS({
38448
38448
  }
38449
38449
  return state;
38450
38450
  };
38451
- parse2.fastpaths = (input, options) => {
38451
+ parse.fastpaths = (input, options) => {
38452
38452
  const opts = { ...options };
38453
38453
  const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
38454
38454
  const len = input.length;
@@ -38517,7 +38517,7 @@ var require_parse3 = __commonJS({
38517
38517
  }
38518
38518
  return source;
38519
38519
  };
38520
- module2.exports = parse2;
38520
+ module2.exports = parse;
38521
38521
  }
38522
38522
  });
38523
38523
 
@@ -38525,9 +38525,9 @@ var require_parse3 = __commonJS({
38525
38525
  var require_picomatch = __commonJS({
38526
38526
  "node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js"(exports, module2) {
38527
38527
  "use strict";
38528
- var path2 = require("path");
38528
+ var path = require("path");
38529
38529
  var scan = require_scan2();
38530
- var parse2 = require_parse3();
38530
+ var parse = require_parse3();
38531
38531
  var utils = require_utils6();
38532
38532
  var constants = require_constants3();
38533
38533
  var isObject = (val) => val && typeof val === "object" && !Array.isArray(val);
@@ -38611,13 +38611,13 @@ var require_picomatch = __commonJS({
38611
38611
  };
38612
38612
  picomatch.matchBase = (input, glob, options, posix = utils.isWindows(options)) => {
38613
38613
  const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
38614
- return regex.test(path2.basename(input));
38614
+ return regex.test(path.basename(input));
38615
38615
  };
38616
38616
  picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
38617
38617
  picomatch.parse = (pattern, options) => {
38618
38618
  if (Array.isArray(pattern))
38619
38619
  return pattern.map((p) => picomatch.parse(p, options));
38620
- return parse2(pattern, { ...options, fastpaths: false });
38620
+ return parse(pattern, { ...options, fastpaths: false });
38621
38621
  };
38622
38622
  picomatch.scan = (input, options) => scan(input, options);
38623
38623
  picomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {
@@ -38643,10 +38643,10 @@ var require_picomatch = __commonJS({
38643
38643
  }
38644
38644
  let parsed = { negated: false, fastpaths: true };
38645
38645
  if (options.fastpaths !== false && (input[0] === "." || input[0] === "*")) {
38646
- parsed.output = parse2.fastpaths(input, options);
38646
+ parsed.output = parse.fastpaths(input, options);
38647
38647
  }
38648
38648
  if (!parsed.output) {
38649
- parsed = parse2(input, options);
38649
+ parsed = parse(input, options);
38650
38650
  }
38651
38651
  return picomatch.compileRe(parsed, options, returnOutput, returnState);
38652
38652
  };
@@ -38841,7 +38841,7 @@ var require_pattern = __commonJS({
38841
38841
  "use strict";
38842
38842
  Object.defineProperty(exports, "__esModule", { value: true });
38843
38843
  exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;
38844
- var path2 = require("path");
38844
+ var path = require("path");
38845
38845
  var globParent = require_glob_parent();
38846
38846
  var micromatch = require_micromatch();
38847
38847
  var GLOBSTAR = "**";
@@ -38923,7 +38923,7 @@ var require_pattern = __commonJS({
38923
38923
  }
38924
38924
  exports.endsWithSlashGlobStar = endsWithSlashGlobStar;
38925
38925
  function isAffectDepthOfReadingPattern(pattern) {
38926
- const basename = path2.basename(pattern);
38926
+ const basename = path.basename(pattern);
38927
38927
  return endsWithSlashGlobStar(pattern) || isStaticPattern(basename);
38928
38928
  }
38929
38929
  exports.isAffectDepthOfReadingPattern = isAffectDepthOfReadingPattern;
@@ -39136,10 +39136,10 @@ var require_utils7 = __commonJS({
39136
39136
  exports.array = array;
39137
39137
  var errno = require_errno();
39138
39138
  exports.errno = errno;
39139
- var fs2 = require_fs3();
39140
- exports.fs = fs2;
39141
- var path2 = require_path();
39142
- exports.path = path2;
39139
+ var fs = require_fs3();
39140
+ exports.fs = fs;
39141
+ var path = require_path();
39142
+ exports.path = path;
39143
39143
  var pattern = require_pattern();
39144
39144
  exports.pattern = pattern;
39145
39145
  var stream = require_stream();
@@ -39239,8 +39239,8 @@ var require_async2 = __commonJS({
39239
39239
  "use strict";
39240
39240
  Object.defineProperty(exports, "__esModule", { value: true });
39241
39241
  exports.read = void 0;
39242
- function read(path2, settings, callback) {
39243
- settings.fs.lstat(path2, (lstatError, lstat) => {
39242
+ function read(path, settings, callback) {
39243
+ settings.fs.lstat(path, (lstatError, lstat) => {
39244
39244
  if (lstatError !== null) {
39245
39245
  callFailureCallback(callback, lstatError);
39246
39246
  return;
@@ -39249,7 +39249,7 @@ var require_async2 = __commonJS({
39249
39249
  callSuccessCallback(callback, lstat);
39250
39250
  return;
39251
39251
  }
39252
- settings.fs.stat(path2, (statError, stat) => {
39252
+ settings.fs.stat(path, (statError, stat) => {
39253
39253
  if (statError !== null) {
39254
39254
  if (settings.throwErrorOnBrokenSymbolicLink) {
39255
39255
  callFailureCallback(callback, statError);
@@ -39281,13 +39281,13 @@ var require_sync2 = __commonJS({
39281
39281
  "use strict";
39282
39282
  Object.defineProperty(exports, "__esModule", { value: true });
39283
39283
  exports.read = void 0;
39284
- function read(path2, settings) {
39285
- const lstat = settings.fs.lstatSync(path2);
39284
+ function read(path, settings) {
39285
+ const lstat = settings.fs.lstatSync(path);
39286
39286
  if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {
39287
39287
  return lstat;
39288
39288
  }
39289
39289
  try {
39290
- const stat = settings.fs.statSync(path2);
39290
+ const stat = settings.fs.statSync(path);
39291
39291
  if (settings.markSymbolicLink) {
39292
39292
  stat.isSymbolicLink = () => true;
39293
39293
  }
@@ -39309,12 +39309,12 @@ var require_fs4 = __commonJS({
39309
39309
  "use strict";
39310
39310
  Object.defineProperty(exports, "__esModule", { value: true });
39311
39311
  exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
39312
- var fs2 = require("fs");
39312
+ var fs = require("fs");
39313
39313
  exports.FILE_SYSTEM_ADAPTER = {
39314
- lstat: fs2.lstat,
39315
- stat: fs2.stat,
39316
- lstatSync: fs2.lstatSync,
39317
- statSync: fs2.statSync
39314
+ lstat: fs.lstat,
39315
+ stat: fs.stat,
39316
+ lstatSync: fs.lstatSync,
39317
+ statSync: fs.statSync
39318
39318
  };
39319
39319
  function createFileSystemAdapter(fsMethods) {
39320
39320
  if (fsMethods === void 0) {
@@ -39331,12 +39331,12 @@ var require_settings = __commonJS({
39331
39331
  "node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.js"(exports) {
39332
39332
  "use strict";
39333
39333
  Object.defineProperty(exports, "__esModule", { value: true });
39334
- var fs2 = require_fs4();
39334
+ var fs = require_fs4();
39335
39335
  var Settings = class {
39336
39336
  constructor(_options = {}) {
39337
39337
  this._options = _options;
39338
39338
  this.followSymbolicLink = this._getValue(this._options.followSymbolicLink, true);
39339
- this.fs = fs2.createFileSystemAdapter(this._options.fs);
39339
+ this.fs = fs.createFileSystemAdapter(this._options.fs);
39340
39340
  this.markSymbolicLink = this._getValue(this._options.markSymbolicLink, false);
39341
39341
  this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
39342
39342
  }
@@ -39358,17 +39358,17 @@ var require_out = __commonJS({
39358
39358
  var sync = require_sync2();
39359
39359
  var settings_1 = require_settings();
39360
39360
  exports.Settings = settings_1.default;
39361
- function stat(path2, optionsOrSettingsOrCallback, callback) {
39361
+ function stat(path, optionsOrSettingsOrCallback, callback) {
39362
39362
  if (typeof optionsOrSettingsOrCallback === "function") {
39363
- async.read(path2, getSettings(), optionsOrSettingsOrCallback);
39363
+ async.read(path, getSettings(), optionsOrSettingsOrCallback);
39364
39364
  return;
39365
39365
  }
39366
- async.read(path2, getSettings(optionsOrSettingsOrCallback), callback);
39366
+ async.read(path, getSettings(optionsOrSettingsOrCallback), callback);
39367
39367
  }
39368
39368
  exports.stat = stat;
39369
- function statSync(path2, optionsOrSettings) {
39369
+ function statSync(path, optionsOrSettings) {
39370
39370
  const settings = getSettings(optionsOrSettings);
39371
- return sync.read(path2, settings);
39371
+ return sync.read(path, settings);
39372
39372
  }
39373
39373
  exports.statSync = statSync;
39374
39374
  function getSettings(settingsOrOptions = {}) {
@@ -39494,8 +39494,8 @@ var require_utils8 = __commonJS({
39494
39494
  "use strict";
39495
39495
  Object.defineProperty(exports, "__esModule", { value: true });
39496
39496
  exports.fs = void 0;
39497
- var fs2 = require_fs5();
39498
- exports.fs = fs2;
39497
+ var fs = require_fs5();
39498
+ exports.fs = fs;
39499
39499
  }
39500
39500
  });
39501
39501
 
@@ -39587,16 +39587,16 @@ var require_async3 = __commonJS({
39587
39587
  return;
39588
39588
  }
39589
39589
  const tasks = names3.map((name) => {
39590
- const path2 = common.joinPathSegments(directory, name, settings.pathSegmentSeparator);
39590
+ const path = common.joinPathSegments(directory, name, settings.pathSegmentSeparator);
39591
39591
  return (done) => {
39592
- fsStat.stat(path2, settings.fsStatSettings, (error, stats) => {
39592
+ fsStat.stat(path, settings.fsStatSettings, (error, stats) => {
39593
39593
  if (error !== null) {
39594
39594
  done(error);
39595
39595
  return;
39596
39596
  }
39597
39597
  const entry = {
39598
39598
  name,
39599
- path: path2,
39599
+ path,
39600
39600
  dirent: utils.fs.createDirentFromStats(name, stats)
39601
39601
  };
39602
39602
  if (settings.stats) {
@@ -39690,14 +39690,14 @@ var require_fs6 = __commonJS({
39690
39690
  "use strict";
39691
39691
  Object.defineProperty(exports, "__esModule", { value: true });
39692
39692
  exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
39693
- var fs2 = require("fs");
39693
+ var fs = require("fs");
39694
39694
  exports.FILE_SYSTEM_ADAPTER = {
39695
- lstat: fs2.lstat,
39696
- stat: fs2.stat,
39697
- lstatSync: fs2.lstatSync,
39698
- statSync: fs2.statSync,
39699
- readdir: fs2.readdir,
39700
- readdirSync: fs2.readdirSync
39695
+ lstat: fs.lstat,
39696
+ stat: fs.stat,
39697
+ lstatSync: fs.lstatSync,
39698
+ statSync: fs.statSync,
39699
+ readdir: fs.readdir,
39700
+ readdirSync: fs.readdirSync
39701
39701
  };
39702
39702
  function createFileSystemAdapter(fsMethods) {
39703
39703
  if (fsMethods === void 0) {
@@ -39714,15 +39714,15 @@ var require_settings2 = __commonJS({
39714
39714
  "node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.js"(exports) {
39715
39715
  "use strict";
39716
39716
  Object.defineProperty(exports, "__esModule", { value: true });
39717
- var path2 = require("path");
39717
+ var path = require("path");
39718
39718
  var fsStat = require_out();
39719
- var fs2 = require_fs6();
39719
+ var fs = require_fs6();
39720
39720
  var Settings = class {
39721
39721
  constructor(_options = {}) {
39722
39722
  this._options = _options;
39723
39723
  this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, false);
39724
- this.fs = fs2.createFileSystemAdapter(this._options.fs);
39725
- this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path2.sep);
39724
+ this.fs = fs.createFileSystemAdapter(this._options.fs);
39725
+ this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path.sep);
39726
39726
  this.stats = this._getValue(this._options.stats, false);
39727
39727
  this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
39728
39728
  this.fsStatSettings = new fsStat.Settings({
@@ -39749,17 +39749,17 @@ var require_out2 = __commonJS({
39749
39749
  var sync = require_sync3();
39750
39750
  var settings_1 = require_settings2();
39751
39751
  exports.Settings = settings_1.default;
39752
- function scandir(path2, optionsOrSettingsOrCallback, callback) {
39752
+ function scandir(path, optionsOrSettingsOrCallback, callback) {
39753
39753
  if (typeof optionsOrSettingsOrCallback === "function") {
39754
- async.read(path2, getSettings(), optionsOrSettingsOrCallback);
39754
+ async.read(path, getSettings(), optionsOrSettingsOrCallback);
39755
39755
  return;
39756
39756
  }
39757
- async.read(path2, getSettings(optionsOrSettingsOrCallback), callback);
39757
+ async.read(path, getSettings(optionsOrSettingsOrCallback), callback);
39758
39758
  }
39759
39759
  exports.scandir = scandir;
39760
- function scandirSync(path2, optionsOrSettings) {
39760
+ function scandirSync(path, optionsOrSettings) {
39761
39761
  const settings = getSettings(optionsOrSettings);
39762
- return sync.read(path2, settings);
39762
+ return sync.read(path, settings);
39763
39763
  }
39764
39764
  exports.scandirSync = scandirSync;
39765
39765
  function getSettings(settingsOrOptions = {}) {
@@ -39997,26 +39997,26 @@ var require_queue2 = __commonJS({
39997
39997
  queue.drained = drained;
39998
39998
  return queue;
39999
39999
  function push(value) {
40000
- var p = new Promise(function(resolve2, reject) {
40000
+ var p = new Promise(function(resolve, reject) {
40001
40001
  pushCb(value, function(err, result) {
40002
40002
  if (err) {
40003
40003
  reject(err);
40004
40004
  return;
40005
40005
  }
40006
- resolve2(result);
40006
+ resolve(result);
40007
40007
  });
40008
40008
  });
40009
40009
  p.catch(noop);
40010
40010
  return p;
40011
40011
  }
40012
40012
  function unshift(value) {
40013
- var p = new Promise(function(resolve2, reject) {
40013
+ var p = new Promise(function(resolve, reject) {
40014
40014
  unshiftCb(value, function(err, result) {
40015
40015
  if (err) {
40016
40016
  reject(err);
40017
40017
  return;
40018
40018
  }
40019
- resolve2(result);
40019
+ resolve(result);
40020
40020
  });
40021
40021
  });
40022
40022
  p.catch(noop);
@@ -40024,15 +40024,15 @@ var require_queue2 = __commonJS({
40024
40024
  }
40025
40025
  function drained() {
40026
40026
  if (queue.idle()) {
40027
- return new Promise(function(resolve2) {
40028
- resolve2();
40027
+ return new Promise(function(resolve) {
40028
+ resolve();
40029
40029
  });
40030
40030
  }
40031
40031
  var previousDrain = queue.drain;
40032
- var p = new Promise(function(resolve2) {
40032
+ var p = new Promise(function(resolve) {
40033
40033
  queue.drain = function() {
40034
40034
  previousDrain();
40035
- resolve2();
40035
+ resolve();
40036
40036
  };
40037
40037
  });
40038
40038
  return p;
@@ -40363,7 +40363,7 @@ var require_settings3 = __commonJS({
40363
40363
  "node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.js"(exports) {
40364
40364
  "use strict";
40365
40365
  Object.defineProperty(exports, "__esModule", { value: true });
40366
- var path2 = require("path");
40366
+ var path = require("path");
40367
40367
  var fsScandir = require_out2();
40368
40368
  var Settings = class {
40369
40369
  constructor(_options = {}) {
@@ -40373,7 +40373,7 @@ var require_settings3 = __commonJS({
40373
40373
  this.deepFilter = this._getValue(this._options.deepFilter, null);
40374
40374
  this.entryFilter = this._getValue(this._options.entryFilter, null);
40375
40375
  this.errorFilter = this._getValue(this._options.errorFilter, null);
40376
- this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path2.sep);
40376
+ this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path.sep);
40377
40377
  this.fsScandirSettings = new fsScandir.Settings({
40378
40378
  followSymbolicLinks: this._options.followSymbolicLinks,
40379
40379
  fs: this._options.fs,
@@ -40435,7 +40435,7 @@ var require_reader2 = __commonJS({
40435
40435
  "node_modules/.pnpm/fast-glob@3.2.7/node_modules/fast-glob/out/readers/reader.js"(exports) {
40436
40436
  "use strict";
40437
40437
  Object.defineProperty(exports, "__esModule", { value: true });
40438
- var path2 = require("path");
40438
+ var path = require("path");
40439
40439
  var fsStat = require_out();
40440
40440
  var utils = require_utils7();
40441
40441
  var Reader = class {
@@ -40448,7 +40448,7 @@ var require_reader2 = __commonJS({
40448
40448
  });
40449
40449
  }
40450
40450
  _getFullEntryPath(filepath) {
40451
- return path2.resolve(this._settings.cwd, filepath);
40451
+ return path.resolve(this._settings.cwd, filepath);
40452
40452
  }
40453
40453
  _makeEntry(stats, pattern) {
40454
40454
  const entry = {
@@ -40515,9 +40515,9 @@ var require_stream3 = __commonJS({
40515
40515
  });
40516
40516
  }
40517
40517
  _getStat(filepath) {
40518
- return new Promise((resolve2, reject) => {
40518
+ return new Promise((resolve, reject) => {
40519
40519
  this._stat(filepath, this._fsStatSettings, (error, stats) => {
40520
- return error === null ? resolve2(stats) : reject(error);
40520
+ return error === null ? resolve(stats) : reject(error);
40521
40521
  });
40522
40522
  });
40523
40523
  }
@@ -40800,7 +40800,7 @@ var require_provider = __commonJS({
40800
40800
  "node_modules/.pnpm/fast-glob@3.2.7/node_modules/fast-glob/out/providers/provider.js"(exports) {
40801
40801
  "use strict";
40802
40802
  Object.defineProperty(exports, "__esModule", { value: true });
40803
- var path2 = require("path");
40803
+ var path = require("path");
40804
40804
  var deep_1 = require_deep();
40805
40805
  var entry_1 = require_entry();
40806
40806
  var error_1 = require_error();
@@ -40814,7 +40814,7 @@ var require_provider = __commonJS({
40814
40814
  this.entryTransformer = new entry_2.default(this._settings);
40815
40815
  }
40816
40816
  _getRootDirectory(task) {
40817
- return path2.resolve(this._settings.cwd, task.base);
40817
+ return path.resolve(this._settings.cwd, task.base);
40818
40818
  }
40819
40819
  _getReaderOptions(task) {
40820
40820
  const basePath = task.base === "." ? "" : task.base;
@@ -40865,11 +40865,11 @@ var require_async6 = __commonJS({
40865
40865
  const root = this._getRootDirectory(task);
40866
40866
  const options = this._getReaderOptions(task);
40867
40867
  const entries = [];
40868
- return new Promise((resolve2, reject) => {
40868
+ return new Promise((resolve, reject) => {
40869
40869
  const stream = this.api(root, task, options);
40870
40870
  stream.once("error", reject);
40871
40871
  stream.on("data", (entry) => entries.push(options.transform(entry)));
40872
- stream.once("end", () => resolve2(entries));
40872
+ stream.once("end", () => resolve(entries));
40873
40873
  });
40874
40874
  }
40875
40875
  api(root, task, options) {
@@ -41000,16 +41000,16 @@ var require_settings4 = __commonJS({
41000
41000
  "use strict";
41001
41001
  Object.defineProperty(exports, "__esModule", { value: true });
41002
41002
  exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
41003
- var fs2 = require("fs");
41003
+ var fs = require("fs");
41004
41004
  var os = require("os");
41005
41005
  var CPU_COUNT = Math.max(os.cpus().length, 1);
41006
41006
  exports.DEFAULT_FILE_SYSTEM_ADAPTER = {
41007
- lstat: fs2.lstat,
41008
- lstatSync: fs2.lstatSync,
41009
- stat: fs2.stat,
41010
- statSync: fs2.statSync,
41011
- readdir: fs2.readdir,
41012
- readdirSync: fs2.readdirSync
41007
+ lstat: fs.lstat,
41008
+ lstatSync: fs.lstatSync,
41009
+ stat: fs.stat,
41010
+ statSync: fs.statSync,
41011
+ readdir: fs.readdir,
41012
+ readdirSync: fs.readdirSync
41013
41013
  };
41014
41014
  var Settings = class {
41015
41015
  constructor(_options = {}) {
@@ -41126,14 +41126,14 @@ var require_copy_assets_handler = __commonJS({
41126
41126
  Object.defineProperty(exports, "__esModule", { value: true });
41127
41127
  exports.CopyAssetsHandler = exports.defaultFileEventHandler = void 0;
41128
41128
  var minimatch = require_minimatch2();
41129
- var path2 = require("path");
41129
+ var path = require("path");
41130
41130
  var fse = require_lib4();
41131
41131
  var ignore_1 = require_ignore();
41132
41132
  var fg = require_out4();
41133
41133
  var devkit_1 = require_devkit();
41134
41134
  var client_1 = require("nx/src/daemon/client/client");
41135
41135
  var defaultFileEventHandler = (events) => {
41136
- const dirs = new Set(events.map((event) => path2.dirname(event.dest)));
41136
+ const dirs = new Set(events.map((event) => path.dirname(event.dest)));
41137
41137
  dirs.forEach((d) => fse.ensureDirSync(d));
41138
41138
  events.forEach((event) => {
41139
41139
  if (event.type === "create" || event.type === "update") {
@@ -41155,8 +41155,8 @@ var require_copy_assets_handler = __commonJS({
41155
41155
  this.outputDir = opts.outputDir;
41156
41156
  this.callback = opts.callback ?? exports.defaultFileEventHandler;
41157
41157
  this.ignore = (0, ignore_1.default)();
41158
- const gitignore = path2.join(opts.rootDir, ".gitignore");
41159
- const nxignore = path2.join(opts.rootDir, ".nxignore");
41158
+ const gitignore = path.join(opts.rootDir, ".gitignore");
41159
+ const nxignore = path.join(opts.rootDir, ".nxignore");
41160
41160
  if (fse.existsSync(gitignore))
41161
41161
  this.ignore.add(fse.readFileSync(gitignore).toString());
41162
41162
  if (fse.existsSync(nxignore))
@@ -41169,15 +41169,15 @@ var require_copy_assets_handler = __commonJS({
41169
41169
  let ignore = null;
41170
41170
  if (typeof f === "string") {
41171
41171
  pattern = f;
41172
- input = path2.relative(opts.rootDir, opts.projectDir);
41173
- output = path2.relative(opts.rootDir, opts.outputDir);
41172
+ input = path.relative(opts.rootDir, opts.projectDir);
41173
+ output = path.relative(opts.rootDir, opts.outputDir);
41174
41174
  } else {
41175
41175
  isGlob = true;
41176
- pattern = path2.join(f.input, f.glob);
41176
+ pattern = path.join(f.input, f.glob);
41177
41177
  input = f.input;
41178
- output = path2.join(path2.relative(opts.rootDir, opts.outputDir), f.output);
41178
+ output = path.join(path.relative(opts.rootDir, opts.outputDir), f.output);
41179
41179
  if (f.ignore)
41180
- ignore = f.ignore.map((ig) => path2.join(f.input, ig));
41180
+ ignore = f.ignore.map((ig) => path.join(f.input, ig));
41181
41181
  }
41182
41182
  return {
41183
41183
  isGlob,
@@ -41229,15 +41229,15 @@ var require_copy_assets_handler = __commonJS({
41229
41229
  async processWatchEvents(events) {
41230
41230
  const fileEvents = [];
41231
41231
  for (const event of events) {
41232
- const pathFromRoot = path2.relative(this.rootDir, event.path);
41232
+ const pathFromRoot = path.relative(this.rootDir, event.path);
41233
41233
  for (const ag of this.assetGlobs) {
41234
41234
  if (minimatch(pathFromRoot, ag.pattern) && !ag.ignore?.some((ig) => minimatch(pathFromRoot, ig)) && !this.ignore.ignores(pathFromRoot)) {
41235
- const relPath = path2.relative(ag.input, pathFromRoot);
41235
+ const relPath = path.relative(ag.input, pathFromRoot);
41236
41236
  const destPath = relPath.startsWith("..") ? pathFromRoot : relPath;
41237
41237
  fileEvents.push({
41238
41238
  type: event.type,
41239
- src: path2.join(this.rootDir, pathFromRoot),
41240
- dest: path2.join(this.rootDir, ag.output, destPath)
41239
+ src: path.join(this.rootDir, pathFromRoot),
41240
+ dest: path.join(this.rootDir, ag.output, destPath)
41241
41241
  });
41242
41242
  break;
41243
41243
  }
@@ -41249,12 +41249,12 @@ var require_copy_assets_handler = __commonJS({
41249
41249
  filesToEvent(files, assetGlob) {
41250
41250
  return files.reduce((acc, src) => {
41251
41251
  if (!assetGlob.ignore?.some((ig) => minimatch(src, ig)) && !this.ignore.ignores(src)) {
41252
- const relPath = path2.relative(assetGlob.input, src);
41252
+ const relPath = path.relative(assetGlob.input, src);
41253
41253
  const dest = relPath.startsWith("..") ? src : relPath;
41254
41254
  acc.push({
41255
41255
  type: "create",
41256
- src: path2.join(this.rootDir, src),
41257
- dest: path2.join(this.rootDir, assetGlob.output, dest)
41256
+ src: path.join(this.rootDir, src),
41257
+ dest: path.join(this.rootDir, assetGlob.output, dest)
41258
41258
  });
41259
41259
  }
41260
41260
  return acc;
@@ -41614,12 +41614,12 @@ var require_generator = __commonJS({
41614
41614
  Object.defineProperty(exports, "__esModule", { value: true });
41615
41615
  exports.setupVerdaccio = void 0;
41616
41616
  var devkit_1 = require_devkit();
41617
- var path2 = require("path");
41617
+ var path = require("path");
41618
41618
  var versions_1 = require_versions2();
41619
41619
  var child_process_1 = require("child_process");
41620
41620
  async function setupVerdaccio2(tree, options) {
41621
41621
  if (!tree.exists(".verdaccio/config.yml")) {
41622
- (0, devkit_1.generateFiles)(tree, path2.join(__dirname, "files"), ".verdaccio", {
41622
+ (0, devkit_1.generateFiles)(tree, path.join(__dirname, "files"), ".verdaccio", {
41623
41623
  npmUplinkRegistry: (0, child_process_1.execSync)("npm config get registry")?.toString()?.trim() ?? "https://registry.npmjs.org"
41624
41624
  });
41625
41625
  }
@@ -42381,7 +42381,7 @@ var require_eslint_file = __commonJS({
42381
42381
  if ((0, flat_config_1.useFlatConfig)(tree)) {
42382
42382
  const fileName = (0, devkit_1.joinPathFragments)(root, "eslint.config.js");
42383
42383
  const block = (0, ast_utils_1.generateAst)({
42384
- ignores: ignorePatterns.map((path2) => (0, ast_utils_1.mapFilePath)(path2, root))
42384
+ ignores: ignorePatterns.map((path) => (0, ast_utils_1.mapFilePath)(path, root))
42385
42385
  });
42386
42386
  tree.write(fileName, (0, ast_utils_1.addBlockToFlatConfigExport)(tree.read(fileName, "utf8"), block));
42387
42387
  } else {
@@ -43560,147 +43560,21 @@ var LogLevelLabel = {
43560
43560
  TRACE: "trace"
43561
43561
  };
43562
43562
 
43563
- // node_modules/.pnpm/locate-path@7.2.0/node_modules/locate-path/index.js
43564
- var import_node_process = __toESM(require("node:process"), 1);
43565
- var import_node_path = __toESM(require("node:path"), 1);
43566
- var import_node_fs = __toESM(require("node:fs"), 1);
43567
- var import_node_url = require("node:url");
43568
-
43569
- // node_modules/.pnpm/yocto-queue@1.0.0/node_modules/yocto-queue/index.js
43570
- var Node = class {
43571
- value;
43572
- next;
43573
- constructor(value) {
43574
- this.value = value;
43575
- }
43576
- };
43577
- var Queue = class {
43578
- #head;
43579
- #tail;
43580
- #size;
43581
- constructor() {
43582
- this.clear();
43583
- }
43584
- enqueue(value) {
43585
- const node = new Node(value);
43586
- if (this.#head) {
43587
- this.#tail.next = node;
43588
- this.#tail = node;
43589
- } else {
43590
- this.#head = node;
43591
- this.#tail = node;
43592
- }
43593
- this.#size++;
43594
- }
43595
- dequeue() {
43596
- const current = this.#head;
43597
- if (!current) {
43598
- return;
43599
- }
43600
- this.#head = this.#head.next;
43601
- this.#size--;
43602
- return current.value;
43603
- }
43604
- clear() {
43605
- this.#head = void 0;
43606
- this.#tail = void 0;
43607
- this.#size = 0;
43608
- }
43609
- get size() {
43610
- return this.#size;
43611
- }
43612
- *[Symbol.iterator]() {
43613
- let current = this.#head;
43614
- while (current) {
43615
- yield current.value;
43616
- current = current.next;
43617
- }
43618
- }
43619
- };
43620
-
43621
- // node_modules/.pnpm/locate-path@7.2.0/node_modules/locate-path/index.js
43622
- var typeMappings = {
43623
- directory: "isDirectory",
43624
- file: "isFile"
43625
- };
43626
- function checkType(type) {
43627
- if (Object.hasOwnProperty.call(typeMappings, type)) {
43628
- return;
43629
- }
43630
- throw new Error(`Invalid type specified: ${type}`);
43631
- }
43632
- var matchType = (type, stat) => stat[typeMappings[type]]();
43633
- var toPath = (urlOrPath) => urlOrPath instanceof URL ? (0, import_node_url.fileURLToPath)(urlOrPath) : urlOrPath;
43634
- function locatePathSync(paths, {
43635
- cwd = import_node_process.default.cwd(),
43636
- type = "file",
43637
- allowSymlinks = true
43638
- } = {}) {
43639
- checkType(type);
43640
- cwd = toPath(cwd);
43641
- const statFunction = allowSymlinks ? import_node_fs.default.statSync : import_node_fs.default.lstatSync;
43642
- for (const path_ of paths) {
43643
- try {
43644
- const stat = statFunction(import_node_path.default.resolve(cwd, path_), {
43645
- throwIfNoEntry: false
43646
- });
43647
- if (!stat) {
43648
- continue;
43649
- }
43650
- if (matchType(type, stat)) {
43651
- return path_;
43652
- }
43653
- } catch {
43654
- }
43655
- }
43656
- }
43657
-
43658
43563
  // packages/config-tools/src/utilities/find-up.ts
43564
+ var import_fs = require("fs");
43659
43565
  var import_path = require("path");
43660
- var import_url = require("url");
43661
- var findUpStop = Symbol("findUpStop");
43662
- function toPath2(urlOrPath) {
43663
- return urlOrPath instanceof URL ? (0, import_url.fileURLToPath)(urlOrPath) : urlOrPath;
43664
- }
43665
- function findUpMultipleSync(names3, options = { limit: 1, type: "file" }) {
43666
- let directory = (0, import_path.resolve)(toPath2(options.cwd) ?? "");
43667
- const { root } = (0, import_path.parse)(directory);
43668
- const stopAt = (0, import_path.resolve)(directory, toPath2(options.stopAt) ?? root);
43669
- const limit = options.limit ?? Number.POSITIVE_INFINITY;
43670
- if (typeof names3 === "function") {
43671
- const foundPath = names3(options.cwd);
43672
- return locatePathSync([foundPath], options);
43673
- }
43674
- const runNameMatcher = (name) => {
43675
- const paths = [name].flat();
43676
- const runMatcher = (locateOptions) => {
43677
- if (typeof name !== "function") {
43678
- return locatePathSync(paths, locateOptions);
43679
- }
43680
- const foundPath = name(locateOptions.cwd);
43681
- if (typeof foundPath === "string") {
43682
- return locatePathSync([foundPath], locateOptions);
43683
- }
43684
- return foundPath;
43685
- };
43686
- const matches = [];
43687
- while (true) {
43688
- const foundPath = runMatcher({ ...options, cwd: directory });
43689
- if (foundPath) {
43690
- matches.push((0, import_path.resolve)(directory, foundPath));
43691
- }
43692
- if (directory === stopAt || matches.length >= limit) {
43693
- break;
43694
- }
43695
- directory = (0, import_path.dirname)(directory);
43696
- }
43697
- return matches;
43698
- };
43699
- return (names3 && Array.isArray(names3) ? names3 : [names3]).map((name) => runNameMatcher(name)).flat().map((path2) => path2 ? path2 : "");
43700
- }
43701
- function findUpSync(names3, options = { limit: 1, type: "file" }) {
43702
- const matches = findUpMultipleSync(names3, options);
43703
- return matches[0];
43566
+ var MAX_PATH_SEARCH_DEPTH = 30;
43567
+ var depth = 0;
43568
+ function findFolderUp(startPath, endFileNames) {
43569
+ startPath = startPath ?? process.cwd();
43570
+ if (endFileNames.some((endFileName) => (0, import_fs.existsSync)((0, import_path.join)(startPath, endFileName)))) {
43571
+ return startPath;
43572
+ } else if (startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) {
43573
+ const parent = (0, import_path.join)(startPath, "..");
43574
+ return findFolderUp(parent, endFileNames);
43575
+ } else {
43576
+ return void 0;
43577
+ }
43704
43578
  }
43705
43579
 
43706
43580
  // packages/config-tools/src/utilities/find-workspace-root.ts
@@ -43728,15 +43602,14 @@ var rootFiles = [
43728
43602
  "pnpm-lock.yml",
43729
43603
  "bun.lockb"
43730
43604
  ];
43731
- function findWorkspaceRootSafeSync(pathInsideMonorepo) {
43732
- return process.env.STORM_WORKSPACE_ROOT ? process.env.STORM_WORKSPACE_ROOT : process.env.NX_WORKSPACE_ROOT_PATH ? process.env.NX_WORKSPACE_ROOT_PATH : findUpSync(rootFiles, {
43733
- cwd: pathInsideMonorepo ?? process.cwd(),
43734
- type: "file",
43735
- limit: 1
43736
- });
43605
+ function findWorkspaceRootSafe(pathInsideMonorepo) {
43606
+ if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
43607
+ return process.env.STORM_WORKSPACE_ROOT ?? process.env.NX_WORKSPACE_ROOT_PATH;
43608
+ }
43609
+ return findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles);
43737
43610
  }
43738
- function findWorkspaceRootSync(pathInsideMonorepo) {
43739
- const result = findWorkspaceRootSafeSync(pathInsideMonorepo);
43611
+ function findWorkspaceRoot(pathInsideMonorepo) {
43612
+ const result = findWorkspaceRootSafe(pathInsideMonorepo);
43740
43613
  if (!result) {
43741
43614
  throw new Error(
43742
43615
  `Cannot find workspace root upwards from known path. Files search list includes:
@@ -43750,7 +43623,7 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
43750
43623
  }
43751
43624
 
43752
43625
  // packages/config-tools/src/utilities/get-default-config.ts
43753
- var import_fs = require("fs");
43626
+ var import_fs2 = require("fs");
43754
43627
  var import_path2 = require("path");
43755
43628
 
43756
43629
  // node_modules/.pnpm/zod@3.22.4/node_modules/zod/lib/index.mjs
@@ -44094,8 +43967,8 @@ function getErrorMap() {
44094
43967
  return overrideErrorMap;
44095
43968
  }
44096
43969
  var makeIssue = (params) => {
44097
- const { data, path: path2, errorMaps, issueData } = params;
44098
- const fullPath = [...path2, ...issueData.path || []];
43970
+ const { data, path, errorMaps, issueData } = params;
43971
+ const fullPath = [...path, ...issueData.path || []];
44099
43972
  const fullIssue = {
44100
43973
  ...issueData,
44101
43974
  path: fullPath
@@ -44193,11 +44066,11 @@ var errorUtil;
44193
44066
  errorUtil2.toString = (message) => typeof message === "string" ? message : message === null || message === void 0 ? void 0 : message.message;
44194
44067
  })(errorUtil || (errorUtil = {}));
44195
44068
  var ParseInputLazyPath = class {
44196
- constructor(parent, value, path2, key) {
44069
+ constructor(parent, value, path, key) {
44197
44070
  this._cachedPath = [];
44198
44071
  this.parent = parent;
44199
44072
  this.data = value;
44200
- this._path = path2;
44073
+ this._path = path;
44201
44074
  this._key = key;
44202
44075
  }
44203
44076
  get path() {
@@ -47369,6 +47242,7 @@ var StormConfigSchema = objectType({
47369
47242
  runtimeVersion: stringType().trim().regex(
47370
47243
  /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/
47371
47244
  ).default("1.0.0").describe("The global version of the Storm runtime"),
47245
+ packageManager: enumType(["npm", "yarn", "pnpm", "bun"]).default("npm").describe("The package manager used by the repository"),
47372
47246
  timezone: stringType().trim().default("America/New_York").describe("The default timezone of the workspace"),
47373
47247
  locale: stringType().trim().default("en-US").describe("The default locale of the workspace"),
47374
47248
  logLevel: enumType(["silent", "fatal", "error", "warn", "info", "debug", "trace"]).optional().describe(
@@ -47396,6 +47270,7 @@ var DefaultColorConfig = {
47396
47270
  fatal: "#7d1a1a"
47397
47271
  };
47398
47272
  var DefaultStormConfig = {
47273
+ name: "storm-workspace",
47399
47274
  namespace: "storm-software",
47400
47275
  license: "Apache License 2.0",
47401
47276
  homepage: "https://stormsoftware.org",
@@ -47403,6 +47278,7 @@ var DefaultStormConfig = {
47403
47278
  owner: "@storm-software/development",
47404
47279
  worker: "stormie-bot",
47405
47280
  runtimeDirectory: "node_modules/.storm",
47281
+ packageManager: "npm",
47406
47282
  timezone: "America/New_York",
47407
47283
  locale: "en-US",
47408
47284
  env: "production",
@@ -47417,12 +47293,12 @@ var DefaultStormConfig = {
47417
47293
  var getDefaultConfig = (config = {}, root) => {
47418
47294
  let name = "storm-workspace";
47419
47295
  let namespace = "storm-software";
47420
- let repository = "https://github.com/storm-software/storm-stack";
47296
+ let repository = "https://github.com/storm-software/storm-ops";
47421
47297
  let license = DefaultStormConfig.license;
47422
47298
  let homepage = DefaultStormConfig.homepage;
47423
- const workspaceRoot = findWorkspaceRootSync(root);
47424
- if ((0, import_fs.existsSync)((0, import_path2.join)(workspaceRoot, "package.json"))) {
47425
- const file = (0, import_fs.readFileSync)((0, import_path2.join)(workspaceRoot, "package.json"), {
47299
+ const workspaceRoot = findWorkspaceRoot(root);
47300
+ if ((0, import_fs2.existsSync)((0, import_path2.join)(workspaceRoot, "package.json"))) {
47301
+ const file = (0, import_fs2.readFileSync)((0, import_path2.join)(workspaceRoot, "package.json"), {
47426
47302
  encoding: "utf-8"
47427
47303
  });
47428
47304
  if (file) {