@storm-software/workspace-tools 1.43.15 → 1.43.17

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.
@@ -8247,14 +8247,14 @@ var require_parse_target_string = __commonJS({
8247
8247
  Object.defineProperty(exports, "__esModule", { value: true });
8248
8248
  exports.targetToTargetString = exports.parseTargetString = void 0;
8249
8249
  var nx_1 = require_nx();
8250
- var { readCachedProjectGraph, splitTarget, splitByColons } = (0, nx_1.requireNx)();
8250
+ var { readCachedProjectGraph: readCachedProjectGraph2, splitTarget, splitByColons } = (0, nx_1.requireNx)();
8251
8251
  splitTarget = splitTarget ?? require("nx/src/utils/split-target").splitTarget;
8252
8252
  splitByColons = splitByColons ?? ((s) => s.split(":"));
8253
8253
  function parseTargetString(targetString, projectGraphOrCtx) {
8254
8254
  let projectGraph = projectGraphOrCtx && "projectGraph" in projectGraphOrCtx ? projectGraphOrCtx.projectGraph : projectGraphOrCtx;
8255
8255
  if (!projectGraph) {
8256
8256
  try {
8257
- projectGraph = readCachedProjectGraph();
8257
+ projectGraph = readCachedProjectGraph2();
8258
8258
  } catch (e) {
8259
8259
  projectGraph = { nodes: {} };
8260
8260
  }
@@ -16390,14 +16390,14 @@ var require_share = __commonJS({
16390
16390
  resetConnection === null || resetConnection === void 0 ? void 0 : resetConnection.unsubscribe();
16391
16391
  resetConnection = void 0;
16392
16392
  };
16393
- var reset2 = function() {
16393
+ var reset = function() {
16394
16394
  cancelReset();
16395
16395
  connection = subject = void 0;
16396
16396
  hasCompleted = hasErrored = false;
16397
16397
  };
16398
16398
  var resetAndUnsubscribe = function() {
16399
16399
  var conn = connection;
16400
- reset2();
16400
+ reset();
16401
16401
  conn === null || conn === void 0 ? void 0 : conn.unsubscribe();
16402
16402
  };
16403
16403
  return lift_1.operate(function(source, subscriber) {
@@ -16421,13 +16421,13 @@ var require_share = __commonJS({
16421
16421
  error: function(err) {
16422
16422
  hasErrored = true;
16423
16423
  cancelReset();
16424
- resetConnection = handleReset(reset2, resetOnError, err);
16424
+ resetConnection = handleReset(reset, resetOnError, err);
16425
16425
  dest.error(err);
16426
16426
  },
16427
16427
  complete: function() {
16428
16428
  hasCompleted = true;
16429
16429
  cancelReset();
16430
- resetConnection = handleReset(reset2, resetOnComplete);
16430
+ resetConnection = handleReset(reset, resetOnComplete);
16431
16431
  dest.complete();
16432
16432
  }
16433
16433
  });
@@ -16437,13 +16437,13 @@ var require_share = __commonJS({
16437
16437
  };
16438
16438
  }
16439
16439
  exports.share = share;
16440
- function handleReset(reset2, on) {
16440
+ function handleReset(reset, on) {
16441
16441
  var args = [];
16442
16442
  for (var _i = 2; _i < arguments.length; _i++) {
16443
16443
  args[_i - 2] = arguments[_i];
16444
16444
  }
16445
16445
  if (on === true) {
16446
- reset2();
16446
+ reset();
16447
16447
  return;
16448
16448
  }
16449
16449
  if (on === false) {
@@ -16452,7 +16452,7 @@ var require_share = __commonJS({
16452
16452
  var onSubscriber = new Subscriber_1.SafeSubscriber({
16453
16453
  next: function() {
16454
16454
  onSubscriber.unsubscribe();
16455
- reset2();
16455
+ reset();
16456
16456
  }
16457
16457
  });
16458
16458
  return innerFrom_1.innerFrom(on.apply(void 0, __spreadArray2([], __read2(args)))).subscribe(onSubscriber);
@@ -32205,7 +32205,7 @@ var require_array2 = __commonJS({
32205
32205
  parent.enabled = choices.every((ch) => ch.enabled === true);
32206
32206
  parent = parent.parent;
32207
32207
  }
32208
- reset2(this, this.choices);
32208
+ reset(this, this.choices);
32209
32209
  this.emit("toggle", choice, this);
32210
32210
  return choice;
32211
32211
  }
@@ -32503,7 +32503,7 @@ var require_array2 = __commonJS({
32503
32503
  }
32504
32504
  }
32505
32505
  get choices() {
32506
- return reset2(this, this.state.choices || []);
32506
+ return reset(this, this.state.choices || []);
32507
32507
  }
32508
32508
  set visible(visible) {
32509
32509
  this.state.visible = visible;
@@ -32551,7 +32551,7 @@ var require_array2 = __commonJS({
32551
32551
  return this.multiple ? this.enabled : this.focused;
32552
32552
  }
32553
32553
  };
32554
- function reset2(prompt, choices) {
32554
+ function reset(prompt, choices) {
32555
32555
  if (choices instanceof Promise)
32556
32556
  return choices;
32557
32557
  if (typeof choices === "function") {
@@ -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=xmhwxzi2nqhltf2r7syhjyoc7i_@microsoft+api-extractor@7.38.3_@swc+core@1._6zprvhhd4zzf6xxclnutwtxcvy/node_modules/tsup/dist/chunk-EPAEWGCP.js
44825
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=q3adzeotawbaqlm7xnns7alayq_@microsoft+api-extractor@7.38.3_@swc+core@1._kmr4yps6ayaxcckp3s3lqs2juq/node_modules/tsup/dist/chunk-EPAEWGCP.js
44826
44826
  var require_chunk_EPAEWGCP = __commonJS({
44827
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=xmhwxzi2nqhltf2r7syhjyoc7i_@microsoft+api-extractor@7.38.3_@swc+core@1._6zprvhhd4zzf6xxclnutwtxcvy/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports) {
44827
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=q3adzeotawbaqlm7xnns7alayq_@microsoft+api-extractor@7.38.3_@swc+core@1._kmr4yps6ayaxcckp3s3lqs2juq/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=xmhwxzi2nqhltf2r7syhjyoc7i_@microsoft+api-extractor@7.38.3_@swc+core@1._6zprvhhd4zzf6xxclnutwtxcvy/node_modules/tsup/dist/chunk-GQ77QZBO.js
46474
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=q3adzeotawbaqlm7xnns7alayq_@microsoft+api-extractor@7.38.3_@swc+core@1._kmr4yps6ayaxcckp3s3lqs2juq/node_modules/tsup/dist/chunk-GQ77QZBO.js
46475
46475
  var require_chunk_GQ77QZBO = __commonJS({
46476
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=xmhwxzi2nqhltf2r7syhjyoc7i_@microsoft+api-extractor@7.38.3_@swc+core@1._6zprvhhd4zzf6xxclnutwtxcvy/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports) {
46476
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=q3adzeotawbaqlm7xnns7alayq_@microsoft+api-extractor@7.38.3_@swc+core@1._kmr4yps6ayaxcckp3s3lqs2juq/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=xmhwxzi2nqhltf2r7syhjyoc7i_@microsoft+api-extractor@7.38.3_@swc+core@1._6zprvhhd4zzf6xxclnutwtxcvy/node_modules/tsup/dist/chunk-UIX4URMV.js
46754
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=q3adzeotawbaqlm7xnns7alayq_@microsoft+api-extractor@7.38.3_@swc+core@1._kmr4yps6ayaxcckp3s3lqs2juq/node_modules/tsup/dist/chunk-UIX4URMV.js
46755
46755
  var require_chunk_UIX4URMV = __commonJS({
46756
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=xmhwxzi2nqhltf2r7syhjyoc7i_@microsoft+api-extractor@7.38.3_@swc+core@1._6zprvhhd4zzf6xxclnutwtxcvy/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports) {
46756
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=q3adzeotawbaqlm7xnns7alayq_@microsoft+api-extractor@7.38.3_@swc+core@1._kmr4yps6ayaxcckp3s3lqs2juq/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) {
@@ -46812,7 +46812,7 @@ var require_chunk_UIX4URMV = __commonJS({
46812
46812
  magentaBright: () => magentaBright,
46813
46813
  red: () => red,
46814
46814
  redBright: () => redBright,
46815
- reset: () => reset2,
46815
+ reset: () => reset,
46816
46816
  strikethrough: () => strikethrough,
46817
46817
  underline: () => underline,
46818
46818
  white: () => white,
@@ -46889,7 +46889,7 @@ var require_chunk_UIX4URMV = __commonJS({
46889
46889
  {}
46890
46890
  );
46891
46891
  var {
46892
- reset: reset2,
46892
+ reset,
46893
46893
  bold: bold2,
46894
46894
  dim: dim2,
46895
46895
  italic,
@@ -47687,9 +47687,9 @@ var require_dist3 = __commonJS({
47687
47687
  }
47688
47688
  });
47689
47689
 
47690
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=xmhwxzi2nqhltf2r7syhjyoc7i_@microsoft+api-extractor@7.38.3_@swc+core@1._6zprvhhd4zzf6xxclnutwtxcvy/node_modules/tsup/dist/chunk-7G76EW2R.js
47690
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=q3adzeotawbaqlm7xnns7alayq_@microsoft+api-extractor@7.38.3_@swc+core@1._kmr4yps6ayaxcckp3s3lqs2juq/node_modules/tsup/dist/chunk-7G76EW2R.js
47691
47691
  var require_chunk_7G76EW2R = __commonJS({
47692
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=xmhwxzi2nqhltf2r7syhjyoc7i_@microsoft+api-extractor@7.38.3_@swc+core@1._6zprvhhd4zzf6xxclnutwtxcvy/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports) {
47692
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=q3adzeotawbaqlm7xnns7alayq_@microsoft+api-extractor@7.38.3_@swc+core@1._kmr4yps6ayaxcckp3s3lqs2juq/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) {
@@ -78733,7 +78733,7 @@ var require_rollup = __commonJS({
78733
78733
  {}
78734
78734
  );
78735
78735
  var {
78736
- reset: reset2,
78736
+ reset,
78737
78737
  bold: bold$1,
78738
78738
  dim: dim$1,
78739
78739
  italic,
@@ -93603,19 +93603,19 @@ ${outro}`;
93603
93603
  function keep(key, value) {
93604
93604
  if (++num > limit) {
93605
93605
  prev = curr;
93606
- reset3(1);
93606
+ reset2(1);
93607
93607
  ++num;
93608
93608
  }
93609
93609
  curr[key] = value;
93610
93610
  }
93611
- function reset3(isPartial) {
93611
+ function reset2(isPartial) {
93612
93612
  num = 0;
93613
93613
  curr = /* @__PURE__ */ Object.create(null);
93614
93614
  isPartial || (prev = /* @__PURE__ */ Object.create(null));
93615
93615
  }
93616
- reset3();
93616
+ reset2();
93617
93617
  return {
93618
- clear: reset3,
93618
+ clear: reset2,
93619
93619
  has: function(key) {
93620
93620
  return curr[key] !== void 0 || prev[key] !== void 0;
93621
93621
  },
@@ -101426,9 +101426,9 @@ var require_chokidar = __commonJS({
101426
101426
  }
101427
101427
  });
101428
101428
 
101429
- // node_modules/.pnpm/tsup@8.0.0_patch_hash=xmhwxzi2nqhltf2r7syhjyoc7i_@microsoft+api-extractor@7.38.3_@swc+core@1._6zprvhhd4zzf6xxclnutwtxcvy/node_modules/tsup/dist/index.js
101429
+ // node_modules/.pnpm/tsup@8.0.0_patch_hash=q3adzeotawbaqlm7xnns7alayq_@microsoft+api-extractor@7.38.3_@swc+core@1._kmr4yps6ayaxcckp3s3lqs2juq/node_modules/tsup/dist/index.js
101430
101430
  var require_dist6 = __commonJS({
101431
- "node_modules/.pnpm/tsup@8.0.0_patch_hash=xmhwxzi2nqhltf2r7syhjyoc7i_@microsoft+api-extractor@7.38.3_@swc+core@1._6zprvhhd4zzf6xxclnutwtxcvy/node_modules/tsup/dist/index.js"(exports) {
101431
+ "node_modules/.pnpm/tsup@8.0.0_patch_hash=q3adzeotawbaqlm7xnns7alayq_@microsoft+api-extractor@7.38.3_@swc+core@1._kmr4yps6ayaxcckp3s3lqs2juq/node_modules/tsup/dist/index.js"(exports) {
101432
101432
  "use strict";
101433
101433
  Object.defineProperty(exports, "__esModule", { value: true });
101434
101434
  function _interopRequireDefault(obj) {
@@ -103721,7 +103721,13 @@ var require_dist6 = __commonJS({
103721
103721
  };
103722
103722
  logger.info("tsc", "Emitting DTS files");
103723
103723
  let transformDiagnostics = [];
103724
- let emitResult = program.emit(void 0, writeFile2, void 0, true);
103724
+ let emitResult = program.emit(
103725
+ void 0,
103726
+ writeFile2,
103727
+ void 0,
103728
+ true,
103729
+ options.getTransform ? { before: [options.getTransform(program, transformDiagnostics)] } : void 0
103730
+ );
103725
103731
  let diagnostics = _typescript2.default.getPreEmitDiagnostics(program).concat(emitResult.diagnostics);
103726
103732
  let diagnosticMessages = [];
103727
103733
  [...transformDiagnostics, ...diagnostics].forEach((diagnostic) => {
@@ -103762,7 +103768,10 @@ var require_dist6 = __commonJS({
103762
103768
  const program = _typescript2.default.createProgram({
103763
103769
  rootNames: compilerOptions.fileNames,
103764
103770
  options: compilerOptions.options,
103765
- host
103771
+ host: {
103772
+ ...host,
103773
+ jsDocParsingMode: _typescript2.default.JSDocParsingMode?.ParseAll !== void 0 ? _typescript2.default.JSDocParsingMode.ParseAll : 0
103774
+ }
103766
103775
  });
103767
103776
  const fileMapping = emitDtsFiles(program, host, options);
103768
103777
  if (!fileMapping || fileMapping.size === 0) {
@@ -130192,14 +130201,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130192
130201
  return (message) => {
130193
130202
  console.error(
130194
130203
  `
130195
-
130196
-
130197
- ${chalk.bold.hex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6")(
130198
- ">"
130199
- )} ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").white(" \u{1F480} Fatal ")} ${chalk.reset.hex(
130204
+ ${chalk.bold.hex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").white(" \u{1F480} Fatal ")} ${chalk.hex(
130200
130205
  config?.colors?.fatal ? config.colors.fatal : "#1fb2a6"
130201
- )(message)}
130202
-
130206
+ )(message)}
130203
130207
 
130204
130208
  `
130205
130209
  );
@@ -130209,15 +130213,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130209
130213
  return (message) => {
130210
130214
  console.error(
130211
130215
  `
130212
-
130213
-
130214
- ${chalk.bold.hex(config?.colors?.error ? config.colors.error : "#7d1a1a")(
130215
- ">"
130216
- )} ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").white(" \u{1F6D1} Error ")} ${chalk.reset.hex(
130216
+ ${chalk.bold.hex(config?.colors?.error ? config.colors.error : "#7d1a1a")(">")} ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").white(" \u{1F6D1} Error ")} ${chalk.hex(
130217
130217
  config?.colors?.error ? config.colors.error : "#7d1a1a"
130218
- )(message)}
130219
-
130220
-
130218
+ )(message)}
130221
130219
  `
130222
130220
  );
130223
130221
  };
@@ -130226,15 +130224,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130226
130224
  return (message) => {
130227
130225
  console.warn(
130228
130226
  `
130229
-
130230
-
130231
- ${chalk.bold.hex(config?.colors?.warning ? config.colors.warning : "#fcc419")(
130232
- ">"
130233
- )} ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white(" \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
130227
+ ${chalk.bold.hex(config?.colors?.warning ? config.colors.warning : "#fcc419")(">")} ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white(" \u26A0\uFE0F Warn ")} ${chalk.hex(
130234
130228
  config?.colors?.warning ? config.colors.warning : "#fcc419"
130235
- )(message)}
130236
-
130237
-
130229
+ )(message)}
130238
130230
  `
130239
130231
  );
130240
130232
  };
@@ -130243,15 +130235,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130243
130235
  return (message) => {
130244
130236
  console.info(
130245
130237
  `
130246
-
130247
-
130248
- ${chalk.bold.hex(config?.colors?.info ? config.colors.info : "#0ea5e9")(
130249
- ">"
130250
- )} ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white(" \u{1F4EC} Info ")} ${chalk.reset.hex(
130238
+ ${chalk.bold.hex(config?.colors?.info ? config.colors.info : "#0ea5e9")(">")} ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white(" \u{1F4EC} Info ")} ${chalk.hex(
130251
130239
  config?.colors?.info ? config.colors.info : "#0ea5e9"
130252
- )(message)}
130253
-
130254
-
130240
+ )(message)}
130255
130241
  `
130256
130242
  );
130257
130243
  };
@@ -130260,15 +130246,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130260
130246
  return (message) => {
130261
130247
  console.info(
130262
130248
  `
130263
-
130264
-
130265
- ${chalk.bold.hex(config?.colors?.success ? config.colors.success : "#087f5b")(
130266
- ">"
130267
- )} ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").white(" \u{1F389} Success ")} ${chalk.reset.hex(
130249
+ ${chalk.bold.hex(config?.colors?.success ? config.colors.success : "#087f5b")(">")} ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").white(" \u{1F389} Success ")} ${chalk.hex(
130268
130250
  config?.colors?.success ? config.colors.success : "#087f5b"
130269
- )(message)}
130270
-
130271
-
130251
+ )(message)}
130272
130252
  `
130273
130253
  );
130274
130254
  };
@@ -130277,15 +130257,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130277
130257
  return (message) => {
130278
130258
  console.debug(
130279
130259
  `
130280
-
130281
-
130282
- ${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(
130283
- ">"
130284
- )} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" \u{1F9EA} Debug ")} ${chalk.reset.hex(
130260
+ ${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" \u{1F9EA} Debug ")} ${chalk.hex(
130285
130261
  config?.colors?.primary ? config.colors.primary : "#1fb2a6"
130286
- )(message)}
130287
-
130288
-
130262
+ )(message)}
130289
130263
  `
130290
130264
  );
130291
130265
  };
@@ -130293,15 +130267,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130293
130267
  return (message) => {
130294
130268
  console.log(
130295
130269
  `
130296
-
130297
-
130298
- ${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(
130299
- ">"
130300
- )} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" \u{1F4E2} System ")} ${chalk.bold.hex(
130270
+ ${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(">")} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" \u{1F4E2} System ")} ${chalk.hex(
130301
130271
  config?.colors?.primary ? config.colors.primary : "#1fb2a6"
130302
- )(message)}
130303
-
130304
-
130272
+ )(message)}
130305
130273
  `
130306
130274
  );
130307
130275
  };
@@ -130525,12 +130493,12 @@ var loadStormConfig = async (workspaceRoot) => {
130525
130493
  if (key === "colors") {
130526
130494
  configFile.colors = {
130527
130495
  primary: process.env.STORM_COLOR_PRIMARY ?? configFile.colors?.primary,
130528
- background: process.env.STORM_COLOR_BACKGROUND ?? configFile.colors?.primary,
130529
- success: process.env.STORM_COLOR_SUCCESS ?? configFile.colors?.primary,
130530
- info: process.env.STORM_COLOR_INFO ?? configFile.colors?.primary,
130531
- warning: process.env.STORM_COLOR_WARNING ?? configFile.colors?.primary,
130532
- error: process.env.STORM_COLOR_ERROR ?? configFile.colors?.primary,
130533
- fatal: process.env.STORM_COLOR_FATAL ?? configFile.colors?.primary
130496
+ background: process.env.STORM_COLOR_BACKGROUND ?? configFile.colors?.background,
130497
+ success: process.env.STORM_COLOR_SUCCESS ?? configFile.colors?.success,
130498
+ info: process.env.STORM_COLOR_INFO ?? configFile.colors?.info,
130499
+ warning: process.env.STORM_COLOR_WARNING ?? configFile.colors?.warning,
130500
+ error: process.env.STORM_COLOR_ERROR ?? configFile.colors?.error,
130501
+ fatal: process.env.STORM_COLOR_FATAL ?? configFile.colors?.fatal
130534
130502
  };
130535
130503
  } else {
130536
130504
  configFile[key] = configEnv[key];
@@ -130539,13 +130507,14 @@ var loadStormConfig = async (workspaceRoot) => {
130539
130507
  }
130540
130508
  const config = StormConfigSchema.parse(configFile);
130541
130509
  setConfigEnv(config);
130542
- console.debug("\n\n");
130510
+ console.debug("\r\n\r\n");
130543
130511
  console.debug(`Loaded Storm config from ${config.configFile}`);
130544
130512
  for (const key of Object.keys(configFile)) {
130545
- console.debug(` ----- ${key} ----- `);
130513
+ console.debug(`
130514
+ ----- ${key} ----- `);
130546
130515
  console.debug(configFile[key]);
130547
130516
  }
130548
- console.debug("\n\n");
130517
+ console.debug("\r\n\r\n");
130549
130518
  return config;
130550
130519
  };
130551
130520
 
@@ -137266,29 +137235,19 @@ ${externalDependencies.map((dep) => {
137266
137235
  }
137267
137236
  return ret;
137268
137237
  }, {});
137269
- console.log("Conditional before checking entry points");
137270
137238
  if (options.generatePackageJson !== false) {
137271
- console.log("Checking entry points");
137272
- const projectGraph = await (0, import_devkit2.createProjectGraphAsync)({
137273
- exitOnError: true
137274
- });
137275
- console.log("Read project graph");
137239
+ const projectGraph = (0, import_devkit2.readCachedProjectGraph)();
137276
137240
  packageJson.dependencies = void 0;
137277
137241
  for (const externalDependency of externalDependencies) {
137278
- console.log(externalDependency);
137279
137242
  const packageConfig = externalDependency.node.data;
137280
- if (packageConfig?.packageName && externalDependency.node.type === "npm" && packageConfig?.packageName !== "@biomejs/biome") {
137281
- console.log("In if statement");
137282
- console.log(packageConfig);
137243
+ if (packageConfig?.packageName && !!(projectGraph.externalNodes[externalDependency.node.name]?.type === "npm")) {
137283
137244
  const { packageName, version } = packageConfig;
137284
- if (workspacePackageJson.dependencies?.[packageName] || workspacePackageJson.devDependencies?.[packageName] || packageJson?.devDependencies?.[packageName]) {
137285
- return null;
137245
+ if (!workspacePackageJson.dependencies?.[packageName] && !workspacePackageJson.devDependencies?.[packageName] && !packageJson?.devDependencies?.[packageName]) {
137246
+ packageJson.dependencies ??= {};
137247
+ packageJson.dependencies[packageName] = projectGraph.nodes[externalDependency.node.name] ? "latest" : version;
137286
137248
  }
137287
- packageJson.dependencies ??= {};
137288
- packageJson.dependencies[packageName] = projectGraph.nodes[externalDependency.node.name] ? "latest" : version;
137289
137249
  }
137290
137250
  }
137291
- console.log("Checking entry points - internalDependencies");
137292
137251
  for (const packageName of internalDependencies) {
137293
137252
  if (!packageJson?.devDependencies?.[packageName]) {
137294
137253
  packageJson.dependencies ??= {};
@@ -137327,7 +137286,6 @@ ${externalDependencies.map((dep) => {
137327
137286
  },
137328
137287
  "./package.json": "./package.json"
137329
137288
  };
137330
- console.log("Checking entry points - packageJson.exports");
137331
137289
  packageJson.exports = Object.keys(entry).reduce((ret, key) => {
137332
137290
  let packageJsonKey = key.startsWith("./") ? key : `./${key}`;
137333
137291
  packageJsonKey = packageJsonKey.replaceAll("/index", "");
@@ -137384,7 +137342,6 @@ ${externalDependencies.map((dep) => {
137384
137342
  packageJson.keywords ??= workspacePackageJson.keywords;
137385
137343
  packageJson.repository ??= workspacePackageJson.repository;
137386
137344
  packageJson.repository.directory ??= projectRoot ? projectRoot : (0, import_node_path2.join)("packages", context.projectName);
137387
- console.log("Checking entry points - packageJsonPath");
137388
137345
  const packageJsonPath = (0, import_node_path2.join)(context.root, options.outputPath, "package.json");
137389
137346
  writeDebug(config, `\u26A1 Writing package.json file to: ${packageJsonPath}`);
137390
137347
  (0, import_node_fs2.writeFileSync)(
@@ -137397,7 +137354,6 @@ ${externalDependencies.map((dep) => {
137397
137354
  } else {
137398
137355
  writeWarning(config, "Skipping writing to package.json file");
137399
137356
  }
137400
- console.log("Checking entry points - options.includeSrc");
137401
137357
  if (options.includeSrc === true) {
137402
137358
  const files = globSync([
137403
137359
  (0, import_devkit2.joinPathFragments)(context.root, options.outputPath, "src/**/*.ts"),
@@ -137465,11 +137421,12 @@ ${(0, import_node_fs2.readFileSync)(file, "utf-8")}`,
137465
137421
  js: `${options.banner}
137466
137422
 
137467
137423
  `,
137468
- css: `/*
137424
+ css: `/*
137469
137425
  ${options.banner}
137470
- */
137471
137426
 
137472
- `
137427
+
137428
+
137429
+ */`
137473
137430
  } : void 0,
137474
137431
  outputPath: options.outputPath,
137475
137432
  entry,
@@ -1,5 +1,6 @@
1
- import { EsBuildExecutorOptions } from "@nx/esbuild/src/executors/esbuild/schema.d.ts";
2
- import { Options } from "tsup";
1
+ import type { EsBuildExecutorOptions } from "@nx/esbuild/src/executors/esbuild/schema.d.ts";
2
+ import type { Options } from "tsup";
3
+ import type { GetConfigParams } from "../../types";
3
4
 
4
5
  export type Platform = "browser" | "neutral" | "node" | "worker";
5
6