@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.43.15",
3
+ "version": "1.43.17",
4
4
  "private": false,
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "keywords": [
package/src/base/index.js CHANGED
@@ -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") {
@@ -47336,14 +47336,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
47336
47336
  return (message) => {
47337
47337
  console.error(
47338
47338
  `
47339
-
47340
-
47341
- ${chalk.bold.hex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6")(
47342
- ">"
47343
- )} ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").white(" \u{1F480} Fatal ")} ${chalk.reset.hex(
47339
+ ${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(
47344
47340
  config?.colors?.fatal ? config.colors.fatal : "#1fb2a6"
47345
- )(message)}
47346
-
47341
+ )(message)}
47347
47342
 
47348
47343
  `
47349
47344
  );
@@ -47353,15 +47348,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
47353
47348
  return (message) => {
47354
47349
  console.error(
47355
47350
  `
47356
-
47357
-
47358
- ${chalk.bold.hex(config?.colors?.error ? config.colors.error : "#7d1a1a")(
47359
- ">"
47360
- )} ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").white(" \u{1F6D1} Error ")} ${chalk.reset.hex(
47351
+ ${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(
47361
47352
  config?.colors?.error ? config.colors.error : "#7d1a1a"
47362
- )(message)}
47363
-
47364
-
47353
+ )(message)}
47365
47354
  `
47366
47355
  );
47367
47356
  };
@@ -47370,15 +47359,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
47370
47359
  return (message) => {
47371
47360
  console.warn(
47372
47361
  `
47373
-
47374
-
47375
- ${chalk.bold.hex(config?.colors?.warning ? config.colors.warning : "#fcc419")(
47376
- ">"
47377
- )} ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white(" \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
47362
+ ${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(
47378
47363
  config?.colors?.warning ? config.colors.warning : "#fcc419"
47379
- )(message)}
47380
-
47381
-
47364
+ )(message)}
47382
47365
  `
47383
47366
  );
47384
47367
  };
@@ -47387,15 +47370,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
47387
47370
  return (message) => {
47388
47371
  console.info(
47389
47372
  `
47390
-
47391
-
47392
- ${chalk.bold.hex(config?.colors?.info ? config.colors.info : "#0ea5e9")(
47393
- ">"
47394
- )} ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white(" \u{1F4EC} Info ")} ${chalk.reset.hex(
47373
+ ${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(
47395
47374
  config?.colors?.info ? config.colors.info : "#0ea5e9"
47396
- )(message)}
47397
-
47398
-
47375
+ )(message)}
47399
47376
  `
47400
47377
  );
47401
47378
  };
@@ -47404,15 +47381,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
47404
47381
  return (message) => {
47405
47382
  console.info(
47406
47383
  `
47407
-
47408
-
47409
- ${chalk.bold.hex(config?.colors?.success ? config.colors.success : "#087f5b")(
47410
- ">"
47411
- )} ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").white(" \u{1F389} Success ")} ${chalk.reset.hex(
47384
+ ${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(
47412
47385
  config?.colors?.success ? config.colors.success : "#087f5b"
47413
- )(message)}
47414
-
47415
-
47386
+ )(message)}
47416
47387
  `
47417
47388
  );
47418
47389
  };
@@ -47421,15 +47392,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
47421
47392
  return (message) => {
47422
47393
  console.debug(
47423
47394
  `
47424
-
47425
-
47426
- ${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(
47427
- ">"
47428
- )} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" \u{1F9EA} Debug ")} ${chalk.reset.hex(
47395
+ ${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(
47429
47396
  config?.colors?.primary ? config.colors.primary : "#1fb2a6"
47430
- )(message)}
47431
-
47432
-
47397
+ )(message)}
47433
47398
  `
47434
47399
  );
47435
47400
  };
@@ -47437,15 +47402,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
47437
47402
  return (message) => {
47438
47403
  console.log(
47439
47404
  `
47440
-
47441
-
47442
- ${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(
47443
- ">"
47444
- )} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" \u{1F4E2} System ")} ${chalk.bold.hex(
47405
+ ${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(
47445
47406
  config?.colors?.primary ? config.colors.primary : "#1fb2a6"
47446
- )(message)}
47447
-
47448
-
47407
+ )(message)}
47449
47408
  `
47450
47409
  );
47451
47410
  };
@@ -47668,12 +47627,12 @@ var loadStormConfig = async (workspaceRoot) => {
47668
47627
  if (key === "colors") {
47669
47628
  configFile.colors = {
47670
47629
  primary: process.env.STORM_COLOR_PRIMARY ?? configFile.colors?.primary,
47671
- background: process.env.STORM_COLOR_BACKGROUND ?? configFile.colors?.primary,
47672
- success: process.env.STORM_COLOR_SUCCESS ?? configFile.colors?.primary,
47673
- info: process.env.STORM_COLOR_INFO ?? configFile.colors?.primary,
47674
- warning: process.env.STORM_COLOR_WARNING ?? configFile.colors?.primary,
47675
- error: process.env.STORM_COLOR_ERROR ?? configFile.colors?.primary,
47676
- fatal: process.env.STORM_COLOR_FATAL ?? configFile.colors?.primary
47630
+ background: process.env.STORM_COLOR_BACKGROUND ?? configFile.colors?.background,
47631
+ success: process.env.STORM_COLOR_SUCCESS ?? configFile.colors?.success,
47632
+ info: process.env.STORM_COLOR_INFO ?? configFile.colors?.info,
47633
+ warning: process.env.STORM_COLOR_WARNING ?? configFile.colors?.warning,
47634
+ error: process.env.STORM_COLOR_ERROR ?? configFile.colors?.error,
47635
+ fatal: process.env.STORM_COLOR_FATAL ?? configFile.colors?.fatal
47677
47636
  };
47678
47637
  } else {
47679
47638
  configFile[key] = configEnv[key];
@@ -47682,13 +47641,14 @@ var loadStormConfig = async (workspaceRoot) => {
47682
47641
  }
47683
47642
  const config = StormConfigSchema.parse(configFile);
47684
47643
  setConfigEnv(config);
47685
- console.debug("\n\n");
47644
+ console.debug("\r\n\r\n");
47686
47645
  console.debug(`Loaded Storm config from ${config.configFile}`);
47687
47646
  for (const key of Object.keys(configFile)) {
47688
- console.debug(` ----- ${key} ----- `);
47647
+ console.debug(`
47648
+ ----- ${key} ----- `);
47689
47649
  console.debug(configFile[key]);
47690
47650
  }
47691
- console.debug("\n\n");
47651
+ console.debug("\r\n\r\n");
47692
47652
  return config;
47693
47653
  };
47694
47654
 
@@ -16158,14 +16158,14 @@ var require_share = __commonJS({
16158
16158
  resetConnection === null || resetConnection === void 0 ? void 0 : resetConnection.unsubscribe();
16159
16159
  resetConnection = void 0;
16160
16160
  };
16161
- var reset2 = function() {
16161
+ var reset = function() {
16162
16162
  cancelReset();
16163
16163
  connection = subject = void 0;
16164
16164
  hasCompleted = hasErrored = false;
16165
16165
  };
16166
16166
  var resetAndUnsubscribe = function() {
16167
16167
  var conn = connection;
16168
- reset2();
16168
+ reset();
16169
16169
  conn === null || conn === void 0 ? void 0 : conn.unsubscribe();
16170
16170
  };
16171
16171
  return lift_1.operate(function(source, subscriber) {
@@ -16189,13 +16189,13 @@ var require_share = __commonJS({
16189
16189
  error: function(err) {
16190
16190
  hasErrored = true;
16191
16191
  cancelReset();
16192
- resetConnection = handleReset(reset2, resetOnError, err);
16192
+ resetConnection = handleReset(reset, resetOnError, err);
16193
16193
  dest.error(err);
16194
16194
  },
16195
16195
  complete: function() {
16196
16196
  hasCompleted = true;
16197
16197
  cancelReset();
16198
- resetConnection = handleReset(reset2, resetOnComplete);
16198
+ resetConnection = handleReset(reset, resetOnComplete);
16199
16199
  dest.complete();
16200
16200
  }
16201
16201
  });
@@ -16205,13 +16205,13 @@ var require_share = __commonJS({
16205
16205
  };
16206
16206
  }
16207
16207
  exports.share = share;
16208
- function handleReset(reset2, on) {
16208
+ function handleReset(reset, on) {
16209
16209
  var args = [];
16210
16210
  for (var _i = 2; _i < arguments.length; _i++) {
16211
16211
  args[_i - 2] = arguments[_i];
16212
16212
  }
16213
16213
  if (on === true) {
16214
- reset2();
16214
+ reset();
16215
16215
  return;
16216
16216
  }
16217
16217
  if (on === false) {
@@ -16220,7 +16220,7 @@ var require_share = __commonJS({
16220
16220
  var onSubscriber = new Subscriber_1.SafeSubscriber({
16221
16221
  next: function() {
16222
16222
  onSubscriber.unsubscribe();
16223
- reset2();
16223
+ reset();
16224
16224
  }
16225
16225
  });
16226
16226
  return innerFrom_1.innerFrom(on.apply(void 0, __spreadArray2([], __read2(args)))).subscribe(onSubscriber);
@@ -20478,22 +20478,22 @@ var require_tinycolor = __commonJS({
20478
20478
  };
20479
20479
  }
20480
20480
  function rgbToHex(r, g, b, allow3Char) {
20481
- var hex = [pad2(Math.round(r).toString(16)), pad2(Math.round(g).toString(16)), pad2(Math.round(b).toString(16))];
20482
- if (allow3Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1)) {
20483
- return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);
20481
+ var hex2 = [pad2(Math.round(r).toString(16)), pad2(Math.round(g).toString(16)), pad2(Math.round(b).toString(16))];
20482
+ if (allow3Char && hex2[0].charAt(0) == hex2[0].charAt(1) && hex2[1].charAt(0) == hex2[1].charAt(1) && hex2[2].charAt(0) == hex2[2].charAt(1)) {
20483
+ return hex2[0].charAt(0) + hex2[1].charAt(0) + hex2[2].charAt(0);
20484
20484
  }
20485
- return hex.join("");
20485
+ return hex2.join("");
20486
20486
  }
20487
20487
  function rgbaToHex(r, g, b, a, allow4Char) {
20488
- var hex = [pad2(Math.round(r).toString(16)), pad2(Math.round(g).toString(16)), pad2(Math.round(b).toString(16)), pad2(convertDecimalToHex(a))];
20489
- if (allow4Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1) && hex[3].charAt(0) == hex[3].charAt(1)) {
20490
- return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0) + hex[3].charAt(0);
20488
+ var hex2 = [pad2(Math.round(r).toString(16)), pad2(Math.round(g).toString(16)), pad2(Math.round(b).toString(16)), pad2(convertDecimalToHex(a))];
20489
+ if (allow4Char && hex2[0].charAt(0) == hex2[0].charAt(1) && hex2[1].charAt(0) == hex2[1].charAt(1) && hex2[2].charAt(0) == hex2[2].charAt(1) && hex2[3].charAt(0) == hex2[3].charAt(1)) {
20490
+ return hex2[0].charAt(0) + hex2[1].charAt(0) + hex2[2].charAt(0) + hex2[3].charAt(0);
20491
20491
  }
20492
- return hex.join("");
20492
+ return hex2.join("");
20493
20493
  }
20494
20494
  function rgbaToArgbHex(r, g, b, a) {
20495
- var hex = [pad2(convertDecimalToHex(a)), pad2(Math.round(r).toString(16)), pad2(Math.round(g).toString(16)), pad2(Math.round(b).toString(16))];
20496
- return hex.join("");
20495
+ var hex2 = [pad2(convertDecimalToHex(a)), pad2(Math.round(r).toString(16)), pad2(Math.round(g).toString(16)), pad2(Math.round(b).toString(16))];
20496
+ return hex2.join("");
20497
20497
  }
20498
20498
  tinycolor.equals = function(color1, color2) {
20499
20499
  if (!color1 || !color2)
@@ -45010,7 +45010,7 @@ var require_acorn = __commonJS({
45010
45010
  this.groupNames = [];
45011
45011
  this.backReferenceNames = [];
45012
45012
  };
45013
- RegExpValidationState.prototype.reset = function reset2(start, pattern, flags) {
45013
+ RegExpValidationState.prototype.reset = function reset(start, pattern, flags) {
45014
45014
  var unicodeSets = flags.indexOf("v") !== -1;
45015
45015
  var unicode = flags.indexOf("u") !== -1;
45016
45016
  this.start = start | 0;
@@ -49631,7 +49631,7 @@ ${getTopLevelAwaitHint()}`);
49631
49631
  nodeReplServer = repl;
49632
49632
  context = repl.context;
49633
49633
  const resetEval = appendToEvalState(state, "");
49634
- function reset2() {
49634
+ function reset() {
49635
49635
  resetEval();
49636
49636
  runInContext("exports = module.exports", state.path, context);
49637
49637
  if (forceToBeModule) {
@@ -49643,8 +49643,8 @@ ${module_1.builtinModules.filter((name) => !name.startsWith("_") && !name.includ
49643
49643
  `;
49644
49644
  }
49645
49645
  }
49646
- reset2();
49647
- repl.on("reset", reset2);
49646
+ reset();
49647
+ repl.on("reset", reset);
49648
49648
  repl.defineCommand("type", {
49649
49649
  help: "Check the type of a TypeScript identifier",
49650
49650
  action: function(identifier) {
@@ -65252,14 +65252,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
65252
65252
  return (message) => {
65253
65253
  console.error(
65254
65254
  `
65255
-
65256
-
65257
- ${chalk.bold.hex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6")(
65258
- ">"
65259
- )} ${chalk.bold.bgHex(config?.colors?.fatal ? config.colors.fatal : "#1fb2a6").white(" \u{1F480} Fatal ")} ${chalk.reset.hex(
65255
+ ${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(
65260
65256
  config?.colors?.fatal ? config.colors.fatal : "#1fb2a6"
65261
- )(message)}
65262
-
65257
+ )(message)}
65263
65258
 
65264
65259
  `
65265
65260
  );
@@ -65269,15 +65264,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
65269
65264
  return (message) => {
65270
65265
  console.error(
65271
65266
  `
65272
-
65273
-
65274
- ${chalk.bold.hex(config?.colors?.error ? config.colors.error : "#7d1a1a")(
65275
- ">"
65276
- )} ${chalk.bold.bgHex(config?.colors?.error ? config.colors.error : "#7d1a1a").white(" \u{1F6D1} Error ")} ${chalk.reset.hex(
65267
+ ${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(
65277
65268
  config?.colors?.error ? config.colors.error : "#7d1a1a"
65278
- )(message)}
65279
-
65280
-
65269
+ )(message)}
65281
65270
  `
65282
65271
  );
65283
65272
  };
@@ -65286,15 +65275,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
65286
65275
  return (message) => {
65287
65276
  console.warn(
65288
65277
  `
65289
-
65290
-
65291
- ${chalk.bold.hex(config?.colors?.warning ? config.colors.warning : "#fcc419")(
65292
- ">"
65293
- )} ${chalk.bold.bgHex(config?.colors?.warning ? config.colors.warning : "#fcc419").white(" \u26A0\uFE0F Warn ")} ${chalk.reset.hex(
65278
+ ${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(
65294
65279
  config?.colors?.warning ? config.colors.warning : "#fcc419"
65295
- )(message)}
65296
-
65297
-
65280
+ )(message)}
65298
65281
  `
65299
65282
  );
65300
65283
  };
@@ -65303,15 +65286,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
65303
65286
  return (message) => {
65304
65287
  console.info(
65305
65288
  `
65306
-
65307
-
65308
- ${chalk.bold.hex(config?.colors?.info ? config.colors.info : "#0ea5e9")(
65309
- ">"
65310
- )} ${chalk.bold.bgHex(config?.colors?.info ? config.colors.info : "#0ea5e9").white(" \u{1F4EC} Info ")} ${chalk.reset.hex(
65289
+ ${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(
65311
65290
  config?.colors?.info ? config.colors.info : "#0ea5e9"
65312
- )(message)}
65313
-
65314
-
65291
+ )(message)}
65315
65292
  `
65316
65293
  );
65317
65294
  };
@@ -65320,15 +65297,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
65320
65297
  return (message) => {
65321
65298
  console.info(
65322
65299
  `
65323
-
65324
-
65325
- ${chalk.bold.hex(config?.colors?.success ? config.colors.success : "#087f5b")(
65326
- ">"
65327
- )} ${chalk.bold.bgHex(config?.colors?.success ? config.colors.success : "#087f5b").white(" \u{1F389} Success ")} ${chalk.reset.hex(
65300
+ ${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(
65328
65301
  config?.colors?.success ? config.colors.success : "#087f5b"
65329
- )(message)}
65330
-
65331
-
65302
+ )(message)}
65332
65303
  `
65333
65304
  );
65334
65305
  };
@@ -65337,15 +65308,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
65337
65308
  return (message) => {
65338
65309
  console.debug(
65339
65310
  `
65340
-
65341
-
65342
- ${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(
65343
- ">"
65344
- )} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" \u{1F9EA} Debug ")} ${chalk.reset.hex(
65311
+ ${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(
65345
65312
  config?.colors?.primary ? config.colors.primary : "#1fb2a6"
65346
- )(message)}
65347
-
65348
-
65313
+ )(message)}
65349
65314
  `
65350
65315
  );
65351
65316
  };
@@ -65353,15 +65318,9 @@ var getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
65353
65318
  return (message) => {
65354
65319
  console.log(
65355
65320
  `
65356
-
65357
-
65358
- ${chalk.bold.hex(config?.colors?.primary ? config.colors.primary : "#1fb2a6")(
65359
- ">"
65360
- )} ${chalk.bold.bgHex(config?.colors?.primary ? config.colors.primary : "#1fb2a6").white(" \u{1F4E2} System ")} ${chalk.bold.hex(
65321
+ ${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(
65361
65322
  config?.colors?.primary ? config.colors.primary : "#1fb2a6"
65362
- )(message)}
65363
-
65364
-
65323
+ )(message)}
65365
65324
  `
65366
65325
  );
65367
65326
  };
@@ -65584,12 +65543,12 @@ var loadStormConfig = async (workspaceRoot) => {
65584
65543
  if (key === "colors") {
65585
65544
  configFile.colors = {
65586
65545
  primary: process.env.STORM_COLOR_PRIMARY ?? configFile.colors?.primary,
65587
- background: process.env.STORM_COLOR_BACKGROUND ?? configFile.colors?.primary,
65588
- success: process.env.STORM_COLOR_SUCCESS ?? configFile.colors?.primary,
65589
- info: process.env.STORM_COLOR_INFO ?? configFile.colors?.primary,
65590
- warning: process.env.STORM_COLOR_WARNING ?? configFile.colors?.primary,
65591
- error: process.env.STORM_COLOR_ERROR ?? configFile.colors?.primary,
65592
- fatal: process.env.STORM_COLOR_FATAL ?? configFile.colors?.primary
65546
+ background: process.env.STORM_COLOR_BACKGROUND ?? configFile.colors?.background,
65547
+ success: process.env.STORM_COLOR_SUCCESS ?? configFile.colors?.success,
65548
+ info: process.env.STORM_COLOR_INFO ?? configFile.colors?.info,
65549
+ warning: process.env.STORM_COLOR_WARNING ?? configFile.colors?.warning,
65550
+ error: process.env.STORM_COLOR_ERROR ?? configFile.colors?.error,
65551
+ fatal: process.env.STORM_COLOR_FATAL ?? configFile.colors?.fatal
65593
65552
  };
65594
65553
  } else {
65595
65554
  configFile[key] = configEnv[key];
@@ -65598,13 +65557,14 @@ var loadStormConfig = async (workspaceRoot) => {
65598
65557
  }
65599
65558
  const config = StormConfigSchema.parse(configFile);
65600
65559
  setConfigEnv(config);
65601
- console.debug("\n\n");
65560
+ console.debug("\r\n\r\n");
65602
65561
  console.debug(`Loaded Storm config from ${config.configFile}`);
65603
65562
  for (const key of Object.keys(configFile)) {
65604
- console.debug(` ----- ${key} ----- `);
65563
+ console.debug(`
65564
+ ----- ${key} ----- `);
65605
65565
  console.debug(configFile[key]);
65606
65566
  }
65607
- console.debug("\n\n");
65567
+ console.debug("\r\n\r\n");
65608
65568
  return config;
65609
65569
  };
65610
65570