@storm-software/git-tools 2.66.0 → 2.67.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/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## 2.67.1 (2024-11-10)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **config-tools:** Ensure trace logging is not marked as system logging ([e8dca171](https://github.com/storm-software/storm-ops/commit/e8dca171))
6
+
7
+ ## 2.67.0 (2024-11-08)
8
+
9
+ ### Features
10
+
11
+ - **build-tools:** Added back cjs build and local package.json dependencies ([d86d3c2a](https://github.com/storm-software/storm-ops/commit/d86d3c2a))
12
+
1
13
  ## 2.66.0 (2024-11-07)
2
14
 
3
15
  ### Features
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-2.65.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-2.67.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/bin/git.js CHANGED
@@ -230245,7 +230245,7 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
230245
230245
  var getLogFn = (logLevel = LogLevel.INFO, config2 = {}) => {
230246
230246
  const _chalk = getChalk();
230247
230247
  const colors = !config2.colors?.dark && !config2.colors?.["base"] && !config2.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config2.colors?.dark && typeof config2.colors.dark === "string" ? config2.colors : config2.colors?.["base"]?.dark && typeof config2.colors["base"].dark === "string" ? config2.colors["base"].dark : config2.colors?.["base"] ? config2.colors?.["base"] : DEFAULT_COLOR_CONFIG;
230248
- const configLogLevel = config2.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
230248
+ const configLogLevel = config2.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
230249
230249
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
230250
230250
  return (_15) => {
230251
230251
  };
@@ -230253,10 +230253,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config2 = {}) => {
230253
230253
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
230254
230254
  return (message) => {
230255
230255
  console.error(
230256
- `
230257
- ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
230256
+ `${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
230258
230257
  " \u{1F480} Fatal "
230259
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
230258
+ )} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
230260
230259
  `
230261
230260
  );
230262
230261
  };
@@ -230264,8 +230263,7 @@ ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.f
230264
230263
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
230265
230264
  return (message) => {
230266
230265
  console.error(
230267
- `
230268
- ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
230266
+ `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
230269
230267
  " \u2718 Error "
230270
230268
  )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
230271
230269
  `
@@ -230275,8 +230273,7 @@ ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.d
230275
230273
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
230276
230274
  return (message) => {
230277
230275
  console.warn(
230278
- `
230279
- ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
230276
+ `${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
230280
230277
  " \u26A0 Warn "
230281
230278
  )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
230282
230279
  `
@@ -230286,8 +230283,7 @@ ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.
230286
230283
  if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && LogLevel.SUCCESS >= getLogLevel(logLevel)) {
230287
230284
  return (message) => {
230288
230285
  console.info(
230289
- `
230290
- ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
230286
+ `${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
230291
230287
  " \u2713 Success "
230292
230288
  )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
230293
230289
  `
@@ -230297,19 +230293,17 @@ ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.
230297
230293
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
230298
230294
  return (message) => {
230299
230295
  console.info(
230300
- `
230301
- ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
230296
+ `${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
230302
230297
  " \u2139 Info "
230303
230298
  )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
230304
230299
  `
230305
230300
  );
230306
230301
  };
230307
230302
  }
230308
- if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
230303
+ if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
230309
230304
  return (message) => {
230310
230305
  console.debug(
230311
- `
230312
- ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
230306
+ `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
230313
230307
  " \u{1F6E0} Debug "
230314
230308
  )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
230315
230309
  `
@@ -230318,8 +230312,7 @@ ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.br
230318
230312
  }
230319
230313
  return (message) => {
230320
230314
  console.log(
230321
- `
230322
- ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
230315
+ `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
230323
230316
  " \u2709 System "
230324
230317
  )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
230325
230318
  `
@@ -230333,6 +230326,7 @@ var writeInfo = (message, config2) => getLogFn(LogLevel.INFO, config2)(message);
230333
230326
  var writeSuccess = (message, config2) => getLogFn(LogLevel.SUCCESS, config2)(message);
230334
230327
  var writeDebug = (message, config2) => getLogFn(LogLevel.DEBUG, config2)(message);
230335
230328
  var writeTrace = (message, config2) => getLogFn(LogLevel.TRACE, config2)(message);
230329
+ var writeSystem = (message, config2) => getLogFn(LogLevel.ALL, config2)(message);
230336
230330
  var MAX_DEPTH = 4;
230337
230331
  var formatLogMessage = (message, options8 = {}, depth2 = 0) => {
230338
230332
  if (depth2 > MAX_DEPTH) {
@@ -230413,8 +230407,8 @@ var getConfigFileByName = async (fileName, filePath, options8 = {}) => {
230413
230407
  name: fileName,
230414
230408
  envName: fileName?.toUpperCase(),
230415
230409
  jitiOptions: {
230416
- debug: true,
230417
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
230410
+ debug: false,
230411
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
230418
230412
  },
230419
230413
  ...options8
230420
230414
  });
@@ -230425,8 +230419,8 @@ var getConfigFileByName = async (fileName, filePath, options8 = {}) => {
230425
230419
  name: fileName,
230426
230420
  envName: fileName?.toUpperCase(),
230427
230421
  jitiOptions: {
230428
- debug: true,
230429
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
230422
+ debug: false,
230423
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
230430
230424
  },
230431
230425
  configFile: fileName,
230432
230426
  ...options8
@@ -230439,9 +230433,9 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
230439
230433
  const result2 = await getConfigFileByName("storm", workspacePath);
230440
230434
  let config2 = result2.config;
230441
230435
  const configFile = result2.configFile;
230442
- if (config2 && Object.keys(config2).length > 0) {
230443
- writeTrace(
230444
- `Found Storm configuration file "${configFile}" at "${workspacePath}"`,
230436
+ if (config2 && configFile && Object.keys(config2).length > 0) {
230437
+ writeSystem(
230438
+ `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
230445
230439
  {
230446
230440
  logLevel: "all"
230447
230441
  }
@@ -230454,9 +230448,9 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
230454
230448
  )
230455
230449
  );
230456
230450
  for (const result3 of results) {
230457
- if (result3?.config && Object.keys(result3.config).length > 0) {
230458
- writeTrace(
230459
- `Found additional configuration file "${result3.configFile}" at "${workspacePath}"`,
230451
+ if (result3?.config && result3?.configFile && Object.keys(result3.config).length > 0) {
230452
+ writeSystem(
230453
+ `Found alternative configuration file "${result3.configFile.includes(`${workspacePath}/`) ? result3.configFile.replace(`${workspacePath}/`, "") : result3.configFile}" at "${workspacePath}"`,
230460
230454
  {
230461
230455
  logLevel: "all"
230462
230456
  }
@@ -66561,7 +66561,7 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
66561
66561
  var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
66562
66562
  const _chalk = getChalk();
66563
66563
  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;
66564
- const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
66564
+ const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
66565
66565
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
66566
66566
  return (_6) => {
66567
66567
  };
@@ -66569,10 +66569,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
66569
66569
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
66570
66570
  return (message) => {
66571
66571
  console.error(
66572
- `
66573
- ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66572
+ `${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66574
66573
  " \u{1F480} Fatal "
66575
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
66574
+ )} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
66576
66575
  `
66577
66576
  );
66578
66577
  };
@@ -66580,8 +66579,7 @@ ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.f
66580
66579
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
66581
66580
  return (message) => {
66582
66581
  console.error(
66583
- `
66584
- ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
66582
+ `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
66585
66583
  " \u2718 Error "
66586
66584
  )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
66587
66585
  `
@@ -66591,8 +66589,7 @@ ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.d
66591
66589
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
66592
66590
  return (message) => {
66593
66591
  console.warn(
66594
- `
66595
- ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
66592
+ `${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
66596
66593
  " \u26A0 Warn "
66597
66594
  )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
66598
66595
  `
@@ -66602,8 +66599,7 @@ ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.
66602
66599
  if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && LogLevel.SUCCESS >= getLogLevel(logLevel)) {
66603
66600
  return (message) => {
66604
66601
  console.info(
66605
- `
66606
- ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
66602
+ `${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
66607
66603
  " \u2713 Success "
66608
66604
  )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
66609
66605
  `
@@ -66613,19 +66609,17 @@ ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.
66613
66609
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
66614
66610
  return (message) => {
66615
66611
  console.info(
66616
- `
66617
- ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
66612
+ `${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
66618
66613
  " \u2139 Info "
66619
66614
  )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
66620
66615
  `
66621
66616
  );
66622
66617
  };
66623
66618
  }
66624
- if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
66619
+ if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
66625
66620
  return (message) => {
66626
66621
  console.debug(
66627
- `
66628
- ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66622
+ `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66629
66623
  " \u{1F6E0} Debug "
66630
66624
  )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66631
66625
  `
@@ -66634,8 +66628,7 @@ ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.br
66634
66628
  }
66635
66629
  return (message) => {
66636
66630
  console.log(
66637
- `
66638
- ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66631
+ `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66639
66632
  " \u2709 System "
66640
66633
  )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66641
66634
  `
@@ -66648,6 +66641,7 @@ var writeWarning = (message, config) => getLogFn(LogLevel.WARN, config)(message)
66648
66641
  var writeInfo = (message, config) => getLogFn(LogLevel.INFO, config)(message);
66649
66642
  var writeSuccess = (message, config) => getLogFn(LogLevel.SUCCESS, config)(message);
66650
66643
  var writeTrace = (message, config) => getLogFn(LogLevel.TRACE, config)(message);
66644
+ var writeSystem = (message, config) => getLogFn(LogLevel.ALL, config)(message);
66651
66645
  var MAX_DEPTH = 4;
66652
66646
  var formatLogMessage = (message, options = {}, depth2 = 0) => {
66653
66647
  if (depth2 > MAX_DEPTH) {
@@ -66744,8 +66738,8 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
66744
66738
  name: fileName,
66745
66739
  envName: fileName?.toUpperCase(),
66746
66740
  jitiOptions: {
66747
- debug: true,
66748
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
66741
+ debug: false,
66742
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
66749
66743
  },
66750
66744
  ...options
66751
66745
  });
@@ -66756,8 +66750,8 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
66756
66750
  name: fileName,
66757
66751
  envName: fileName?.toUpperCase(),
66758
66752
  jitiOptions: {
66759
- debug: true,
66760
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
66753
+ debug: false,
66754
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
66761
66755
  },
66762
66756
  configFile: fileName,
66763
66757
  ...options
@@ -66770,9 +66764,9 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
66770
66764
  const result = await getConfigFileByName("storm", workspacePath);
66771
66765
  let config = result.config;
66772
66766
  const configFile = result.configFile;
66773
- if (config && Object.keys(config).length > 0) {
66774
- writeTrace(
66775
- `Found Storm configuration file "${configFile}" at "${workspacePath}"`,
66767
+ if (config && configFile && Object.keys(config).length > 0) {
66768
+ writeSystem(
66769
+ `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
66776
66770
  {
66777
66771
  logLevel: "all"
66778
66772
  }
@@ -66785,9 +66779,9 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
66785
66779
  )
66786
66780
  );
66787
66781
  for (const result2 of results) {
66788
- if (result2?.config && Object.keys(result2.config).length > 0) {
66789
- writeTrace(
66790
- `Found additional configuration file "${result2.configFile}" at "${workspacePath}"`,
66782
+ if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
66783
+ writeSystem(
66784
+ `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
66791
66785
  {
66792
66786
  logLevel: "all"
66793
66787
  }
@@ -66561,7 +66561,7 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
66561
66561
  var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
66562
66562
  const _chalk = getChalk();
66563
66563
  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;
66564
- const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
66564
+ const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
66565
66565
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
66566
66566
  return (_6) => {
66567
66567
  };
@@ -66569,10 +66569,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
66569
66569
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
66570
66570
  return (message) => {
66571
66571
  console.error(
66572
- `
66573
- ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66572
+ `${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66574
66573
  " \u{1F480} Fatal "
66575
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
66574
+ )} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
66576
66575
  `
66577
66576
  );
66578
66577
  };
@@ -66580,8 +66579,7 @@ ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.f
66580
66579
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
66581
66580
  return (message) => {
66582
66581
  console.error(
66583
- `
66584
- ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
66582
+ `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
66585
66583
  " \u2718 Error "
66586
66584
  )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
66587
66585
  `
@@ -66591,8 +66589,7 @@ ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.d
66591
66589
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
66592
66590
  return (message) => {
66593
66591
  console.warn(
66594
- `
66595
- ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
66592
+ `${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
66596
66593
  " \u26A0 Warn "
66597
66594
  )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
66598
66595
  `
@@ -66602,8 +66599,7 @@ ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.
66602
66599
  if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && LogLevel.SUCCESS >= getLogLevel(logLevel)) {
66603
66600
  return (message) => {
66604
66601
  console.info(
66605
- `
66606
- ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
66602
+ `${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
66607
66603
  " \u2713 Success "
66608
66604
  )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
66609
66605
  `
@@ -66613,19 +66609,17 @@ ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.
66613
66609
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
66614
66610
  return (message) => {
66615
66611
  console.info(
66616
- `
66617
- ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
66612
+ `${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
66618
66613
  " \u2139 Info "
66619
66614
  )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
66620
66615
  `
66621
66616
  );
66622
66617
  };
66623
66618
  }
66624
- if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
66619
+ if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
66625
66620
  return (message) => {
66626
66621
  console.debug(
66627
- `
66628
- ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66622
+ `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66629
66623
  " \u{1F6E0} Debug "
66630
66624
  )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66631
66625
  `
@@ -66634,8 +66628,7 @@ ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.br
66634
66628
  }
66635
66629
  return (message) => {
66636
66630
  console.log(
66637
- `
66638
- ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66631
+ `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66639
66632
  " \u2709 System "
66640
66633
  )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66641
66634
  `
@@ -66648,6 +66641,7 @@ var writeWarning = (message, config) => getLogFn(LogLevel.WARN, config)(message)
66648
66641
  var writeInfo = (message, config) => getLogFn(LogLevel.INFO, config)(message);
66649
66642
  var writeSuccess = (message, config) => getLogFn(LogLevel.SUCCESS, config)(message);
66650
66643
  var writeTrace = (message, config) => getLogFn(LogLevel.TRACE, config)(message);
66644
+ var writeSystem = (message, config) => getLogFn(LogLevel.ALL, config)(message);
66651
66645
  var MAX_DEPTH = 4;
66652
66646
  var formatLogMessage = (message, options = {}, depth2 = 0) => {
66653
66647
  if (depth2 > MAX_DEPTH) {
@@ -66744,8 +66738,8 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
66744
66738
  name: fileName,
66745
66739
  envName: fileName?.toUpperCase(),
66746
66740
  jitiOptions: {
66747
- debug: true,
66748
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
66741
+ debug: false,
66742
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
66749
66743
  },
66750
66744
  ...options
66751
66745
  });
@@ -66756,8 +66750,8 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
66756
66750
  name: fileName,
66757
66751
  envName: fileName?.toUpperCase(),
66758
66752
  jitiOptions: {
66759
- debug: true,
66760
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
66753
+ debug: false,
66754
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
66761
66755
  },
66762
66756
  configFile: fileName,
66763
66757
  ...options
@@ -66770,9 +66764,9 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
66770
66764
  const result = await getConfigFileByName("storm", workspacePath);
66771
66765
  let config = result.config;
66772
66766
  const configFile = result.configFile;
66773
- if (config && Object.keys(config).length > 0) {
66774
- writeTrace(
66775
- `Found Storm configuration file "${configFile}" at "${workspacePath}"`,
66767
+ if (config && configFile && Object.keys(config).length > 0) {
66768
+ writeSystem(
66769
+ `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
66776
66770
  {
66777
66771
  logLevel: "all"
66778
66772
  }
@@ -66785,9 +66779,9 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
66785
66779
  )
66786
66780
  );
66787
66781
  for (const result2 of results) {
66788
- if (result2?.config && Object.keys(result2.config).length > 0) {
66789
- writeTrace(
66790
- `Found additional configuration file "${result2.configFile}" at "${workspacePath}"`,
66782
+ if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
66783
+ writeSystem(
66784
+ `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
66791
66785
  {
66792
66786
  logLevel: "all"
66793
66787
  }
package/bin/post-merge.js CHANGED
@@ -66561,7 +66561,7 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
66561
66561
  var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
66562
66562
  const _chalk = getChalk();
66563
66563
  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;
66564
- const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
66564
+ const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
66565
66565
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
66566
66566
  return (_6) => {
66567
66567
  };
@@ -66569,10 +66569,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
66569
66569
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
66570
66570
  return (message) => {
66571
66571
  console.error(
66572
- `
66573
- ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66572
+ `${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
66574
66573
  " \u{1F480} Fatal "
66575
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
66574
+ )} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
66576
66575
  `
66577
66576
  );
66578
66577
  };
@@ -66580,8 +66579,7 @@ ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.f
66580
66579
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
66581
66580
  return (message) => {
66582
66581
  console.error(
66583
- `
66584
- ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
66582
+ `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
66585
66583
  " \u2718 Error "
66586
66584
  )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
66587
66585
  `
@@ -66591,8 +66589,7 @@ ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.d
66591
66589
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
66592
66590
  return (message) => {
66593
66591
  console.warn(
66594
- `
66595
- ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
66592
+ `${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
66596
66593
  " \u26A0 Warn "
66597
66594
  )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
66598
66595
  `
@@ -66602,8 +66599,7 @@ ${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.
66602
66599
  if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && LogLevel.SUCCESS >= getLogLevel(logLevel)) {
66603
66600
  return (message) => {
66604
66601
  console.info(
66605
- `
66606
- ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
66602
+ `${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
66607
66603
  " \u2713 Success "
66608
66604
  )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
66609
66605
  `
@@ -66613,19 +66609,17 @@ ${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.
66613
66609
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
66614
66610
  return (message) => {
66615
66611
  console.info(
66616
- `
66617
- ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
66612
+ `${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
66618
66613
  " \u2139 Info "
66619
66614
  )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
66620
66615
  `
66621
66616
  );
66622
66617
  };
66623
66618
  }
66624
- if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
66619
+ if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
66625
66620
  return (message) => {
66626
66621
  console.debug(
66627
- `
66628
- ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66622
+ `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66629
66623
  " \u{1F6E0} Debug "
66630
66624
  )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66631
66625
  `
@@ -66634,8 +66628,7 @@ ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.br
66634
66628
  }
66635
66629
  return (message) => {
66636
66630
  console.log(
66637
- `
66638
- ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66631
+ `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
66639
66632
  " \u2709 System "
66640
66633
  )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
66641
66634
  `
@@ -66648,6 +66641,7 @@ var writeWarning = (message, config) => getLogFn(LogLevel.WARN, config)(message)
66648
66641
  var writeInfo = (message, config) => getLogFn(LogLevel.INFO, config)(message);
66649
66642
  var writeSuccess = (message, config) => getLogFn(LogLevel.SUCCESS, config)(message);
66650
66643
  var writeTrace = (message, config) => getLogFn(LogLevel.TRACE, config)(message);
66644
+ var writeSystem = (message, config) => getLogFn(LogLevel.ALL, config)(message);
66651
66645
  var MAX_DEPTH = 4;
66652
66646
  var formatLogMessage = (message, options = {}, depth2 = 0) => {
66653
66647
  if (depth2 > MAX_DEPTH) {
@@ -66744,8 +66738,8 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
66744
66738
  name: fileName,
66745
66739
  envName: fileName?.toUpperCase(),
66746
66740
  jitiOptions: {
66747
- debug: true,
66748
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
66741
+ debug: false,
66742
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
66749
66743
  },
66750
66744
  ...options
66751
66745
  });
@@ -66756,8 +66750,8 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
66756
66750
  name: fileName,
66757
66751
  envName: fileName?.toUpperCase(),
66758
66752
  jitiOptions: {
66759
- debug: true,
66760
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
66753
+ debug: false,
66754
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
66761
66755
  },
66762
66756
  configFile: fileName,
66763
66757
  ...options
@@ -66770,9 +66764,9 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
66770
66764
  const result = await getConfigFileByName("storm", workspacePath);
66771
66765
  let config = result.config;
66772
66766
  const configFile = result.configFile;
66773
- if (config && Object.keys(config).length > 0) {
66774
- writeTrace(
66775
- `Found Storm configuration file "${configFile}" at "${workspacePath}"`,
66767
+ if (config && configFile && Object.keys(config).length > 0) {
66768
+ writeSystem(
66769
+ `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
66776
66770
  {
66777
66771
  logLevel: "all"
66778
66772
  }
@@ -66785,9 +66779,9 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
66785
66779
  )
66786
66780
  );
66787
66781
  for (const result2 of results) {
66788
- if (result2?.config && Object.keys(result2.config).length > 0) {
66789
- writeTrace(
66790
- `Found additional configuration file "${result2.configFile}" at "${workspacePath}"`,
66782
+ if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
66783
+ writeSystem(
66784
+ `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
66791
66785
  {
66792
66786
  logLevel: "all"
66793
66787
  }