@storm-software/workspace-tools 1.68.9 → 1.68.11

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.
@@ -4602,7 +4602,7 @@ var require_lib3 = __commonJS({
4602
4602
  return _chalk.default.level > 0 || options.forceColor;
4603
4603
  }
4604
4604
  var chalkWithForcedColor = void 0;
4605
- function getChalk(forceColor) {
4605
+ function getChalk2(forceColor) {
4606
4606
  if (forceColor) {
4607
4607
  var _chalkWithForcedColor;
4608
4608
  (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
@@ -4614,11 +4614,11 @@ var require_lib3 = __commonJS({
4614
4614
  return _chalk.default;
4615
4615
  }
4616
4616
  {
4617
- exports2.getChalk = (options) => getChalk(options.forceColor);
4617
+ exports2.getChalk = (options) => getChalk2(options.forceColor);
4618
4618
  }
4619
4619
  function highlight(code, options = {}) {
4620
4620
  if (code !== "" && shouldHighlight(options)) {
4621
- const defs = getDefs(getChalk(options.forceColor));
4621
+ const defs = getDefs(getChalk2(options.forceColor));
4622
4622
  return highlightTokens(defs, code);
4623
4623
  } else {
4624
4624
  return code;
@@ -4663,7 +4663,7 @@ var require_lib4 = __commonJS({
4663
4663
  return n.default = e, t && t.set(e, n), n;
4664
4664
  }
4665
4665
  var chalkWithForcedColor = void 0;
4666
- function getChalk(forceColor) {
4666
+ function getChalk2(forceColor) {
4667
4667
  if (forceColor) {
4668
4668
  var _chalkWithForcedColor;
4669
4669
  (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
@@ -4741,7 +4741,7 @@ var require_lib4 = __commonJS({
4741
4741
  }
4742
4742
  function codeFrameColumns(rawLines, loc, opts = {}) {
4743
4743
  const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts);
4744
- const chalk2 = getChalk(opts.forceColor);
4744
+ const chalk2 = getChalk2(opts.forceColor);
4745
4745
  const defs = getDefs(chalk2);
4746
4746
  const maybeHighlight = (chalkFn, string) => {
4747
4747
  return highlighted ? chalkFn(string) : string;
@@ -218044,12 +218044,10 @@ var init_get_log_level = __esm({
218044
218044
  }
218045
218045
  });
218046
218046
 
218047
- // packages/config-tools/src/utilities/logger.ts
218048
- var import_chalk, chalkDefault, getLogFn, writeFatal, writeError, writeWarning, writeInfo, writeSuccess, writeDebug, writeTrace, writeSystem, getStopwatch;
218049
- var init_logger = __esm({
218050
- "packages/config-tools/src/utilities/logger.ts"() {
218051
- init_types2();
218052
- init_get_log_level();
218047
+ // packages/config-tools/src/utilities/chalk.ts
218048
+ var import_chalk, chalkDefault, getChalk;
218049
+ var init_chalk = __esm({
218050
+ "packages/config-tools/src/utilities/chalk.ts"() {
218053
218051
  import_chalk = __toESM(require_source());
218054
218052
  chalkDefault = {
218055
218053
  hex: (_) => (message) => message,
@@ -218065,11 +218063,25 @@ var init_logger = __esm({
218065
218063
  whiteBright: (message) => message
218066
218064
  }
218067
218065
  };
218068
- getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
218066
+ getChalk = () => {
218069
218067
  let _chalk = import_chalk.default;
218070
218068
  if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
218071
218069
  _chalk = chalkDefault;
218072
218070
  }
218071
+ return _chalk;
218072
+ };
218073
+ }
218074
+ });
218075
+
218076
+ // packages/config-tools/src/utilities/logger.ts
218077
+ var getLogFn, writeFatal, writeError, writeWarning, writeInfo, writeSuccess, writeDebug, writeTrace, writeSystem, getStopwatch;
218078
+ var init_logger = __esm({
218079
+ "packages/config-tools/src/utilities/logger.ts"() {
218080
+ init_types2();
218081
+ init_get_log_level();
218082
+ init_chalk();
218083
+ getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
218084
+ let _chalk = getChalk();
218073
218085
  const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
218074
218086
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
218075
218087
  return (_) => {
@@ -218343,6 +218355,7 @@ var init_utilities = __esm({
218343
218355
  init_correct_paths();
218344
218356
  init_file_path_utils();
218345
218357
  init_apply_workspace_tokens();
218358
+ init_chalk();
218346
218359
  }
218347
218360
  });
218348
218361
 
@@ -218689,6 +218702,7 @@ __export(src_exports, {
218689
218702
  findFileName: () => findFileName,
218690
218703
  findWorkspaceRoot: () => findWorkspaceRoot,
218691
218704
  findWorkspaceRootSafe: () => findWorkspaceRootSafe,
218705
+ getChalk: () => getChalk,
218692
218706
  getConfigEnv: () => getConfigEnv,
218693
218707
  getConfigFile: () => getConfigFile,
218694
218708
  getConfigFileByName: () => getConfigFileByName,
@@ -4602,7 +4602,7 @@ var require_lib3 = __commonJS({
4602
4602
  return _chalk.default.level > 0 || options.forceColor;
4603
4603
  }
4604
4604
  var chalkWithForcedColor = void 0;
4605
- function getChalk(forceColor) {
4605
+ function getChalk2(forceColor) {
4606
4606
  if (forceColor) {
4607
4607
  var _chalkWithForcedColor;
4608
4608
  (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
@@ -4614,11 +4614,11 @@ var require_lib3 = __commonJS({
4614
4614
  return _chalk.default;
4615
4615
  }
4616
4616
  {
4617
- exports2.getChalk = (options) => getChalk(options.forceColor);
4617
+ exports2.getChalk = (options) => getChalk2(options.forceColor);
4618
4618
  }
4619
4619
  function highlight(code, options = {}) {
4620
4620
  if (code !== "" && shouldHighlight(options)) {
4621
- const defs = getDefs(getChalk(options.forceColor));
4621
+ const defs = getDefs(getChalk2(options.forceColor));
4622
4622
  return highlightTokens(defs, code);
4623
4623
  } else {
4624
4624
  return code;
@@ -4663,7 +4663,7 @@ var require_lib4 = __commonJS({
4663
4663
  return n.default = e, t && t.set(e, n), n;
4664
4664
  }
4665
4665
  var chalkWithForcedColor = void 0;
4666
- function getChalk(forceColor) {
4666
+ function getChalk2(forceColor) {
4667
4667
  if (forceColor) {
4668
4668
  var _chalkWithForcedColor;
4669
4669
  (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
@@ -4741,7 +4741,7 @@ var require_lib4 = __commonJS({
4741
4741
  }
4742
4742
  function codeFrameColumns(rawLines, loc, opts = {}) {
4743
4743
  const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts);
4744
- const chalk2 = getChalk(opts.forceColor);
4744
+ const chalk2 = getChalk2(opts.forceColor);
4745
4745
  const defs = getDefs(chalk2);
4746
4746
  const maybeHighlight = (chalkFn, string) => {
4747
4747
  return highlighted ? chalkFn(string) : string;
@@ -218044,12 +218044,10 @@ var init_get_log_level = __esm({
218044
218044
  }
218045
218045
  });
218046
218046
 
218047
- // packages/config-tools/src/utilities/logger.ts
218048
- var import_chalk, chalkDefault, getLogFn, writeFatal, writeError, writeWarning, writeInfo, writeSuccess, writeDebug, writeTrace, writeSystem, getStopwatch;
218049
- var init_logger = __esm({
218050
- "packages/config-tools/src/utilities/logger.ts"() {
218051
- init_types2();
218052
- init_get_log_level();
218047
+ // packages/config-tools/src/utilities/chalk.ts
218048
+ var import_chalk, chalkDefault, getChalk;
218049
+ var init_chalk = __esm({
218050
+ "packages/config-tools/src/utilities/chalk.ts"() {
218053
218051
  import_chalk = __toESM(require_source());
218054
218052
  chalkDefault = {
218055
218053
  hex: (_) => (message) => message,
@@ -218065,11 +218063,25 @@ var init_logger = __esm({
218065
218063
  whiteBright: (message) => message
218066
218064
  }
218067
218065
  };
218068
- getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
218066
+ getChalk = () => {
218069
218067
  let _chalk = import_chalk.default;
218070
218068
  if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
218071
218069
  _chalk = chalkDefault;
218072
218070
  }
218071
+ return _chalk;
218072
+ };
218073
+ }
218074
+ });
218075
+
218076
+ // packages/config-tools/src/utilities/logger.ts
218077
+ var getLogFn, writeFatal, writeError, writeWarning, writeInfo, writeSuccess, writeDebug, writeTrace, writeSystem, getStopwatch;
218078
+ var init_logger = __esm({
218079
+ "packages/config-tools/src/utilities/logger.ts"() {
218080
+ init_types2();
218081
+ init_get_log_level();
218082
+ init_chalk();
218083
+ getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
218084
+ let _chalk = getChalk();
218073
218085
  const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
218074
218086
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
218075
218087
  return (_) => {
@@ -218343,6 +218355,7 @@ var init_utilities = __esm({
218343
218355
  init_correct_paths();
218344
218356
  init_file_path_utils();
218345
218357
  init_apply_workspace_tokens();
218358
+ init_chalk();
218346
218359
  }
218347
218360
  });
218348
218361
 
@@ -218689,6 +218702,7 @@ __export(src_exports, {
218689
218702
  findFileName: () => findFileName,
218690
218703
  findWorkspaceRoot: () => findWorkspaceRoot,
218691
218704
  findWorkspaceRootSafe: () => findWorkspaceRootSafe,
218705
+ getChalk: () => getChalk,
218692
218706
  getConfigEnv: () => getConfigEnv,
218693
218707
  getConfigFile: () => getConfigFile,
218694
218708
  getConfigFileByName: () => getConfigFileByName,
@@ -222460,9 +222474,9 @@ var require_cjs = __commonJS({
222460
222474
  }
222461
222475
  });
222462
222476
 
222463
- // node_modules/.pnpm/ignore@5.3.0/node_modules/ignore/index.js
222477
+ // node_modules/.pnpm/ignore@5.3.1/node_modules/ignore/index.js
222464
222478
  var require_ignore = __commonJS({
222465
- "node_modules/.pnpm/ignore@5.3.0/node_modules/ignore/index.js"(exports2, module2) {
222479
+ "node_modules/.pnpm/ignore@5.3.1/node_modules/ignore/index.js"(exports2, module2) {
222466
222480
  function makeArray(subject) {
222467
222481
  return Array.isArray(subject) ? subject : [subject];
222468
222482
  }
@@ -222493,6 +222507,13 @@ var require_ignore = __commonJS({
222493
222507
  return slashes.slice(0, length - length % 2);
222494
222508
  };
222495
222509
  var REPLACERS = [
222510
+ [
222511
+ // remove BOM
222512
+ // TODO:
222513
+ // Other similar zero-width characters?
222514
+ /^\uFEFF/,
222515
+ () => EMPTY
222516
+ ],
222496
222517
  // > Trailing spaces are ignored unless they are quoted with backslash ("\")
222497
222518
  [
222498
222519
  // (a\ ) -> (a )
@@ -8430,7 +8430,7 @@ var require_lib3 = __commonJS({
8430
8430
  return _chalk.default.level > 0 || options.forceColor;
8431
8431
  }
8432
8432
  var chalkWithForcedColor = void 0;
8433
- function getChalk(forceColor) {
8433
+ function getChalk2(forceColor) {
8434
8434
  if (forceColor) {
8435
8435
  var _chalkWithForcedColor;
8436
8436
  (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
@@ -8442,11 +8442,11 @@ var require_lib3 = __commonJS({
8442
8442
  return _chalk.default;
8443
8443
  }
8444
8444
  {
8445
- exports2.getChalk = (options) => getChalk(options.forceColor);
8445
+ exports2.getChalk = (options) => getChalk2(options.forceColor);
8446
8446
  }
8447
8447
  function highlight(code, options = {}) {
8448
8448
  if (code !== "" && shouldHighlight(options)) {
8449
- const defs = getDefs(getChalk(options.forceColor));
8449
+ const defs = getDefs(getChalk2(options.forceColor));
8450
8450
  return highlightTokens(defs, code);
8451
8451
  } else {
8452
8452
  return code;
@@ -8491,7 +8491,7 @@ var require_lib4 = __commonJS({
8491
8491
  return n.default = e, t && t.set(e, n), n;
8492
8492
  }
8493
8493
  var chalkWithForcedColor = void 0;
8494
- function getChalk(forceColor) {
8494
+ function getChalk2(forceColor) {
8495
8495
  if (forceColor) {
8496
8496
  var _chalkWithForcedColor;
8497
8497
  (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
@@ -8569,7 +8569,7 @@ var require_lib4 = __commonJS({
8569
8569
  }
8570
8570
  function codeFrameColumns(rawLines, loc, opts = {}) {
8571
8571
  const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts);
8572
- const chalk2 = getChalk(opts.forceColor);
8572
+ const chalk2 = getChalk2(opts.forceColor);
8573
8573
  const defs = getDefs(chalk2);
8574
8574
  const maybeHighlight = (chalkFn, string) => {
8575
8575
  return highlighted ? chalkFn(string) : string;
@@ -218044,12 +218044,10 @@ var init_get_log_level = __esm({
218044
218044
  }
218045
218045
  });
218046
218046
 
218047
- // packages/config-tools/src/utilities/logger.ts
218048
- var import_chalk, chalkDefault, getLogFn, writeFatal, writeError, writeWarning, writeInfo, writeSuccess, writeDebug, writeTrace, writeSystem, getStopwatch;
218049
- var init_logger = __esm({
218050
- "packages/config-tools/src/utilities/logger.ts"() {
218051
- init_types2();
218052
- init_get_log_level();
218047
+ // packages/config-tools/src/utilities/chalk.ts
218048
+ var import_chalk, chalkDefault, getChalk;
218049
+ var init_chalk = __esm({
218050
+ "packages/config-tools/src/utilities/chalk.ts"() {
218053
218051
  import_chalk = __toESM(require_source());
218054
218052
  chalkDefault = {
218055
218053
  hex: (_) => (message) => message,
@@ -218065,11 +218063,25 @@ var init_logger = __esm({
218065
218063
  whiteBright: (message) => message
218066
218064
  }
218067
218065
  };
218068
- getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
218066
+ getChalk = () => {
218069
218067
  let _chalk = import_chalk.default;
218070
218068
  if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
218071
218069
  _chalk = chalkDefault;
218072
218070
  }
218071
+ return _chalk;
218072
+ };
218073
+ }
218074
+ });
218075
+
218076
+ // packages/config-tools/src/utilities/logger.ts
218077
+ var getLogFn, writeFatal, writeError, writeWarning, writeInfo, writeSuccess, writeDebug, writeTrace, writeSystem, getStopwatch;
218078
+ var init_logger = __esm({
218079
+ "packages/config-tools/src/utilities/logger.ts"() {
218080
+ init_types2();
218081
+ init_get_log_level();
218082
+ init_chalk();
218083
+ getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
218084
+ let _chalk = getChalk();
218073
218085
  const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
218074
218086
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
218075
218087
  return (_) => {
@@ -218343,6 +218355,7 @@ var init_utilities = __esm({
218343
218355
  init_correct_paths();
218344
218356
  init_file_path_utils();
218345
218357
  init_apply_workspace_tokens();
218358
+ init_chalk();
218346
218359
  }
218347
218360
  });
218348
218361
 
@@ -218689,6 +218702,7 @@ __export(src_exports, {
218689
218702
  findFileName: () => findFileName,
218690
218703
  findWorkspaceRoot: () => findWorkspaceRoot,
218691
218704
  findWorkspaceRootSafe: () => findWorkspaceRootSafe,
218705
+ getChalk: () => getChalk,
218692
218706
  getConfigEnv: () => getConfigEnv,
218693
218707
  getConfigFile: () => getConfigFile,
218694
218708
  getConfigFileByName: () => getConfigFileByName,
@@ -4602,7 +4602,7 @@ var require_lib3 = __commonJS({
4602
4602
  return _chalk.default.level > 0 || options.forceColor;
4603
4603
  }
4604
4604
  var chalkWithForcedColor = void 0;
4605
- function getChalk(forceColor) {
4605
+ function getChalk2(forceColor) {
4606
4606
  if (forceColor) {
4607
4607
  var _chalkWithForcedColor;
4608
4608
  (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
@@ -4614,11 +4614,11 @@ var require_lib3 = __commonJS({
4614
4614
  return _chalk.default;
4615
4615
  }
4616
4616
  {
4617
- exports2.getChalk = (options) => getChalk(options.forceColor);
4617
+ exports2.getChalk = (options) => getChalk2(options.forceColor);
4618
4618
  }
4619
4619
  function highlight(code, options = {}) {
4620
4620
  if (code !== "" && shouldHighlight(options)) {
4621
- const defs = getDefs(getChalk(options.forceColor));
4621
+ const defs = getDefs(getChalk2(options.forceColor));
4622
4622
  return highlightTokens(defs, code);
4623
4623
  } else {
4624
4624
  return code;
@@ -4663,7 +4663,7 @@ var require_lib4 = __commonJS({
4663
4663
  return n.default = e, t && t.set(e, n), n;
4664
4664
  }
4665
4665
  var chalkWithForcedColor = void 0;
4666
- function getChalk(forceColor) {
4666
+ function getChalk2(forceColor) {
4667
4667
  if (forceColor) {
4668
4668
  var _chalkWithForcedColor;
4669
4669
  (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
@@ -4741,7 +4741,7 @@ var require_lib4 = __commonJS({
4741
4741
  }
4742
4742
  function codeFrameColumns(rawLines, loc, opts = {}) {
4743
4743
  const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts);
4744
- const chalk2 = getChalk(opts.forceColor);
4744
+ const chalk2 = getChalk2(opts.forceColor);
4745
4745
  const defs = getDefs(chalk2);
4746
4746
  const maybeHighlight = (chalkFn, string) => {
4747
4747
  return highlighted ? chalkFn(string) : string;
@@ -218044,12 +218044,10 @@ var init_get_log_level = __esm({
218044
218044
  }
218045
218045
  });
218046
218046
 
218047
- // packages/config-tools/src/utilities/logger.ts
218048
- var import_chalk, chalkDefault, getLogFn, writeFatal, writeError, writeWarning, writeInfo, writeSuccess, writeDebug, writeTrace, writeSystem, getStopwatch;
218049
- var init_logger = __esm({
218050
- "packages/config-tools/src/utilities/logger.ts"() {
218051
- init_types2();
218052
- init_get_log_level();
218047
+ // packages/config-tools/src/utilities/chalk.ts
218048
+ var import_chalk, chalkDefault, getChalk;
218049
+ var init_chalk = __esm({
218050
+ "packages/config-tools/src/utilities/chalk.ts"() {
218053
218051
  import_chalk = __toESM(require_source());
218054
218052
  chalkDefault = {
218055
218053
  hex: (_) => (message) => message,
@@ -218065,11 +218063,25 @@ var init_logger = __esm({
218065
218063
  whiteBright: (message) => message
218066
218064
  }
218067
218065
  };
218068
- getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
218066
+ getChalk = () => {
218069
218067
  let _chalk = import_chalk.default;
218070
218068
  if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
218071
218069
  _chalk = chalkDefault;
218072
218070
  }
218071
+ return _chalk;
218072
+ };
218073
+ }
218074
+ });
218075
+
218076
+ // packages/config-tools/src/utilities/logger.ts
218077
+ var getLogFn, writeFatal, writeError, writeWarning, writeInfo, writeSuccess, writeDebug, writeTrace, writeSystem, getStopwatch;
218078
+ var init_logger = __esm({
218079
+ "packages/config-tools/src/utilities/logger.ts"() {
218080
+ init_types2();
218081
+ init_get_log_level();
218082
+ init_chalk();
218083
+ getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
218084
+ let _chalk = getChalk();
218073
218085
  const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
218074
218086
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
218075
218087
  return (_) => {
@@ -218343,6 +218355,7 @@ var init_utilities = __esm({
218343
218355
  init_correct_paths();
218344
218356
  init_file_path_utils();
218345
218357
  init_apply_workspace_tokens();
218358
+ init_chalk();
218346
218359
  }
218347
218360
  });
218348
218361
 
@@ -218689,6 +218702,7 @@ __export(src_exports, {
218689
218702
  findFileName: () => findFileName,
218690
218703
  findWorkspaceRoot: () => findWorkspaceRoot,
218691
218704
  findWorkspaceRootSafe: () => findWorkspaceRootSafe,
218705
+ getChalk: () => getChalk,
218692
218706
  getConfigEnv: () => getConfigEnv,
218693
218707
  getConfigFile: () => getConfigFile,
218694
218708
  getConfigFileByName: () => getConfigFileByName,
@@ -222460,9 +222474,9 @@ var require_cjs = __commonJS({
222460
222474
  }
222461
222475
  });
222462
222476
 
222463
- // node_modules/.pnpm/ignore@5.3.0/node_modules/ignore/index.js
222477
+ // node_modules/.pnpm/ignore@5.3.1/node_modules/ignore/index.js
222464
222478
  var require_ignore = __commonJS({
222465
- "node_modules/.pnpm/ignore@5.3.0/node_modules/ignore/index.js"(exports2, module2) {
222479
+ "node_modules/.pnpm/ignore@5.3.1/node_modules/ignore/index.js"(exports2, module2) {
222466
222480
  function makeArray(subject) {
222467
222481
  return Array.isArray(subject) ? subject : [subject];
222468
222482
  }
@@ -222493,6 +222507,13 @@ var require_ignore = __commonJS({
222493
222507
  return slashes.slice(0, length - length % 2);
222494
222508
  };
222495
222509
  var REPLACERS = [
222510
+ [
222511
+ // remove BOM
222512
+ // TODO:
222513
+ // Other similar zero-width characters?
222514
+ /^\uFEFF/,
222515
+ () => EMPTY
222516
+ ],
222496
222517
  // > Trailing spaces are ignored unless they are quoted with backslash ("\")
222497
222518
  [
222498
222519
  // (a\ ) -> (a )
@@ -4602,7 +4602,7 @@ var require_lib3 = __commonJS({
4602
4602
  return _chalk.default.level > 0 || options.forceColor;
4603
4603
  }
4604
4604
  var chalkWithForcedColor = void 0;
4605
- function getChalk(forceColor) {
4605
+ function getChalk2(forceColor) {
4606
4606
  if (forceColor) {
4607
4607
  var _chalkWithForcedColor;
4608
4608
  (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
@@ -4614,11 +4614,11 @@ var require_lib3 = __commonJS({
4614
4614
  return _chalk.default;
4615
4615
  }
4616
4616
  {
4617
- exports2.getChalk = (options) => getChalk(options.forceColor);
4617
+ exports2.getChalk = (options) => getChalk2(options.forceColor);
4618
4618
  }
4619
4619
  function highlight(code, options = {}) {
4620
4620
  if (code !== "" && shouldHighlight(options)) {
4621
- const defs = getDefs(getChalk(options.forceColor));
4621
+ const defs = getDefs(getChalk2(options.forceColor));
4622
4622
  return highlightTokens(defs, code);
4623
4623
  } else {
4624
4624
  return code;
@@ -4663,7 +4663,7 @@ var require_lib4 = __commonJS({
4663
4663
  return n.default = e, t && t.set(e, n), n;
4664
4664
  }
4665
4665
  var chalkWithForcedColor = void 0;
4666
- function getChalk(forceColor) {
4666
+ function getChalk2(forceColor) {
4667
4667
  if (forceColor) {
4668
4668
  var _chalkWithForcedColor;
4669
4669
  (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
@@ -4741,7 +4741,7 @@ var require_lib4 = __commonJS({
4741
4741
  }
4742
4742
  function codeFrameColumns(rawLines, loc, opts = {}) {
4743
4743
  const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts);
4744
- const chalk2 = getChalk(opts.forceColor);
4744
+ const chalk2 = getChalk2(opts.forceColor);
4745
4745
  const defs = getDefs(chalk2);
4746
4746
  const maybeHighlight = (chalkFn, string) => {
4747
4747
  return highlighted ? chalkFn(string) : string;
@@ -218044,12 +218044,10 @@ var init_get_log_level = __esm({
218044
218044
  }
218045
218045
  });
218046
218046
 
218047
- // packages/config-tools/src/utilities/logger.ts
218048
- var import_chalk, chalkDefault, getLogFn, writeFatal, writeError, writeWarning, writeInfo, writeSuccess, writeDebug, writeTrace, writeSystem, getStopwatch;
218049
- var init_logger = __esm({
218050
- "packages/config-tools/src/utilities/logger.ts"() {
218051
- init_types2();
218052
- init_get_log_level();
218047
+ // packages/config-tools/src/utilities/chalk.ts
218048
+ var import_chalk, chalkDefault, getChalk;
218049
+ var init_chalk = __esm({
218050
+ "packages/config-tools/src/utilities/chalk.ts"() {
218053
218051
  import_chalk = __toESM(require_source());
218054
218052
  chalkDefault = {
218055
218053
  hex: (_) => (message) => message,
@@ -218065,11 +218063,25 @@ var init_logger = __esm({
218065
218063
  whiteBright: (message) => message
218066
218064
  }
218067
218065
  };
218068
- getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
218066
+ getChalk = () => {
218069
218067
  let _chalk = import_chalk.default;
218070
218068
  if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
218071
218069
  _chalk = chalkDefault;
218072
218070
  }
218071
+ return _chalk;
218072
+ };
218073
+ }
218074
+ });
218075
+
218076
+ // packages/config-tools/src/utilities/logger.ts
218077
+ var getLogFn, writeFatal, writeError, writeWarning, writeInfo, writeSuccess, writeDebug, writeTrace, writeSystem, getStopwatch;
218078
+ var init_logger = __esm({
218079
+ "packages/config-tools/src/utilities/logger.ts"() {
218080
+ init_types2();
218081
+ init_get_log_level();
218082
+ init_chalk();
218083
+ getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
218084
+ let _chalk = getChalk();
218073
218085
  const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
218074
218086
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
218075
218087
  return (_) => {
@@ -218343,6 +218355,7 @@ var init_utilities = __esm({
218343
218355
  init_correct_paths();
218344
218356
  init_file_path_utils();
218345
218357
  init_apply_workspace_tokens();
218358
+ init_chalk();
218346
218359
  }
218347
218360
  });
218348
218361
 
@@ -218689,6 +218702,7 @@ __export(src_exports, {
218689
218702
  findFileName: () => findFileName,
218690
218703
  findWorkspaceRoot: () => findWorkspaceRoot,
218691
218704
  findWorkspaceRootSafe: () => findWorkspaceRootSafe,
218705
+ getChalk: () => getChalk,
218692
218706
  getConfigEnv: () => getConfigEnv,
218693
218707
  getConfigFile: () => getConfigFile,
218694
218708
  getConfigFileByName: () => getConfigFileByName,
@@ -222460,9 +222474,9 @@ var require_cjs = __commonJS({
222460
222474
  }
222461
222475
  });
222462
222476
 
222463
- // node_modules/.pnpm/ignore@5.3.0/node_modules/ignore/index.js
222477
+ // node_modules/.pnpm/ignore@5.3.1/node_modules/ignore/index.js
222464
222478
  var require_ignore = __commonJS({
222465
- "node_modules/.pnpm/ignore@5.3.0/node_modules/ignore/index.js"(exports2, module2) {
222479
+ "node_modules/.pnpm/ignore@5.3.1/node_modules/ignore/index.js"(exports2, module2) {
222466
222480
  function makeArray(subject) {
222467
222481
  return Array.isArray(subject) ? subject : [subject];
222468
222482
  }
@@ -222493,6 +222507,13 @@ var require_ignore = __commonJS({
222493
222507
  return slashes.slice(0, length - length % 2);
222494
222508
  };
222495
222509
  var REPLACERS = [
222510
+ [
222511
+ // remove BOM
222512
+ // TODO:
222513
+ // Other similar zero-width characters?
222514
+ /^\uFEFF/,
222515
+ () => EMPTY
222516
+ ],
222496
222517
  // > Trailing spaces are ignored unless they are quoted with backslash ("\")
222497
222518
  [
222498
222519
  // (a\ ) -> (a )
@@ -4602,7 +4602,7 @@ var require_lib3 = __commonJS({
4602
4602
  return _chalk.default.level > 0 || options.forceColor;
4603
4603
  }
4604
4604
  var chalkWithForcedColor = void 0;
4605
- function getChalk(forceColor) {
4605
+ function getChalk2(forceColor) {
4606
4606
  if (forceColor) {
4607
4607
  var _chalkWithForcedColor;
4608
4608
  (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
@@ -4614,11 +4614,11 @@ var require_lib3 = __commonJS({
4614
4614
  return _chalk.default;
4615
4615
  }
4616
4616
  {
4617
- exports2.getChalk = (options) => getChalk(options.forceColor);
4617
+ exports2.getChalk = (options) => getChalk2(options.forceColor);
4618
4618
  }
4619
4619
  function highlight(code, options = {}) {
4620
4620
  if (code !== "" && shouldHighlight(options)) {
4621
- const defs = getDefs(getChalk(options.forceColor));
4621
+ const defs = getDefs(getChalk2(options.forceColor));
4622
4622
  return highlightTokens(defs, code);
4623
4623
  } else {
4624
4624
  return code;
@@ -4663,7 +4663,7 @@ var require_lib4 = __commonJS({
4663
4663
  return n.default = e, t && t.set(e, n), n;
4664
4664
  }
4665
4665
  var chalkWithForcedColor = void 0;
4666
- function getChalk(forceColor) {
4666
+ function getChalk2(forceColor) {
4667
4667
  if (forceColor) {
4668
4668
  var _chalkWithForcedColor;
4669
4669
  (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
@@ -4741,7 +4741,7 @@ var require_lib4 = __commonJS({
4741
4741
  }
4742
4742
  function codeFrameColumns(rawLines, loc, opts = {}) {
4743
4743
  const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts);
4744
- const chalk2 = getChalk(opts.forceColor);
4744
+ const chalk2 = getChalk2(opts.forceColor);
4745
4745
  const defs = getDefs(chalk2);
4746
4746
  const maybeHighlight = (chalkFn, string) => {
4747
4747
  return highlighted ? chalkFn(string) : string;
@@ -218044,12 +218044,10 @@ var init_get_log_level = __esm({
218044
218044
  }
218045
218045
  });
218046
218046
 
218047
- // packages/config-tools/src/utilities/logger.ts
218048
- var import_chalk, chalkDefault, getLogFn, writeFatal, writeError, writeWarning, writeInfo, writeSuccess, writeDebug, writeTrace, writeSystem, getStopwatch;
218049
- var init_logger = __esm({
218050
- "packages/config-tools/src/utilities/logger.ts"() {
218051
- init_types2();
218052
- init_get_log_level();
218047
+ // packages/config-tools/src/utilities/chalk.ts
218048
+ var import_chalk, chalkDefault, getChalk;
218049
+ var init_chalk = __esm({
218050
+ "packages/config-tools/src/utilities/chalk.ts"() {
218053
218051
  import_chalk = __toESM(require_source());
218054
218052
  chalkDefault = {
218055
218053
  hex: (_) => (message) => message,
@@ -218065,11 +218063,25 @@ var init_logger = __esm({
218065
218063
  whiteBright: (message) => message
218066
218064
  }
218067
218065
  };
218068
- getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
218066
+ getChalk = () => {
218069
218067
  let _chalk = import_chalk.default;
218070
218068
  if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
218071
218069
  _chalk = chalkDefault;
218072
218070
  }
218071
+ return _chalk;
218072
+ };
218073
+ }
218074
+ });
218075
+
218076
+ // packages/config-tools/src/utilities/logger.ts
218077
+ var getLogFn, writeFatal, writeError, writeWarning, writeInfo, writeSuccess, writeDebug, writeTrace, writeSystem, getStopwatch;
218078
+ var init_logger = __esm({
218079
+ "packages/config-tools/src/utilities/logger.ts"() {
218080
+ init_types2();
218081
+ init_get_log_level();
218082
+ init_chalk();
218083
+ getLogFn = (config = {}, logLevel = LogLevel.INFO) => {
218084
+ let _chalk = getChalk();
218073
218085
  const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
218074
218086
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
218075
218087
  return (_) => {
@@ -218343,6 +218355,7 @@ var init_utilities = __esm({
218343
218355
  init_correct_paths();
218344
218356
  init_file_path_utils();
218345
218357
  init_apply_workspace_tokens();
218358
+ init_chalk();
218346
218359
  }
218347
218360
  });
218348
218361
 
@@ -218689,6 +218702,7 @@ __export(src_exports, {
218689
218702
  findFileName: () => findFileName,
218690
218703
  findWorkspaceRoot: () => findWorkspaceRoot,
218691
218704
  findWorkspaceRootSafe: () => findWorkspaceRootSafe,
218705
+ getChalk: () => getChalk,
218692
218706
  getConfigEnv: () => getConfigEnv,
218693
218707
  getConfigFile: () => getConfigFile,
218694
218708
  getConfigFileByName: () => getConfigFileByName,