@storm-software/workspace-tools 1.31.14 → 1.31.15

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 path5 = require("path");
609
+ var path4 = require("path");
610
610
  var nx_1 = require_nx();
611
611
  var { updateJson: updateJson2, readJson, sortObjectByKeys } = (0, nx_1.requireNx)();
612
612
  sortObjectByKeys = sortObjectByKeys ?? require("nx/src/utils/object-sort").sortObjectByKeys;
@@ -623,7 +623,7 @@ var require_format_files = __commonJS({
623
623
  const changedPrettierInTree = getChangedPrettierConfigInTree(tree);
624
624
  await Promise.all(Array.from(files).map(async (file) => {
625
625
  try {
626
- const systemPath = path5.join(tree.root, file.path);
626
+ const systemPath = path4.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 path6 of ["tsconfig.base.json", "tsconfig.json"]) {
671
- if (tree.exists(path6)) {
672
- return path6;
670
+ for (const path5 of ["tsconfig.base.json", "tsconfig.json"]) {
671
+ if (tree.exists(path5)) {
672
+ return path5;
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(path5) {
966
- return binaryExtensions.has((0, path_1.extname)(path5).toLowerCase());
965
+ function isBinaryPath(path4) {
966
+ return binaryExtensions.has((0, path_1.extname)(path4).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 path5 = require("path");
1150
+ var path4 = 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 = path5.dirname;
1182
- var extname = path5.extname;
1183
- var resolve2 = path5.resolve;
1181
+ var dirname2 = path4.dirname;
1182
+ var extname = path4.extname;
1183
+ var resolve2 = path4.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(path6, options) {
1200
+ function getIncludePath(path5, options) {
1201
1201
  var includePath;
1202
1202
  var filePath;
1203
1203
  var views = options.views;
1204
- var match = /^[A-Za-z]+:\\|^\//.exec(path6);
1204
+ var match = /^[A-Za-z]+:\\|^\//.exec(path5);
1205
1205
  if (match && match.length) {
1206
- path6 = path6.replace(/^\/*/, "");
1206
+ path5 = path5.replace(/^\/*/, "");
1207
1207
  if (Array.isArray(options.root)) {
1208
- includePath = resolvePaths(path6, options.root);
1208
+ includePath = resolvePaths(path5, options.root);
1209
1209
  } else {
1210
- includePath = exports.resolveInclude(path6, options.root || "/", true);
1210
+ includePath = exports.resolveInclude(path5, options.root || "/", true);
1211
1211
  }
1212
1212
  } else {
1213
1213
  if (options.filename) {
1214
- filePath = exports.resolveInclude(path6, options.filename);
1214
+ filePath = exports.resolveInclude(path5, 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(path6, views);
1220
+ includePath = resolvePaths(path5, views);
1221
1221
  }
1222
1222
  if (!includePath && typeof options.includer !== "function") {
1223
- throw new Error('Could not find the include file "' + options.escapeFunction(path6) + '"');
1223
+ throw new Error('Could not find the include file "' + options.escapeFunction(path5) + '"');
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(path6, options) {
1282
+ function includeFile(path5, options) {
1283
1283
  var opts = utils.shallowCopy(utils.createNullProtoObjWherePossible(), options);
1284
- opts.filename = getIncludePath(path6, opts);
1284
+ opts.filename = getIncludePath(path5, opts);
1285
1285
  if (typeof options.includer === "function") {
1286
- var includerResult = options.includer(path6, opts.filename);
1286
+ var includerResult = options.includer(path5, 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(path6, includeData) {
1521
+ var include = function(path5, 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(path6, opts)(d);
1526
+ return includeFile(path5, 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 = path5.basename(filename, path5.extname(filename));
1535
+ var basename = path4.basename(filename, path4.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 path5 = require("path");
1698
+ var path4 = 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 = path5.relative(srcFolder, filePath);
1731
- let computedPath = path5.join(target, relativeFromSrcFolder);
1730
+ const relativeFromSrcFolder = path4.relative(srcFolder, filePath);
1731
+ let computedPath = path4.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 = path5.join(parent, c);
1744
+ const child = path4.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 path5 = function() {
4734
+ var path4 = 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 = path5.sep;
4742
+ minimatch.sep = path4.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 && path5.sep !== "/") {
4834
- pattern = pattern.split(path5.sep).join("/");
4833
+ if (!options.allowWindowsEscape && path4.sep !== "/") {
4834
+ pattern = pattern.split(path4.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 (path5.sep !== "/") {
5212
- f = f.split(path5.sep).join("/");
5211
+ if (path4.sep !== "/") {
5212
+ f = f.split(path4.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(path5) {
5371
- return path5.charAt(0) === "/";
5370
+ function posix(path4) {
5371
+ return path4.charAt(0) === "/";
5372
5372
  }
5373
- function win32(path5) {
5373
+ function win32(path4) {
5374
5374
  var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;
5375
- var result = splitDeviceRe.exec(path5);
5375
+ var result = splitDeviceRe.exec(path4);
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 path5 = require("path");
5400
+ var path4 = 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 = path5.resolve(options.cwd);
5465
+ self.cwd = path4.resolve(options.cwd);
5466
5466
  self.changedCwd = self.cwd !== cwd;
5467
5467
  }
5468
- self.root = options.root || path5.resolve(self.cwd, "/");
5469
- self.root = path5.resolve(self.root);
5468
+ self.root = options.root || path4.resolve(self.cwd, "/");
5469
+ self.root = path4.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 = path5.join(self.root, f);
5551
+ abs = path4.join(self.root, f);
5552
5552
  } else if (isAbsolute(f) || f === "") {
5553
5553
  abs = f;
5554
5554
  } else if (self.changedCwd) {
5555
- abs = path5.resolve(self.cwd, f);
5555
+ abs = path4.resolve(self.cwd, f);
5556
5556
  } else {
5557
- abs = path5.resolve(f);
5557
+ abs = path4.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, path6) {
5563
+ function isIgnored(self, path5) {
5564
5564
  if (!self.ignore.length)
5565
5565
  return false;
5566
5566
  return self.ignore.some(function(item) {
5567
- return item.matcher.match(path6) || !!(item.gmatcher && item.gmatcher.match(path6));
5567
+ return item.matcher.match(path5) || !!(item.gmatcher && item.gmatcher.match(path5));
5568
5568
  });
5569
5569
  }
5570
- function childrenIgnored(self, path6) {
5570
+ function childrenIgnored(self, path5) {
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(path6));
5574
+ return !!(item.gmatcher && item.gmatcher.match(path5));
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 path5 = require("path");
5590
+ var path4 = 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 = path5.join(this.root, e);
5718
+ e = path4.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 = path5.join(this.root, prefix);
5867
+ prefix = path4.join(this.root, prefix);
5868
5868
  } else {
5869
- prefix = path5.resolve(this.root, prefix);
5869
+ prefix = path4.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 path5 = require("path");
6064
+ var path4 = 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 = path5.join(this.root, e);
6347
+ e = path4.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 = path5.join(this.root, prefix);
6534
+ prefix = path4.join(this.root, prefix);
6535
6535
  } else {
6536
- prefix = path5.resolve(this.root, prefix);
6536
+ prefix = path4.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 path5 = require("path");
6614
+ var path4 = 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(path5.join(p, f), options, (er2) => {
6796
+ rimraf(path4.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(path5.join(p, f), options));
6871
+ options.readdirSync(p).forEach((f) => rimrafSync(path4.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 path5 = require("path");
6896
+ var path4 = 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 path5.join(tmpDir, opts.dir, opts.name);
7119
+ return path4.join(tmpDir, opts.dir, opts.name);
7120
7120
  if (!_isUndefined(opts.template))
7121
- return path5.join(tmpDir, opts.dir, opts.template).replace(TEMPLATE_PATTERN, _randomChars(6));
7121
+ return path4.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 path5.join(tmpDir, opts.dir, name);
7130
+ return path4.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) ? "" : path5.relative(tmpDir, _resolvePath(options.dir, tmpDir));
7152
- options.template = _isUndefined(options.template) ? void 0 : path5.relative(tmpDir, _resolvePath(options.template, tmpDir));
7153
- options.template = _isBlank(options.template) ? void 0 : path5.relative(options.dir, options.template);
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);
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 path5.resolve(sanitizedName);
7161
+ return path4.resolve(sanitizedName);
7162
7162
  } else {
7163
- return path5.resolve(path5.join(tmpDir, sanitizedName));
7163
+ return path4.resolve(path4.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 (path5.isAbsolute(name))
7174
+ if (path4.isAbsolute(name))
7175
7175
  throw new Error(`${option} option must not contain an absolute path, found "${name}".`);
7176
- let basename = path5.basename(name);
7176
+ let basename = path4.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 (path5.isAbsolute(name) && !name.startsWith(tmpDir)) {
7180
+ if (path4.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 path5.resolve(_sanitizeName(options && options.tmpdir || os.tmpdir()));
7201
+ return path4.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 = (path5, originalPath, doThrow) => {
7813
- if (!isString(path5)) {
7812
+ var checkPath = (path4, originalPath, doThrow) => {
7813
+ if (!isString(path4)) {
7814
7814
  return doThrow(
7815
7815
  `path must be a string, but got \`${originalPath}\``,
7816
7816
  TypeError
7817
7817
  );
7818
7818
  }
7819
- if (!path5) {
7819
+ if (!path4) {
7820
7820
  return doThrow(`path must not be empty`, TypeError);
7821
7821
  }
7822
- if (checkPath.isNotRelative(path5)) {
7822
+ if (checkPath.isNotRelative(path4)) {
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 = (path5) => REGEX_TEST_INVALID_PATH.test(path5);
7831
+ var isNotRelative = (path4) => REGEX_TEST_INVALID_PATH.test(path4);
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(path5, checkUnignored) {
7890
+ _testOne(path4, 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(path5);
7898
+ const matched = rule.regex.test(path4);
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 path5 = originalPath && checkPath.convert(originalPath);
7911
+ const path4 = originalPath && checkPath.convert(originalPath);
7912
7912
  checkPath(
7913
- path5,
7913
+ path4,
7914
7914
  originalPath,
7915
7915
  this._allowRelativePaths ? RETURN_FALSE : throwError
7916
7916
  );
7917
- return this._t(path5, cache, checkUnignored, slices);
7917
+ return this._t(path4, cache, checkUnignored, slices);
7918
7918
  }
7919
- _t(path5, cache, checkUnignored, slices) {
7920
- if (path5 in cache) {
7921
- return cache[path5];
7919
+ _t(path4, cache, checkUnignored, slices) {
7920
+ if (path4 in cache) {
7921
+ return cache[path4];
7922
7922
  }
7923
7923
  if (!slices) {
7924
- slices = path5.split(SLASH);
7924
+ slices = path4.split(SLASH);
7925
7925
  }
7926
7926
  slices.pop();
7927
7927
  if (!slices.length) {
7928
- return cache[path5] = this._testOne(path5, checkUnignored);
7928
+ return cache[path4] = this._testOne(path4, 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[path5] = parent.ignored ? parent : this._testOne(path5, checkUnignored);
7936
+ return cache[path4] = parent.ignored ? parent : this._testOne(path4, checkUnignored);
7937
7937
  }
7938
- ignores(path5) {
7939
- return this._test(path5, this._ignoreCache, false).ignored;
7938
+ ignores(path4) {
7939
+ return this._test(path4, this._ignoreCache, false).ignored;
7940
7940
  }
7941
7941
  createFilter() {
7942
- return (path5) => !this.ignores(path5);
7942
+ return (path4) => !this.ignores(path4);
7943
7943
  }
7944
7944
  filter(paths) {
7945
7945
  return makeArray(paths).filter(this.createFilter());
7946
7946
  }
7947
7947
  // @returns {TestResult}
7948
- test(path5) {
7949
- return this._test(path5, this._testCache, true);
7948
+ test(path4) {
7949
+ return this._test(path4, this._testCache, true);
7950
7950
  }
7951
7951
  };
7952
7952
  var factory = (options) => new Ignore(options);
7953
- var isPathValid = (path5) => checkPath(path5 && checkPath.convert(path5), path5, RETURN_FALSE);
7953
+ var isPathValid = (path4) => checkPath(path4 && checkPath.convert(path4), path4, 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 = (path5) => REGIX_IS_WINDOWS_PATH_ABSOLUTE.test(path5) || isNotRelative(path5);
7964
+ checkPath.isNotRelative = (path4) => REGIX_IS_WINDOWS_PATH_ABSOLUTE.test(path4) || isNotRelative(path4);
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(path5, root) {
8006
- return (0, path_1.relative)(root, (0, path_1.join)(root, path5)).split(path_1.sep).join("/");
8005
+ function normalizePathRelativeToRoot(path4, root) {
8006
+ return (0, path_1.relative)(root, (0, path_1.join)(root, path4)).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(path5) {
8388
- return (0, path_1.relative)(this.root, (0, path_1.join)(this.root, path5));
8387
+ normalize(path4) {
8388
+ return (0, path_1.relative)(this.root, (0, path_1.join)(this.root, path4));
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 path5 = require("path");
18239
+ var path4 = 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 = path5.resolve(fromDir);
18253
+ fromDir = path4.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 = path5.join(fromDir, "noop.js");
18260
+ const fromFile = path4.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 path5 = require("path");
18332
+ var path4 = 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 ? path5.dirname(parentPath) : __dirname;
18340
+ const cwd = parentPath ? path4.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 path5 = [graph[toModel].parent, toModel];
19782
+ var path4 = [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
- path5.unshift(graph[cur].parent);
19786
+ path4.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 = path5;
19790
+ fn.conversion = path4;
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, (path5) => typescript.sys.readFile(path5));
23786
+ const { config, error } = typescript.readConfigFile(filePath, (path4) => typescript.sys.readFile(path4));
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 path5 = require("path");
23909
+ var path4 = 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 = path5.join(homedir, "Library");
23915
+ const library = path4.join(homedir, "Library");
23916
23916
  return {
23917
- data: path5.join(library, "Application Support", name),
23918
- config: path5.join(library, "Preferences", name),
23919
- cache: path5.join(library, "Caches", name),
23920
- log: path5.join(library, "Logs", name),
23921
- temp: path5.join(tmpdir, name)
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)
23922
23922
  };
23923
23923
  };
23924
23924
  var windows = (name) => {
23925
- const appData = env.APPDATA || path5.join(homedir, "AppData", "Roaming");
23926
- const localAppData = env.LOCALAPPDATA || path5.join(homedir, "AppData", "Local");
23925
+ const appData = env.APPDATA || path4.join(homedir, "AppData", "Roaming");
23926
+ const localAppData = env.LOCALAPPDATA || path4.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: path5.join(localAppData, name, "Data"),
23930
- config: path5.join(appData, name, "Config"),
23931
- cache: path5.join(localAppData, name, "Cache"),
23932
- log: path5.join(localAppData, name, "Log"),
23933
- temp: path5.join(tmpdir, name)
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)
23934
23934
  };
23935
23935
  };
23936
23936
  var linux = (name) => {
23937
- const username = path5.basename(homedir);
23937
+ const username = path4.basename(homedir);
23938
23938
  return {
23939
- data: path5.join(env.XDG_DATA_HOME || path5.join(homedir, ".local", "share"), name),
23940
- config: path5.join(env.XDG_CONFIG_HOME || path5.join(homedir, ".config"), name),
23941
- cache: path5.join(env.XDG_CACHE_HOME || path5.join(homedir, ".cache"), name),
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),
23942
23942
  // https://wiki.debian.org/XDGBaseDirectorySpecification#state
23943
- log: path5.join(env.XDG_STATE_HOME || path5.join(homedir, ".local", "state"), name),
23944
- temp: path5.join(tmpdir, username, name)
23943
+ log: path4.join(env.XDG_STATE_HOME || path4.join(homedir, ".local", "state"), name),
23944
+ temp: path4.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, path5) {
24018
- if (typeof path5 === "string" && Object.prototype.hasOwnProperty.call(source, path5)) {
24019
- return source[path5];
24017
+ function getPropertyByPath(source, path4) {
24018
+ if (typeof path4 === "string" && Object.prototype.hasOwnProperty.call(source, path4)) {
24019
+ return source[path4];
24020
24020
  }
24021
- const parsedPath = typeof path5 === "string" ? path5.split(".") : path5;
24021
+ const parsedPath = typeof path4 === "string" ? path4.split(".") : path4;
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(path5) {
24034
+ async function isDirectory(path4) {
24035
24035
  try {
24036
- const stat = await fs_1.promises.stat(path5);
24036
+ const stat = await fs_1.promises.stat(path4);
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(path5) {
24046
+ function isDirectorySync(path4) {
24047
24047
  try {
24048
- const stat = fs_1.default.statSync(path5);
24048
+ const stat = fs_1.default.statSync(path4);
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((path5, i) => `${i + 1}. ${path5}`).join("\n")} (same as ${idx + 1}.)`);
24146
+ ${[...importStack, fullPath].map((path4, i) => `${i + 1}. ${path4}`).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(path5) {
24331
+ async #fileExists(path4) {
24332
24332
  try {
24333
- await promises_1.default.stat(path5);
24333
+ await promises_1.default.stat(path4);
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(path5) {
24489
+ #fileExists(path4) {
24490
24490
  try {
24491
- fs_1.default.statSync(path5);
24491
+ fs_1.default.statSync(path4);
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((path5) => path5.replace("{name}", moduleName));
24611
+ const userConfiguredSearchPlaces = userConfiguredOptions.searchPlaces?.map((path4) => path4.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 path5 = [graph[toModel].parent, toModel];
25578
+ const path4 = [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
- path5.unshift(graph[cur].parent);
25582
+ path4.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 = path5;
25586
+ fn.conversion = path4;
25587
25587
  return fn;
25588
25588
  }
25589
25589
  module2.exports = function(fromModel) {
@@ -26260,7 +26260,7 @@ __export(generator_exports, {
26260
26260
  });
26261
26261
  module.exports = __toCommonJS(generator_exports);
26262
26262
  var import_devkit = __toESM(require_devkit());
26263
- var path4 = __toESM(require("path"));
26263
+ var path3 = __toESM(require("path"));
26264
26264
 
26265
26265
  // packages/config-tools/src/config-file/get-config-file.ts
26266
26266
  var import_cosmiconfig = __toESM(require_dist(), 1);
@@ -26664,8 +26664,8 @@ function getErrorMap() {
26664
26664
  return overrideErrorMap;
26665
26665
  }
26666
26666
  var makeIssue = (params) => {
26667
- const { data, path: path5, errorMaps, issueData } = params;
26668
- const fullPath = [...path5, ...issueData.path || []];
26667
+ const { data, path: path4, errorMaps, issueData } = params;
26668
+ const fullPath = [...path4, ...issueData.path || []];
26669
26669
  const fullIssue = {
26670
26670
  ...issueData,
26671
26671
  path: fullPath
@@ -26763,11 +26763,11 @@ var errorUtil;
26763
26763
  errorUtil2.toString = (message) => typeof message === "string" ? message : message === null || message === void 0 ? void 0 : message.message;
26764
26764
  })(errorUtil || (errorUtil = {}));
26765
26765
  var ParseInputLazyPath = class {
26766
- constructor(parent, value, path5, key) {
26766
+ constructor(parent, value, path4, key) {
26767
26767
  this._cachedPath = [];
26768
26768
  this.parent = parent;
26769
26769
  this.data = value;
26770
- this._path = path5;
26770
+ this._path = path4;
26771
26771
  this._key = key;
26772
26772
  }
26773
26773
  get path() {
@@ -29955,9 +29955,6 @@ var StormConfigSchema = objectType({
29955
29955
  "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."
29956
29956
  );
29957
29957
 
29958
- // packages/config-tools/src/utilities/find-workspace-root.ts
29959
- var path3 = __toESM(require("path"), 1);
29960
-
29961
29958
  // node_modules/.pnpm/locate-path@7.2.0/node_modules/locate-path/index.js
29962
29959
  var import_node_process = __toESM(require("node:process"), 1);
29963
29960
  var import_node_path = __toESM(require("node:path"), 1);
@@ -30138,7 +30135,7 @@ function findWorkspaceRoot(pathInsideMonorepo) {
30138
30135
  ${rootFiles.join(
30139
30136
  "\n"
30140
30137
  )}
30141
- Path: ${path3}`
30138
+ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
30142
30139
  );
30143
30140
  }
30144
30141
  return result;
@@ -30179,7 +30176,7 @@ var getDefaultConfig = (config = {}) => {
30179
30176
  let repository = "https://github.com/storm-software/storm-stack";
30180
30177
  let license = DefaultStormConfig.license;
30181
30178
  let homepage = DefaultStormConfig.homepage;
30182
- const workspaceRoot = findWorkspaceRoot(process.cwd());
30179
+ const workspaceRoot = findWorkspaceRoot();
30183
30180
  if ((0, import_fs.existsSync)((0, import_path.join)(workspaceRoot, "package.json"))) {
30184
30181
  const file = (0, import_fs.readFileSync)((0, import_path.join)(workspaceRoot, "package.json"), {
30185
30182
  encoding: "utf-8"
@@ -30693,7 +30690,7 @@ async function presetGeneratorFn(tree, options) {
30693
30690
  };
30694
30691
  return json;
30695
30692
  });
30696
- (0, import_devkit.generateFiles)(tree, path4.join(__dirname, "files"), projectRoot, {
30693
+ (0, import_devkit.generateFiles)(tree, path3.join(__dirname, "files"), projectRoot, {
30697
30694
  ...options,
30698
30695
  pnpmVersion,
30699
30696
  nodeVersion