@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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## [1.43.16](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.43.15...workspace-tools-v1.43.16) (2024-01-17)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **workspace-tools:** Resolved blocking issue preventing tsup build completion ([e13f88f](https://github.com/storm-software/storm-ops/commit/e13f88f4c98eda68ec3d45c3b48caba533243b55))
7
+
8
+ ## [1.43.15](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.43.14...workspace-tools-v1.43.15) (2024-01-17)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **config-tools:** Ensure colors are set correctly ([e6fffd0](https://github.com/storm-software/storm-ops/commit/e6fffd0c6554d2fa36e3a4b8b44b443c030aa831))
14
+ * **workspace-tools:** Skip adding biome as external dependency ([0512735](https://github.com/storm-software/storm-ops/commit/051273598815a55c9e5f0ff7b39e1eefc2b93be3))
15
+
1
16
  ## [1.43.14](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.43.13...workspace-tools-v1.43.14) (2024-01-17)
2
17
 
3
18
 
package/index.js CHANGED
@@ -16007,14 +16007,14 @@ var require_parse_target_string = __commonJS({
16007
16007
  Object.defineProperty(exports, "__esModule", { value: true });
16008
16008
  exports.targetToTargetString = exports.parseTargetString = void 0;
16009
16009
  var nx_1 = require_nx();
16010
- var { readCachedProjectGraph, splitTarget, splitByColons } = (0, nx_1.requireNx)();
16010
+ var { readCachedProjectGraph: readCachedProjectGraph2, splitTarget, splitByColons } = (0, nx_1.requireNx)();
16011
16011
  splitTarget = splitTarget ?? require("nx/src/utils/split-target").splitTarget;
16012
16012
  splitByColons = splitByColons ?? ((s) => s.split(":"));
16013
16013
  function parseTargetString(targetString, projectGraphOrCtx) {
16014
16014
  let projectGraph = projectGraphOrCtx && "projectGraph" in projectGraphOrCtx ? projectGraphOrCtx.projectGraph : projectGraphOrCtx;
16015
16015
  if (!projectGraph) {
16016
16016
  try {
16017
- projectGraph = readCachedProjectGraph();
16017
+ projectGraph = readCachedProjectGraph2();
16018
16018
  } catch (e) {
16019
16019
  projectGraph = { nodes: {} };
16020
16020
  }
@@ -24150,14 +24150,14 @@ var require_share = __commonJS({
24150
24150
  resetConnection === null || resetConnection === void 0 ? void 0 : resetConnection.unsubscribe();
24151
24151
  resetConnection = void 0;
24152
24152
  };
24153
- var reset2 = function() {
24153
+ var reset = function() {
24154
24154
  cancelReset();
24155
24155
  connection = subject = void 0;
24156
24156
  hasCompleted = hasErrored = false;
24157
24157
  };
24158
24158
  var resetAndUnsubscribe = function() {
24159
24159
  var conn = connection;
24160
- reset2();
24160
+ reset();
24161
24161
  conn === null || conn === void 0 ? void 0 : conn.unsubscribe();
24162
24162
  };
24163
24163
  return lift_1.operate(function(source, subscriber) {
@@ -24181,13 +24181,13 @@ var require_share = __commonJS({
24181
24181
  error: function(err) {
24182
24182
  hasErrored = true;
24183
24183
  cancelReset();
24184
- resetConnection = handleReset(reset2, resetOnError, err);
24184
+ resetConnection = handleReset(reset, resetOnError, err);
24185
24185
  dest.error(err);
24186
24186
  },
24187
24187
  complete: function() {
24188
24188
  hasCompleted = true;
24189
24189
  cancelReset();
24190
- resetConnection = handleReset(reset2, resetOnComplete);
24190
+ resetConnection = handleReset(reset, resetOnComplete);
24191
24191
  dest.complete();
24192
24192
  }
24193
24193
  });
@@ -24197,13 +24197,13 @@ var require_share = __commonJS({
24197
24197
  };
24198
24198
  }
24199
24199
  exports.share = share;
24200
- function handleReset(reset2, on) {
24200
+ function handleReset(reset, on) {
24201
24201
  var args = [];
24202
24202
  for (var _i = 2; _i < arguments.length; _i++) {
24203
24203
  args[_i - 2] = arguments[_i];
24204
24204
  }
24205
24205
  if (on === true) {
24206
- reset2();
24206
+ reset();
24207
24207
  return;
24208
24208
  }
24209
24209
  if (on === false) {
@@ -24212,7 +24212,7 @@ var require_share = __commonJS({
24212
24212
  var onSubscriber = new Subscriber_1.SafeSubscriber({
24213
24213
  next: function() {
24214
24214
  onSubscriber.unsubscribe();
24215
- reset2();
24215
+ reset();
24216
24216
  }
24217
24217
  });
24218
24218
  return innerFrom_1.innerFrom(on.apply(void 0, __spreadArray2([], __read2(args)))).subscribe(onSubscriber);
@@ -28102,7 +28102,7 @@ var require_array = __commonJS({
28102
28102
  parent.enabled = choices.every((ch) => ch.enabled === true);
28103
28103
  parent = parent.parent;
28104
28104
  }
28105
- reset2(this, this.choices);
28105
+ reset(this, this.choices);
28106
28106
  this.emit("toggle", choice, this);
28107
28107
  return choice;
28108
28108
  }
@@ -28400,7 +28400,7 @@ var require_array = __commonJS({
28400
28400
  }
28401
28401
  }
28402
28402
  get choices() {
28403
- return reset2(this, this.state.choices || []);
28403
+ return reset(this, this.state.choices || []);
28404
28404
  }
28405
28405
  set visible(visible) {
28406
28406
  this.state.visible = visible;
@@ -28448,7 +28448,7 @@ var require_array = __commonJS({
28448
28448
  return this.multiple ? this.enabled : this.focused;
28449
28449
  }
28450
28450
  };
28451
- function reset2(prompt, choices) {
28451
+ function reset(prompt, choices) {
28452
28452
  if (choices instanceof Promise)
28453
28453
  return choices;
28454
28454
  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) {
@@ -130232,14 +130241,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130232
130241
  return (message) => {
130233
130242
  console.error(
130234
130243
  `
130235
-
130236
-
130237
- ${chalk.bold.hex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6")(
130238
- ">"
130239
- )} ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").white(" \u{1F480} Fatal ")} ${chalk.reset.hex(
130244
+ ${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(
130240
130245
  config?.colors?.fatal ? config.colors.fatal : "#1fb2a6"
130241
- )(message)}
130242
-
130246
+ )(message)}
130243
130247
 
130244
130248
  `
130245
130249
  );
@@ -130249,15 +130253,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130249
130253
  return (message) => {
130250
130254
  console.error(
130251
130255
  `
130252
-
130253
-
130254
- ${chalk.bold.hex(config?.colors?.error ? config.colors.error : "#7d1a1a")(
130255
- ">"
130256
- )} ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").white(" \u{1F6D1} Error ")} ${chalk.reset.hex(
130256
+ ${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(
130257
130257
  config?.colors?.error ? config.colors.error : "#7d1a1a"
130258
- )(message)}
130259
-
130260
-
130258
+ )(message)}
130261
130259
  `
130262
130260
  );
130263
130261
  };
@@ -130266,15 +130264,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130266
130264
  return (message) => {
130267
130265
  console.warn(
130268
130266
  `
130269
-
130270
-
130271
- ${chalk.bold.hex(config?.colors?.warning ? config.colors.warning : "#fcc419")(
130272
- ">"
130273
- )} ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white(" \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
130267
+ ${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(
130274
130268
  config?.colors?.warning ? config.colors.warning : "#fcc419"
130275
- )(message)}
130276
-
130277
-
130269
+ )(message)}
130278
130270
  `
130279
130271
  );
130280
130272
  };
@@ -130283,15 +130275,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130283
130275
  return (message) => {
130284
130276
  console.info(
130285
130277
  `
130286
-
130287
-
130288
- ${chalk.bold.hex(config?.colors?.info ? config.colors.info : "#0ea5e9")(
130289
- ">"
130290
- )} ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white(" \u{1F4EC} Info ")} ${chalk.reset.hex(
130278
+ ${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(
130291
130279
  config?.colors?.info ? config.colors.info : "#0ea5e9"
130292
- )(message)}
130293
-
130294
-
130280
+ )(message)}
130295
130281
  `
130296
130282
  );
130297
130283
  };
@@ -130300,15 +130286,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130300
130286
  return (message) => {
130301
130287
  console.info(
130302
130288
  `
130303
-
130304
-
130305
- ${chalk.bold.hex(config?.colors?.success ? config.colors.success : "#087f5b")(
130306
- ">"
130307
- )} ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").white(" \u{1F389} Success ")} ${chalk.reset.hex(
130289
+ ${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(
130308
130290
  config?.colors?.success ? config.colors.success : "#087f5b"
130309
- )(message)}
130310
-
130311
-
130291
+ )(message)}
130312
130292
  `
130313
130293
  );
130314
130294
  };
@@ -130317,15 +130297,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130317
130297
  return (message) => {
130318
130298
  console.debug(
130319
130299
  `
130320
-
130321
-
130322
- ${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(
130323
- ">"
130324
- )} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" \u{1F9EA} Debug ")} ${chalk.reset.hex(
130300
+ ${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(
130325
130301
  config?.colors?.primary ? config.colors.primary : "#1fb2a6"
130326
- )(message)}
130327
-
130328
-
130302
+ )(message)}
130329
130303
  `
130330
130304
  );
130331
130305
  };
@@ -130333,15 +130307,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
130333
130307
  return (message) => {
130334
130308
  console.log(
130335
130309
  `
130336
-
130337
-
130338
- ${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(
130339
- ">"
130340
- )} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" \u{1F4E2} System ")} ${chalk.bold.hex(
130310
+ ${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(
130341
130311
  config?.colors?.primary ? config.colors.primary : "#1fb2a6"
130342
- )(message)}
130343
-
130344
-
130312
+ )(message)}
130345
130313
  `
130346
130314
  );
130347
130315
  };
@@ -130565,12 +130533,12 @@ var loadStormConfig = async (workspaceRoot) => {
130565
130533
  if (key === "colors") {
130566
130534
  configFile.colors = {
130567
130535
  primary: process.env.STORM_COLOR_PRIMARY ?? configFile.colors?.primary,
130568
- background: process.env.STORM_COLOR_BACKGROUND ?? configFile.colors?.primary,
130569
- success: process.env.STORM_COLOR_SUCCESS ?? configFile.colors?.primary,
130570
- info: process.env.STORM_COLOR_INFO ?? configFile.colors?.primary,
130571
- warning: process.env.STORM_COLOR_WARNING ?? configFile.colors?.primary,
130572
- error: process.env.STORM_COLOR_ERROR ?? configFile.colors?.primary,
130573
- fatal: process.env.STORM_COLOR_FATAL ?? configFile.colors?.primary
130536
+ background: process.env.STORM_COLOR_BACKGROUND ?? configFile.colors?.background,
130537
+ success: process.env.STORM_COLOR_SUCCESS ?? configFile.colors?.success,
130538
+ info: process.env.STORM_COLOR_INFO ?? configFile.colors?.info,
130539
+ warning: process.env.STORM_COLOR_WARNING ?? configFile.colors?.warning,
130540
+ error: process.env.STORM_COLOR_ERROR ?? configFile.colors?.error,
130541
+ fatal: process.env.STORM_COLOR_FATAL ?? configFile.colors?.fatal
130574
130542
  };
130575
130543
  } else {
130576
130544
  configFile[key] = configEnv[key];
@@ -130579,13 +130547,14 @@ var loadStormConfig = async (workspaceRoot) => {
130579
130547
  }
130580
130548
  const config = StormConfigSchema.parse(configFile);
130581
130549
  setConfigEnv(config);
130582
- console.debug("\n\n");
130550
+ console.debug("\r\n\r\n");
130583
130551
  console.debug(`Loaded Storm config from ${config.configFile}`);
130584
130552
  for (const key of Object.keys(configFile)) {
130585
- console.debug(` ----- ${key} ----- `);
130553
+ console.debug(`
130554
+ ----- ${key} ----- `);
130586
130555
  console.debug(configFile[key]);
130587
130556
  }
130588
- console.debug("\n\n");
130557
+ console.debug("\r\n\r\n");
130589
130558
  return config;
130590
130559
  };
130591
130560
 
@@ -137863,29 +137832,19 @@ ${externalDependencies.map((dep) => {
137863
137832
  }
137864
137833
  return ret;
137865
137834
  }, {});
137866
- console.log("Conditional before checking entry points");
137867
137835
  if (options.generatePackageJson !== false) {
137868
- console.log("Checking entry points");
137869
- const projectGraph = await (0, import_devkit3.createProjectGraphAsync)({
137870
- exitOnError: true
137871
- });
137872
- console.log("Read project graph");
137836
+ const projectGraph = (0, import_devkit3.readCachedProjectGraph)();
137873
137837
  packageJson.dependencies = void 0;
137874
137838
  for (const externalDependency of externalDependencies) {
137875
- console.log(externalDependency);
137876
137839
  const packageConfig = externalDependency.node.data;
137877
- if (packageConfig?.packageName && externalDependency.node.type === "npm" && packageConfig?.packageName !== "@biomejs/biome") {
137878
- console.log("In if statement");
137879
- console.log(packageConfig);
137840
+ if (packageConfig?.packageName && !!(projectGraph.externalNodes[externalDependency.node.name]?.type === "npm")) {
137880
137841
  const { packageName, version } = packageConfig;
137881
- if (workspacePackageJson.dependencies?.[packageName] || workspacePackageJson.devDependencies?.[packageName] || packageJson?.devDependencies?.[packageName]) {
137882
- return null;
137842
+ if (!workspacePackageJson.dependencies?.[packageName] && !workspacePackageJson.devDependencies?.[packageName] && !packageJson?.devDependencies?.[packageName]) {
137843
+ packageJson.dependencies ??= {};
137844
+ packageJson.dependencies[packageName] = projectGraph.nodes[externalDependency.node.name] ? "latest" : version;
137883
137845
  }
137884
- packageJson.dependencies ??= {};
137885
- packageJson.dependencies[packageName] = projectGraph.nodes[externalDependency.node.name] ? "latest" : version;
137886
137846
  }
137887
137847
  }
137888
- console.log("Checking entry points - internalDependencies");
137889
137848
  for (const packageName of internalDependencies) {
137890
137849
  if (!packageJson?.devDependencies?.[packageName]) {
137891
137850
  packageJson.dependencies ??= {};
@@ -137924,7 +137883,6 @@ ${externalDependencies.map((dep) => {
137924
137883
  },
137925
137884
  "./package.json": "./package.json"
137926
137885
  };
137927
- console.log("Checking entry points - packageJson.exports");
137928
137886
  packageJson.exports = Object.keys(entry).reduce((ret, key) => {
137929
137887
  let packageJsonKey = key.startsWith("./") ? key : `./${key}`;
137930
137888
  packageJsonKey = packageJsonKey.replaceAll("/index", "");
@@ -137981,7 +137939,6 @@ ${externalDependencies.map((dep) => {
137981
137939
  packageJson.keywords ??= workspacePackageJson.keywords;
137982
137940
  packageJson.repository ??= workspacePackageJson.repository;
137983
137941
  packageJson.repository.directory ??= projectRoot ? projectRoot : (0, import_node_path3.join)("packages", context.projectName);
137984
- console.log("Checking entry points - packageJsonPath");
137985
137942
  const packageJsonPath = (0, import_node_path3.join)(context.root, options.outputPath, "package.json");
137986
137943
  writeDebug(config, `\u26A1 Writing package.json file to: ${packageJsonPath}`);
137987
137944
  (0, import_node_fs2.writeFileSync)(
@@ -137994,7 +137951,6 @@ ${externalDependencies.map((dep) => {
137994
137951
  } else {
137995
137952
  writeWarning(config, "Skipping writing to package.json file");
137996
137953
  }
137997
- console.log("Checking entry points - options.includeSrc");
137998
137954
  if (options.includeSrc === true) {
137999
137955
  const files = globSync([
138000
137956
  (0, import_devkit3.joinPathFragments)(context.root, options.outputPath, "src/**/*.ts"),
@@ -138062,11 +138018,12 @@ ${(0, import_node_fs2.readFileSync)(file, "utf-8")}`,
138062
138018
  js: `${options.banner}
138063
138019
 
138064
138020
  `,
138065
- css: `/*
138021
+ css: `/*
138066
138022
  ${options.banner}
138067
- */
138068
138023
 
138069
- `
138024
+
138025
+
138026
+ */`
138070
138027
  } : void 0,
138071
138028
  outputPath: options.outputPath,
138072
138029
  entry,