@storm-software/workspace-tools 1.31.14 → 1.31.16

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.
@@ -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 path3 = 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 = path4.join(tree.root, file.path);
626
+ const systemPath = path3.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 path4 of ["tsconfig.base.json", "tsconfig.json"]) {
671
+ if (tree.exists(path4)) {
672
+ return path4;
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(path3) {
966
+ return binaryExtensions.has((0, path_1.extname)(path3).toLowerCase());
967
967
  }
968
968
  exports.isBinaryPath = isBinaryPath;
969
969
  }
@@ -1147,7 +1147,7 @@ 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
1149
  var fs2 = require("fs");
1150
- var path4 = require("path");
1150
+ var path3 = require("path");
1151
1151
  var utils = require_utils();
1152
1152
  var scopeOptionWarned = false;
1153
1153
  var _VERSION_STRING = require_package().version;
@@ -1178,9 +1178,9 @@ var require_ejs = __commonJS({
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;
1181
+ var dirname2 = path3.dirname;
1182
+ var extname = path3.extname;
1183
+ var resolve2 = path3.resolve;
1184
1184
  var includePath = resolve2(isDir ? filename : dirname2(filename), name);
1185
1185
  var ext = extname(name);
1186
1186
  if (!ext) {
@@ -1197,30 +1197,30 @@ var require_ejs = __commonJS({
1197
1197
  return filePath;
1198
1198
  }
1199
1199
  }
1200
- function getIncludePath(path5, options) {
1200
+ function getIncludePath(path4, 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(path4);
1205
1205
  if (match && match.length) {
1206
- path5 = path5.replace(/^\/*/, "");
1206
+ path4 = path4.replace(/^\/*/, "");
1207
1207
  if (Array.isArray(options.root)) {
1208
- includePath = resolvePaths(path5, options.root);
1208
+ includePath = resolvePaths(path4, options.root);
1209
1209
  } else {
1210
- includePath = exports.resolveInclude(path5, options.root || "/", true);
1210
+ includePath = exports.resolveInclude(path4, options.root || "/", true);
1211
1211
  }
1212
1212
  } else {
1213
1213
  if (options.filename) {
1214
- filePath = exports.resolveInclude(path5, options.filename);
1214
+ filePath = exports.resolveInclude(path4, options.filename);
1215
1215
  if (fs2.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(path4, 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(path4) + '"');
1224
1224
  }
1225
1225
  }
1226
1226
  return includePath;
@@ -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(path4, options) {
1283
1283
  var opts = utils.shallowCopy(utils.createNullProtoObjWherePossible(), options);
1284
- opts.filename = getIncludePath(path5, opts);
1284
+ opts.filename = getIncludePath(path4, opts);
1285
1285
  if (typeof options.includer === "function") {
1286
- var includerResult = options.includer(path5, opts.filename);
1286
+ var includerResult = options.includer(path4, 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(path4, 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(path4, 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 = path3.basename(filename, path3.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 path3 = 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 = path3.relative(srcFolder, filePath);
1731
+ let computedPath = path3.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 = path3.join(parent, c);
1745
1745
  try {
1746
1746
  const s = (0, fs_1.statSync)(child);
1747
1747
  if (!s.isDirectory()) {
@@ -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 path3 = 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 = path3.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 && path3.sep !== "/") {
4834
+ pattern = pattern.split(path3.sep).join("/");
4835
4835
  }
4836
4836
  this.options = options;
4837
4837
  this.set = [];
@@ -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 (path3.sep !== "/") {
5212
+ f = f.split(path3.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(path3) {
5371
+ return path3.charAt(0) === "/";
5372
5372
  }
5373
- function win32(path4) {
5373
+ function win32(path3) {
5374
5374
  var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;
5375
- var result = splitDeviceRe.exec(path4);
5375
+ var result = splitDeviceRe.exec(path3);
5376
5376
  var device = result[1] || "";
5377
5377
  var isUnc = Boolean(device && device.charAt(1) !== ":");
5378
5378
  return Boolean(result[2] || isUnc);
@@ -5397,7 +5397,7 @@ var require_common = __commonJS({
5397
5397
  return Object.prototype.hasOwnProperty.call(obj, field);
5398
5398
  }
5399
5399
  var fs2 = require("fs");
5400
- var path4 = require("path");
5400
+ var path3 = require("path");
5401
5401
  var minimatch = require_minimatch();
5402
5402
  var isAbsolute = require_path_is_absolute();
5403
5403
  var Minimatch = minimatch.Minimatch;
@@ -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 = path3.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 || path3.resolve(self.cwd, "/");
5469
+ self.root = path3.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 = path3.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 = path3.resolve(self.cwd, f);
5556
5556
  } else {
5557
- abs = path4.resolve(f);
5557
+ abs = path3.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, path4) {
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(path4) || !!(item.gmatcher && item.gmatcher.match(path4));
5568
5568
  });
5569
5569
  }
5570
- function childrenIgnored(self, path5) {
5570
+ function childrenIgnored(self, path4) {
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(path4));
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 path3 = 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 = path3.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 = path3.join(this.root, prefix);
5868
5868
  } else {
5869
- prefix = path4.resolve(this.root, prefix);
5869
+ prefix = path3.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 path3 = 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 = path3.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 = path3.join(this.root, prefix);
6535
6535
  } else {
6536
- prefix = path4.resolve(this.root, prefix);
6536
+ prefix = path3.resolve(this.root, prefix);
6537
6537
  if (trail)
6538
6538
  prefix += "/";
6539
6539
  }
@@ -6611,7 +6611,7 @@ 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");
6614
+ var path3 = require("path");
6615
6615
  var fs2 = require("fs");
6616
6616
  var glob = void 0;
6617
6617
  try {
@@ -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(path3.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(path3.join(p, f), options));
6872
6872
  const retries = isWindows ? 100 : 1;
6873
6873
  let i = 0;
6874
6874
  do {
@@ -6893,7 +6893,7 @@ var require_tmp = __commonJS({
6893
6893
  "node_modules/.pnpm/tmp@0.2.1/node_modules/tmp/lib/tmp.js"(exports, module2) {
6894
6894
  var fs2 = require("fs");
6895
6895
  var os = require("os");
6896
- var path4 = require("path");
6896
+ var path3 = require("path");
6897
6897
  var crypto = require("crypto");
6898
6898
  var _c = { fs: fs2.constants, os: os.constants };
6899
6899
  var rimraf = require_rimraf();
@@ -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 path3.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 path3.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 path3.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) ? "" : path3.relative(tmpDir, _resolvePath(options.dir, tmpDir));
7152
+ options.template = _isUndefined(options.template) ? void 0 : path3.relative(tmpDir, _resolvePath(options.template, tmpDir));
7153
+ options.template = _isBlank(options.template) ? void 0 : path3.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 path3.resolve(sanitizedName);
7162
7162
  } else {
7163
- return path4.resolve(path4.join(tmpDir, sanitizedName));
7163
+ return path3.resolve(path3.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 (path3.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 = path3.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 (path3.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 path3.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 = (path3, originalPath, doThrow) => {
7813
+ if (!isString(path3)) {
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 (!path3) {
7820
7820
  return doThrow(`path must not be empty`, TypeError);
7821
7821
  }
7822
- if (checkPath.isNotRelative(path4)) {
7822
+ if (checkPath.isNotRelative(path3)) {
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 = (path3) => REGEX_TEST_INVALID_PATH.test(path3);
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(path3, 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(path3);
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 path3 = originalPath && checkPath.convert(originalPath);
7912
7912
  checkPath(
7913
- path4,
7913
+ path3,
7914
7914
  originalPath,
7915
7915
  this._allowRelativePaths ? RETURN_FALSE : throwError
7916
7916
  );
7917
- return this._t(path4, cache, checkUnignored, slices);
7917
+ return this._t(path3, cache, checkUnignored, slices);
7918
7918
  }
7919
- _t(path4, cache, checkUnignored, slices) {
7920
- if (path4 in cache) {
7921
- return cache[path4];
7919
+ _t(path3, cache, checkUnignored, slices) {
7920
+ if (path3 in cache) {
7921
+ return cache[path3];
7922
7922
  }
7923
7923
  if (!slices) {
7924
- slices = path4.split(SLASH);
7924
+ slices = path3.split(SLASH);
7925
7925
  }
7926
7926
  slices.pop();
7927
7927
  if (!slices.length) {
7928
- return cache[path4] = this._testOne(path4, checkUnignored);
7928
+ return cache[path3] = this._testOne(path3, 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[path3] = parent.ignored ? parent : this._testOne(path3, checkUnignored);
7937
7937
  }
7938
- ignores(path4) {
7939
- return this._test(path4, this._ignoreCache, false).ignored;
7938
+ ignores(path3) {
7939
+ return this._test(path3, this._ignoreCache, false).ignored;
7940
7940
  }
7941
7941
  createFilter() {
7942
- return (path4) => !this.ignores(path4);
7942
+ return (path3) => !this.ignores(path3);
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(path3) {
7949
+ return this._test(path3, 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 = (path3) => checkPath(path3 && checkPath.convert(path3), path3, 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 = (path3) => REGIX_IS_WINDOWS_PATH_ABSOLUTE.test(path3) || isNotRelative(path3);
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(path3, root) {
8006
+ return (0, path_1.relative)(root, (0, path_1.join)(root, path3)).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(path3) {
8388
+ return (0, path_1.relative)(this.root, (0, path_1.join)(this.root, path3));
8389
8389
  }
8390
8390
  read(filePath, encoding) {
8391
8391
  return encoding ? this.tree.read(filePath).toString(encoding) : this.tree.read(filePath);
@@ -18236,7 +18236,7 @@ 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 path3 = require("path");
18240
18240
  var Module = require("module");
18241
18241
  var fs2 = require("fs");
18242
18242
  var resolveFrom = (fromDir, moduleId, silent) => {
@@ -18250,14 +18250,14 @@ var require_resolve_from = __commonJS({
18250
18250
  fromDir = fs2.realpathSync(fromDir);
18251
18251
  } catch (err) {
18252
18252
  if (err.code === "ENOENT") {
18253
- fromDir = path4.resolve(fromDir);
18253
+ fromDir = path3.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 = path3.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 path3 = 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 ? path3.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 path3 = [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
+ path3.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 = path3;
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, (path3) => typescript.sys.readFile(path3));
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 path3 = 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 = path3.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: path3.join(library, "Application Support", name),
23918
+ config: path3.join(library, "Preferences", name),
23919
+ cache: path3.join(library, "Caches", name),
23920
+ log: path3.join(library, "Logs", name),
23921
+ temp: path3.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 || path3.join(homedir, "AppData", "Roaming");
23926
+ const localAppData = env.LOCALAPPDATA || path3.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: path3.join(localAppData, name, "Data"),
23930
+ config: path3.join(appData, name, "Config"),
23931
+ cache: path3.join(localAppData, name, "Cache"),
23932
+ log: path3.join(localAppData, name, "Log"),
23933
+ temp: path3.join(tmpdir, name)
23934
23934
  };
23935
23935
  };
23936
23936
  var linux = (name) => {
23937
- const username = path4.basename(homedir);
23937
+ const username = path3.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: path3.join(env.XDG_DATA_HOME || path3.join(homedir, ".local", "share"), name),
23940
+ config: path3.join(env.XDG_CONFIG_HOME || path3.join(homedir, ".config"), name),
23941
+ cache: path3.join(env.XDG_CACHE_HOME || path3.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: path3.join(env.XDG_STATE_HOME || path3.join(homedir, ".local", "state"), name),
23944
+ temp: path3.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, path3) {
24018
+ if (typeof path3 === "string" && Object.prototype.hasOwnProperty.call(source, path3)) {
24019
+ return source[path3];
24020
24020
  }
24021
- const parsedPath = typeof path4 === "string" ? path4.split(".") : path4;
24021
+ const parsedPath = typeof path3 === "string" ? path3.split(".") : path3;
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(path3) {
24035
24035
  try {
24036
- const stat = await fs_1.promises.stat(path4);
24036
+ const stat = await fs_1.promises.stat(path3);
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(path3) {
24047
24047
  try {
24048
- const stat = fs_1.default.statSync(path4);
24048
+ const stat = fs_1.default.statSync(path3);
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((path3, i) => `${i + 1}. ${path3}`).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(path3) {
24332
24332
  try {
24333
- await promises_1.default.stat(path4);
24333
+ await promises_1.default.stat(path3);
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(path3) {
24490
24490
  try {
24491
- fs_1.default.statSync(path4);
24491
+ fs_1.default.statSync(path3);
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((path3) => path3.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 path3 = [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
+ path3.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 = path3;
25587
25587
  return fn;
25588
25588
  }
25589
25589
  module2.exports = function(fromModel) {
@@ -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(path4) {
31035
- process.env.INIT_CWD = (0, path_1.join)(workspaceRoot, path4);
31034
+ function setCwd(path3) {
31035
+ process.env.INIT_CWD = (0, path_1.join)(workspaceRoot, path3);
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 path4 of ["tsconfig.base.json", "tsconfig.json"]) {
31410
- if (tree.exists(path4)) {
31411
- return path4;
31409
+ for (const path3 of ["tsconfig.base.json", "tsconfig.json"]) {
31410
+ if (tree.exists(path3)) {
31411
+ return path3;
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 path4 = require("path");
31481
+ var path3 = 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: path4.join(cacheDir, ".tsbuildinfo")
31514
+ tsBuildInfoFile: path3.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 = path4.relative(workspaceRoot, diagnostic.file.fileName);
31579
+ const fileName = path3.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 path4 of ["tsconfig.base.json", "tsconfig.json"]) {
31898
- if (tree.exists(path4)) {
31899
- return path4;
31897
+ for (const path3 of ["tsconfig.base.json", "tsconfig.json"]) {
31898
+ if (tree.exists(path3)) {
31899
+ return path3;
31900
31900
  }
31901
31901
  }
31902
31902
  return "tsconfig.base.json";
@@ -32493,7 +32493,7 @@ var require_polyfills = __commonJS({
32493
32493
  fs2.fstatSync = statFixSync(fs2.fstatSync);
32494
32494
  fs2.lstatSync = statFixSync(fs2.lstatSync);
32495
32495
  if (fs2.chmod && !fs2.lchmod) {
32496
- fs2.lchmod = function(path4, mode, cb) {
32496
+ fs2.lchmod = function(path3, mode, cb) {
32497
32497
  if (cb)
32498
32498
  process.nextTick(cb);
32499
32499
  };
@@ -32501,7 +32501,7 @@ var require_polyfills = __commonJS({
32501
32501
  };
32502
32502
  }
32503
32503
  if (fs2.chown && !fs2.lchown) {
32504
- fs2.lchown = function(path4, uid, gid, cb) {
32504
+ fs2.lchown = function(path3, uid, gid, cb) {
32505
32505
  if (cb)
32506
32506
  process.nextTick(cb);
32507
32507
  };
@@ -32572,9 +32572,9 @@ var require_polyfills = __commonJS({
32572
32572
  };
32573
32573
  }(fs2.readSync);
32574
32574
  function patchLchmod(fs3) {
32575
- fs3.lchmod = function(path4, mode, callback) {
32575
+ fs3.lchmod = function(path3, mode, callback) {
32576
32576
  fs3.open(
32577
- path4,
32577
+ path3,
32578
32578
  constants.O_WRONLY | constants.O_SYMLINK,
32579
32579
  mode,
32580
32580
  function(err, fd) {
@@ -32592,8 +32592,8 @@ var require_polyfills = __commonJS({
32592
32592
  }
32593
32593
  );
32594
32594
  };
32595
- fs3.lchmodSync = function(path4, mode) {
32596
- var fd = fs3.openSync(path4, constants.O_WRONLY | constants.O_SYMLINK, mode);
32595
+ fs3.lchmodSync = function(path3, mode) {
32596
+ var fd = fs3.openSync(path3, constants.O_WRONLY | constants.O_SYMLINK, mode);
32597
32597
  var threw = true;
32598
32598
  var ret;
32599
32599
  try {
@@ -32614,8 +32614,8 @@ var require_polyfills = __commonJS({
32614
32614
  }
32615
32615
  function patchLutimes(fs3) {
32616
32616
  if (constants.hasOwnProperty("O_SYMLINK") && fs3.futimes) {
32617
- fs3.lutimes = function(path4, at, mt, cb) {
32618
- fs3.open(path4, constants.O_SYMLINK, function(er, fd) {
32617
+ fs3.lutimes = function(path3, at, mt, cb) {
32618
+ fs3.open(path3, constants.O_SYMLINK, function(er, fd) {
32619
32619
  if (er) {
32620
32620
  if (cb)
32621
32621
  cb(er);
@@ -32629,8 +32629,8 @@ var require_polyfills = __commonJS({
32629
32629
  });
32630
32630
  });
32631
32631
  };
32632
- fs3.lutimesSync = function(path4, at, mt) {
32633
- var fd = fs3.openSync(path4, constants.O_SYMLINK);
32632
+ fs3.lutimesSync = function(path3, at, mt) {
32633
+ var fd = fs3.openSync(path3, constants.O_SYMLINK);
32634
32634
  var ret;
32635
32635
  var threw = true;
32636
32636
  try {
@@ -32766,12 +32766,12 @@ var require_legacy_streams = __commonJS({
32766
32766
  ReadStream,
32767
32767
  WriteStream
32768
32768
  };
32769
- function ReadStream(path4, options) {
32769
+ function ReadStream(path3, options) {
32770
32770
  if (!(this instanceof ReadStream))
32771
- return new ReadStream(path4, options);
32771
+ return new ReadStream(path3, options);
32772
32772
  Stream.call(this);
32773
32773
  var self = this;
32774
- this.path = path4;
32774
+ this.path = path3;
32775
32775
  this.fd = null;
32776
32776
  this.readable = true;
32777
32777
  this.paused = false;
@@ -32817,11 +32817,11 @@ var require_legacy_streams = __commonJS({
32817
32817
  self._read();
32818
32818
  });
32819
32819
  }
32820
- function WriteStream(path4, options) {
32820
+ function WriteStream(path3, options) {
32821
32821
  if (!(this instanceof WriteStream))
32822
- return new WriteStream(path4, options);
32822
+ return new WriteStream(path3, options);
32823
32823
  Stream.call(this);
32824
- this.path = path4;
32824
+ this.path = path3;
32825
32825
  this.fd = null;
32826
32826
  this.writable = true;
32827
32827
  this.flags = "w";
@@ -32964,14 +32964,14 @@ var require_graceful_fs = __commonJS({
32964
32964
  fs3.createWriteStream = createWriteStream;
32965
32965
  var fs$readFile = fs3.readFile;
32966
32966
  fs3.readFile = readFile;
32967
- function readFile(path4, options, cb) {
32967
+ function readFile(path3, options, cb) {
32968
32968
  if (typeof options === "function")
32969
32969
  cb = options, options = null;
32970
- return go$readFile(path4, options, cb);
32971
- function go$readFile(path5, options2, cb2, startTime) {
32972
- return fs$readFile(path5, options2, function(err) {
32970
+ return go$readFile(path3, options, cb);
32971
+ function go$readFile(path4, options2, cb2, startTime) {
32972
+ return fs$readFile(path4, options2, function(err) {
32973
32973
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
32974
- enqueue([go$readFile, [path5, options2, cb2], err, startTime || Date.now(), Date.now()]);
32974
+ enqueue([go$readFile, [path4, options2, cb2], err, startTime || Date.now(), Date.now()]);
32975
32975
  else {
32976
32976
  if (typeof cb2 === "function")
32977
32977
  cb2.apply(this, arguments);
@@ -32981,14 +32981,14 @@ var require_graceful_fs = __commonJS({
32981
32981
  }
32982
32982
  var fs$writeFile = fs3.writeFile;
32983
32983
  fs3.writeFile = writeFile;
32984
- function writeFile(path4, data, options, cb) {
32984
+ function writeFile(path3, data, options, cb) {
32985
32985
  if (typeof options === "function")
32986
32986
  cb = options, options = null;
32987
- return go$writeFile(path4, data, options, cb);
32988
- function go$writeFile(path5, data2, options2, cb2, startTime) {
32989
- return fs$writeFile(path5, data2, options2, function(err) {
32987
+ return go$writeFile(path3, data, options, cb);
32988
+ function go$writeFile(path4, data2, options2, cb2, startTime) {
32989
+ return fs$writeFile(path4, data2, options2, function(err) {
32990
32990
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
32991
- enqueue([go$writeFile, [path5, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
32991
+ enqueue([go$writeFile, [path4, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
32992
32992
  else {
32993
32993
  if (typeof cb2 === "function")
32994
32994
  cb2.apply(this, arguments);
@@ -32999,14 +32999,14 @@ var require_graceful_fs = __commonJS({
32999
32999
  var fs$appendFile = fs3.appendFile;
33000
33000
  if (fs$appendFile)
33001
33001
  fs3.appendFile = appendFile;
33002
- function appendFile(path4, data, options, cb) {
33002
+ function appendFile(path3, data, options, cb) {
33003
33003
  if (typeof options === "function")
33004
33004
  cb = options, options = null;
33005
- return go$appendFile(path4, data, options, cb);
33006
- function go$appendFile(path5, data2, options2, cb2, startTime) {
33007
- return fs$appendFile(path5, data2, options2, function(err) {
33005
+ return go$appendFile(path3, data, options, cb);
33006
+ function go$appendFile(path4, data2, options2, cb2, startTime) {
33007
+ return fs$appendFile(path4, data2, options2, function(err) {
33008
33008
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
33009
- enqueue([go$appendFile, [path5, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
33009
+ enqueue([go$appendFile, [path4, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
33010
33010
  else {
33011
33011
  if (typeof cb2 === "function")
33012
33012
  cb2.apply(this, arguments);
@@ -33037,31 +33037,31 @@ var require_graceful_fs = __commonJS({
33037
33037
  var fs$readdir = fs3.readdir;
33038
33038
  fs3.readdir = readdir;
33039
33039
  var noReaddirOptionVersions = /^v[0-5]\./;
33040
- function readdir(path4, options, cb) {
33040
+ function readdir(path3, 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(path5, options2, cb2, startTime) {
33044
- return fs$readdir(path5, fs$readdirCallback(
33045
- path5,
33043
+ var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path4, options2, cb2, startTime) {
33044
+ return fs$readdir(path4, fs$readdirCallback(
33045
+ path4,
33046
33046
  options2,
33047
33047
  cb2,
33048
33048
  startTime
33049
33049
  ));
33050
- } : function go$readdir2(path5, options2, cb2, startTime) {
33051
- return fs$readdir(path5, options2, fs$readdirCallback(
33052
- path5,
33050
+ } : function go$readdir2(path4, options2, cb2, startTime) {
33051
+ return fs$readdir(path4, options2, fs$readdirCallback(
33052
+ path4,
33053
33053
  options2,
33054
33054
  cb2,
33055
33055
  startTime
33056
33056
  ));
33057
33057
  };
33058
- return go$readdir(path4, options, cb);
33059
- function fs$readdirCallback(path5, options2, cb2, startTime) {
33058
+ return go$readdir(path3, options, cb);
33059
+ function fs$readdirCallback(path4, 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
- [path5, options2, cb2],
33064
+ [path4, options2, cb2],
33065
33065
  err,
33066
33066
  startTime || Date.now(),
33067
33067
  Date.now()
@@ -33132,7 +33132,7 @@ var require_graceful_fs = __commonJS({
33132
33132
  enumerable: true,
33133
33133
  configurable: true
33134
33134
  });
33135
- function ReadStream(path4, options) {
33135
+ function ReadStream(path3, 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(path4, options) {
33155
+ function WriteStream(path3, 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(path4, options) {
33174
- return new fs3.ReadStream(path4, options);
33173
+ function createReadStream(path3, options) {
33174
+ return new fs3.ReadStream(path3, options);
33175
33175
  }
33176
- function createWriteStream(path4, options) {
33177
- return new fs3.WriteStream(path4, options);
33176
+ function createWriteStream(path3, options) {
33177
+ return new fs3.WriteStream(path3, options);
33178
33178
  }
33179
33179
  var fs$open = fs3.open;
33180
33180
  fs3.open = open;
33181
- function open(path4, flags, mode, cb) {
33181
+ function open(path3, flags, mode, cb) {
33182
33182
  if (typeof mode === "function")
33183
33183
  cb = mode, mode = null;
33184
- return go$open(path4, flags, mode, cb);
33185
- function go$open(path5, flags2, mode2, cb2, startTime) {
33186
- return fs$open(path5, flags2, mode2, function(err, fd) {
33184
+ return go$open(path3, flags, mode, cb);
33185
+ function go$open(path4, flags2, mode2, cb2, startTime) {
33186
+ return fs$open(path4, flags2, mode2, function(err, fd) {
33187
33187
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
33188
- enqueue([go$open, [path5, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
33188
+ enqueue([go$open, [path4, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
33189
33189
  else {
33190
33190
  if (typeof cb2 === "function")
33191
33191
  cb2.apply(this, arguments);
@@ -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 path4 = require("path");
33371
+ var path3 = require("path");
33372
33372
  module2.exports.checkPath = function checkPath(pth) {
33373
33373
  if (process.platform === "win32") {
33374
- const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path4.parse(pth).root, ""));
33374
+ const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path3.parse(pth).root, ""));
33375
33375
  if (pathHasInvalidWinCharacters) {
33376
33376
  const error = new Error(`Path contains invalid characters: ${pth}`);
33377
33377
  error.code = "EINVAL";
@@ -33436,8 +33436,8 @@ var require_path_exists = __commonJS({
33436
33436
  "use strict";
33437
33437
  var u = require_universalify().fromPromise;
33438
33438
  var fs2 = require_fs2();
33439
- function pathExists(path4) {
33440
- return fs2.access(path4).then(() => true).catch(() => false);
33439
+ function pathExists(path3) {
33440
+ return fs2.access(path3).then(() => true).catch(() => false);
33441
33441
  }
33442
33442
  module2.exports = {
33443
33443
  pathExists: u(pathExists),
@@ -33452,8 +33452,8 @@ var require_utimes = __commonJS({
33452
33452
  "use strict";
33453
33453
  var fs2 = require_fs2();
33454
33454
  var u = require_universalify().fromPromise;
33455
- async function utimesMillis(path4, atime, mtime) {
33456
- const fd = await fs2.open(path4, "r+");
33455
+ async function utimesMillis(path3, atime, mtime) {
33456
+ const fd = await fs2.open(path3, "r+");
33457
33457
  let closeErr = null;
33458
33458
  try {
33459
33459
  await fs2.futimes(fd, atime, mtime);
@@ -33468,8 +33468,8 @@ var require_utimes = __commonJS({
33468
33468
  throw closeErr;
33469
33469
  }
33470
33470
  }
33471
- function utimesMillisSync(path4, atime, mtime) {
33472
- const fd = fs2.openSync(path4, "r+");
33471
+ function utimesMillisSync(path3, atime, mtime) {
33472
+ const fd = fs2.openSync(path3, "r+");
33473
33473
  fs2.futimesSync(fd, atime, mtime);
33474
33474
  return fs2.closeSync(fd);
33475
33475
  }
@@ -33485,7 +33485,7 @@ 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
33487
  var fs2 = require_fs2();
33488
- var path4 = require("path");
33488
+ var path3 = require("path");
33489
33489
  var u = require_universalify().fromPromise;
33490
33490
  function getStats(src, dest, opts) {
33491
33491
  const statFunc = opts.dereference ? (file) => fs2.stat(file, { bigint: true }) : (file) => fs2.lstat(file, { bigint: true });
@@ -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 = path4.basename(src);
33519
- const destBaseName = path4.basename(dest);
33518
+ const srcBaseName = path3.basename(src);
33519
+ const destBaseName = path3.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 = path4.basename(src);
33542
- const destBaseName = path4.basename(dest);
33541
+ const srcBaseName = path3.basename(src);
33542
+ const destBaseName = path3.basename(dest);
33543
33543
  if (funcName === "move" && srcBaseName !== destBaseName && srcBaseName.toLowerCase() === destBaseName.toLowerCase()) {
33544
33544
  return { srcStat, destStat, isChangingCase: true };
33545
33545
  }
@@ -33558,9 +33558,9 @@ var require_stat = __commonJS({
33558
33558
  return { srcStat, destStat };
33559
33559
  }
33560
33560
  async function checkParentPaths(src, srcStat, dest, funcName) {
33561
- const srcParent = path4.resolve(path4.dirname(src));
33562
- const destParent = path4.resolve(path4.dirname(dest));
33563
- if (destParent === srcParent || destParent === path4.parse(destParent).root)
33561
+ const srcParent = path3.resolve(path3.dirname(src));
33562
+ const destParent = path3.resolve(path3.dirname(dest));
33563
+ if (destParent === srcParent || destParent === path3.parse(destParent).root)
33564
33564
  return;
33565
33565
  let destStat;
33566
33566
  try {
@@ -33576,9 +33576,9 @@ 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 = path4.resolve(path4.dirname(src));
33580
- const destParent = path4.resolve(path4.dirname(dest));
33581
- if (destParent === srcParent || destParent === path4.parse(destParent).root)
33579
+ const srcParent = path3.resolve(path3.dirname(src));
33580
+ const destParent = path3.resolve(path3.dirname(dest));
33581
+ if (destParent === srcParent || destParent === path3.parse(destParent).root)
33582
33582
  return;
33583
33583
  let destStat;
33584
33584
  try {
@@ -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 = path4.resolve(src).split(path4.sep).filter((i) => i);
33601
- const destArr = path4.resolve(dest).split(path4.sep).filter((i) => i);
33600
+ const srcArr = path3.resolve(src).split(path3.sep).filter((i) => i);
33601
+ const destArr = path3.resolve(dest).split(path3.sep).filter((i) => i);
33602
33602
  return srcArr.every((cur, i) => destArr[i] === cur);
33603
33603
  }
33604
33604
  function errMsg(src, dest, funcName) {
@@ -33623,7 +33623,7 @@ 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
33625
  var fs2 = require_fs2();
33626
- var path4 = require("path");
33626
+ var path3 = 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 = path4.dirname(dest);
33649
+ const destParent = path3.dirname(dest);
33650
33650
  const dirExists = await pathExists(destParent);
33651
33651
  if (!dirExists) {
33652
33652
  await mkdirs(destParent);
@@ -33707,8 +33707,8 @@ var require_copy = __commonJS({
33707
33707
  }
33708
33708
  const items = await fs2.readdir(src);
33709
33709
  await Promise.all(items.map(async (item) => {
33710
- const srcItem = path4.join(src, item);
33711
- const destItem = path4.join(dest, item);
33710
+ const srcItem = path3.join(src, item);
33711
+ const destItem = path3.join(dest, item);
33712
33712
  const include = await runFilter(srcItem, destItem, opts);
33713
33713
  if (!include)
33714
33714
  return;
@@ -33722,7 +33722,7 @@ var require_copy = __commonJS({
33722
33722
  async function onLink(destStat, src, dest, opts) {
33723
33723
  let resolvedSrc = await fs2.readlink(src);
33724
33724
  if (opts.dereference) {
33725
- resolvedSrc = path4.resolve(process.cwd(), resolvedSrc);
33725
+ resolvedSrc = path3.resolve(process.cwd(), resolvedSrc);
33726
33726
  }
33727
33727
  if (!destStat) {
33728
33728
  return fs2.symlink(resolvedSrc, dest);
@@ -33736,7 +33736,7 @@ var require_copy = __commonJS({
33736
33736
  throw e;
33737
33737
  }
33738
33738
  if (opts.dereference) {
33739
- resolvedDest = path4.resolve(process.cwd(), resolvedDest);
33739
+ resolvedDest = path3.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}'.`);
@@ -33756,7 +33756,7 @@ 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
33758
  var fs2 = require_graceful_fs();
33759
- var path4 = require("path");
33759
+ var path3 = require("path");
33760
33760
  var mkdirsSync = require_mkdirs().mkdirsSync;
33761
33761
  var utimesMillisSync = require_utimes().utimesMillisSync;
33762
33762
  var stat = require_stat();
@@ -33778,7 +33778,7 @@ 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 = path4.dirname(dest);
33781
+ const destParent = path3.dirname(dest);
33782
33782
  if (!fs2.existsSync(destParent))
33783
33783
  mkdirsSync(destParent);
33784
33784
  return getStats(destStat, src, dest, opts);
@@ -33849,8 +33849,8 @@ var require_copy_sync = __commonJS({
33849
33849
  fs2.readdirSync(src).forEach((item) => copyDirItem(item, src, dest, opts));
33850
33850
  }
33851
33851
  function copyDirItem(item, src, dest, opts) {
33852
- const srcItem = path4.join(src, item);
33853
- const destItem = path4.join(dest, item);
33852
+ const srcItem = path3.join(src, item);
33853
+ const destItem = path3.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);
@@ -33859,7 +33859,7 @@ var require_copy_sync = __commonJS({
33859
33859
  function onLink(destStat, src, dest, opts) {
33860
33860
  let resolvedSrc = fs2.readlinkSync(src);
33861
33861
  if (opts.dereference) {
33862
- resolvedSrc = path4.resolve(process.cwd(), resolvedSrc);
33862
+ resolvedSrc = path3.resolve(process.cwd(), resolvedSrc);
33863
33863
  }
33864
33864
  if (!destStat) {
33865
33865
  return fs2.symlinkSync(resolvedSrc, dest);
@@ -33873,7 +33873,7 @@ var require_copy_sync = __commonJS({
33873
33873
  throw err;
33874
33874
  }
33875
33875
  if (opts.dereference) {
33876
- resolvedDest = path4.resolve(process.cwd(), resolvedDest);
33876
+ resolvedDest = path3.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}'.`);
@@ -33910,11 +33910,11 @@ var require_remove = __commonJS({
33910
33910
  "use strict";
33911
33911
  var fs2 = require_graceful_fs();
33912
33912
  var u = require_universalify().fromCallback;
33913
- function remove(path4, callback) {
33914
- fs2.rm(path4, { recursive: true, force: true }, callback);
33913
+ function remove(path3, callback) {
33914
+ fs2.rm(path3, { recursive: true, force: true }, callback);
33915
33915
  }
33916
- function removeSync(path4) {
33917
- fs2.rmSync(path4, { recursive: true, force: true });
33916
+ function removeSync(path3) {
33917
+ fs2.rmSync(path3, { recursive: true, force: true });
33918
33918
  }
33919
33919
  module2.exports = {
33920
33920
  remove: u(remove),
@@ -33929,7 +33929,7 @@ var require_empty2 = __commonJS({
33929
33929
  "use strict";
33930
33930
  var u = require_universalify().fromPromise;
33931
33931
  var fs2 = require_fs2();
33932
- var path4 = require("path");
33932
+ var path3 = require("path");
33933
33933
  var mkdir = require_mkdirs();
33934
33934
  var remove = require_remove();
33935
33935
  var emptyDir = u(async function emptyDir2(dir) {
@@ -33939,7 +33939,7 @@ var require_empty2 = __commonJS({
33939
33939
  } catch {
33940
33940
  return mkdir.mkdirs(dir);
33941
33941
  }
33942
- return Promise.all(items.map((item) => remove.remove(path4.join(dir, item))));
33942
+ return Promise.all(items.map((item) => remove.remove(path3.join(dir, item))));
33943
33943
  });
33944
33944
  function emptyDirSync(dir) {
33945
33945
  let items;
@@ -33949,7 +33949,7 @@ var require_empty2 = __commonJS({
33949
33949
  return mkdir.mkdirsSync(dir);
33950
33950
  }
33951
33951
  items.forEach((item) => {
33952
- item = path4.join(dir, item);
33952
+ item = path3.join(dir, item);
33953
33953
  remove.removeSync(item);
33954
33954
  });
33955
33955
  }
@@ -33967,7 +33967,7 @@ 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 path4 = require("path");
33970
+ var path3 = require("path");
33971
33971
  var fs2 = require_fs2();
33972
33972
  var mkdir = require_mkdirs();
33973
33973
  async function createFile(file) {
@@ -33978,7 +33978,7 @@ var require_file = __commonJS({
33978
33978
  }
33979
33979
  if (stats && stats.isFile())
33980
33980
  return;
33981
- const dir = path4.dirname(file);
33981
+ const dir = path3.dirname(file);
33982
33982
  let dirStats = null;
33983
33983
  try {
33984
33984
  dirStats = await fs2.stat(dir);
@@ -34005,7 +34005,7 @@ var require_file = __commonJS({
34005
34005
  }
34006
34006
  if (stats && stats.isFile())
34007
34007
  return;
34008
- const dir = path4.dirname(file);
34008
+ const dir = path3.dirname(file);
34009
34009
  try {
34010
34010
  if (!fs2.statSync(dir).isDirectory()) {
34011
34011
  fs2.readdirSync(dir);
@@ -34030,7 +34030,7 @@ 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 path4 = require("path");
34033
+ var path3 = require("path");
34034
34034
  var fs2 = require_fs2();
34035
34035
  var mkdir = require_mkdirs();
34036
34036
  var { pathExists } = require_path_exists();
@@ -34050,7 +34050,7 @@ var require_link = __commonJS({
34050
34050
  }
34051
34051
  if (dstStat && areIdentical(srcStat, dstStat))
34052
34052
  return;
34053
- const dir = path4.dirname(dstpath);
34053
+ const dir = path3.dirname(dstpath);
34054
34054
  const dirExists = await pathExists(dir);
34055
34055
  if (!dirExists) {
34056
34056
  await mkdir.mkdirs(dir);
@@ -34071,7 +34071,7 @@ var require_link = __commonJS({
34071
34071
  err.message = err.message.replace("lstat", "ensureLink");
34072
34072
  throw err;
34073
34073
  }
34074
- const dir = path4.dirname(dstpath);
34074
+ const dir = path3.dirname(dstpath);
34075
34075
  const dirExists = fs2.existsSync(dir);
34076
34076
  if (dirExists)
34077
34077
  return fs2.linkSync(srcpath, dstpath);
@@ -34089,12 +34089,12 @@ 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 path4 = require("path");
34092
+ var path3 = require("path");
34093
34093
  var fs2 = 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 (path4.isAbsolute(srcpath)) {
34097
+ if (path3.isAbsolute(srcpath)) {
34098
34098
  try {
34099
34099
  await fs2.lstat(srcpath);
34100
34100
  } catch (err) {
@@ -34106,8 +34106,8 @@ var require_symlink_paths = __commonJS({
34106
34106
  toDst: srcpath
34107
34107
  };
34108
34108
  }
34109
- const dstdir = path4.dirname(dstpath);
34110
- const relativeToDst = path4.join(dstdir, srcpath);
34109
+ const dstdir = path3.dirname(dstpath);
34110
+ const relativeToDst = path3.join(dstdir, srcpath);
34111
34111
  const exists = await pathExists(relativeToDst);
34112
34112
  if (exists) {
34113
34113
  return {
@@ -34123,11 +34123,11 @@ var require_symlink_paths = __commonJS({
34123
34123
  }
34124
34124
  return {
34125
34125
  toCwd: srcpath,
34126
- toDst: path4.relative(dstdir, srcpath)
34126
+ toDst: path3.relative(dstdir, srcpath)
34127
34127
  };
34128
34128
  }
34129
34129
  function symlinkPathsSync(srcpath, dstpath) {
34130
- if (path4.isAbsolute(srcpath)) {
34130
+ if (path3.isAbsolute(srcpath)) {
34131
34131
  const exists2 = fs2.existsSync(srcpath);
34132
34132
  if (!exists2)
34133
34133
  throw new Error("absolute srcpath does not exist");
@@ -34136,8 +34136,8 @@ var require_symlink_paths = __commonJS({
34136
34136
  toDst: srcpath
34137
34137
  };
34138
34138
  }
34139
- const dstdir = path4.dirname(dstpath);
34140
- const relativeToDst = path4.join(dstdir, srcpath);
34139
+ const dstdir = path3.dirname(dstpath);
34140
+ const relativeToDst = path3.join(dstdir, srcpath);
34141
34141
  const exists = fs2.existsSync(relativeToDst);
34142
34142
  if (exists) {
34143
34143
  return {
@@ -34150,7 +34150,7 @@ var require_symlink_paths = __commonJS({
34150
34150
  throw new Error("relative srcpath does not exist");
34151
34151
  return {
34152
34152
  toCwd: srcpath,
34153
- toDst: path4.relative(dstdir, srcpath)
34153
+ toDst: path3.relative(dstdir, srcpath)
34154
34154
  };
34155
34155
  }
34156
34156
  module2.exports = {
@@ -34200,7 +34200,7 @@ 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 path4 = require("path");
34203
+ var path3 = require("path");
34204
34204
  var fs2 = require_fs2();
34205
34205
  var { mkdirs, mkdirsSync } = require_mkdirs();
34206
34206
  var { symlinkPaths, symlinkPathsSync } = require_symlink_paths();
@@ -34224,7 +34224,7 @@ 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 = path4.dirname(dstpath);
34227
+ const dir = path3.dirname(dstpath);
34228
34228
  if (!await pathExists(dir)) {
34229
34229
  await mkdirs(dir);
34230
34230
  }
@@ -34245,7 +34245,7 @@ var require_symlink = __commonJS({
34245
34245
  const relative = symlinkPathsSync(srcpath, dstpath);
34246
34246
  srcpath = relative.toDst;
34247
34247
  type = symlinkTypeSync(relative.toCwd, type);
34248
- const dir = path4.dirname(dstpath);
34248
+ const dir = path3.dirname(dstpath);
34249
34249
  const exists = fs2.existsSync(dir);
34250
34250
  if (exists)
34251
34251
  return fs2.symlinkSync(srcpath, dstpath, type);
@@ -34397,18 +34397,18 @@ var require_output_file = __commonJS({
34397
34397
  "use strict";
34398
34398
  var u = require_universalify().fromPromise;
34399
34399
  var fs2 = require_fs2();
34400
- var path4 = require("path");
34400
+ var path3 = 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 = path4.dirname(file);
34404
+ const dir = path3.dirname(file);
34405
34405
  if (!await pathExists(dir)) {
34406
34406
  await mkdir.mkdirs(dir);
34407
34407
  }
34408
34408
  return fs2.writeFile(file, data, encoding);
34409
34409
  }
34410
34410
  function outputFileSync(file, ...args) {
34411
- const dir = path4.dirname(file);
34411
+ const dir = path3.dirname(file);
34412
34412
  if (!fs2.existsSync(dir)) {
34413
34413
  mkdir.mkdirsSync(dir);
34414
34414
  }
@@ -34472,7 +34472,7 @@ 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
34474
  var fs2 = require_fs2();
34475
- var path4 = require("path");
34475
+ var path3 = 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 = path4.dirname(dest);
34486
- const parsedParentPath = path4.parse(destParent);
34485
+ const destParent = path3.dirname(dest);
34486
+ const parsedParentPath = path3.parse(destParent);
34487
34487
  if (parsedParentPath.root !== destParent) {
34488
34488
  await mkdirp(destParent);
34489
34489
  }
@@ -34524,7 +34524,7 @@ 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
34526
  var fs2 = require_graceful_fs();
34527
- var path4 = require("path");
34527
+ var path3 = 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(path4.dirname(dest));
34538
+ mkdirpSync(path3.dirname(dest));
34539
34539
  return doRename(src, dest, overwrite, isChangingCase);
34540
34540
  }
34541
34541
  function isParentRoot(dest) {
34542
- const parent = path4.dirname(dest);
34543
- const parsedPath = path4.parse(parent);
34542
+ const parent = path3.dirname(dest);
34543
+ const parsedPath = path3.parse(parent);
34544
34544
  return parsedPath.root === parent;
34545
34545
  }
34546
34546
  function doRename(src, dest, overwrite, isChangingCase) {
@@ -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 path4 of pathsKeys) {
35037
+ for (const path3 of pathsKeys) {
35038
35038
  const nestedName = `${dep.name}/`;
35039
- if (path4.startsWith(nestedName)) {
35040
- const nestedPart = path4.slice(nestedName.length);
35039
+ if (path3.startsWith(nestedName)) {
35040
+ const nestedPart = path3.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[path4].flatMap((path5) => dep.outputs.map((output) => path5.replace(root, output))));
35044
+ mappedPaths = mappedPaths.concat(paths[path3].flatMap((path4) => dep.outputs.map((output) => path4.replace(root, output))));
35045
35045
  }
35046
- paths[path4] = mappedPaths;
35046
+ paths[path3] = 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 path4 = (() => {
35180
+ var path3 = (() => {
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 = path4.sep;
35188
+ minimatch.sep = path3.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 (path4.sep !== "/") {
35283
- pattern = pattern.split(path4.sep).join("/");
35282
+ if (path3.sep !== "/") {
35283
+ pattern = pattern.split(path3.sep).join("/");
35284
35284
  }
35285
35285
  this.options = options;
35286
35286
  this.set = [];
@@ -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 (path4.sep !== "/") {
35657
- f = f.split(path4.sep).join("/");
35656
+ if (path3.sep !== "/") {
35657
+ f = f.split(path3.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 path4 = require("path");
35839
+ var path3 = 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 path4.resolve(cwd, filepath);
35847
+ return path3.resolve(cwd, filepath);
35848
35848
  }
35849
35849
  exports.makeAbsolute = makeAbsolute;
35850
35850
  function escape(pattern) {
@@ -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 path4 = require("path");
37154
+ var path3 = 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: path4.sep,
37324
+ SEP: path3.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 path4 = require("path");
37351
+ var path3 = 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 || path4.sep === "\\";
37380
+ return win32 === true || path3.sep === "\\";
37381
37381
  };
37382
37382
  exports.escapeLast = (input, char, lastIdx) => {
37383
37383
  const idx = input.lastIndexOf(char, lastIdx);
@@ -38525,7 +38525,7 @@ 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 path4 = require("path");
38528
+ var path3 = require("path");
38529
38529
  var scan = require_scan2();
38530
38530
  var parse2 = require_parse3();
38531
38531
  var utils = require_utils6();
@@ -38611,7 +38611,7 @@ 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(path4.basename(input));
38614
+ return regex.test(path3.basename(input));
38615
38615
  };
38616
38616
  picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
38617
38617
  picomatch.parse = (pattern, options) => {
@@ -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 path4 = require("path");
38844
+ var path3 = 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 = path4.basename(pattern);
38926
+ const basename = path3.basename(pattern);
38927
38927
  return endsWithSlashGlobStar(pattern) || isStaticPattern(basename);
38928
38928
  }
38929
38929
  exports.isAffectDepthOfReadingPattern = isAffectDepthOfReadingPattern;
@@ -39138,8 +39138,8 @@ var require_utils7 = __commonJS({
39138
39138
  exports.errno = errno;
39139
39139
  var fs2 = require_fs3();
39140
39140
  exports.fs = fs2;
39141
- var path4 = require_path();
39142
- exports.path = path4;
39141
+ var path3 = require_path();
39142
+ exports.path = path3;
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(path4, settings, callback) {
39243
- settings.fs.lstat(path4, (lstatError, lstat) => {
39242
+ function read(path3, settings, callback) {
39243
+ settings.fs.lstat(path3, (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(path4, (statError, stat) => {
39252
+ settings.fs.stat(path3, (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(path4, settings) {
39285
- const lstat = settings.fs.lstatSync(path4);
39284
+ function read(path3, settings) {
39285
+ const lstat = settings.fs.lstatSync(path3);
39286
39286
  if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {
39287
39287
  return lstat;
39288
39288
  }
39289
39289
  try {
39290
- const stat = settings.fs.statSync(path4);
39290
+ const stat = settings.fs.statSync(path3);
39291
39291
  if (settings.markSymbolicLink) {
39292
39292
  stat.isSymbolicLink = () => true;
39293
39293
  }
@@ -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(path4, optionsOrSettingsOrCallback, callback) {
39361
+ function stat(path3, optionsOrSettingsOrCallback, callback) {
39362
39362
  if (typeof optionsOrSettingsOrCallback === "function") {
39363
- async.read(path4, getSettings(), optionsOrSettingsOrCallback);
39363
+ async.read(path3, getSettings(), optionsOrSettingsOrCallback);
39364
39364
  return;
39365
39365
  }
39366
- async.read(path4, getSettings(optionsOrSettingsOrCallback), callback);
39366
+ async.read(path3, getSettings(optionsOrSettingsOrCallback), callback);
39367
39367
  }
39368
39368
  exports.stat = stat;
39369
- function statSync(path4, optionsOrSettings) {
39369
+ function statSync(path3, optionsOrSettings) {
39370
39370
  const settings = getSettings(optionsOrSettings);
39371
- return sync.read(path4, settings);
39371
+ return sync.read(path3, settings);
39372
39372
  }
39373
39373
  exports.statSync = statSync;
39374
39374
  function getSettings(settingsOrOptions = {}) {
@@ -39587,16 +39587,16 @@ var require_async3 = __commonJS({
39587
39587
  return;
39588
39588
  }
39589
39589
  const tasks = names3.map((name) => {
39590
- const path4 = common.joinPathSegments(directory, name, settings.pathSegmentSeparator);
39590
+ const path3 = common.joinPathSegments(directory, name, settings.pathSegmentSeparator);
39591
39591
  return (done) => {
39592
- fsStat.stat(path4, settings.fsStatSettings, (error, stats) => {
39592
+ fsStat.stat(path3, 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: path4,
39599
+ path: path3,
39600
39600
  dirent: utils.fs.createDirentFromStats(name, stats)
39601
39601
  };
39602
39602
  if (settings.stats) {
@@ -39714,7 +39714,7 @@ 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 path4 = require("path");
39717
+ var path3 = require("path");
39718
39718
  var fsStat = require_out();
39719
39719
  var fs2 = require_fs6();
39720
39720
  var Settings = class {
@@ -39722,7 +39722,7 @@ var require_settings2 = __commonJS({
39722
39722
  this._options = _options;
39723
39723
  this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, false);
39724
39724
  this.fs = fs2.createFileSystemAdapter(this._options.fs);
39725
- this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path4.sep);
39725
+ this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path3.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(path4, optionsOrSettingsOrCallback, callback) {
39752
+ function scandir(path3, optionsOrSettingsOrCallback, callback) {
39753
39753
  if (typeof optionsOrSettingsOrCallback === "function") {
39754
- async.read(path4, getSettings(), optionsOrSettingsOrCallback);
39754
+ async.read(path3, getSettings(), optionsOrSettingsOrCallback);
39755
39755
  return;
39756
39756
  }
39757
- async.read(path4, getSettings(optionsOrSettingsOrCallback), callback);
39757
+ async.read(path3, getSettings(optionsOrSettingsOrCallback), callback);
39758
39758
  }
39759
39759
  exports.scandir = scandir;
39760
- function scandirSync(path4, optionsOrSettings) {
39760
+ function scandirSync(path3, optionsOrSettings) {
39761
39761
  const settings = getSettings(optionsOrSettings);
39762
- return sync.read(path4, settings);
39762
+ return sync.read(path3, settings);
39763
39763
  }
39764
39764
  exports.scandirSync = scandirSync;
39765
39765
  function getSettings(settingsOrOptions = {}) {
@@ -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 path4 = require("path");
40366
+ var path3 = 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, path4.sep);
40376
+ this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path3.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 path4 = require("path");
40438
+ var path3 = 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 path4.resolve(this._settings.cwd, filepath);
40451
+ return path3.resolve(this._settings.cwd, filepath);
40452
40452
  }
40453
40453
  _makeEntry(stats, pattern) {
40454
40454
  const entry = {
@@ -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 path4 = require("path");
40803
+ var path3 = 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 path4.resolve(this._settings.cwd, task.base);
40817
+ return path3.resolve(this._settings.cwd, task.base);
40818
40818
  }
40819
40819
  _getReaderOptions(task) {
40820
40820
  const basePath = task.base === "." ? "" : task.base;
@@ -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 path4 = require("path");
41129
+ var path3 = 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) => path4.dirname(event.dest)));
41136
+ const dirs = new Set(events.map((event) => path3.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 = path4.join(opts.rootDir, ".gitignore");
41159
- const nxignore = path4.join(opts.rootDir, ".nxignore");
41158
+ const gitignore = path3.join(opts.rootDir, ".gitignore");
41159
+ const nxignore = path3.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 = path4.relative(opts.rootDir, opts.projectDir);
41173
- output = path4.relative(opts.rootDir, opts.outputDir);
41172
+ input = path3.relative(opts.rootDir, opts.projectDir);
41173
+ output = path3.relative(opts.rootDir, opts.outputDir);
41174
41174
  } else {
41175
41175
  isGlob = true;
41176
- pattern = path4.join(f.input, f.glob);
41176
+ pattern = path3.join(f.input, f.glob);
41177
41177
  input = f.input;
41178
- output = path4.join(path4.relative(opts.rootDir, opts.outputDir), f.output);
41178
+ output = path3.join(path3.relative(opts.rootDir, opts.outputDir), f.output);
41179
41179
  if (f.ignore)
41180
- ignore = f.ignore.map((ig) => path4.join(f.input, ig));
41180
+ ignore = f.ignore.map((ig) => path3.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 = path4.relative(this.rootDir, event.path);
41232
+ const pathFromRoot = path3.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 = path4.relative(ag.input, pathFromRoot);
41235
+ const relPath = path3.relative(ag.input, pathFromRoot);
41236
41236
  const destPath = relPath.startsWith("..") ? pathFromRoot : relPath;
41237
41237
  fileEvents.push({
41238
41238
  type: event.type,
41239
- src: path4.join(this.rootDir, pathFromRoot),
41240
- dest: path4.join(this.rootDir, ag.output, destPath)
41239
+ src: path3.join(this.rootDir, pathFromRoot),
41240
+ dest: path3.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 = path4.relative(assetGlob.input, src);
41252
+ const relPath = path3.relative(assetGlob.input, src);
41253
41253
  const dest = relPath.startsWith("..") ? src : relPath;
41254
41254
  acc.push({
41255
41255
  type: "create",
41256
- src: path4.join(this.rootDir, src),
41257
- dest: path4.join(this.rootDir, assetGlob.output, dest)
41256
+ src: path3.join(this.rootDir, src),
41257
+ dest: path3.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 path4 = require("path");
41617
+ var path3 = 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, path4.join(__dirname, "files"), ".verdaccio", {
41622
+ (0, devkit_1.generateFiles)(tree, path3.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((path4) => (0, ast_utils_1.mapFilePath)(path4, root))
42384
+ ignores: ignorePatterns.map((path3) => (0, ast_utils_1.mapFilePath)(path3, root))
42385
42385
  });
42386
42386
  tree.write(fileName, (0, ast_utils_1.addBlockToFlatConfigExport)(tree.read(fileName, "utf8"), block));
42387
42387
  } else {
@@ -43905,8 +43905,8 @@ function getErrorMap() {
43905
43905
  return overrideErrorMap;
43906
43906
  }
43907
43907
  var makeIssue = (params) => {
43908
- const { data, path: path4, errorMaps, issueData } = params;
43909
- const fullPath = [...path4, ...issueData.path || []];
43908
+ const { data, path: path3, errorMaps, issueData } = params;
43909
+ const fullPath = [...path3, ...issueData.path || []];
43910
43910
  const fullIssue = {
43911
43911
  ...issueData,
43912
43912
  path: fullPath
@@ -44004,11 +44004,11 @@ var errorUtil;
44004
44004
  errorUtil2.toString = (message) => typeof message === "string" ? message : message === null || message === void 0 ? void 0 : message.message;
44005
44005
  })(errorUtil || (errorUtil = {}));
44006
44006
  var ParseInputLazyPath = class {
44007
- constructor(parent, value, path4, key) {
44007
+ constructor(parent, value, path3, key) {
44008
44008
  this._cachedPath = [];
44009
44009
  this.parent = parent;
44010
44010
  this.data = value;
44011
- this._path = path4;
44011
+ this._path = path3;
44012
44012
  this._key = key;
44013
44013
  }
44014
44014
  get path() {
@@ -47196,9 +47196,6 @@ var StormConfigSchema = objectType({
47196
47196
  "Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
47197
47197
  );
47198
47198
 
47199
- // packages/config-tools/src/utilities/find-workspace-root.ts
47200
- var path3 = __toESM(require("path"), 1);
47201
-
47202
47199
  // node_modules/.pnpm/locate-path@7.2.0/node_modules/locate-path/index.js
47203
47200
  var import_node_process = __toESM(require("node:process"), 1);
47204
47201
  var import_node_path = __toESM(require("node:path"), 1);
@@ -47379,7 +47376,7 @@ function findWorkspaceRoot(pathInsideMonorepo) {
47379
47376
  ${rootFiles.join(
47380
47377
  "\n"
47381
47378
  )}
47382
- Path: ${path3}`
47379
+ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
47383
47380
  );
47384
47381
  }
47385
47382
  return result;
@@ -47414,13 +47411,13 @@ var DefaultStormConfig = {
47414
47411
  colors: { ...DefaultColorConfig },
47415
47412
  extensions: {}
47416
47413
  };
47417
- var getDefaultConfig = (config = {}) => {
47414
+ var getDefaultConfig = (config = {}, root) => {
47418
47415
  let name = "storm-workspace";
47419
47416
  let namespace = "storm-software";
47420
47417
  let repository = "https://github.com/storm-software/storm-stack";
47421
47418
  let license = DefaultStormConfig.license;
47422
47419
  let homepage = DefaultStormConfig.homepage;
47423
- const workspaceRoot = findWorkspaceRoot(process.cwd());
47420
+ const workspaceRoot = findWorkspaceRoot(root);
47424
47421
  if ((0, import_fs.existsSync)((0, import_path.join)(workspaceRoot, "package.json"))) {
47425
47422
  const file = (0, import_fs.readFileSync)((0, import_path.join)(workspaceRoot, "package.json"), {
47426
47423
  encoding: "utf-8"