@storm-software/workspace-tools 1.33.0 → 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 path4 = require("path");
609
+ var path2 = require("path");
610
610
  var nx_1 = require_nx();
611
611
  var { updateJson: updateJson2, readJson, 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 = path4.join(tree.root, file.path);
626
+ const systemPath = path2.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 path5 of ["tsconfig.base.json", "tsconfig.json"]) {
671
- if (tree.exists(path5)) {
672
- return path5;
670
+ for (const path3 of ["tsconfig.base.json", "tsconfig.json"]) {
671
+ if (tree.exists(path3)) {
672
+ return path3;
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(path4) {
966
- return binaryExtensions.has((0, path_1.extname)(path4).toLowerCase());
965
+ function isBinaryPath(path2) {
966
+ return binaryExtensions.has((0, path_1.extname)(path2).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 path4 = require("path");
1149
+ var fs = require("fs");
1150
+ var path2 = 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 = path4.dirname;
1182
- var extname = path4.extname;
1183
- var resolve2 = path4.resolve;
1184
- var includePath = resolve2(isDir ? filename : dirname2(filename), name);
1181
+ var dirname = path2.dirname;
1182
+ var extname = path2.extname;
1183
+ var resolve = path2.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(path5, options) {
1200
+ function getIncludePath(path3, options) {
1201
1201
  var includePath;
1202
1202
  var filePath;
1203
1203
  var views = options.views;
1204
- var match = /^[A-Za-z]+:\\|^\//.exec(path5);
1204
+ var match = /^[A-Za-z]+:\\|^\//.exec(path3);
1205
1205
  if (match && match.length) {
1206
- path5 = path5.replace(/^\/*/, "");
1206
+ path3 = path3.replace(/^\/*/, "");
1207
1207
  if (Array.isArray(options.root)) {
1208
- includePath = resolvePaths(path5, options.root);
1208
+ includePath = resolvePaths(path3, options.root);
1209
1209
  } else {
1210
- includePath = exports.resolveInclude(path5, options.root || "/", true);
1210
+ includePath = exports.resolveInclude(path3, options.root || "/", true);
1211
1211
  }
1212
1212
  } else {
1213
1213
  if (options.filename) {
1214
- filePath = exports.resolveInclude(path5, options.filename);
1215
- if (fs2.existsSync(filePath)) {
1214
+ filePath = exports.resolveInclude(path3, 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(path5, views);
1220
+ includePath = resolvePaths(path3, views);
1221
1221
  }
1222
1222
  if (!includePath && typeof options.includer !== "function") {
1223
- throw new Error('Could not find the include file "' + options.escapeFunction(path5) + '"');
1223
+ throw new Error('Could not find the include file "' + options.escapeFunction(path3) + '"');
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(path5, options) {
1282
+ function includeFile(path3, options) {
1283
1283
  var opts = utils.shallowCopy(utils.createNullProtoObjWherePossible(), options);
1284
- opts.filename = getIncludePath(path5, opts);
1284
+ opts.filename = getIncludePath(path3, opts);
1285
1285
  if (typeof options.includer === "function") {
1286
- var includerResult = options.includer(path5, opts.filename);
1286
+ var includerResult = options.includer(path3, 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(path5, includeData) {
1521
+ var include = function(path3, 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(path5, opts)(d);
1526
+ return includeFile(path3, 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 = path4.basename(filename, path4.extname(filename));
1535
+ var basename = path2.basename(filename, path2.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 path4 = require("path");
1698
+ var path2 = 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 = path4.relative(srcFolder, filePath);
1731
- let computedPath = path4.join(target, relativeFromSrcFolder);
1730
+ const relativeFromSrcFolder = path2.relative(srcFolder, filePath);
1731
+ let computedPath = path2.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 = path4.join(parent, c);
1744
+ const child = path2.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 path4 = function() {
4734
+ var path2 = 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 = path4.sep;
4742
+ minimatch.sep = path2.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 && path4.sep !== "/") {
4834
- pattern = pattern.split(path4.sep).join("/");
4833
+ if (!options.allowWindowsEscape && path2.sep !== "/") {
4834
+ pattern = pattern.split(path2.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 (path4.sep !== "/") {
5212
- f = f.split(path4.sep).join("/");
5211
+ if (path2.sep !== "/") {
5212
+ f = f.split(path2.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(path4) {
5371
- return path4.charAt(0) === "/";
5370
+ function posix(path2) {
5371
+ return path2.charAt(0) === "/";
5372
5372
  }
5373
- function win32(path4) {
5373
+ function win32(path2) {
5374
5374
  var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;
5375
- var result = splitDeviceRe.exec(path4);
5375
+ var result = splitDeviceRe.exec(path2);
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 path4 = require("path");
5399
+ var fs = require("fs");
5400
+ var path2 = 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 = path4.resolve(options.cwd);
5465
+ self.cwd = path2.resolve(options.cwd);
5466
5466
  self.changedCwd = self.cwd !== cwd;
5467
5467
  }
5468
- self.root = options.root || path4.resolve(self.cwd, "/");
5469
- self.root = path4.resolve(self.root);
5468
+ self.root = options.root || path2.resolve(self.cwd, "/");
5469
+ self.root = path2.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 = path4.join(self.root, f);
5551
+ abs = path2.join(self.root, f);
5552
5552
  } else if (isAbsolute(f) || f === "") {
5553
5553
  abs = f;
5554
5554
  } else if (self.changedCwd) {
5555
- abs = path4.resolve(self.cwd, f);
5555
+ abs = path2.resolve(self.cwd, f);
5556
5556
  } else {
5557
- abs = path4.resolve(f);
5557
+ abs = path2.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, path5) {
5563
+ function isIgnored(self, path3) {
5564
5564
  if (!self.ignore.length)
5565
5565
  return false;
5566
5566
  return self.ignore.some(function(item) {
5567
- return item.matcher.match(path5) || !!(item.gmatcher && item.gmatcher.match(path5));
5567
+ return item.matcher.match(path3) || !!(item.gmatcher && item.gmatcher.match(path3));
5568
5568
  });
5569
5569
  }
5570
- function childrenIgnored(self, path5) {
5570
+ function childrenIgnored(self, path3) {
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(path5));
5574
+ return !!(item.gmatcher && item.gmatcher.match(path3));
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 path4 = require("path");
5590
+ var path2 = 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 = path4.join(this.root, e);
5718
+ e = path2.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 = path4.join(this.root, prefix);
5867
+ prefix = path2.join(this.root, prefix);
5868
5868
  } else {
5869
- prefix = path4.resolve(this.root, prefix);
5869
+ prefix = path2.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 path4 = require("path");
6064
+ var path2 = 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 = path4.join(this.root, e);
6347
+ e = path2.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 = path4.join(this.root, prefix);
6534
+ prefix = path2.join(this.root, prefix);
6535
6535
  } else {
6536
- prefix = path4.resolve(this.root, prefix);
6536
+ prefix = path2.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 path4 = require("path");
6615
- var fs2 = require("fs");
6614
+ var path2 = 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(path4.join(p, f), options, (er2) => {
6796
+ rimraf(path2.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(path4.join(p, f), options));
6871
+ options.readdirSync(p).forEach((f) => rimrafSync(path2.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 path4 = require("path");
6896
+ var path2 = 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 path4.join(tmpDir, opts.dir, opts.name);
7119
+ return path2.join(tmpDir, opts.dir, opts.name);
7120
7120
  if (!_isUndefined(opts.template))
7121
- return path4.join(tmpDir, opts.dir, opts.template).replace(TEMPLATE_PATTERN, _randomChars(6));
7121
+ return path2.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 path4.join(tmpDir, opts.dir, name);
7130
+ return path2.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) ? "" : path4.relative(tmpDir, _resolvePath(options.dir, tmpDir));
7152
- options.template = _isUndefined(options.template) ? void 0 : path4.relative(tmpDir, _resolvePath(options.template, tmpDir));
7153
- options.template = _isBlank(options.template) ? void 0 : path4.relative(options.dir, options.template);
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);
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 path4.resolve(sanitizedName);
7161
+ return path2.resolve(sanitizedName);
7162
7162
  } else {
7163
- return path4.resolve(path4.join(tmpDir, sanitizedName));
7163
+ return path2.resolve(path2.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 (path4.isAbsolute(name))
7174
+ if (path2.isAbsolute(name))
7175
7175
  throw new Error(`${option} option must not contain an absolute path, found "${name}".`);
7176
- let basename = path4.basename(name);
7176
+ let basename = path2.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 (path4.isAbsolute(name) && !name.startsWith(tmpDir)) {
7180
+ if (path2.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 path4.resolve(_sanitizeName(options && options.tmpdir || os.tmpdir()));
7201
+ return path2.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 = (path4, originalPath, doThrow) => {
7813
- if (!isString(path4)) {
7812
+ var checkPath = (path2, originalPath, doThrow) => {
7813
+ if (!isString(path2)) {
7814
7814
  return doThrow(
7815
7815
  `path must be a string, but got \`${originalPath}\``,
7816
7816
  TypeError
7817
7817
  );
7818
7818
  }
7819
- if (!path4) {
7819
+ if (!path2) {
7820
7820
  return doThrow(`path must not be empty`, TypeError);
7821
7821
  }
7822
- if (checkPath.isNotRelative(path4)) {
7822
+ if (checkPath.isNotRelative(path2)) {
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 = (path4) => REGEX_TEST_INVALID_PATH.test(path4);
7831
+ var isNotRelative = (path2) => REGEX_TEST_INVALID_PATH.test(path2);
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(path4, checkUnignored) {
7890
+ _testOne(path2, 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(path4);
7898
+ const matched = rule.regex.test(path2);
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 path4 = originalPath && checkPath.convert(originalPath);
7911
+ const path2 = originalPath && checkPath.convert(originalPath);
7912
7912
  checkPath(
7913
- path4,
7913
+ path2,
7914
7914
  originalPath,
7915
7915
  this._allowRelativePaths ? RETURN_FALSE : throwError
7916
7916
  );
7917
- return this._t(path4, cache, checkUnignored, slices);
7917
+ return this._t(path2, cache, checkUnignored, slices);
7918
7918
  }
7919
- _t(path4, cache, checkUnignored, slices) {
7920
- if (path4 in cache) {
7921
- return cache[path4];
7919
+ _t(path2, cache, checkUnignored, slices) {
7920
+ if (path2 in cache) {
7921
+ return cache[path2];
7922
7922
  }
7923
7923
  if (!slices) {
7924
- slices = path4.split(SLASH);
7924
+ slices = path2.split(SLASH);
7925
7925
  }
7926
7926
  slices.pop();
7927
7927
  if (!slices.length) {
7928
- return cache[path4] = this._testOne(path4, checkUnignored);
7928
+ return cache[path2] = this._testOne(path2, 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[path4] = parent.ignored ? parent : this._testOne(path4, checkUnignored);
7936
+ return cache[path2] = parent.ignored ? parent : this._testOne(path2, checkUnignored);
7937
7937
  }
7938
- ignores(path4) {
7939
- return this._test(path4, this._ignoreCache, false).ignored;
7938
+ ignores(path2) {
7939
+ return this._test(path2, this._ignoreCache, false).ignored;
7940
7940
  }
7941
7941
  createFilter() {
7942
- return (path4) => !this.ignores(path4);
7942
+ return (path2) => !this.ignores(path2);
7943
7943
  }
7944
7944
  filter(paths) {
7945
7945
  return makeArray(paths).filter(this.createFilter());
7946
7946
  }
7947
7947
  // @returns {TestResult}
7948
- test(path4) {
7949
- return this._test(path4, this._testCache, true);
7948
+ test(path2) {
7949
+ return this._test(path2, this._testCache, true);
7950
7950
  }
7951
7951
  };
7952
7952
  var factory = (options) => new Ignore(options);
7953
- var isPathValid = (path4) => checkPath(path4 && checkPath.convert(path4), path4, RETURN_FALSE);
7953
+ var isPathValid = (path2) => checkPath(path2 && checkPath.convert(path2), path2, 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 = (path4) => REGIX_IS_WINDOWS_PATH_ABSOLUTE.test(path4) || isNotRelative(path4);
7964
+ checkPath.isNotRelative = (path2) => REGIX_IS_WINDOWS_PATH_ABSOLUTE.test(path2) || isNotRelative(path2);
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(path4, root) {
8006
- return (0, path_1.relative)(root, (0, path_1.join)(root, path4)).split(path_1.sep).join("/");
8005
+ function normalizePathRelativeToRoot(path2, root) {
8006
+ return (0, path_1.relative)(root, (0, path_1.join)(root, path2)).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(path4) {
8388
- return (0, path_1.relative)(this.root, (0, path_1.join)(this.root, path4));
8387
+ normalize(path2) {
8388
+ return (0, path_1.relative)(this.root, (0, path_1.join)(this.root, path2));
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 path4 = require("path");
18239
+ var path2 = 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 = path4.resolve(fromDir);
18253
+ fromDir = path2.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 = path4.join(fromDir, "noop.js");
18260
+ const fromFile = path2.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 path4 = require("path");
18332
+ var path2 = 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 ? path4.dirname(parentPath) : __dirname;
18340
+ const cwd = parentPath ? path2.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 path4 = [graph[toModel].parent, toModel];
19782
+ var path2 = [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
- path4.unshift(graph[cur].parent);
19786
+ path2.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 = path4;
19790
+ fn.conversion = path2;
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, (path4) => typescript.sys.readFile(path4));
23786
+ const { config, error } = typescript.readConfigFile(filePath, (path2) => typescript.sys.readFile(path2));
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 path4 = require("path");
23909
+ var path2 = 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 = path4.join(homedir, "Library");
23915
+ const library = path2.join(homedir, "Library");
23916
23916
  return {
23917
- data: path4.join(library, "Application Support", name),
23918
- config: path4.join(library, "Preferences", name),
23919
- cache: path4.join(library, "Caches", name),
23920
- log: path4.join(library, "Logs", name),
23921
- temp: path4.join(tmpdir, name)
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)
23922
23922
  };
23923
23923
  };
23924
23924
  var windows = (name) => {
23925
- const appData = env.APPDATA || path4.join(homedir, "AppData", "Roaming");
23926
- const localAppData = env.LOCALAPPDATA || path4.join(homedir, "AppData", "Local");
23925
+ const appData = env.APPDATA || path2.join(homedir, "AppData", "Roaming");
23926
+ const localAppData = env.LOCALAPPDATA || path2.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: path4.join(localAppData, name, "Data"),
23930
- config: path4.join(appData, name, "Config"),
23931
- cache: path4.join(localAppData, name, "Cache"),
23932
- log: path4.join(localAppData, name, "Log"),
23933
- temp: path4.join(tmpdir, name)
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)
23934
23934
  };
23935
23935
  };
23936
23936
  var linux = (name) => {
23937
- const username = path4.basename(homedir);
23937
+ const username = path2.basename(homedir);
23938
23938
  return {
23939
- data: path4.join(env.XDG_DATA_HOME || path4.join(homedir, ".local", "share"), name),
23940
- config: path4.join(env.XDG_CONFIG_HOME || path4.join(homedir, ".config"), name),
23941
- cache: path4.join(env.XDG_CACHE_HOME || path4.join(homedir, ".cache"), name),
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),
23942
23942
  // https://wiki.debian.org/XDGBaseDirectorySpecification#state
23943
- log: path4.join(env.XDG_STATE_HOME || path4.join(homedir, ".local", "state"), name),
23944
- temp: path4.join(tmpdir, username, name)
23943
+ log: path2.join(env.XDG_STATE_HOME || path2.join(homedir, ".local", "state"), name),
23944
+ temp: path2.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, path4) {
24018
- if (typeof path4 === "string" && Object.prototype.hasOwnProperty.call(source, path4)) {
24019
- return source[path4];
24017
+ function getPropertyByPath(source, path2) {
24018
+ if (typeof path2 === "string" && Object.prototype.hasOwnProperty.call(source, path2)) {
24019
+ return source[path2];
24020
24020
  }
24021
- const parsedPath = typeof path4 === "string" ? path4.split(".") : path4;
24021
+ const parsedPath = typeof path2 === "string" ? path2.split(".") : path2;
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(path4) {
24034
+ async function isDirectory(path2) {
24035
24035
  try {
24036
- const stat = await fs_1.promises.stat(path4);
24036
+ const stat = await fs_1.promises.stat(path2);
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(path4) {
24046
+ function isDirectorySync(path2) {
24047
24047
  try {
24048
- const stat = fs_1.default.statSync(path4);
24048
+ const stat = fs_1.default.statSync(path2);
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((path4, i) => `${i + 1}. ${path4}`).join("\n")} (same as ${idx + 1}.)`);
24146
+ ${[...importStack, fullPath].map((path2, i) => `${i + 1}. ${path2}`).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(path4) {
24331
+ async #fileExists(path2) {
24332
24332
  try {
24333
- await promises_1.default.stat(path4);
24333
+ await promises_1.default.stat(path2);
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(path4) {
24489
+ #fileExists(path2) {
24490
24490
  try {
24491
- fs_1.default.statSync(path4);
24491
+ fs_1.default.statSync(path2);
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((path4) => path4.replace("{name}", moduleName));
24611
+ const userConfiguredSearchPlaces = userConfiguredOptions.searchPlaces?.map((path2) => path2.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 path4 = [graph[toModel].parent, toModel];
25578
+ const path2 = [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
- path4.unshift(graph[cur].parent);
25582
+ path2.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 = path4;
25586
+ fn.conversion = path2;
25587
25587
  return fn;
25588
25588
  }
25589
25589
  module2.exports = function(fromModel) {
@@ -26260,7 +26260,7 @@ __export(generator_exports, {
26260
26260
  });
26261
26261
  module.exports = __toCommonJS(generator_exports);
26262
26262
  var import_devkit = __toESM(require_devkit());
26263
- var path3 = __toESM(require("path"));
26263
+ var path = __toESM(require("path"));
26264
26264
 
26265
26265
  // packages/config-tools/src/config-file/get-config-file.ts
26266
26266
  var import_cosmiconfig = __toESM(require_dist(), 1);
@@ -26319,147 +26319,21 @@ var LogLevelLabel = {
26319
26319
  TRACE: "trace"
26320
26320
  };
26321
26321
 
26322
- // node_modules/.pnpm/locate-path@7.2.0/node_modules/locate-path/index.js
26323
- var import_node_process = __toESM(require("node:process"), 1);
26324
- var import_node_path = __toESM(require("node:path"), 1);
26325
- var import_node_fs = __toESM(require("node:fs"), 1);
26326
- var import_node_url = require("node:url");
26327
-
26328
- // node_modules/.pnpm/yocto-queue@1.0.0/node_modules/yocto-queue/index.js
26329
- var Node = class {
26330
- value;
26331
- next;
26332
- constructor(value) {
26333
- this.value = value;
26334
- }
26335
- };
26336
- var Queue = class {
26337
- #head;
26338
- #tail;
26339
- #size;
26340
- constructor() {
26341
- this.clear();
26342
- }
26343
- enqueue(value) {
26344
- const node = new Node(value);
26345
- if (this.#head) {
26346
- this.#tail.next = node;
26347
- this.#tail = node;
26348
- } else {
26349
- this.#head = node;
26350
- this.#tail = node;
26351
- }
26352
- this.#size++;
26353
- }
26354
- dequeue() {
26355
- const current = this.#head;
26356
- if (!current) {
26357
- return;
26358
- }
26359
- this.#head = this.#head.next;
26360
- this.#size--;
26361
- return current.value;
26362
- }
26363
- clear() {
26364
- this.#head = void 0;
26365
- this.#tail = void 0;
26366
- this.#size = 0;
26367
- }
26368
- get size() {
26369
- return this.#size;
26370
- }
26371
- *[Symbol.iterator]() {
26372
- let current = this.#head;
26373
- while (current) {
26374
- yield current.value;
26375
- current = current.next;
26376
- }
26377
- }
26378
- };
26379
-
26380
- // node_modules/.pnpm/locate-path@7.2.0/node_modules/locate-path/index.js
26381
- var typeMappings = {
26382
- directory: "isDirectory",
26383
- file: "isFile"
26384
- };
26385
- function checkType(type) {
26386
- if (Object.hasOwnProperty.call(typeMappings, type)) {
26387
- return;
26388
- }
26389
- throw new Error(`Invalid type specified: ${type}`);
26390
- }
26391
- var matchType = (type, stat) => stat[typeMappings[type]]();
26392
- var toPath = (urlOrPath) => urlOrPath instanceof URL ? (0, import_node_url.fileURLToPath)(urlOrPath) : urlOrPath;
26393
- function locatePathSync(paths, {
26394
- cwd = import_node_process.default.cwd(),
26395
- type = "file",
26396
- allowSymlinks = true
26397
- } = {}) {
26398
- checkType(type);
26399
- cwd = toPath(cwd);
26400
- const statFunction = allowSymlinks ? import_node_fs.default.statSync : import_node_fs.default.lstatSync;
26401
- for (const path_ of paths) {
26402
- try {
26403
- const stat = statFunction(import_node_path.default.resolve(cwd, path_), {
26404
- throwIfNoEntry: false
26405
- });
26406
- if (!stat) {
26407
- continue;
26408
- }
26409
- if (matchType(type, stat)) {
26410
- return path_;
26411
- }
26412
- } catch {
26413
- }
26414
- }
26415
- }
26416
-
26417
26322
  // packages/config-tools/src/utilities/find-up.ts
26418
- var path2 = __toESM(require("path"), 1);
26419
- var import_url = require("url");
26420
- var findUpStop = Symbol("findUpStop");
26421
- function toPath2(urlOrPath) {
26422
- return urlOrPath instanceof URL ? (0, import_url.fileURLToPath)(urlOrPath) : urlOrPath;
26423
- }
26424
- function findUpMultipleSync(names, options = { limit: 1, type: "file" }) {
26425
- let directory = path2.resolve(toPath2(options.cwd) ?? "");
26426
- const { root } = path2.parse(directory);
26427
- const stopAt = path2.resolve(directory, toPath2(options.stopAt) ?? root);
26428
- const limit = options.limit ?? Number.POSITIVE_INFINITY;
26429
- if (typeof names === "function") {
26430
- const foundPath = names(options.cwd);
26431
- return locatePathSync([foundPath], options);
26432
- }
26433
- const runNameMatcher = (name) => {
26434
- const paths = [name].flat();
26435
- const runMatcher = (locateOptions) => {
26436
- if (typeof name !== "function") {
26437
- return locatePathSync(paths, locateOptions);
26438
- }
26439
- const foundPath = name(locateOptions.cwd);
26440
- if (typeof foundPath === "string") {
26441
- return locatePathSync([foundPath], locateOptions);
26442
- }
26443
- return foundPath;
26444
- };
26445
- const matches = [];
26446
- while (true) {
26447
- const foundPath = runMatcher({ ...options, cwd: directory });
26448
- if (foundPath) {
26449
- matches.push(path2.resolve(directory, foundPath));
26450
- }
26451
- if (directory === stopAt || matches.length >= limit) {
26452
- break;
26453
- }
26454
- directory = path2.dirname(directory);
26455
- }
26456
- return matches;
26457
- };
26458
- return (names && Array.isArray(names) ? names : [names]).map((name) => runNameMatcher(name)).flat();
26459
- }
26460
- function findUpSync(names, options = { limit: 1, type: "file" }) {
26461
- const matches = findUpMultipleSync(names, options);
26462
- return matches[0];
26323
+ var import_fs = require("fs");
26324
+ var import_path = require("path");
26325
+ var MAX_PATH_SEARCH_DEPTH = 30;
26326
+ var depth = 0;
26327
+ function findFolderUp(startPath, endFileNames) {
26328
+ startPath = startPath ?? process.cwd();
26329
+ if (endFileNames.some((endFileName) => (0, import_fs.existsSync)((0, import_path.join)(startPath, endFileName)))) {
26330
+ return startPath;
26331
+ } else if (startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) {
26332
+ const parent = (0, import_path.join)(startPath, "..");
26333
+ return findFolderUp(parent, endFileNames);
26334
+ } else {
26335
+ return void 0;
26336
+ }
26463
26337
  }
26464
26338
 
26465
26339
  // packages/config-tools/src/utilities/find-workspace-root.ts
@@ -26487,15 +26361,14 @@ var rootFiles = [
26487
26361
  "pnpm-lock.yml",
26488
26362
  "bun.lockb"
26489
26363
  ];
26490
- function findWorkspaceRootSafeSync(pathInsideMonorepo) {
26491
- 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, {
26492
- cwd: pathInsideMonorepo ?? process.cwd(),
26493
- type: "file",
26494
- limit: 1
26495
- });
26364
+ function findWorkspaceRootSafe(pathInsideMonorepo) {
26365
+ if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
26366
+ return process.env.STORM_WORKSPACE_ROOT ?? process.env.NX_WORKSPACE_ROOT_PATH;
26367
+ }
26368
+ return findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles);
26496
26369
  }
26497
- function findWorkspaceRootSync(pathInsideMonorepo) {
26498
- const result = findWorkspaceRootSafeSync(pathInsideMonorepo);
26370
+ function findWorkspaceRoot(pathInsideMonorepo) {
26371
+ const result = findWorkspaceRootSafe(pathInsideMonorepo);
26499
26372
  if (!result) {
26500
26373
  throw new Error(
26501
26374
  `Cannot find workspace root upwards from known path. Files search list includes:
@@ -26509,8 +26382,8 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
26509
26382
  }
26510
26383
 
26511
26384
  // packages/config-tools/src/utilities/get-default-config.ts
26512
- var import_fs = require("fs");
26513
- var import_path = require("path");
26385
+ var import_fs2 = require("fs");
26386
+ var import_path2 = require("path");
26514
26387
 
26515
26388
  // node_modules/.pnpm/zod@3.22.4/node_modules/zod/lib/index.mjs
26516
26389
  var util;
@@ -26853,8 +26726,8 @@ function getErrorMap() {
26853
26726
  return overrideErrorMap;
26854
26727
  }
26855
26728
  var makeIssue = (params) => {
26856
- const { data, path: path4, errorMaps, issueData } = params;
26857
- const fullPath = [...path4, ...issueData.path || []];
26729
+ const { data, path: path2, errorMaps, issueData } = params;
26730
+ const fullPath = [...path2, ...issueData.path || []];
26858
26731
  const fullIssue = {
26859
26732
  ...issueData,
26860
26733
  path: fullPath
@@ -26952,11 +26825,11 @@ var errorUtil;
26952
26825
  errorUtil2.toString = (message) => typeof message === "string" ? message : message === null || message === void 0 ? void 0 : message.message;
26953
26826
  })(errorUtil || (errorUtil = {}));
26954
26827
  var ParseInputLazyPath = class {
26955
- constructor(parent, value, path4, key) {
26828
+ constructor(parent, value, path2, key) {
26956
26829
  this._cachedPath = [];
26957
26830
  this.parent = parent;
26958
26831
  this.data = value;
26959
- this._path = path4;
26832
+ this._path = path2;
26960
26833
  this._key = key;
26961
26834
  }
26962
26835
  get path() {
@@ -30128,6 +30001,7 @@ var StormConfigSchema = objectType({
30128
30001
  runtimeVersion: stringType().trim().regex(
30129
30002
  /^(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-]+)*))?$/
30130
30003
  ).default("1.0.0").describe("The global version of the Storm runtime"),
30004
+ packageManager: enumType(["npm", "yarn", "pnpm", "bun"]).default("npm").describe("The package manager used by the repository"),
30131
30005
  timezone: stringType().trim().default("America/New_York").describe("The default timezone of the workspace"),
30132
30006
  locale: stringType().trim().default("en-US").describe("The default locale of the workspace"),
30133
30007
  logLevel: enumType(["silent", "fatal", "error", "warn", "info", "debug", "trace"]).optional().describe(
@@ -30155,6 +30029,7 @@ var DefaultColorConfig = {
30155
30029
  fatal: "#7d1a1a"
30156
30030
  };
30157
30031
  var DefaultStormConfig = {
30032
+ name: "storm-workspace",
30158
30033
  namespace: "storm-software",
30159
30034
  license: "Apache License 2.0",
30160
30035
  homepage: "https://stormsoftware.org",
@@ -30162,6 +30037,7 @@ var DefaultStormConfig = {
30162
30037
  owner: "@storm-software/development",
30163
30038
  worker: "stormie-bot",
30164
30039
  runtimeDirectory: "node_modules/.storm",
30040
+ packageManager: "npm",
30165
30041
  timezone: "America/New_York",
30166
30042
  locale: "en-US",
30167
30043
  env: "production",
@@ -30176,12 +30052,12 @@ var DefaultStormConfig = {
30176
30052
  var getDefaultConfig = (config = {}, root) => {
30177
30053
  let name = "storm-workspace";
30178
30054
  let namespace = "storm-software";
30179
- let repository = "https://github.com/storm-software/storm-stack";
30055
+ let repository = "https://github.com/storm-software/storm-ops";
30180
30056
  let license = DefaultStormConfig.license;
30181
30057
  let homepage = DefaultStormConfig.homepage;
30182
- const workspaceRoot = findWorkspaceRootSync(root);
30183
- if ((0, import_fs.existsSync)((0, import_path.join)(workspaceRoot, "package.json"))) {
30184
- const file = (0, import_fs.readFileSync)((0, import_path.join)(workspaceRoot, "package.json"), {
30058
+ const workspaceRoot = findWorkspaceRoot(root);
30059
+ if ((0, import_fs2.existsSync)((0, import_path2.join)(workspaceRoot, "package.json"))) {
30060
+ const file = (0, import_fs2.readFileSync)((0, import_path2.join)(workspaceRoot, "package.json"), {
30185
30061
  encoding: "utf-8"
30186
30062
  });
30187
30063
  if (file) {
@@ -30693,7 +30569,7 @@ async function presetGeneratorFn(tree, options) {
30693
30569
  };
30694
30570
  return json;
30695
30571
  });
30696
- (0, import_devkit.generateFiles)(tree, path3.join(__dirname, "files"), projectRoot, {
30572
+ (0, import_devkit.generateFiles)(tree, path.join(__dirname, "files"), projectRoot, {
30697
30573
  ...options,
30698
30574
  pnpmVersion,
30699
30575
  nodeVersion