@storm-software/workspace-tools 1.198.0 → 1.201.0

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.
Files changed (33) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +1 -1
  3. package/config/nx-cloud.json +2 -3
  4. package/config/nx-default.json +4 -6
  5. package/config/nx.json +3 -2
  6. package/index.js +20 -20
  7. package/meta.json +80 -80
  8. package/package.json +4 -4
  9. package/src/base/base-executor.js +20 -20
  10. package/src/base/base-generator.js +20 -20
  11. package/src/base/index.js +20 -20
  12. package/src/executors/cargo-build/executor.js +20 -20
  13. package/src/executors/cargo-check/executor.js +20 -20
  14. package/src/executors/cargo-clippy/executor.js +20 -20
  15. package/src/executors/cargo-doc/executor.js +20 -20
  16. package/src/executors/cargo-format/executor.js +20 -20
  17. package/src/executors/clean-package/executor.js +20 -20
  18. package/src/executors/rolldown/executor.js +20 -20
  19. package/src/executors/rollup/executor.js +20 -20
  20. package/src/executors/size-limit/executor.js +20 -20
  21. package/src/executors/tsup/executor.js +20 -20
  22. package/src/executors/tsup-browser/executor.js +20 -20
  23. package/src/executors/tsup-neutral/executor.js +20 -20
  24. package/src/executors/tsup-node/executor.js +20 -20
  25. package/src/executors/typia/executor.js +20 -20
  26. package/src/executors/unbuild/executor.js +20 -20
  27. package/src/generators/browser-library/generator.js +20 -20
  28. package/src/generators/config-schema/generator.js +20 -20
  29. package/src/generators/neutral-library/generator.js +20 -20
  30. package/src/generators/node-library/generator.js +20 -20
  31. package/src/generators/preset/generator.js +20 -20
  32. package/src/generators/release-version/generator.js +20 -20
  33. package/src/utils/index.js +20 -20
@@ -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
  }
@@ -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
  }
@@ -68867,7 +68867,7 @@ var init_logger = __esm({
68867
68867
  getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
68868
68868
  const _chalk = getChalk();
68869
68869
  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;
68870
- const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
68870
+ const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
68871
68871
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
68872
68872
  return (_6) => {
68873
68873
  };
@@ -68875,9 +68875,9 @@ var init_logger = __esm({
68875
68875
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
68876
68876
  return (message) => {
68877
68877
  console.error(
68878
- `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
68878
+ `${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
68879
68879
  " \u{1F480} Fatal "
68880
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
68880
+ )} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
68881
68881
  `
68882
68882
  );
68883
68883
  };
@@ -68887,7 +68887,7 @@ var init_logger = __esm({
68887
68887
  console.error(
68888
68888
  `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
68889
68889
  " \u2718 Error "
68890
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
68890
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
68891
68891
  `
68892
68892
  );
68893
68893
  };
@@ -68897,7 +68897,7 @@ var init_logger = __esm({
68897
68897
  console.warn(
68898
68898
  `${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
68899
68899
  " \u26A0 Warn "
68900
- )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}\r
68900
+ )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
68901
68901
  `
68902
68902
  );
68903
68903
  };
@@ -68907,7 +68907,7 @@ var init_logger = __esm({
68907
68907
  console.info(
68908
68908
  `${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
68909
68909
  " \u2713 Success "
68910
- )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}\r
68910
+ )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
68911
68911
  `
68912
68912
  );
68913
68913
  };
@@ -68917,17 +68917,17 @@ var init_logger = __esm({
68917
68917
  console.info(
68918
68918
  `${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
68919
68919
  " \u2139 Info "
68920
- )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}\r
68920
+ )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
68921
68921
  `
68922
68922
  );
68923
68923
  };
68924
68924
  }
68925
- if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
68925
+ if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
68926
68926
  return (message) => {
68927
68927
  console.debug(
68928
68928
  `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
68929
68929
  " \u{1F6E0} Debug "
68930
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
68930
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
68931
68931
  `
68932
68932
  );
68933
68933
  };
@@ -68936,7 +68936,7 @@ var init_logger = __esm({
68936
68936
  console.log(
68937
68937
  `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
68938
68938
  " \u2709 System "
68939
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
68939
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
68940
68940
  `
68941
68941
  );
68942
68942
  };
@@ -69095,8 +69095,8 @@ var init_get_config_file = __esm({
69095
69095
  name: fileName,
69096
69096
  envName: fileName?.toUpperCase(),
69097
69097
  jitiOptions: {
69098
- debug: true,
69099
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
69098
+ debug: false,
69099
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
69100
69100
  },
69101
69101
  ...options
69102
69102
  });
@@ -69107,8 +69107,8 @@ var init_get_config_file = __esm({
69107
69107
  name: fileName,
69108
69108
  envName: fileName?.toUpperCase(),
69109
69109
  jitiOptions: {
69110
- debug: true,
69111
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
69110
+ debug: false,
69111
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
69112
69112
  },
69113
69113
  configFile: fileName,
69114
69114
  ...options
@@ -69121,9 +69121,9 @@ var init_get_config_file = __esm({
69121
69121
  const result = await getConfigFileByName("storm", workspacePath);
69122
69122
  let config = result.config;
69123
69123
  const configFile = result.configFile;
69124
- if (config && Object.keys(config).length > 0) {
69125
- writeTrace(
69126
- `Found Storm configuration file "${configFile}" at "${workspacePath}"`,
69124
+ if (config && configFile && Object.keys(config).length > 0) {
69125
+ writeSystem(
69126
+ `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
69127
69127
  {
69128
69128
  logLevel: "all"
69129
69129
  }
@@ -69136,9 +69136,9 @@ var init_get_config_file = __esm({
69136
69136
  )
69137
69137
  );
69138
69138
  for (const result2 of results) {
69139
- if (result2?.config && Object.keys(result2.config).length > 0) {
69140
- writeTrace(
69141
- `Found additional configuration file "${result2.configFile}" at "${workspacePath}"`,
69139
+ if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
69140
+ writeSystem(
69141
+ `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
69142
69142
  {
69143
69143
  logLevel: "all"
69144
69144
  }