@storm-software/workspace-tools 1.198.0 → 1.198.1

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.198.0",
3
+ "version": "1.198.1",
4
4
  "type": "commonjs",
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "repository": {
@@ -66546,7 +66546,7 @@ var init_logger = __esm({
66546
66546
  getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
66547
66547
  const _chalk = getChalk();
66548
66548
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
66549
- const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
66549
+ const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
66550
66550
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
66551
66551
  return (_6) => {
66552
66552
  };
@@ -66554,9 +66554,9 @@ var init_logger = __esm({
66554
66554
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
66555
66555
  return (message) => {
66556
66556
  console.error(
66557
- `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66557
+ `${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66558
66558
  " \u{1F480} Fatal "
66559
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
66559
+ )} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
66560
66560
  `
66561
66561
  );
66562
66562
  };
@@ -66566,7 +66566,7 @@ var init_logger = __esm({
66566
66566
  console.error(
66567
66567
  `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
66568
66568
  " \u2718 Error "
66569
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
66569
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
66570
66570
  `
66571
66571
  );
66572
66572
  };
@@ -66576,7 +66576,7 @@ var init_logger = __esm({
66576
66576
  console.warn(
66577
66577
  `${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
66578
66578
  " \u26A0 Warn "
66579
- )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}\r
66579
+ )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
66580
66580
  `
66581
66581
  );
66582
66582
  };
@@ -66586,7 +66586,7 @@ var init_logger = __esm({
66586
66586
  console.info(
66587
66587
  `${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
66588
66588
  " \u2713 Success "
66589
- )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}\r
66589
+ )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
66590
66590
  `
66591
66591
  );
66592
66592
  };
@@ -66596,17 +66596,17 @@ var init_logger = __esm({
66596
66596
  console.info(
66597
66597
  `${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
66598
66598
  " \u2139 Info "
66599
- )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}\r
66599
+ )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
66600
66600
  `
66601
66601
  );
66602
66602
  };
66603
66603
  }
66604
- if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
66604
+ if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
66605
66605
  return (message) => {
66606
66606
  console.debug(
66607
66607
  `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66608
66608
  " \u{1F6E0} Debug "
66609
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
66609
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66610
66610
  `
66611
66611
  );
66612
66612
  };
@@ -66615,7 +66615,7 @@ var init_logger = __esm({
66615
66615
  console.log(
66616
66616
  `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66617
66617
  " \u2709 System "
66618
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
66618
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66619
66619
  `
66620
66620
  );
66621
66621
  };
@@ -66774,8 +66774,8 @@ var init_get_config_file = __esm({
66774
66774
  name: fileName,
66775
66775
  envName: fileName?.toUpperCase(),
66776
66776
  jitiOptions: {
66777
- debug: true,
66778
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
66777
+ debug: false,
66778
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
66779
66779
  },
66780
66780
  ...options
66781
66781
  });
@@ -66786,8 +66786,8 @@ var init_get_config_file = __esm({
66786
66786
  name: fileName,
66787
66787
  envName: fileName?.toUpperCase(),
66788
66788
  jitiOptions: {
66789
- debug: true,
66790
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
66789
+ debug: false,
66790
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
66791
66791
  },
66792
66792
  configFile: fileName,
66793
66793
  ...options
@@ -66800,9 +66800,9 @@ var init_get_config_file = __esm({
66800
66800
  const result = await getConfigFileByName("storm", workspacePath);
66801
66801
  let config = result.config;
66802
66802
  const configFile = result.configFile;
66803
- if (config && Object.keys(config).length > 0) {
66804
- writeTrace(
66805
- `Found Storm configuration file "${configFile}" at "${workspacePath}"`,
66803
+ if (config && configFile && Object.keys(config).length > 0) {
66804
+ writeSystem(
66805
+ `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
66806
66806
  {
66807
66807
  logLevel: "all"
66808
66808
  }
@@ -66815,9 +66815,9 @@ var init_get_config_file = __esm({
66815
66815
  )
66816
66816
  );
66817
66817
  for (const result2 of results) {
66818
- if (result2?.config && Object.keys(result2.config).length > 0) {
66819
- writeTrace(
66820
- `Found additional configuration file "${result2.configFile}" at "${workspacePath}"`,
66818
+ if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
66819
+ writeSystem(
66820
+ `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
66821
66821
  {
66822
66822
  logLevel: "all"
66823
66823
  }
@@ -66546,7 +66546,7 @@ var init_logger = __esm({
66546
66546
  getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
66547
66547
  const _chalk = getChalk();
66548
66548
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
66549
- const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
66549
+ const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
66550
66550
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
66551
66551
  return (_6) => {
66552
66552
  };
@@ -66554,9 +66554,9 @@ var init_logger = __esm({
66554
66554
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
66555
66555
  return (message) => {
66556
66556
  console.error(
66557
- `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66557
+ `${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66558
66558
  " \u{1F480} Fatal "
66559
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
66559
+ )} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
66560
66560
  `
66561
66561
  );
66562
66562
  };
@@ -66566,7 +66566,7 @@ var init_logger = __esm({
66566
66566
  console.error(
66567
66567
  `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
66568
66568
  " \u2718 Error "
66569
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
66569
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
66570
66570
  `
66571
66571
  );
66572
66572
  };
@@ -66576,7 +66576,7 @@ var init_logger = __esm({
66576
66576
  console.warn(
66577
66577
  `${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
66578
66578
  " \u26A0 Warn "
66579
- )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}\r
66579
+ )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
66580
66580
  `
66581
66581
  );
66582
66582
  };
@@ -66586,7 +66586,7 @@ var init_logger = __esm({
66586
66586
  console.info(
66587
66587
  `${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
66588
66588
  " \u2713 Success "
66589
- )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}\r
66589
+ )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
66590
66590
  `
66591
66591
  );
66592
66592
  };
@@ -66596,17 +66596,17 @@ var init_logger = __esm({
66596
66596
  console.info(
66597
66597
  `${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
66598
66598
  " \u2139 Info "
66599
- )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}\r
66599
+ )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
66600
66600
  `
66601
66601
  );
66602
66602
  };
66603
66603
  }
66604
- if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
66604
+ if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
66605
66605
  return (message) => {
66606
66606
  console.debug(
66607
66607
  `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66608
66608
  " \u{1F6E0} Debug "
66609
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
66609
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66610
66610
  `
66611
66611
  );
66612
66612
  };
@@ -66615,7 +66615,7 @@ var init_logger = __esm({
66615
66615
  console.log(
66616
66616
  `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66617
66617
  " \u2709 System "
66618
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
66618
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66619
66619
  `
66620
66620
  );
66621
66621
  };
@@ -66774,8 +66774,8 @@ var init_get_config_file = __esm({
66774
66774
  name: fileName,
66775
66775
  envName: fileName?.toUpperCase(),
66776
66776
  jitiOptions: {
66777
- debug: true,
66778
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
66777
+ debug: false,
66778
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
66779
66779
  },
66780
66780
  ...options
66781
66781
  });
@@ -66786,8 +66786,8 @@ var init_get_config_file = __esm({
66786
66786
  name: fileName,
66787
66787
  envName: fileName?.toUpperCase(),
66788
66788
  jitiOptions: {
66789
- debug: true,
66790
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
66789
+ debug: false,
66790
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
66791
66791
  },
66792
66792
  configFile: fileName,
66793
66793
  ...options
@@ -66800,9 +66800,9 @@ var init_get_config_file = __esm({
66800
66800
  const result = await getConfigFileByName("storm", workspacePath);
66801
66801
  let config = result.config;
66802
66802
  const configFile = result.configFile;
66803
- if (config && Object.keys(config).length > 0) {
66804
- writeTrace(
66805
- `Found Storm configuration file "${configFile}" at "${workspacePath}"`,
66803
+ if (config && configFile && Object.keys(config).length > 0) {
66804
+ writeSystem(
66805
+ `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
66806
66806
  {
66807
66807
  logLevel: "all"
66808
66808
  }
@@ -66815,9 +66815,9 @@ var init_get_config_file = __esm({
66815
66815
  )
66816
66816
  );
66817
66817
  for (const result2 of results) {
66818
- if (result2?.config && Object.keys(result2.config).length > 0) {
66819
- writeTrace(
66820
- `Found additional configuration file "${result2.configFile}" at "${workspacePath}"`,
66818
+ if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
66819
+ writeSystem(
66820
+ `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
66821
66821
  {
66822
66822
  logLevel: "all"
66823
66823
  }
package/src/base/index.js CHANGED
@@ -66546,7 +66546,7 @@ var init_logger = __esm({
66546
66546
  getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
66547
66547
  const _chalk = getChalk();
66548
66548
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
66549
- const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
66549
+ const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
66550
66550
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
66551
66551
  return (_6) => {
66552
66552
  };
@@ -66554,9 +66554,9 @@ var init_logger = __esm({
66554
66554
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
66555
66555
  return (message) => {
66556
66556
  console.error(
66557
- `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66557
+ `${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66558
66558
  " \u{1F480} Fatal "
66559
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
66559
+ )} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
66560
66560
  `
66561
66561
  );
66562
66562
  };
@@ -66566,7 +66566,7 @@ var init_logger = __esm({
66566
66566
  console.error(
66567
66567
  `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
66568
66568
  " \u2718 Error "
66569
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
66569
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
66570
66570
  `
66571
66571
  );
66572
66572
  };
@@ -66576,7 +66576,7 @@ var init_logger = __esm({
66576
66576
  console.warn(
66577
66577
  `${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
66578
66578
  " \u26A0 Warn "
66579
- )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}\r
66579
+ )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
66580
66580
  `
66581
66581
  );
66582
66582
  };
@@ -66586,7 +66586,7 @@ var init_logger = __esm({
66586
66586
  console.info(
66587
66587
  `${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
66588
66588
  " \u2713 Success "
66589
- )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}\r
66589
+ )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
66590
66590
  `
66591
66591
  );
66592
66592
  };
@@ -66596,17 +66596,17 @@ var init_logger = __esm({
66596
66596
  console.info(
66597
66597
  `${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
66598
66598
  " \u2139 Info "
66599
- )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}\r
66599
+ )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
66600
66600
  `
66601
66601
  );
66602
66602
  };
66603
66603
  }
66604
- if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
66604
+ if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
66605
66605
  return (message) => {
66606
66606
  console.debug(
66607
66607
  `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66608
66608
  " \u{1F6E0} Debug "
66609
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
66609
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66610
66610
  `
66611
66611
  );
66612
66612
  };
@@ -66615,7 +66615,7 @@ var init_logger = __esm({
66615
66615
  console.log(
66616
66616
  `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66617
66617
  " \u2709 System "
66618
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
66618
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66619
66619
  `
66620
66620
  );
66621
66621
  };
@@ -66774,8 +66774,8 @@ var init_get_config_file = __esm({
66774
66774
  name: fileName,
66775
66775
  envName: fileName?.toUpperCase(),
66776
66776
  jitiOptions: {
66777
- debug: true,
66778
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
66777
+ debug: false,
66778
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
66779
66779
  },
66780
66780
  ...options
66781
66781
  });
@@ -66786,8 +66786,8 @@ var init_get_config_file = __esm({
66786
66786
  name: fileName,
66787
66787
  envName: fileName?.toUpperCase(),
66788
66788
  jitiOptions: {
66789
- debug: true,
66790
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
66789
+ debug: false,
66790
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
66791
66791
  },
66792
66792
  configFile: fileName,
66793
66793
  ...options
@@ -66800,9 +66800,9 @@ var init_get_config_file = __esm({
66800
66800
  const result = await getConfigFileByName("storm", workspacePath);
66801
66801
  let config = result.config;
66802
66802
  const configFile = result.configFile;
66803
- if (config && Object.keys(config).length > 0) {
66804
- writeTrace(
66805
- `Found Storm configuration file "${configFile}" at "${workspacePath}"`,
66803
+ if (config && configFile && Object.keys(config).length > 0) {
66804
+ writeSystem(
66805
+ `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
66806
66806
  {
66807
66807
  logLevel: "all"
66808
66808
  }
@@ -66815,9 +66815,9 @@ var init_get_config_file = __esm({
66815
66815
  )
66816
66816
  );
66817
66817
  for (const result2 of results) {
66818
- if (result2?.config && Object.keys(result2.config).length > 0) {
66819
- writeTrace(
66820
- `Found additional configuration file "${result2.configFile}" at "${workspacePath}"`,
66818
+ if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
66819
+ writeSystem(
66820
+ `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
66821
66821
  {
66822
66822
  logLevel: "all"
66823
66823
  }
@@ -66546,7 +66546,7 @@ var init_logger = __esm({
66546
66546
  getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
66547
66547
  const _chalk = getChalk();
66548
66548
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
66549
- const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
66549
+ const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
66550
66550
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
66551
66551
  return (_6) => {
66552
66552
  };
@@ -66554,9 +66554,9 @@ var init_logger = __esm({
66554
66554
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
66555
66555
  return (message) => {
66556
66556
  console.error(
66557
- `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66557
+ `${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66558
66558
  " \u{1F480} Fatal "
66559
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
66559
+ )} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
66560
66560
  `
66561
66561
  );
66562
66562
  };
@@ -66566,7 +66566,7 @@ var init_logger = __esm({
66566
66566
  console.error(
66567
66567
  `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
66568
66568
  " \u2718 Error "
66569
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
66569
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
66570
66570
  `
66571
66571
  );
66572
66572
  };
@@ -66576,7 +66576,7 @@ var init_logger = __esm({
66576
66576
  console.warn(
66577
66577
  `${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
66578
66578
  " \u26A0 Warn "
66579
- )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}\r
66579
+ )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
66580
66580
  `
66581
66581
  );
66582
66582
  };
@@ -66586,7 +66586,7 @@ var init_logger = __esm({
66586
66586
  console.info(
66587
66587
  `${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
66588
66588
  " \u2713 Success "
66589
- )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}\r
66589
+ )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
66590
66590
  `
66591
66591
  );
66592
66592
  };
@@ -66596,17 +66596,17 @@ var init_logger = __esm({
66596
66596
  console.info(
66597
66597
  `${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
66598
66598
  " \u2139 Info "
66599
- )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}\r
66599
+ )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
66600
66600
  `
66601
66601
  );
66602
66602
  };
66603
66603
  }
66604
- if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
66604
+ if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
66605
66605
  return (message) => {
66606
66606
  console.debug(
66607
66607
  `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66608
66608
  " \u{1F6E0} Debug "
66609
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
66609
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66610
66610
  `
66611
66611
  );
66612
66612
  };
@@ -66615,7 +66615,7 @@ var init_logger = __esm({
66615
66615
  console.log(
66616
66616
  `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66617
66617
  " \u2709 System "
66618
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
66618
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66619
66619
  `
66620
66620
  );
66621
66621
  };
@@ -66774,8 +66774,8 @@ var init_get_config_file = __esm({
66774
66774
  name: fileName,
66775
66775
  envName: fileName?.toUpperCase(),
66776
66776
  jitiOptions: {
66777
- debug: true,
66778
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
66777
+ debug: false,
66778
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
66779
66779
  },
66780
66780
  ...options
66781
66781
  });
@@ -66786,8 +66786,8 @@ var init_get_config_file = __esm({
66786
66786
  name: fileName,
66787
66787
  envName: fileName?.toUpperCase(),
66788
66788
  jitiOptions: {
66789
- debug: true,
66790
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
66789
+ debug: false,
66790
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
66791
66791
  },
66792
66792
  configFile: fileName,
66793
66793
  ...options
@@ -66800,9 +66800,9 @@ var init_get_config_file = __esm({
66800
66800
  const result = await getConfigFileByName("storm", workspacePath);
66801
66801
  let config = result.config;
66802
66802
  const configFile = result.configFile;
66803
- if (config && Object.keys(config).length > 0) {
66804
- writeTrace(
66805
- `Found Storm configuration file "${configFile}" at "${workspacePath}"`,
66803
+ if (config && configFile && Object.keys(config).length > 0) {
66804
+ writeSystem(
66805
+ `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
66806
66806
  {
66807
66807
  logLevel: "all"
66808
66808
  }
@@ -66815,9 +66815,9 @@ var init_get_config_file = __esm({
66815
66815
  )
66816
66816
  );
66817
66817
  for (const result2 of results) {
66818
- if (result2?.config && Object.keys(result2.config).length > 0) {
66819
- writeTrace(
66820
- `Found additional configuration file "${result2.configFile}" at "${workspacePath}"`,
66818
+ if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
66819
+ writeSystem(
66820
+ `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
66821
66821
  {
66822
66822
  logLevel: "all"
66823
66823
  }
@@ -66546,7 +66546,7 @@ var init_logger = __esm({
66546
66546
  getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
66547
66547
  const _chalk = getChalk();
66548
66548
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
66549
- const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
66549
+ const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
66550
66550
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
66551
66551
  return (_6) => {
66552
66552
  };
@@ -66554,9 +66554,9 @@ var init_logger = __esm({
66554
66554
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
66555
66555
  return (message) => {
66556
66556
  console.error(
66557
- `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66557
+ `${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66558
66558
  " \u{1F480} Fatal "
66559
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
66559
+ )} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
66560
66560
  `
66561
66561
  );
66562
66562
  };
@@ -66566,7 +66566,7 @@ var init_logger = __esm({
66566
66566
  console.error(
66567
66567
  `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
66568
66568
  " \u2718 Error "
66569
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
66569
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
66570
66570
  `
66571
66571
  );
66572
66572
  };
@@ -66576,7 +66576,7 @@ var init_logger = __esm({
66576
66576
  console.warn(
66577
66577
  `${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
66578
66578
  " \u26A0 Warn "
66579
- )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}\r
66579
+ )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
66580
66580
  `
66581
66581
  );
66582
66582
  };
@@ -66586,7 +66586,7 @@ var init_logger = __esm({
66586
66586
  console.info(
66587
66587
  `${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
66588
66588
  " \u2713 Success "
66589
- )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}\r
66589
+ )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
66590
66590
  `
66591
66591
  );
66592
66592
  };
@@ -66596,17 +66596,17 @@ var init_logger = __esm({
66596
66596
  console.info(
66597
66597
  `${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
66598
66598
  " \u2139 Info "
66599
- )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}\r
66599
+ )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
66600
66600
  `
66601
66601
  );
66602
66602
  };
66603
66603
  }
66604
- if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
66604
+ if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
66605
66605
  return (message) => {
66606
66606
  console.debug(
66607
66607
  `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66608
66608
  " \u{1F6E0} Debug "
66609
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
66609
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66610
66610
  `
66611
66611
  );
66612
66612
  };
@@ -66615,7 +66615,7 @@ var init_logger = __esm({
66615
66615
  console.log(
66616
66616
  `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66617
66617
  " \u2709 System "
66618
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
66618
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66619
66619
  `
66620
66620
  );
66621
66621
  };
@@ -66774,8 +66774,8 @@ var init_get_config_file = __esm({
66774
66774
  name: fileName,
66775
66775
  envName: fileName?.toUpperCase(),
66776
66776
  jitiOptions: {
66777
- debug: true,
66778
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
66777
+ debug: false,
66778
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
66779
66779
  },
66780
66780
  ...options
66781
66781
  });
@@ -66786,8 +66786,8 @@ var init_get_config_file = __esm({
66786
66786
  name: fileName,
66787
66787
  envName: fileName?.toUpperCase(),
66788
66788
  jitiOptions: {
66789
- debug: true,
66790
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
66789
+ debug: false,
66790
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
66791
66791
  },
66792
66792
  configFile: fileName,
66793
66793
  ...options
@@ -66800,9 +66800,9 @@ var init_get_config_file = __esm({
66800
66800
  const result = await getConfigFileByName("storm", workspacePath);
66801
66801
  let config = result.config;
66802
66802
  const configFile = result.configFile;
66803
- if (config && Object.keys(config).length > 0) {
66804
- writeTrace(
66805
- `Found Storm configuration file "${configFile}" at "${workspacePath}"`,
66803
+ if (config && configFile && Object.keys(config).length > 0) {
66804
+ writeSystem(
66805
+ `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
66806
66806
  {
66807
66807
  logLevel: "all"
66808
66808
  }
@@ -66815,9 +66815,9 @@ var init_get_config_file = __esm({
66815
66815
  )
66816
66816
  );
66817
66817
  for (const result2 of results) {
66818
- if (result2?.config && Object.keys(result2.config).length > 0) {
66819
- writeTrace(
66820
- `Found additional configuration file "${result2.configFile}" at "${workspacePath}"`,
66818
+ if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
66819
+ writeSystem(
66820
+ `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
66821
66821
  {
66822
66822
  logLevel: "all"
66823
66823
  }