@storm-software/workspace-tools 1.43.2 → 1.43.4

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.
package/index.js CHANGED
@@ -44822,9 +44822,9 @@ var require_brace_expansion2 = __commonJS({
44822
44822
  }
44823
44823
  });
44824
44824
 
44825
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=4xceu37ov6naheknvrwesavfda_@microsoft+api-extractor@7.38.3_@swc+core@1._h5pdec6yqse7sjx6pcwzke37b4/node_modules/tsup/dist/chunk-EPAEWGCP.js
44825
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=nuoomzsk544j3zoy4w6xlebf4m_@microsoft+api-extractor@7.38.3_@swc+core@1._jyfln4hbxbrplmay2o7yiqfmdy/node_modules/tsup/dist/chunk-EPAEWGCP.js
44826
44826
  var require_chunk_EPAEWGCP = __commonJS({
44827
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=4xceu37ov6naheknvrwesavfda_@microsoft+api-extractor@7.38.3_@swc+core@1._h5pdec6yqse7sjx6pcwzke37b4/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
44827
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=nuoomzsk544j3zoy4w6xlebf4m_@microsoft+api-extractor@7.38.3_@swc+core@1._jyfln4hbxbrplmay2o7yiqfmdy/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
44828
44828
  "use strict";
44829
44829
  Object.defineProperty(exports, "__esModule", { value: true });
44830
44830
  var version = "8.0.0";
@@ -46471,9 +46471,9 @@ var require_resolve_from2 = __commonJS({
46471
46471
  }
46472
46472
  });
46473
46473
 
46474
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=4xceu37ov6naheknvrwesavfda_@microsoft+api-extractor@7.38.3_@swc+core@1._h5pdec6yqse7sjx6pcwzke37b4/node_modules/tsup/dist/chunk-GQ77QZBO.js
46474
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=nuoomzsk544j3zoy4w6xlebf4m_@microsoft+api-extractor@7.38.3_@swc+core@1._jyfln4hbxbrplmay2o7yiqfmdy/node_modules/tsup/dist/chunk-GQ77QZBO.js
46475
46475
  var require_chunk_GQ77QZBO = __commonJS({
46476
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=4xceu37ov6naheknvrwesavfda_@microsoft+api-extractor@7.38.3_@swc+core@1._h5pdec6yqse7sjx6pcwzke37b4/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
46476
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=nuoomzsk544j3zoy4w6xlebf4m_@microsoft+api-extractor@7.38.3_@swc+core@1._jyfln4hbxbrplmay2o7yiqfmdy/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
46477
46477
  "use strict";
46478
46478
  Object.defineProperty(exports, "__esModule", { value: true });
46479
46479
  function _interopRequireDefault(obj) {
@@ -46751,9 +46751,9 @@ var require_chunk_GQ77QZBO = __commonJS({
46751
46751
  }
46752
46752
  });
46753
46753
 
46754
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=4xceu37ov6naheknvrwesavfda_@microsoft+api-extractor@7.38.3_@swc+core@1._h5pdec6yqse7sjx6pcwzke37b4/node_modules/tsup/dist/chunk-UIX4URMV.js
46754
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=nuoomzsk544j3zoy4w6xlebf4m_@microsoft+api-extractor@7.38.3_@swc+core@1._jyfln4hbxbrplmay2o7yiqfmdy/node_modules/tsup/dist/chunk-UIX4URMV.js
46755
46755
  var require_chunk_UIX4URMV = __commonJS({
46756
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=4xceu37ov6naheknvrwesavfda_@microsoft+api-extractor@7.38.3_@swc+core@1._h5pdec6yqse7sjx6pcwzke37b4/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
46756
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=nuoomzsk544j3zoy4w6xlebf4m_@microsoft+api-extractor@7.38.3_@swc+core@1._jyfln4hbxbrplmay2o7yiqfmdy/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
46757
46757
  "use strict";
46758
46758
  Object.defineProperty(exports, "__esModule", { value: true });
46759
46759
  function _interopRequireWildcard(obj) {
@@ -47246,8 +47246,8 @@ var require_dist2 = __commonJS({
47246
47246
  loadTsConfig: () => loadTsConfig2
47247
47247
  });
47248
47248
  module2.exports = __toCommonJS2(src_exports);
47249
- var import_path6 = __toESM2(require("path"), 1);
47250
- var import_fs6 = __toESM2(require("fs"), 1);
47249
+ var import_path5 = __toESM2(require("path"), 1);
47250
+ var import_fs5 = __toESM2(require("fs"), 1);
47251
47251
  var singleComment = Symbol("singleComment");
47252
47252
  var multiComment = Symbol("multiComment");
47253
47253
  var stripWithoutWhitespace = () => "";
@@ -47342,29 +47342,29 @@ var require_dist2 = __commonJS({
47342
47342
  }
47343
47343
  }
47344
47344
  var req = false ? createRequire(import_meta.url) : require;
47345
- var findUp = (name, startDir, stopDir = import_path6.default.parse(startDir).root) => {
47345
+ var findUp = (name, startDir, stopDir = import_path5.default.parse(startDir).root) => {
47346
47346
  let dir = startDir;
47347
47347
  while (dir !== stopDir) {
47348
- const file = import_path6.default.join(dir, name);
47349
- if (import_fs6.default.existsSync(file))
47348
+ const file = import_path5.default.join(dir, name);
47349
+ if (import_fs5.default.existsSync(file))
47350
47350
  return file;
47351
47351
  if (!file.endsWith(".json")) {
47352
47352
  const fileWithExt = file + ".json";
47353
- if (import_fs6.default.existsSync(fileWithExt))
47353
+ if (import_fs5.default.existsSync(fileWithExt))
47354
47354
  return fileWithExt;
47355
47355
  }
47356
- dir = import_path6.default.dirname(dir);
47356
+ dir = import_path5.default.dirname(dir);
47357
47357
  }
47358
47358
  return null;
47359
47359
  };
47360
47360
  var resolveTsConfigFromFile = (cwd, filename) => {
47361
- if (import_path6.default.isAbsolute(filename))
47362
- return import_fs6.default.existsSync(filename) ? filename : null;
47361
+ if (import_path5.default.isAbsolute(filename))
47362
+ return import_fs5.default.existsSync(filename) ? filename : null;
47363
47363
  return findUp(filename, cwd);
47364
47364
  };
47365
47365
  var resolveTsConfigFromExtends = (cwd, name) => {
47366
- if (import_path6.default.isAbsolute(name))
47367
- return import_fs6.default.existsSync(name) ? name : null;
47366
+ if (import_path5.default.isAbsolute(name))
47367
+ return import_fs5.default.existsSync(name) ? name : null;
47368
47368
  if (name.startsWith("."))
47369
47369
  return findUp(name, cwd);
47370
47370
  const id = req.resolve(name, { paths: [cwd] });
@@ -47372,14 +47372,14 @@ var require_dist2 = __commonJS({
47372
47372
  };
47373
47373
  var loadTsConfigInternal = (dir = process.cwd(), name = "tsconfig.json", isExtends = false) => {
47374
47374
  var _a, _b;
47375
- dir = import_path6.default.resolve(dir);
47375
+ dir = import_path5.default.resolve(dir);
47376
47376
  const id = isExtends ? resolveTsConfigFromExtends(dir, name) : resolveTsConfigFromFile(dir, name);
47377
47377
  if (!id)
47378
47378
  return null;
47379
- const data = jsoncParse(import_fs6.default.readFileSync(id, "utf-8"));
47380
- const configDir = import_path6.default.dirname(id);
47379
+ const data = jsoncParse(import_fs5.default.readFileSync(id, "utf-8"));
47380
+ const configDir = import_path5.default.dirname(id);
47381
47381
  if ((_a = data.compilerOptions) == null ? void 0 : _a.baseUrl) {
47382
- data.compilerOptions.baseUrl = import_path6.default.join(
47382
+ data.compilerOptions.baseUrl = import_path5.default.join(
47383
47383
  configDir,
47384
47384
  data.compilerOptions.baseUrl
47385
47385
  );
@@ -47461,12 +47461,12 @@ var require_dist3 = __commonJS({
47461
47461
  var import_url3 = require("url");
47462
47462
  var import_esbuild = require("esbuild");
47463
47463
  var import_load_tsconfig = require_dist2();
47464
- var import_fs6 = __toESM2(require("fs"), 1);
47465
- var import_path6 = __toESM2(require("path"), 1);
47464
+ var import_fs5 = __toESM2(require("fs"), 1);
47465
+ var import_path5 = __toESM2(require("path"), 1);
47466
47466
  var getPkgType = () => {
47467
47467
  try {
47468
47468
  const pkg = JSON.parse(
47469
- import_fs6.default.readFileSync(import_path6.default.resolve("package.json"), "utf-8")
47469
+ import_fs5.default.readFileSync(import_path5.default.resolve("package.json"), "utf-8")
47470
47470
  );
47471
47471
  return pkg.type;
47472
47472
  } catch (error) {
@@ -47475,7 +47475,7 @@ var require_dist3 = __commonJS({
47475
47475
  function guessFormat(inputFile) {
47476
47476
  if (!usingDynamicImport)
47477
47477
  return "cjs";
47478
- const ext2 = import_path6.default.extname(inputFile);
47478
+ const ext2 = import_path5.default.extname(inputFile);
47479
47479
  const type = getPkgType();
47480
47480
  if (ext2 === ".js") {
47481
47481
  return type === "module" ? "esm" : "cjs";
@@ -47687,9 +47687,9 @@ var require_dist3 = __commonJS({
47687
47687
  }
47688
47688
  });
47689
47689
 
47690
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=4xceu37ov6naheknvrwesavfda_@microsoft+api-extractor@7.38.3_@swc+core@1._h5pdec6yqse7sjx6pcwzke37b4/node_modules/tsup/dist/chunk-7G76EW2R.js
47690
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=nuoomzsk544j3zoy4w6xlebf4m_@microsoft+api-extractor@7.38.3_@swc+core@1._jyfln4hbxbrplmay2o7yiqfmdy/node_modules/tsup/dist/chunk-7G76EW2R.js
47691
47691
  var require_chunk_7G76EW2R = __commonJS({
47692
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=4xceu37ov6naheknvrwesavfda_@microsoft+api-extractor@7.38.3_@swc+core@1._h5pdec6yqse7sjx6pcwzke37b4/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
47692
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=nuoomzsk544j3zoy4w6xlebf4m_@microsoft+api-extractor@7.38.3_@swc+core@1._jyfln4hbxbrplmay2o7yiqfmdy/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
47693
47693
  "use strict";
47694
47694
  Object.defineProperty(exports, "__esModule", { value: true });
47695
47695
  function _interopRequireDefault(obj) {
@@ -101426,9 +101426,9 @@ var require_chokidar = __commonJS({
101426
101426
  }
101427
101427
  });
101428
101428
 
101429
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=4xceu37ov6naheknvrwesavfda_@microsoft+api-extractor@7.38.3_@swc+core@1._h5pdec6yqse7sjx6pcwzke37b4/node_modules/tsup/dist/index.js
101429
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=nuoomzsk544j3zoy4w6xlebf4m_@microsoft+api-extractor@7.38.3_@swc+core@1._jyfln4hbxbrplmay2o7yiqfmdy/node_modules/tsup/dist/index.js
101430
101430
  var require_dist6 = __commonJS({
101431
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=4xceu37ov6naheknvrwesavfda_@microsoft+api-extractor@7.38.3_@swc+core@1._h5pdec6yqse7sjx6pcwzke37b4/node_modules/tsup/dist/index.js"(exports) {
101431
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=nuoomzsk544j3zoy4w6xlebf4m_@microsoft+api-extractor@7.38.3_@swc+core@1._jyfln4hbxbrplmay2o7yiqfmdy/node_modules/tsup/dist/index.js"(exports) {
101432
101432
  "use strict";
101433
101433
  Object.defineProperty(exports, "__esModule", { value: true });
101434
101434
  function _interopRequireDefault(obj) {
@@ -101490,9 +101490,11 @@ var require_dist6 = __commonJS({
101490
101490
  return e2[D3] === u3[D3];
101491
101491
  });
101492
101492
  }
101493
- Object.defineProperty(D2, "_vendors", { value: i.map(function(u3) {
101494
- return u3.constant;
101495
- }) }), D2.name = null, D2.isPR = null, i.forEach(function(u3) {
101493
+ Object.defineProperty(D2, "_vendors", {
101494
+ value: i.map(function(u3) {
101495
+ return u3.constant;
101496
+ })
101497
+ }), D2.name = null, D2.isPR = null, i.forEach(function(u3) {
101496
101498
  var r2 = (Array.isArray(u3.env) ? u3.env : [u3.env]).every(function(u4) {
101497
101499
  return t2(u4);
101498
101500
  });
@@ -101668,19 +101670,26 @@ var require_dist6 = __commonJS({
101668
101670
  var u3 = "millisecond", D3 = "second", e2 = "minute", t2 = "hour", r2 = "day", n2 = "week", s2 = "month", o2 = "quarter", i2 = "year", a2 = /^(\d{4})-?(\d{1,2})-?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d{1,3})?$/, l2 = /\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, c2 = function(u4, D4, e3) {
101669
101671
  var t3 = String(u4);
101670
101672
  return !t3 || t3.length >= D4 ? u4 : "" + Array(D4 + 1 - t3.length).join(e3) + u4;
101671
- }, h2 = { s: c2, z: function(u4) {
101672
- var D4 = -u4.utcOffset(), e3 = Math.abs(D4), t3 = Math.floor(e3 / 60), r3 = e3 % 60;
101673
- return (D4 <= 0 ? "+" : "-") + c2(t3, 2, "0") + ":" + c2(r3, 2, "0");
101674
- }, m: function(u4, D4) {
101675
- var e3 = 12 * (D4.year() - u4.year()) + (D4.month() - u4.month()), t3 = u4.clone().add(e3, s2), r3 = D4 - t3 < 0, n3 = u4.clone().add(e3 + (r3 ? -1 : 1), s2);
101676
- return Number(-(e3 + (D4 - t3) / (r3 ? t3 - n3 : n3 - t3)) || 0);
101677
- }, a: function(u4) {
101678
- return u4 < 0 ? Math.ceil(u4) || 0 : Math.floor(u4);
101679
- }, p: function(a3) {
101680
- return { M: s2, y: i2, w: n2, d: r2, D: "date", h: t2, m: e2, s: D3, ms: u3, Q: o2 }[a3] || String(a3 || "").toLowerCase().replace(/s$/, "");
101681
- }, u: function(u4) {
101682
- return void 0 === u4;
101683
- } }, F2 = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_") }, C2 = "en", f2 = {};
101673
+ }, h2 = {
101674
+ s: c2,
101675
+ z: function(u4) {
101676
+ var D4 = -u4.utcOffset(), e3 = Math.abs(D4), t3 = Math.floor(e3 / 60), r3 = e3 % 60;
101677
+ return (D4 <= 0 ? "+" : "-") + c2(t3, 2, "0") + ":" + c2(r3, 2, "0");
101678
+ },
101679
+ m: function(u4, D4) {
101680
+ var e3 = 12 * (D4.year() - u4.year()) + (D4.month() - u4.month()), t3 = u4.clone().add(e3, s2), r3 = D4 - t3 < 0, n3 = u4.clone().add(e3 + (r3 ? -1 : 1), s2);
101681
+ return Number(-(e3 + (D4 - t3) / (r3 ? t3 - n3 : n3 - t3)) || 0);
101682
+ },
101683
+ a: function(u4) {
101684
+ return u4 < 0 ? Math.ceil(u4) || 0 : Math.floor(u4);
101685
+ },
101686
+ p: function(a3) {
101687
+ return { M: s2, y: i2, w: n2, d: r2, D: "date", h: t2, m: e2, s: D3, ms: u3, Q: o2 }[a3] || String(a3 || "").toLowerCase().replace(/s$/, "");
101688
+ },
101689
+ u: function(u4) {
101690
+ return void 0 === u4;
101691
+ }
101692
+ }, F2 = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_") }, C2 = "en", f2 = {};
101684
101693
  f2[C2] = F2;
101685
101694
  var E2 = function(u4) {
101686
101695
  return u4 instanceof m2;
@@ -102293,10 +102302,14 @@ var require_dist6 = __commonJS({
102293
102302
  const t3 = u3(...e3);
102294
102303
  return `\x1B[${38 + D3};2;${t3[0]};${t3[1]};${t3[2]}m`;
102295
102304
  }, r2 = (u3) => u3, n2 = (u3, D3, e3) => [u3, D3, e3], s2 = (u3, D3, e3) => {
102296
- Object.defineProperty(u3, D3, { get: () => {
102297
- const t3 = e3();
102298
- return Object.defineProperty(u3, D3, { value: t3, enumerable: true, configurable: true }), t3;
102299
- }, enumerable: true, configurable: true });
102305
+ Object.defineProperty(u3, D3, {
102306
+ get: () => {
102307
+ const t3 = e3();
102308
+ return Object.defineProperty(u3, D3, { value: t3, enumerable: true, configurable: true }), t3;
102309
+ },
102310
+ enumerable: true,
102311
+ configurable: true
102312
+ });
102300
102313
  };
102301
102314
  let o2;
102302
102315
  const i2 = (u3, D3, e3, t3) => {
@@ -102308,16 +102321,19 @@ var require_dist6 = __commonJS({
102308
102321
  }
102309
102322
  return n3;
102310
102323
  };
102311
- Object.defineProperty(u2, "exports", { enumerable: true, get: function() {
102312
- const u3 = /* @__PURE__ */ new Map(), o3 = { modifier: { reset: [0, 0], bold: [1, 22], dim: [2, 22], italic: [3, 23], underline: [4, 24], inverse: [7, 27], hidden: [8, 28], strikethrough: [9, 29] }, color: { black: [30, 39], red: [31, 39], green: [32, 39], yellow: [33, 39], blue: [34, 39], magenta: [35, 39], cyan: [36, 39], white: [37, 39], blackBright: [90, 39], redBright: [91, 39], greenBright: [92, 39], yellowBright: [93, 39], blueBright: [94, 39], magentaBright: [95, 39], cyanBright: [96, 39], whiteBright: [97, 39] }, bgColor: { bgBlack: [40, 49], bgRed: [41, 49], bgGreen: [42, 49], bgYellow: [43, 49], bgBlue: [44, 49], bgMagenta: [45, 49], bgCyan: [46, 49], bgWhite: [47, 49], bgBlackBright: [100, 49], bgRedBright: [101, 49], bgGreenBright: [102, 49], bgYellowBright: [103, 49], bgBlueBright: [104, 49], bgMagentaBright: [105, 49], bgCyanBright: [106, 49], bgWhiteBright: [107, 49] } };
102313
- o3.color.gray = o3.color.blackBright, o3.bgColor.bgGray = o3.bgColor.bgBlackBright, o3.color.grey = o3.color.blackBright, o3.bgColor.bgGrey = o3.bgColor.bgBlackBright;
102314
- for (const [D3, e3] of Object.entries(o3)) {
102315
- for (const [D4, t3] of Object.entries(e3))
102316
- o3[D4] = { open: `\x1B[${t3[0]}m`, close: `\x1B[${t3[1]}m` }, e3[D4] = o3[D4], u3.set(t3[0], t3[1]);
102317
- Object.defineProperty(o3, D3, { value: e3, enumerable: false });
102318
- }
102319
- return Object.defineProperty(o3, "codes", { value: u3, enumerable: false }), o3.color.close = "\x1B[39m", o3.bgColor.close = "\x1B[49m", s2(o3.color, "ansi", () => i2(D2, "ansi16", r2, false)), s2(o3.color, "ansi256", () => i2(e2, "ansi256", r2, false)), s2(o3.color, "ansi16m", () => i2(t2, "rgb", n2, false)), s2(o3.bgColor, "ansi", () => i2(D2, "ansi16", r2, true)), s2(o3.bgColor, "ansi256", () => i2(e2, "ansi256", r2, true)), s2(o3.bgColor, "ansi16m", () => i2(t2, "rgb", n2, true)), o3;
102320
- } });
102324
+ Object.defineProperty(u2, "exports", {
102325
+ enumerable: true,
102326
+ get: function() {
102327
+ const u3 = /* @__PURE__ */ new Map(), o3 = { modifier: { reset: [0, 0], bold: [1, 22], dim: [2, 22], italic: [3, 23], underline: [4, 24], inverse: [7, 27], hidden: [8, 28], strikethrough: [9, 29] }, color: { black: [30, 39], red: [31, 39], green: [32, 39], yellow: [33, 39], blue: [34, 39], magenta: [35, 39], cyan: [36, 39], white: [37, 39], blackBright: [90, 39], redBright: [91, 39], greenBright: [92, 39], yellowBright: [93, 39], blueBright: [94, 39], magentaBright: [95, 39], cyanBright: [96, 39], whiteBright: [97, 39] }, bgColor: { bgBlack: [40, 49], bgRed: [41, 49], bgGreen: [42, 49], bgYellow: [43, 49], bgBlue: [44, 49], bgMagenta: [45, 49], bgCyan: [46, 49], bgWhite: [47, 49], bgBlackBright: [100, 49], bgRedBright: [101, 49], bgGreenBright: [102, 49], bgYellowBright: [103, 49], bgBlueBright: [104, 49], bgMagentaBright: [105, 49], bgCyanBright: [106, 49], bgWhiteBright: [107, 49] } };
102328
+ o3.color.gray = o3.color.blackBright, o3.bgColor.bgGray = o3.bgColor.bgBlackBright, o3.color.grey = o3.color.blackBright, o3.bgColor.bgGrey = o3.bgColor.bgBlackBright;
102329
+ for (const [D3, e3] of Object.entries(o3)) {
102330
+ for (const [D4, t3] of Object.entries(e3))
102331
+ o3[D4] = { open: `\x1B[${t3[0]}m`, close: `\x1B[${t3[1]}m` }, e3[D4] = o3[D4], u3.set(t3[0], t3[1]);
102332
+ Object.defineProperty(o3, D3, { value: e3, enumerable: false });
102333
+ }
102334
+ return Object.defineProperty(o3, "codes", { value: u3, enumerable: false }), o3.color.close = "\x1B[39m", o3.bgColor.close = "\x1B[49m", s2(o3.color, "ansi", () => i2(D2, "ansi16", r2, false)), s2(o3.color, "ansi256", () => i2(e2, "ansi256", r2, false)), s2(o3.color, "ansi16m", () => i2(t2, "rgb", n2, false)), s2(o3.bgColor, "ansi", () => i2(D2, "ansi16", r2, true)), s2(o3.bgColor, "ansi256", () => i2(e2, "ansi256", r2, true)), s2(o3.bgColor, "ansi16m", () => i2(t2, "rgb", n2, true)), o3;
102335
+ }
102336
+ });
102321
102337
  });
102322
102338
  var tu = (u2, D2 = process.argv) => {
102323
102339
  const e2 = u2.startsWith("-") ? "" : 1 === u2.length ? "-" : "--", t2 = D2.indexOf(e2 + u2), r2 = D2.indexOf("--");
@@ -102364,27 +102380,34 @@ var require_dist6 = __commonJS({
102364
102380
  return /-256(color)?$/i.test(ru.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ru.TERM) || "COLORTERM" in ru ? 1 : e2;
102365
102381
  }
102366
102382
  tu("no-color") || tu("no-colors") || tu("color=false") || tu("color=never") ? nu = 0 : (tu("color") || tu("colors") || tu("color=true") || tu("color=always")) && (nu = 1), "FORCE_COLOR" in ru && (nu = "true" === ru.FORCE_COLOR ? 1 : "false" === ru.FORCE_COLOR ? 0 : 0 === ru.FORCE_COLOR.length ? 1 : Math.min(parseInt(ru.FORCE_COLOR, 10), 3));
102367
- var iu = { supportsColor: function(u2) {
102368
- return su(ou(u2, u2 && u2.isTTY));
102369
- }, stdout: su(ou(true, n.isatty(1))), stderr: su(ou(true, n.isatty(2))) };
102370
- var au = { stringReplaceAll: (u2, D2, e2) => {
102371
- let t2 = u2.indexOf(D2);
102372
- if (-1 === t2)
102373
- return u2;
102374
- const r2 = D2.length;
102375
- let n2 = 0, s2 = "";
102376
- do {
102377
- s2 += u2.substr(n2, t2 - n2) + D2 + e2, n2 = t2 + r2, t2 = u2.indexOf(D2, n2);
102378
- } while (-1 !== t2);
102379
- return s2 += u2.substr(n2), s2;
102380
- }, stringEncaseCRLFWithFirstIndex: (u2, D2, e2, t2) => {
102381
- let r2 = 0, n2 = "";
102382
- do {
102383
- const s2 = "\r" === u2[t2 - 1];
102384
- n2 += u2.substr(r2, (s2 ? t2 - 1 : t2) - r2) + D2 + (s2 ? "\r\n" : "\n") + e2, r2 = t2 + 1, t2 = u2.indexOf("\n", r2);
102385
- } while (-1 !== t2);
102386
- return n2 += u2.substr(r2), n2;
102387
- } };
102383
+ var iu = {
102384
+ supportsColor: function(u2) {
102385
+ return su(ou(u2, u2 && u2.isTTY));
102386
+ },
102387
+ stdout: su(ou(true, n.isatty(1))),
102388
+ stderr: su(ou(true, n.isatty(2)))
102389
+ };
102390
+ var au = {
102391
+ stringReplaceAll: (u2, D2, e2) => {
102392
+ let t2 = u2.indexOf(D2);
102393
+ if (-1 === t2)
102394
+ return u2;
102395
+ const r2 = D2.length;
102396
+ let n2 = 0, s2 = "";
102397
+ do {
102398
+ s2 += u2.substr(n2, t2 - n2) + D2 + e2, n2 = t2 + r2, t2 = u2.indexOf(D2, n2);
102399
+ } while (-1 !== t2);
102400
+ return s2 += u2.substr(n2), s2;
102401
+ },
102402
+ stringEncaseCRLFWithFirstIndex: (u2, D2, e2, t2) => {
102403
+ let r2 = 0, n2 = "";
102404
+ do {
102405
+ const s2 = "\r" === u2[t2 - 1];
102406
+ n2 += u2.substr(r2, (s2 ? t2 - 1 : t2) - r2) + D2 + (s2 ? "\r\n" : "\n") + e2, r2 = t2 + 1, t2 = u2.indexOf("\n", r2);
102407
+ } while (-1 !== t2);
102408
+ return n2 += u2.substr(r2), n2;
102409
+ }
102410
+ };
102388
102411
  var lu = /(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;
102389
102412
  var cu = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
102390
102413
  var hu = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
@@ -102481,38 +102504,53 @@ var require_dist6 = __commonJS({
102481
102504
  return wu(u2);
102482
102505
  }
102483
102506
  for (const [u2, D2] of Object.entries(eu))
102484
- _u[u2] = { get() {
102485
- const e2 = ku(this, Iu(D2.open, D2.close, this._styler), this._isEmpty);
102486
- return Object.defineProperty(this, u2, { value: e2 }), e2;
102487
- } };
102488
- _u.visible = { get() {
102489
- const u2 = ku(this, this._styler, true);
102490
- return Object.defineProperty(this, "visible", { value: u2 }), u2;
102491
- } };
102507
+ _u[u2] = {
102508
+ get() {
102509
+ const e2 = ku(this, Iu(D2.open, D2.close, this._styler), this._isEmpty);
102510
+ return Object.defineProperty(this, u2, { value: e2 }), e2;
102511
+ }
102512
+ };
102513
+ _u.visible = {
102514
+ get() {
102515
+ const u2 = ku(this, this._styler, true);
102516
+ return Object.defineProperty(this, "visible", { value: u2 }), u2;
102517
+ }
102518
+ };
102492
102519
  var Mu = ["rgb", "hex", "keyword", "hsl", "hsv", "hwb", "ansi", "ansi256"];
102493
102520
  for (const u2 of Mu)
102494
- _u[u2] = { get() {
102495
- const { level: D2 } = this;
102496
- return function(...e2) {
102497
- const t2 = Iu(eu.color[vu[D2]][u2](...e2), eu.color.close, this._styler);
102498
- return ku(this, t2, this._isEmpty);
102499
- };
102500
- } };
102521
+ _u[u2] = {
102522
+ get() {
102523
+ const { level: D2 } = this;
102524
+ return function(...e2) {
102525
+ const t2 = Iu(eu.color[vu[D2]][u2](...e2), eu.color.close, this._styler);
102526
+ return ku(this, t2, this._isEmpty);
102527
+ };
102528
+ }
102529
+ };
102501
102530
  for (const u2 of Mu) {
102502
- _u["bg" + u2[0].toUpperCase() + u2.slice(1)] = { get() {
102503
- const { level: D2 } = this;
102504
- return function(...e2) {
102505
- const t2 = Iu(eu.bgColor[vu[D2]][u2](...e2), eu.bgColor.close, this._styler);
102506
- return ku(this, t2, this._isEmpty);
102507
- };
102508
- } };
102531
+ _u["bg" + u2[0].toUpperCase() + u2.slice(1)] = {
102532
+ get() {
102533
+ const { level: D2 } = this;
102534
+ return function(...e2) {
102535
+ const t2 = Iu(eu.bgColor[vu[D2]][u2](...e2), eu.bgColor.close, this._styler);
102536
+ return ku(this, t2, this._isEmpty);
102537
+ };
102538
+ }
102539
+ };
102509
102540
  }
102510
102541
  var Su = Object.defineProperties(() => {
102511
- }, { ..._u, level: { enumerable: true, get() {
102512
- return this._generator.level;
102513
- }, set(u2) {
102514
- this._generator.level = u2;
102515
- } } });
102542
+ }, {
102543
+ ..._u,
102544
+ level: {
102545
+ enumerable: true,
102546
+ get() {
102547
+ return this._generator.level;
102548
+ },
102549
+ set(u2) {
102550
+ this._generator.level = u2;
102551
+ }
102552
+ }
102553
+ });
102516
102554
  var Iu = (u2, D2, e2) => {
102517
102555
  let t2, r2;
102518
102556
  return void 0 === e2 ? (t2 = u2, r2 = D2) : (t2 = e2.openAll + u2, r2 = D2 + e2.closeAll), { open: u2, close: D2, openAll: t2, closeAll: r2, parent: e2 };
@@ -103683,13 +103721,7 @@ var require_dist6 = __commonJS({
103683
103721
  };
103684
103722
  logger.info("tsc", "Emitting DTS files");
103685
103723
  let transformDiagnostics = [];
103686
- let emitResult = program.emit(
103687
- void 0,
103688
- writeFile2,
103689
- void 0,
103690
- true,
103691
- options.getTransform ? { before: [options.getTransform(program, transformDiagnostics)] } : void 0
103692
- );
103724
+ let emitResult = program.emit(void 0, writeFile2, void 0, true);
103693
103725
  let diagnostics = _typescript2.default.getPreEmitDiagnostics(program).concat(emitResult.diagnostics);
103694
103726
  let diagnosticMessages = [];
103695
103727
  [...transformDiagnostics, ...diagnostics].forEach((diagnostic) => {
@@ -130251,9 +130283,14 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130251
130283
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
130252
130284
  return (message) => {
130253
130285
  console.error(
130254
- ` ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").white("\n\n \u{1F480} Fatal ")} ${chalk.reset.hex(
130286
+ `
130287
+
130288
+ ${chalk.bold.hex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6")(
130289
+ ">"
130290
+ )} ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").white(" \u{1F480} Fatal ")} ${chalk.reset.hex(
130255
130291
  config?.colors?.fatal ? config.colors.fatal : "#1fb2a6"
130256
130292
  )(message)}
130293
+
130257
130294
  `
130258
130295
  );
130259
130296
  };
@@ -130261,9 +130298,14 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130261
130298
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
130262
130299
  return (message) => {
130263
130300
  console.error(
130264
- ` ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").white("\n\n \u{1F6D1} Error ")} ${chalk.reset.hex(
130301
+ `
130302
+
130303
+ ${chalk.bold.hex(config?.colors?.error ? config.colors.error : "#7d1a1a")(
130304
+ ">"
130305
+ )} ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").white(" \u{1F6D1} Error ")} ${chalk.reset.hex(
130265
130306
  config?.colors?.error ? config.colors.error : "#7d1a1a"
130266
130307
  )(message)}
130308
+
130267
130309
  `
130268
130310
  );
130269
130311
  };
@@ -130271,9 +130313,14 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130271
130313
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
130272
130314
  return (message) => {
130273
130315
  console.warn(
130274
- ` ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white("\n\n \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
130316
+ `
130317
+
130318
+ ${chalk.bold.hex(config?.colors?.warning ? config.colors.warning : "#fcc419")(
130319
+ ">"
130320
+ )} ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white(" \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
130275
130321
  config?.colors?.warning ? config.colors.warning : "#fcc419"
130276
130322
  )(message)}
130323
+
130277
130324
  `
130278
130325
  );
130279
130326
  };
@@ -130281,9 +130328,14 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130281
130328
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
130282
130329
  return (message) => {
130283
130330
  console.info(
130284
- ` ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white("\n\n \u{1F4EC} Info ")} ${chalk.reset.hex(
130331
+ `
130332
+
130333
+ ${chalk.bold.hex(config?.colors?.info ? config.colors.info : "#0ea5e9")(
130334
+ ">"
130335
+ )} ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white(" \u{1F4EC} Info ")} ${chalk.reset.hex(
130285
130336
  config?.colors?.info ? config.colors.info : "#0ea5e9"
130286
130337
  )(message)}
130338
+
130287
130339
  `
130288
130340
  );
130289
130341
  };
@@ -130291,9 +130343,14 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130291
130343
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
130292
130344
  return (message) => {
130293
130345
  console.info(
130294
- ` ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").white("\n\n \u{1F389} Success ")} ${chalk.reset.hex(
130346
+ `
130347
+
130348
+ ${chalk.bold.hex(config?.colors?.success ? config.colors.success : "#087f5b")(
130349
+ ">"
130350
+ )} ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").white(" \u{1F389} Success ")} ${chalk.reset.hex(
130295
130351
  config?.colors?.success ? config.colors.success : "#087f5b"
130296
130352
  )(message)}
130353
+
130297
130354
  `
130298
130355
  );
130299
130356
  };
@@ -130301,24 +130358,35 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130301
130358
  if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
130302
130359
  return (message) => {
130303
130360
  console.debug(
130304
- ` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F9EA} Debug ")} ${chalk.reset.hex(
130361
+ `
130362
+
130363
+ ${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(
130364
+ ">"
130365
+ )} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" \u{1F9EA} Debug ")} ${chalk.reset.hex(
130305
130366
  config?.colors?.primary ? config.colors.primary : "#1fb2a6"
130306
130367
  )(message)}
130368
+
130307
130369
  `
130308
130370
  );
130309
130371
  };
130310
130372
  }
130311
130373
  return (message) => {
130312
130374
  console.log(
130313
- ` ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white("\n\n \u{1F4E2} System ")} ${chalk.bold.hex(
130375
+ `
130376
+
130377
+ ${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(
130378
+ ">"
130379
+ )} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" \u{1F4E2} System ")} ${chalk.bold.hex(
130314
130380
  config?.colors?.primary ? config.colors.primary : "#1fb2a6"
130315
130381
  )(message)}
130382
+
130316
130383
  `
130317
130384
  );
130318
130385
  };
130319
130386
  };
130320
130387
  var writeFatal = (config, message) => getLogFn(config, LogLevel.FATAL)(message);
130321
130388
  var writeError = (config, message) => getLogFn(config, LogLevel.ERROR)(message);
130389
+ var writeWarning = (config, message) => getLogFn(config, LogLevel.WARN)(message);
130322
130390
  var writeInfo = (config, message) => getLogFn(config, LogLevel.INFO)(message);
130323
130391
  var writeSuccess = (config, message) => getLogFn(config, LogLevel.SUCCESS)(message);
130324
130392
  var writeDebug = (config, message) => getLogFn(config, LogLevel.DEBUG)(message);
@@ -131334,8 +131402,9 @@ ${commentStart} ----------------------------------------------------------------
131334
131402
  };
131335
131403
 
131336
131404
  // packages/workspace-tools/src/executors/tsup/executor.ts
131337
- var import_fs4 = require("fs");
131338
- var import_path4 = require("path");
131405
+ var import_node_fs = require("node:fs");
131406
+ var import_promises2 = require("node:fs/promises");
131407
+ var import_node_path2 = require("node:path");
131339
131408
  var import_esbuild_decorators = __toESM(require_src2());
131340
131409
  var import_devkit3 = __toESM(require_devkit());
131341
131410
  var import_js2 = __toESM(require_src());
@@ -131385,7 +131454,6 @@ var environmentPlugin = (data) => ({
131385
131454
 
131386
131455
  // packages/workspace-tools/src/executors/tsup/executor.ts
131387
131456
  var import_fs_extra = __toESM(require_lib4());
131388
- var import_promises2 = require("fs/promises");
131389
131457
 
131390
131458
  // node_modules/.pnpm/minimatch@9.0.3/node_modules/minimatch/dist/mjs/index.js
131391
131459
  var import_brace_expansion = __toESM(require_brace_expansion2(), 1);
@@ -137646,8 +137714,9 @@ var getTypiaTransform = (program, diagnostics) => (0, import_transform.default)(
137646
137714
  // packages/workspace-tools/src/executors/tsup/executor.ts
137647
137715
  async function tsupExecutorFn(options, context, config) {
137648
137716
  try {
137649
- console.log("\u{1F4E6} Running Storm build executor on the workspace");
137650
- getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.log(
137717
+ writeInfo(config, "\u{1F4E6} Running Storm build executor on the workspace");
137718
+ getLogLevel(config?.logLevel) >= LogLevel.TRACE && writeDebug(
137719
+ config,
137651
137720
  `\u2699\uFE0F Executor options:
137652
137721
  ${Object.keys(options).map(
137653
137722
  (key) => `${key}: ${!options[key] || _isPrimitive(options[key]) ? options[key] : JSON.stringify(options[key])}`
@@ -137664,7 +137733,7 @@ ${Object.keys(options).map(
137664
137733
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot;
137665
137734
  if (options.clean !== false) {
137666
137735
  if (getLogLevel(config?.logLevel) >= LogLevel.DEBUG) {
137667
- console.log(`\u{1F9F9} Cleaning output path: ${options.outputPath}`);
137736
+ writeInfo(config, `\u{1F9F9} Cleaning output path: ${options.outputPath}`);
137668
137737
  }
137669
137738
  (0, import_fs_extra.removeSync)(options.outputPath);
137670
137739
  }
@@ -137700,9 +137769,9 @@ ${Object.keys(options).map(
137700
137769
  if (!result.success) {
137701
137770
  throw new Error("The Build process failed trying to copy assets");
137702
137771
  }
137703
- const pathToPackageJson = (0, import_path4.join)(context.root, projectRoot, "package.json");
137772
+ const pathToPackageJson = (0, import_node_path2.join)(context.root, projectRoot, "package.json");
137704
137773
  const packageJson = (0, import_fileutils.fileExists)(pathToPackageJson) ? (0, import_devkit3.readJsonFile)(pathToPackageJson) : { name: context.projectName, version: "0.0.1" };
137705
- const workspacePackageJson = (0, import_devkit3.readJsonFile)((0, import_path4.join)(workspaceRoot, "package.json"));
137774
+ const workspacePackageJson = (0, import_devkit3.readJsonFile)((0, import_node_path2.join)(workspaceRoot, "package.json"));
137706
137775
  options.external = options.external || [];
137707
137776
  if (workspacePackageJson?.dependencies) {
137708
137777
  options.external = Object.keys(workspacePackageJson?.dependencies).reduce(
@@ -137735,13 +137804,13 @@ ${Object.keys(options).map(
137735
137804
  const internalDependencies = [];
137736
137805
  const projectConfigs = await Promise.resolve(getProjectConfigurations());
137737
137806
  if (getLogLevel(config?.logLevel) >= LogLevel.TRACE) {
137738
- console.log("Project Configs:");
137807
+ writeDebug(config, "Project Configs:");
137739
137808
  console.log(projectConfigs);
137740
137809
  }
137741
137810
  if (implicitDependencies && implicitDependencies.length > 0) {
137742
137811
  options.external = implicitDependencies.reduce((ret, key) => {
137743
137812
  if (getLogLevel(config?.logLevel) >= LogLevel.DEBUG) {
137744
- console.log(`\u26A1 Adding implicit dependency: ${key}`);
137813
+ writeDebug(config, `\u26A1 Adding implicit dependency: ${key}`);
137745
137814
  }
137746
137815
  const projectConfig = projectConfigs[key];
137747
137816
  if (projectConfig?.targets?.build) {
@@ -137863,11 +137932,11 @@ ${externalDependencies.map((dep) => {
137863
137932
  },
137864
137933
  ...(options.additionalEntryPoints ?? []).map((entryPoint) => ({
137865
137934
  [removeExtension(entryPoint).replace(sourceRoot, "")]: {
137866
- types: (0, import_path4.join)(
137935
+ types: (0, import_node_path2.join)(
137867
137936
  `./${distPaths[0]}`,
137868
137937
  `${removeExtension(entryPoint.replace(sourceRoot, ""))}.d.ts`
137869
137938
  ),
137870
- default: (0, import_path4.join)(
137939
+ default: (0, import_node_path2.join)(
137871
137940
  `./${distPaths[0]}`,
137872
137941
  `${removeExtension(entryPoint.replace(sourceRoot, ""))}.js`
137873
137942
  )
@@ -137913,7 +137982,7 @@ ${externalDependencies.map((dep) => {
137913
137982
  if (distSrc.startsWith("/")) {
137914
137983
  distSrc = distSrc.substring(1);
137915
137984
  }
137916
- packageJson.source ??= `${(0, import_path4.join)(distSrc, "index.ts").replaceAll("\\", "/")}`;
137985
+ packageJson.source ??= `${(0, import_node_path2.join)(distSrc, "index.ts").replaceAll("\\", "/")}`;
137917
137986
  }
137918
137987
  packageJson.sideEffects ??= false;
137919
137988
  packageJson.files ??= ["dist/**/*"];
@@ -137931,12 +138000,12 @@ ${externalDependencies.map((dep) => {
137931
138000
  packageJson.license ??= workspacePackageJson.license;
137932
138001
  packageJson.keywords ??= workspacePackageJson.keywords;
137933
138002
  packageJson.repository ??= workspacePackageJson.repository;
137934
- packageJson.repository.directory ??= projectRoot ? projectRoot : (0, import_path4.join)("packages", context.projectName);
137935
- const packageJsonPath = (0, import_path4.join)(context.root, options.outputPath, "package.json");
138003
+ packageJson.repository.directory ??= projectRoot ? projectRoot : (0, import_node_path2.join)("packages", context.projectName);
138004
+ const packageJsonPath = (0, import_node_path2.join)(context.root, options.outputPath, "package.json");
137936
138005
  if (getLogLevel(config?.logLevel) >= LogLevel.DEBUG) {
137937
- console.debug(`\u26A1 Writing package.json file to: ${packageJsonPath}`);
138006
+ writeDebug(config, `\u26A1 Writing package.json file to: ${packageJsonPath}`);
137938
138007
  }
137939
- (0, import_fs4.writeFileSync)(
138008
+ (0, import_node_fs.writeFileSync)(
137940
138009
  packageJsonPath,
137941
138010
  await (0, import_prettier.format)(JSON.stringify(packageJson), {
137942
138011
  ...prettierOptions,
@@ -137958,7 +138027,7 @@ ${externalDependencies.map((dep) => {
137958
138027
  await (0, import_prettier.format)(
137959
138028
  `${options.banner ? options.banner.startsWith("//") ? options.banner : `// ${options.banner}` : ""}
137960
138029
 
137961
- ${(0, import_fs4.readFileSync)(file, "utf-8")}`,
138030
+ ${(0, import_node_fs.readFileSync)(file, "utf-8")}`,
137962
138031
  {
137963
138032
  ...prettierOptions,
137964
138033
  parser: "typescript"
@@ -138023,7 +138092,7 @@ ${options.banner}
138023
138092
  };
138024
138093
  if (options.getConfig) {
138025
138094
  if (getLogLevel(config?.logLevel) >= LogLevel.INFO) {
138026
- console.log("\u26A1 Running the Build process");
138095
+ writeInfo(config, "\u26A1 Running the Build process");
138027
138096
  }
138028
138097
  const getConfigFns = _isFunction(options.getConfig) ? [options.getConfig] : Object.keys(options.getConfig).map((key) => options.getConfig[key]);
138029
138098
  const tsupConfig = (0, import_tsup.defineConfig)(
@@ -138037,10 +138106,13 @@ ${options.banner}
138037
138106
  await build(tsupConfig, config);
138038
138107
  }
138039
138108
  } else if (getLogLevel(config?.logLevel) >= LogLevel.WARN) {
138040
- console.warn("The Build process did not run because no `getConfig` parameter was provided");
138109
+ writeWarning(
138110
+ config,
138111
+ "The Build process did not run because no `getConfig` parameter was provided"
138112
+ );
138041
138113
  }
138042
138114
  if (getLogLevel(config?.logLevel) >= LogLevel.INFO) {
138043
- console.log("\u26A1 The Build process has completed successfully");
138115
+ writeSuccess(config, "\u26A1 The Build process has completed successfully");
138044
138116
  }
138045
138117
  return {
138046
138118
  success: true
@@ -138070,11 +138142,11 @@ function getNormalizedTsConfig(workspaceRoot, outputPath, options) {
138070
138142
  emitDeclarationOnly: true,
138071
138143
  declaration: true,
138072
138144
  declarationMap: true,
138073
- declarationDir: (0, import_path4.join)(workspaceRoot, "tmp", ".tsup", "declaration")
138145
+ declarationDir: (0, import_node_path2.join)(workspaceRoot, "tmp", ".tsup", "declaration")
138074
138146
  }
138075
138147
  },
138076
138148
  ts.sys,
138077
- (0, import_path4.dirname)(options.tsConfig)
138149
+ (0, import_node_path2.dirname)(options.tsConfig)
138078
138150
  );
138079
138151
  tsConfig.options.pathsBasePath = workspaceRoot;
138080
138152
  if (tsConfig.options.incremental && !tsConfig.options.tsBuildInfoFile) {
@@ -138150,7 +138222,7 @@ var _isFunction = (value) => {
138150
138222
 
138151
138223
  // packages/workspace-tools/src/executors/tsup-neutral/get-config.ts
138152
138224
  var import_devkit4 = __toESM(require_devkit());
138153
- function neutralConfig({
138225
+ var neutralConfig = ({
138154
138226
  entry,
138155
138227
  outDir,
138156
138228
  projectRoot,
@@ -138174,7 +138246,7 @@ function neutralConfig({
138174
138246
  generatePackageJson,
138175
138247
  dtsTsConfig,
138176
138248
  getTransform
138177
- }) {
138249
+ }) => {
138178
138250
  const outputPath = (0, import_devkit4.joinPathFragments)(outDir, "dist");
138179
138251
  const options = {
138180
138252
  name: "neutral",
@@ -138230,16 +138302,13 @@ function neutralConfig({
138230
138302
  };
138231
138303
  }
138232
138304
  return options;
138233
- }
138305
+ };
138234
138306
 
138235
138307
  // packages/workspace-tools/src/executors/tsup-neutral/executor.ts
138236
138308
  var tsupNeutralBuildExecutorFn = (options, context, config) => {
138237
138309
  return tsupExecutorFn(
138238
138310
  {
138239
138311
  ...options,
138240
- getConfig: {
138241
- dist: neutralConfig
138242
- },
138243
138312
  platform: "neutral",
138244
138313
  banner: getFileBanner(
138245
138314
  context.projectName ? context.projectName.split(/(?=[A-Z])|[\.\-\s_]/).map((s) => s.trim()).filter((s) => !!s).map((s) => s ? s.toUpperCase()[0] + s.toLowerCase().slice(1) : "").join(" ") : "TypeScript (Neutral Platform)"
@@ -138249,6 +138318,9 @@ var tsupNeutralBuildExecutorFn = (options, context, config) => {
138249
138318
  },
138250
138319
  env: {
138251
138320
  ...process.env
138321
+ },
138322
+ getConfig: {
138323
+ dist: neutralConfig
138252
138324
  }
138253
138325
  },
138254
138326
  context,
@@ -138400,8 +138472,8 @@ var executor_default3 = withRunExecutor(
138400
138472
 
138401
138473
  // packages/workspace-tools/src/generators/config-schema/generator.ts
138402
138474
  var import_devkit6 = __toESM(require_devkit());
138403
- var import_fs5 = require("fs");
138404
- var import_path5 = require("path");
138475
+ var import_fs4 = require("fs");
138476
+ var import_path4 = require("path");
138405
138477
 
138406
138478
  // node_modules/.pnpm/zod-to-json-schema@3.22.1_zod@3.22.4/node_modules/zod-to-json-schema/dist/esm/errorMessages.js
138407
138479
  function addErrorMessage(res, key, errorMessage, refs) {
@@ -139421,11 +139493,11 @@ async function configSchemaGeneratorFn(tree, options) {
139421
139493
  const modules = await Promise.all(
139422
139494
  Object.keys(projectConfigurations).map(async (key) => {
139423
139495
  if (projectConfigurations[key]?.config) {
139424
- const configPath = (0, import_path5.join)(
139496
+ const configPath = (0, import_path4.join)(
139425
139497
  workspaceRoot,
139426
139498
  projectConfigurations[key].config
139427
139499
  );
139428
- if ((0, import_fs5.existsSync)(configPath)) {
139500
+ if ((0, import_fs4.existsSync)(configPath)) {
139429
139501
  const mod = await import(configPath);
139430
139502
  if (mod.default) {
139431
139503
  return { name: key, schema: mod.default };
@@ -139453,7 +139525,7 @@ async function configSchemaGeneratorFn(tree, options) {
139453
139525
  );
139454
139526
  (0, import_devkit6.writeJson)(
139455
139527
  tree,
139456
- options.outputFile ? (0, import_path5.join)(workspaceRoot, options.outputFile) : (0, import_path5.join)(workspaceRoot, "storm.schema.json"),
139528
+ options.outputFile ? (0, import_path4.join)(workspaceRoot, options.outputFile) : (0, import_path4.join)(workspaceRoot, "storm.schema.json"),
139457
139529
  zodToJsonSchema(ModulesSchema, "StormConfig")
139458
139530
  );
139459
139531
  await (0, import_devkit6.formatFiles)(tree);
@@ -139752,12 +139824,12 @@ var generator_default3 = withRunGenerator(
139752
139824
  );
139753
139825
 
139754
139826
  // packages/workspace-tools/src/utils/find-cache-dir.ts
139755
- var import_node_fs = require("node:fs");
139756
- var import_node_path2 = require("node:path");
139827
+ var import_node_fs2 = require("node:fs");
139828
+ var import_node_path3 = require("node:path");
139757
139829
  var import_node_process = require("node:process");
139758
139830
  var isWritable2 = (path3) => {
139759
139831
  try {
139760
- (0, import_node_fs.accessSync)(path3, import_node_fs.constants.W_OK);
139832
+ (0, import_node_fs2.accessSync)(path3, import_node_fs2.constants.W_OK);
139761
139833
  return true;
139762
139834
  } catch {
139763
139835
  return false;
@@ -139765,13 +139837,13 @@ var isWritable2 = (path3) => {
139765
139837
  };
139766
139838
  function useDirectory(directory, { create = true }) {
139767
139839
  if (create) {
139768
- (0, import_node_fs.mkdirSync)(directory, { recursive: true });
139840
+ (0, import_node_fs2.mkdirSync)(directory, { recursive: true });
139769
139841
  }
139770
139842
  return directory;
139771
139843
  }
139772
139844
  function getNodeModuleDirectory(workspaceRoot) {
139773
- const nodeModules = (0, import_node_path2.join)(workspaceRoot, "node_modules");
139774
- if ((0, import_node_fs.existsSync)(nodeModules) && !isWritable2(nodeModules)) {
139845
+ const nodeModules = (0, import_node_path3.join)(workspaceRoot, "node_modules");
139846
+ if ((0, import_node_fs2.existsSync)(nodeModules) && !isWritable2(nodeModules)) {
139775
139847
  throw new Error("Cannot write to node_modules directory");
139776
139848
  }
139777
139849
  return nodeModules;
@@ -139787,10 +139859,10 @@ function findCacheDirectory({
139787
139859
  create: true
139788
139860
  }) {
139789
139861
  if (import_node_process.env.CACHE_DIR && !["true", "false", "1", "0"].includes(import_node_process.env.CACHE_DIR)) {
139790
- return useDirectory((0, import_node_path2.join)(import_node_process.env.CACHE_DIR, name, cacheName), { create });
139862
+ return useDirectory((0, import_node_path3.join)(import_node_process.env.CACHE_DIR, name, cacheName), { create });
139791
139863
  }
139792
139864
  if (import_node_process.env.STORM_CACHE_DIR && !["true", "false", "1", "0"].includes(import_node_process.env.STORM_CACHE_DIR)) {
139793
- return useDirectory((0, import_node_path2.join)(import_node_process.env.STORM_CACHE_DIR, name, cacheName), {
139865
+ return useDirectory((0, import_node_path3.join)(import_node_process.env.STORM_CACHE_DIR, name, cacheName), {
139794
139866
  create
139795
139867
  });
139796
139868
  }
@@ -139799,14 +139871,14 @@ function findCacheDirectory({
139799
139871
  throw new Error("Cannot find node_modules directory");
139800
139872
  }
139801
139873
  return useDirectory(
139802
- (0, import_node_path2.join)(workspaceRoot, "node_modules", ".cache", name, cacheName),
139874
+ (0, import_node_path3.join)(workspaceRoot, "node_modules", ".cache", name, cacheName),
139803
139875
  { create }
139804
139876
  );
139805
139877
  }
139806
139878
 
139807
139879
  // packages/workspace-tools/src/utils/workspace-storage.ts
139808
- var import_node_fs2 = require("node:fs");
139809
- var import_node_path3 = require("node:path");
139880
+ var import_node_fs3 = require("node:fs");
139881
+ var import_node_path4 = require("node:path");
139810
139882
  var WorkspaceStorage = class {
139811
139883
  constructor({
139812
139884
  cacheName,
@@ -139826,9 +139898,9 @@ var WorkspaceStorage = class {
139826
139898
  * @returns The value of the key
139827
139899
  */
139828
139900
  getItem(key) {
139829
- const cacheFile = (0, import_node_path3.join)(this.cacheDir, key);
139830
- if ((0, import_node_fs2.existsSync)(cacheFile)) {
139831
- return (0, import_node_fs2.readFileSync)(cacheFile, "utf-8");
139901
+ const cacheFile = (0, import_node_path4.join)(this.cacheDir, key);
139902
+ if ((0, import_node_fs3.existsSync)(cacheFile)) {
139903
+ return (0, import_node_fs3.readFileSync)(cacheFile, "utf-8");
139832
139904
  }
139833
139905
  return void 0;
139834
139906
  }
@@ -139839,7 +139911,7 @@ var WorkspaceStorage = class {
139839
139911
  * @param value - The value to set
139840
139912
  */
139841
139913
  setItem(key, value) {
139842
- (0, import_node_fs2.writeFileSync)((0, import_node_path3.join)(this.cacheDir, key), value, { encoding: "utf-8" });
139914
+ (0, import_node_fs3.writeFileSync)((0, import_node_path4.join)(this.cacheDir, key), value, { encoding: "utf-8" });
139843
139915
  }
139844
139916
  /**
139845
139917
  * Remove item from cache
@@ -139847,14 +139919,14 @@ var WorkspaceStorage = class {
139847
139919
  * @param key - The key to remove
139848
139920
  */
139849
139921
  removeItem(key) {
139850
- (0, import_node_fs2.rmSync)((0, import_node_path3.join)(this.cacheDir, key), { force: true, recursive: true });
139922
+ (0, import_node_fs3.rmSync)((0, import_node_path4.join)(this.cacheDir, key), { force: true, recursive: true });
139851
139923
  }
139852
139924
  /**
139853
139925
  * Clear the cache
139854
139926
  */
139855
139927
  clear() {
139856
- (0, import_node_fs2.readdirSync)(this.cacheDir).forEach((cacheFile) => {
139857
- (0, import_node_fs2.rmSync)(cacheFile, { force: true, recursive: true });
139928
+ (0, import_node_fs3.readdirSync)(this.cacheDir).forEach((cacheFile) => {
139929
+ (0, import_node_fs3.rmSync)(cacheFile, { force: true, recursive: true });
139858
139930
  });
139859
139931
  }
139860
139932
  /**
@@ -139864,7 +139936,7 @@ var WorkspaceStorage = class {
139864
139936
  * @returns The key at the index
139865
139937
  */
139866
139938
  key(index) {
139867
- const files = (0, import_node_fs2.readdirSync)(this.cacheDir);
139939
+ const files = (0, import_node_fs3.readdirSync)(this.cacheDir);
139868
139940
  if (index < files.length && index >= 0) {
139869
139941
  return files[index];
139870
139942
  }