@storm-software/config-tools 1.176.15 → 1.176.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/README.md +1 -1
  2. package/bin/config.cjs +8 -4
  3. package/bin/config.js +8 -4
  4. package/dist/{chunk-DVENQC2F.cjs → chunk-2IFNLLUL.cjs} +3 -3
  5. package/dist/{chunk-ZLQAA425.js → chunk-5DA26BV4.js} +1 -1
  6. package/dist/{chunk-CCW22JYO.js → chunk-7MBEC23I.js} +1 -1
  7. package/dist/{chunk-C77H5TXM.js → chunk-BEFQ5B4E.js} +1 -1
  8. package/dist/{chunk-RGAB6SWX.js → chunk-C5L7VSBR.js} +1 -1
  9. package/dist/{chunk-34OCDM7F.js → chunk-ENEFXS5D.js} +1 -1
  10. package/dist/{chunk-RP3PSEDA.cjs → chunk-EVOHJKUO.cjs} +2 -2
  11. package/dist/{chunk-P2KJ6EZO.js → chunk-HVVJHTFS.js} +8 -4
  12. package/dist/{chunk-EV4US3SK.cjs → chunk-INZ6GCPT.cjs} +2 -2
  13. package/dist/{chunk-EKVUGCY6.cjs → chunk-J2LN5PAX.cjs} +3 -3
  14. package/dist/{chunk-J7OMCZHA.cjs → chunk-LKCXHEY6.cjs} +10 -10
  15. package/dist/{chunk-CTYIEJ7C.cjs → chunk-LOY6ICHZ.cjs} +8 -4
  16. package/dist/{chunk-D3VDRI3F.js → chunk-UHSAPVE4.js} +1 -1
  17. package/dist/{chunk-2OGCM7UN.js → chunk-YEFBKZON.js} +2 -2
  18. package/dist/{chunk-NP5N65JN.cjs → chunk-YNDGTWLY.cjs} +9 -9
  19. package/dist/{chunk-BGR77S6Y.cjs → chunk-ZNODVZNQ.cjs} +9 -9
  20. package/dist/config-file/get-config-file.cjs +7 -7
  21. package/dist/config-file/get-config-file.js +6 -6
  22. package/dist/config-file/index.cjs +7 -7
  23. package/dist/config-file/index.js +6 -6
  24. package/dist/create-storm-config.cjs +8 -8
  25. package/dist/create-storm-config.js +7 -7
  26. package/dist/get-config.cjs +9 -9
  27. package/dist/get-config.js +8 -8
  28. package/dist/index.cjs +9 -9
  29. package/dist/index.js +8 -8
  30. package/dist/logger/chalk.cjs +2 -2
  31. package/dist/logger/chalk.d.cts +4 -0
  32. package/dist/logger/chalk.d.ts +4 -0
  33. package/dist/logger/chalk.js +1 -1
  34. package/dist/logger/console.cjs +3 -3
  35. package/dist/logger/console.js +2 -2
  36. package/dist/logger/create-logger.cjs +4 -4
  37. package/dist/logger/create-logger.js +3 -3
  38. package/dist/logger/index.cjs +4 -4
  39. package/dist/logger/index.js +3 -3
  40. package/dist/utilities/index.cjs +6 -6
  41. package/dist/utilities/index.js +5 -5
  42. package/dist/utilities/process-handler.cjs +4 -4
  43. package/dist/utilities/process-handler.js +3 -3
  44. package/dist/utilities/toml.cjs +5 -5
  45. package/dist/utilities/toml.js +4 -4
  46. package/package.json +3 -3
  47. package/dist/chunk-5IK56ULJ.cjs +0 -55
  48. package/dist/chunk-66NG3IMH.js +0 -131
  49. package/dist/chunk-6RRYSEZX.js +0 -82
  50. package/dist/chunk-7ETBV5GI.js +0 -47
  51. package/dist/chunk-B3GCBJWU.js +0 -358
  52. package/dist/chunk-CGZUIRJC.js +0 -154
  53. package/dist/chunk-COFLNWWF.cjs +0 -199
  54. package/dist/chunk-FN5I4YDC.js +0 -40
  55. package/dist/chunk-H23BFVJZ.js +0 -92
  56. package/dist/chunk-HDZDJM2A.cjs +0 -158
  57. package/dist/chunk-HGKCHX5V.js +0 -199
  58. package/dist/chunk-LAMW4XOL.cjs +0 -92
  59. package/dist/chunk-LFMYCBX4.cjs +0 -33
  60. package/dist/chunk-N3XDUGRP.cjs +0 -154
  61. package/dist/chunk-PQFFXKJC.js +0 -158
  62. package/dist/chunk-QSPWWF3B.cjs +0 -40
  63. package/dist/chunk-SNUKAQ73.js +0 -81
  64. package/dist/chunk-V34OFEO4.js +0 -39
  65. package/dist/chunk-V6LEGHTB.cjs +0 -47
  66. package/dist/chunk-WAGU7L62.cjs +0 -358
  67. package/dist/chunk-WELR3VV2.js +0 -33
  68. package/dist/chunk-XGDVC6AM.cjs +0 -39
  69. package/dist/chunk-XGOYEDHP.cjs +0 -131
  70. package/dist/chunk-Y73PCV6G.js +0 -55
  71. package/dist/chunk-ZAEOJ4ND.cjs +0 -82
  72. package/dist/chunk-ZGSL4YCI.cjs +0 -81
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-1.176.13-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-1.176.15-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/config.cjs CHANGED
@@ -412,16 +412,20 @@ var import_chalk = __toESM(require("chalk"), 1);
412
412
  var chalkDefault = {
413
413
  hex: (_) => (message) => message,
414
414
  bgHex: (_) => ({
415
- whiteBright: (message) => message
415
+ whiteBright: (message) => message,
416
+ white: (message) => message
416
417
  }),
418
+ white: (message) => message,
417
419
  whiteBright: (message) => message,
418
420
  gray: (message) => message,
419
421
  bold: {
420
422
  hex: (_) => (message) => message,
421
423
  bgHex: (_) => ({
422
- whiteBright: (message) => message
424
+ whiteBright: (message) => message,
425
+ white: (message) => message
423
426
  }),
424
- whiteBright: (message) => message
427
+ whiteBright: (message) => message,
428
+ white: (message) => message
425
429
  },
426
430
  dim: {
427
431
  hex: (_) => (message) => message,
@@ -430,7 +434,7 @@ var chalkDefault = {
430
434
  };
431
435
  var getChalk = () => {
432
436
  let _chalk = import_chalk.default;
433
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
437
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright || !_chalk?.white) {
434
438
  _chalk = chalkDefault;
435
439
  }
436
440
  return _chalk;
package/bin/config.js CHANGED
@@ -382,16 +382,20 @@ import chalk from "chalk";
382
382
  var chalkDefault = {
383
383
  hex: (_) => (message) => message,
384
384
  bgHex: (_) => ({
385
- whiteBright: (message) => message
385
+ whiteBright: (message) => message,
386
+ white: (message) => message
386
387
  }),
388
+ white: (message) => message,
387
389
  whiteBright: (message) => message,
388
390
  gray: (message) => message,
389
391
  bold: {
390
392
  hex: (_) => (message) => message,
391
393
  bgHex: (_) => ({
392
- whiteBright: (message) => message
394
+ whiteBright: (message) => message,
395
+ white: (message) => message
393
396
  }),
394
- whiteBright: (message) => message
397
+ whiteBright: (message) => message,
398
+ white: (message) => message
395
399
  },
396
400
  dim: {
397
401
  hex: (_) => (message) => message,
@@ -400,7 +404,7 @@ var chalkDefault = {
400
404
  };
401
405
  var getChalk = () => {
402
406
  let _chalk = chalk;
403
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
407
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright || !_chalk?.white) {
404
408
  _chalk = chalkDefault;
405
409
  }
406
410
  return _chalk;
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkRP3PSEDAcjs = require('./chunk-RP3PSEDA.cjs');
3
+ var _chunkEVOHJKUOcjs = require('./chunk-EVOHJKUO.cjs');
4
4
 
5
5
 
6
6
  var _chunkU436743Ucjs = require('./chunk-U436743U.cjs');
@@ -52,7 +52,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
52
52
  let config = result.config;
53
53
  const configFile = result.configFile;
54
54
  if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
55
- _chunkRP3PSEDAcjs.writeTrace.call(void 0,
55
+ _chunkEVOHJKUOcjs.writeTrace.call(void 0,
56
56
  `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
57
57
  {
58
58
  logLevel: "all"
@@ -68,7 +68,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
68
68
  for (const result2 of results) {
69
69
  if (_optionalChain([result2, 'optionalAccess', _5 => _5.config]) && _optionalChain([result2, 'optionalAccess', _6 => _6.configFile]) && Object.keys(result2.config).length > 0) {
70
70
  if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
71
- _chunkRP3PSEDAcjs.writeTrace.call(void 0,
71
+ _chunkEVOHJKUOcjs.writeTrace.call(void 0,
72
72
  `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
73
73
  {
74
74
  logLevel: "all"
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeTrace
3
- } from "./chunk-RGAB6SWX.js";
3
+ } from "./chunk-C5L7VSBR.js";
4
4
  import {
5
5
  findWorkspaceRoot
6
6
  } from "./chunk-PTHGOJU6.js";
@@ -3,7 +3,7 @@ import {
3
3
  writeFatal,
4
4
  writeSuccess,
5
5
  writeTrace
6
- } from "./chunk-RGAB6SWX.js";
6
+ } from "./chunk-C5L7VSBR.js";
7
7
 
8
8
  // src/utilities/process-handler.ts
9
9
  var exitWithError = (config) => {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  loadStormWorkspaceConfig,
3
3
  tryLoadStormWorkspaceConfig
4
- } from "./chunk-2OGCM7UN.js";
4
+ } from "./chunk-YEFBKZON.js";
5
5
  import {
6
6
  findWorkspaceRoot
7
7
  } from "./chunk-PTHGOJU6.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-SHD7ZUSQ.js";
4
4
  import {
5
5
  getChalk
6
- } from "./chunk-P2KJ6EZO.js";
6
+ } from "./chunk-HVVJHTFS.js";
7
7
  import {
8
8
  CONSOLE_ICONS
9
9
  } from "./chunk-LM2UMGYA.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeError
3
- } from "./chunk-PQFFXKJC.js";
3
+ } from "./chunk-C5L7VSBR.js";
4
4
 
5
5
  // src/utilities/toml.ts
6
6
  import TOML from "@ltd/j-toml";
@@ -3,7 +3,7 @@
3
3
  var _chunkKH5SONKWcjs = require('./chunk-KH5SONKW.cjs');
4
4
 
5
5
 
6
- var _chunkCTYIEJ7Ccjs = require('./chunk-CTYIEJ7C.cjs');
6
+ var _chunkLOY6ICHZcjs = require('./chunk-LOY6ICHZ.cjs');
7
7
 
8
8
 
9
9
  var _chunkWBQ4VS7Ecjs = require('./chunk-WBQ4VS7E.cjs');
@@ -19,7 +19,7 @@ var _chunk4PX5UVANcjs = require('./chunk-4PX5UVAN.cjs');
19
19
  var _chunkIRCFHYKZcjs = require('./chunk-IRCFHYKZ.cjs');
20
20
 
21
21
  // src/logger/console.ts
22
- var getLogFn = (logLevel = _chunkIRCFHYKZcjs.LogLevel.INFO, config = {}, _chalk = _chunkCTYIEJ7Ccjs.getChalk.call(void 0, )) => {
22
+ var getLogFn = (logLevel = _chunkIRCFHYKZcjs.LogLevel.INFO, config = {}, _chalk = _chunkLOY6ICHZcjs.getChalk.call(void 0, )) => {
23
23
  const colors = !_optionalChain([config, 'access', _2 => _2.colors, 'optionalAccess', _3 => _3.dark]) && !_optionalChain([config, 'access', _4 => _4.colors, 'optionalAccess', _5 => _5["base"]]) && !_optionalChain([config, 'access', _6 => _6.colors, 'optionalAccess', _7 => _7["base"], 'optionalAccess', _8 => _8.dark]) ? _chunkKH5SONKWcjs.DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _9 => _9.colors, 'optionalAccess', _10 => _10.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _11 => _11.colors, 'optionalAccess', _12 => _12["base"], 'optionalAccess', _13 => _13.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _14 => _14.colors, 'optionalAccess', _15 => _15["base"]]) ? _optionalChain([config, 'access', _16 => _16.colors, 'optionalAccess', _17 => _17["base"]]) : _chunkKH5SONKWcjs.DEFAULT_COLOR_CONFIG;
24
24
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || _chunkIRCFHYKZcjs.LogLevelLabel.INFO;
25
25
  if (logLevel > _chunk4PX5UVANcjs.getLogLevel.call(void 0, configLogLevel) || logLevel <= _chunkIRCFHYKZcjs.LogLevel.SILENT || _chunk4PX5UVANcjs.getLogLevel.call(void 0, configLogLevel) <= _chunkIRCFHYKZcjs.LogLevel.SILENT) {
@@ -3,16 +3,20 @@ import chalk from "chalk";
3
3
  var chalkDefault = {
4
4
  hex: (_) => (message) => message,
5
5
  bgHex: (_) => ({
6
- whiteBright: (message) => message
6
+ whiteBright: (message) => message,
7
+ white: (message) => message
7
8
  }),
9
+ white: (message) => message,
8
10
  whiteBright: (message) => message,
9
11
  gray: (message) => message,
10
12
  bold: {
11
13
  hex: (_) => (message) => message,
12
14
  bgHex: (_) => ({
13
- whiteBright: (message) => message
15
+ whiteBright: (message) => message,
16
+ white: (message) => message
14
17
  }),
15
- whiteBright: (message) => message
18
+ whiteBright: (message) => message,
19
+ white: (message) => message
16
20
  },
17
21
  dim: {
18
22
  hex: (_) => (message) => message,
@@ -21,7 +25,7 @@ var chalkDefault = {
21
25
  };
22
26
  var getChalk = () => {
23
27
  let _chalk = chalk;
24
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
28
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright || !_chalk?.white) {
25
29
  _chalk = chalkDefault;
26
30
  }
27
31
  return _chalk;
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkRP3PSEDAcjs = require('./chunk-RP3PSEDA.cjs');
3
+ var _chunkEVOHJKUOcjs = require('./chunk-EVOHJKUO.cjs');
4
4
 
5
5
  // src/utilities/toml.ts
6
6
  var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml);
7
7
  function parseCargoTomlWithTree(tree, projectRoot, projectName) {
8
8
  const cargoTomlString = _optionalChain([tree, 'access', _ => _.read, 'call', _2 => _2(`${projectRoot}/Cargo.toml`), 'optionalAccess', _3 => _3.toString, 'call', _4 => _4()]);
9
9
  if (!cargoTomlString) {
10
- _chunkRP3PSEDAcjs.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
10
+ _chunkEVOHJKUOcjs.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
11
11
  throw new Error();
12
12
  }
13
13
  return parseCargoToml(cargoTomlString);
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkJ7OMCZHAcjs = require('./chunk-J7OMCZHA.cjs');
4
+ var _chunkLKCXHEY6cjs = require('./chunk-LKCXHEY6.cjs');
5
5
 
6
6
 
7
7
  var _chunkU436743Ucjs = require('./chunk-U436743U.cjs');
8
8
 
9
9
  // src/get-config.ts
10
10
  var getConfig = (workspaceRoot, skipLogs = false) => {
11
- return _chunkJ7OMCZHAcjs.loadStormWorkspaceConfig.call(void 0, workspaceRoot, skipLogs);
11
+ return _chunkLKCXHEY6cjs.loadStormWorkspaceConfig.call(void 0, workspaceRoot, skipLogs);
12
12
  };
13
13
  var getWorkspaceConfig = (skipLogs = true, options = {}) => {
14
14
  let workspaceRoot = options.workspaceRoot;
@@ -23,7 +23,7 @@ var tryGetWorkspaceConfig = async (skipLogs = true, options = {}) => {
23
23
  if (!workspaceRoot) {
24
24
  workspaceRoot = _chunkU436743Ucjs.findWorkspaceRoot.call(void 0, options.cwd);
25
25
  }
26
- return _chunkJ7OMCZHAcjs.tryLoadStormWorkspaceConfig.call(void 0,
26
+ return _chunkLKCXHEY6cjs.tryLoadStormWorkspaceConfig.call(void 0,
27
27
  workspaceRoot,
28
28
  skipLogs,
29
29
  options.useDefault
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkDVENQC2Fcjs = require('./chunk-DVENQC2F.cjs');
3
+ var _chunk2IFNLLULcjs = require('./chunk-2IFNLLUL.cjs');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkRP3PSEDAcjs = require('./chunk-RP3PSEDA.cjs');
8
+ var _chunkEVOHJKUOcjs = require('./chunk-EVOHJKUO.cjs');
9
9
 
10
10
 
11
11
 
@@ -34,10 +34,10 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
34
34
  _workspaceRoot = _chunkU436743Ucjs.findWorkspaceRoot.call(void 0, );
35
35
  }
36
36
  const configEnv = _chunkQGASWRUNcjs.getConfigEnv.call(void 0, );
37
- const configFile = await _chunkDVENQC2Fcjs.getConfigFile.call(void 0, _workspaceRoot);
37
+ const configFile = await _chunk2IFNLLULcjs.getConfigFile.call(void 0, _workspaceRoot);
38
38
  if (!configFile) {
39
39
  if (!skipLogs) {
40
- _chunkRP3PSEDAcjs.writeWarning.call(void 0,
40
+ _chunkEVOHJKUOcjs.writeWarning.call(void 0,
41
41
  "No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
42
42
  { logLevel: "all" }
43
43
  );
@@ -61,7 +61,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
61
61
  throw new Error(
62
62
  `Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _3 => _3.message]) ? `: ${error.message}` : ""}
63
63
 
64
- Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkRP3PSEDAcjs.formatLogMessage.call(void 0,
64
+ Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkEVOHJKUOcjs.formatLogMessage.call(void 0,
65
65
  configInput
66
66
  )}`,
67
67
  {
@@ -106,9 +106,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
106
106
  );
107
107
  _chunk7GRIRHUQcjs.setConfigEnv.call(void 0, config);
108
108
  if (!skipLogs && !config.skipConfigLogging) {
109
- _chunkRP3PSEDAcjs.writeTrace.call(void 0,
109
+ _chunkEVOHJKUOcjs.writeTrace.call(void 0,
110
110
  `\u2699\uFE0F Using Storm Workspace configuration:
111
- ${_chunkRP3PSEDAcjs.formatLogMessage.call(void 0, config)}`,
111
+ ${_chunkEVOHJKUOcjs.formatLogMessage.call(void 0, config)}`,
112
112
  config
113
113
  );
114
114
  }
@@ -128,16 +128,16 @@ var tryLoadStormWorkspaceConfig = async (workspaceRoot, skipLogs = true, useDefa
128
128
  }
129
129
  _chunk7GRIRHUQcjs.setConfigEnv.call(void 0, config);
130
130
  if (!skipLogs && !config.skipConfigLogging) {
131
- _chunkRP3PSEDAcjs.writeTrace.call(void 0,
131
+ _chunkEVOHJKUOcjs.writeTrace.call(void 0,
132
132
  `\u2699\uFE0F Using Storm Workspace configuration:
133
- ${_chunkRP3PSEDAcjs.formatLogMessage.call(void 0, config)}`,
133
+ ${_chunkEVOHJKUOcjs.formatLogMessage.call(void 0, config)}`,
134
134
  config
135
135
  );
136
136
  }
137
137
  return config;
138
138
  } catch (error) {
139
139
  if (!skipLogs) {
140
- _chunkRP3PSEDAcjs.writeWarning.call(void 0,
140
+ _chunkEVOHJKUOcjs.writeWarning.call(void 0,
141
141
  `\u26A0\uFE0F Failed to load Storm Workspace configuration: ${error}`,
142
142
  { logLevel: "all" }
143
143
  );
@@ -3,16 +3,20 @@ var _chalk2 = require('chalk'); var _chalk3 = _interopRequireDefault(_chalk2);
3
3
  var chalkDefault = {
4
4
  hex: (_) => (message) => message,
5
5
  bgHex: (_) => ({
6
- whiteBright: (message) => message
6
+ whiteBright: (message) => message,
7
+ white: (message) => message
7
8
  }),
9
+ white: (message) => message,
8
10
  whiteBright: (message) => message,
9
11
  gray: (message) => message,
10
12
  bold: {
11
13
  hex: (_) => (message) => message,
12
14
  bgHex: (_) => ({
13
- whiteBright: (message) => message
15
+ whiteBright: (message) => message,
16
+ white: (message) => message
14
17
  }),
15
- whiteBright: (message) => message
18
+ whiteBright: (message) => message,
19
+ white: (message) => message
16
20
  },
17
21
  dim: {
18
22
  hex: (_) => (message) => message,
@@ -21,7 +25,7 @@ var chalkDefault = {
21
25
  };
22
26
  var getChalk = () => {
23
27
  let _chalk = _chalk3.default;
24
- if (!_optionalChain([_chalk, 'optionalAccess', _2 => _2.hex]) || !_optionalChain([_chalk, 'optionalAccess', _3 => _3.bold, 'optionalAccess', _4 => _4.hex]) || !_optionalChain([_chalk, 'optionalAccess', _5 => _5.bgHex]) || !_optionalChain([_chalk, 'optionalAccess', _6 => _6.whiteBright])) {
28
+ if (!_optionalChain([_chalk, 'optionalAccess', _2 => _2.hex]) || !_optionalChain([_chalk, 'optionalAccess', _3 => _3.bold, 'optionalAccess', _4 => _4.hex]) || !_optionalChain([_chalk, 'optionalAccess', _5 => _5.bgHex]) || !_optionalChain([_chalk, 'optionalAccess', _6 => _6.whiteBright]) || !_optionalChain([_chalk, 'optionalAccess', _7 => _7.white])) {
25
29
  _chalk = chalkDefault;
26
30
  }
27
31
  return _chalk;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getLogFn,
3
3
  getStopwatch
4
- } from "./chunk-PQFFXKJC.js";
4
+ } from "./chunk-C5L7VSBR.js";
5
5
  import {
6
6
  LogLevel
7
7
  } from "./chunk-POXTJ6GF.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getConfigFile
3
- } from "./chunk-ZLQAA425.js";
3
+ } from "./chunk-5DA26BV4.js";
4
4
  import {
5
5
  formatLogMessage,
6
6
  writeTrace,
7
7
  writeWarning
8
- } from "./chunk-RGAB6SWX.js";
8
+ } from "./chunk-C5L7VSBR.js";
9
9
  import {
10
10
  applyDefaultConfig,
11
11
  getPackageJsonConfig
@@ -3,31 +3,31 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkHDZDJM2Acjs = require('./chunk-HDZDJM2A.cjs');
6
+ var _chunkEVOHJKUOcjs = require('./chunk-EVOHJKUO.cjs');
7
7
 
8
8
  // src/utilities/process-handler.ts
9
9
  var exitWithError = (config) => {
10
- _chunkHDZDJM2Acjs.writeFatal.call(void 0, "Exiting script with an error status...", config);
10
+ _chunkEVOHJKUOcjs.writeFatal.call(void 0, "Exiting script with an error status...", config);
11
11
  process.exit(1);
12
12
  };
13
13
  var exitWithSuccess = (config) => {
14
- _chunkHDZDJM2Acjs.writeSuccess.call(void 0, "Script completed successfully. Exiting...", config);
14
+ _chunkEVOHJKUOcjs.writeSuccess.call(void 0, "Script completed successfully. Exiting...", config);
15
15
  process.exit(0);
16
16
  };
17
17
  var handleProcess = (config) => {
18
- _chunkHDZDJM2Acjs.writeTrace.call(void 0,
18
+ _chunkEVOHJKUOcjs.writeTrace.call(void 0,
19
19
  `Using the following arguments to process the script: ${process.argv.join(", ")}`,
20
20
  config
21
21
  );
22
22
  process.on("unhandledRejection", (error) => {
23
- _chunkHDZDJM2Acjs.writeError.call(void 0,
23
+ _chunkEVOHJKUOcjs.writeError.call(void 0,
24
24
  `An Unhandled Rejection occurred while running the program: ${error}`,
25
25
  config
26
26
  );
27
27
  exitWithError(config);
28
28
  });
29
29
  process.on("uncaughtException", (error) => {
30
- _chunkHDZDJM2Acjs.writeError.call(void 0,
30
+ _chunkEVOHJKUOcjs.writeError.call(void 0,
31
31
  `An Uncaught Exception occurred while running the program: ${error.message}
32
32
  Stacktrace: ${error.stack}`,
33
33
  config
@@ -35,15 +35,15 @@ Stacktrace: ${error.stack}`,
35
35
  exitWithError(config);
36
36
  });
37
37
  process.on("SIGTERM", (signal) => {
38
- _chunkHDZDJM2Acjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
38
+ _chunkEVOHJKUOcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
39
39
  exitWithError(config);
40
40
  });
41
41
  process.on("SIGINT", (signal) => {
42
- _chunkHDZDJM2Acjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
42
+ _chunkEVOHJKUOcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
43
43
  exitWithError(config);
44
44
  });
45
45
  process.on("SIGHUP", (signal) => {
46
- _chunkHDZDJM2Acjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
46
+ _chunkEVOHJKUOcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
47
47
  exitWithError(config);
48
48
  });
49
49
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
2
 
3
3
 
4
- var _chunkRP3PSEDAcjs = require('./chunk-RP3PSEDA.cjs');
4
+ var _chunkEVOHJKUOcjs = require('./chunk-EVOHJKUO.cjs');
5
5
 
6
6
 
7
7
  var _chunkIRCFHYKZcjs = require('./chunk-IRCFHYKZ.cjs');
@@ -9,13 +9,13 @@ var _chunkIRCFHYKZcjs = require('./chunk-IRCFHYKZ.cjs');
9
9
  // src/logger/create-logger.ts
10
10
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
11
11
  async function createLogger(config) {
12
- const writeFatal = _chunkRP3PSEDAcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.FATAL, config, _chalk2.default);
13
- const writeError = _chunkRP3PSEDAcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.ERROR, config, _chalk2.default);
14
- const writeWarning = _chunkRP3PSEDAcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.WARN, config, _chalk2.default);
15
- const writeInfo = _chunkRP3PSEDAcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.INFO, config, _chalk2.default);
16
- const writeSuccess = _chunkRP3PSEDAcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.SUCCESS, config, _chalk2.default);
17
- const writeDebug = _chunkRP3PSEDAcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.DEBUG, config, _chalk2.default);
18
- const writeTrace = _chunkRP3PSEDAcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.DEBUG, config, _chalk2.default);
12
+ const writeFatal = _chunkEVOHJKUOcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.FATAL, config, _chalk2.default);
13
+ const writeError = _chunkEVOHJKUOcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.ERROR, config, _chalk2.default);
14
+ const writeWarning = _chunkEVOHJKUOcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.WARN, config, _chalk2.default);
15
+ const writeInfo = _chunkEVOHJKUOcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.INFO, config, _chalk2.default);
16
+ const writeSuccess = _chunkEVOHJKUOcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.SUCCESS, config, _chalk2.default);
17
+ const writeDebug = _chunkEVOHJKUOcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.DEBUG, config, _chalk2.default);
18
+ const writeTrace = _chunkEVOHJKUOcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.DEBUG, config, _chalk2.default);
19
19
  return {
20
20
  fatal: writeFatal,
21
21
  error: writeError,
@@ -24,7 +24,7 @@ async function createLogger(config) {
24
24
  success: writeSuccess,
25
25
  debug: writeDebug,
26
26
  trace: writeTrace,
27
- getStopwatch: _chunkRP3PSEDAcjs.getStopwatch
27
+ getStopwatch: _chunkEVOHJKUOcjs.getStopwatch
28
28
  };
29
29
  }
30
30
 
@@ -1,21 +1,21 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkDVENQC2Fcjs = require('../chunk-DVENQC2F.cjs');
4
+ var _chunk2IFNLLULcjs = require('../chunk-2IFNLLUL.cjs');
5
5
  require('../chunk-3COHMHPU.cjs');
6
- require('../chunk-5IK56ULJ.cjs');
6
+ require('../chunk-YNDGTWLY.cjs');
7
7
  require('../chunk-DQT6QJRQ.cjs');
8
- require('../chunk-EV4US3SK.cjs');
8
+ require('../chunk-INZ6GCPT.cjs');
9
9
  require('../chunk-QLJYCKMD.cjs');
10
10
  require('../chunk-UCO4HZFN.cjs');
11
11
  require('../chunk-JMI7BRL7.cjs');
12
12
  require('../chunk-7PV6L7I7.cjs');
13
- require('../chunk-BGR77S6Y.cjs');
14
- require('../chunk-RP3PSEDA.cjs');
13
+ require('../chunk-ZNODVZNQ.cjs');
14
+ require('../chunk-EVOHJKUO.cjs');
15
15
  require('../chunk-KH5SONKW.cjs');
16
16
  require('../chunk-U436743U.cjs');
17
17
  require('../chunk-N3UX6L7X.cjs');
18
- require('../chunk-CTYIEJ7C.cjs');
18
+ require('../chunk-LOY6ICHZ.cjs');
19
19
  require('../chunk-WBQ4VS7E.cjs');
20
20
  require('../chunk-DTGT4OI3.cjs');
21
21
  require('../chunk-BN6MEGGY.cjs');
@@ -25,4 +25,4 @@ require('../chunk-IRCFHYKZ.cjs');
25
25
 
26
26
 
27
27
 
28
- exports.getConfigFile = _chunkDVENQC2Fcjs.getConfigFile; exports.getConfigFileByName = _chunkDVENQC2Fcjs.getConfigFileByName;
28
+ exports.getConfigFile = _chunk2IFNLLULcjs.getConfigFile; exports.getConfigFileByName = _chunk2IFNLLULcjs.getConfigFileByName;
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  getConfigFile,
3
3
  getConfigFileByName
4
- } from "../chunk-ZLQAA425.js";
4
+ } from "../chunk-5DA26BV4.js";
5
5
  import "../chunk-UKGRDKIH.js";
6
- import "../chunk-CCW22JYO.js";
6
+ import "../chunk-7MBEC23I.js";
7
7
  import "../chunk-6RVIJKY3.js";
8
- import "../chunk-7ETBV5GI.js";
8
+ import "../chunk-ENEFXS5D.js";
9
9
  import "../chunk-HYJVQZYZ.js";
10
10
  import "../chunk-CL6NTH3D.js";
11
11
  import "../chunk-WYQYWPLE.js";
12
12
  import "../chunk-RRKB32OH.js";
13
- import "../chunk-WELR3VV2.js";
14
- import "../chunk-RGAB6SWX.js";
13
+ import "../chunk-UHSAPVE4.js";
14
+ import "../chunk-C5L7VSBR.js";
15
15
  import "../chunk-SHD7ZUSQ.js";
16
16
  import "../chunk-PTHGOJU6.js";
17
17
  import "../chunk-6JBGUE4A.js";
18
- import "../chunk-P2KJ6EZO.js";
18
+ import "../chunk-HVVJHTFS.js";
19
19
  import "../chunk-LM2UMGYA.js";
20
20
  import "../chunk-G2MK47WL.js";
21
21
  import "../chunk-CZ4IE2QN.js";
@@ -2,21 +2,21 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkDVENQC2Fcjs = require('../chunk-DVENQC2F.cjs');
5
+ var _chunk2IFNLLULcjs = require('../chunk-2IFNLLUL.cjs');
6
6
  require('../chunk-3COHMHPU.cjs');
7
- require('../chunk-5IK56ULJ.cjs');
7
+ require('../chunk-YNDGTWLY.cjs');
8
8
  require('../chunk-DQT6QJRQ.cjs');
9
- require('../chunk-EV4US3SK.cjs');
9
+ require('../chunk-INZ6GCPT.cjs');
10
10
  require('../chunk-QLJYCKMD.cjs');
11
11
  require('../chunk-UCO4HZFN.cjs');
12
12
  require('../chunk-JMI7BRL7.cjs');
13
13
  require('../chunk-7PV6L7I7.cjs');
14
- require('../chunk-BGR77S6Y.cjs');
15
- require('../chunk-RP3PSEDA.cjs');
14
+ require('../chunk-ZNODVZNQ.cjs');
15
+ require('../chunk-EVOHJKUO.cjs');
16
16
  require('../chunk-KH5SONKW.cjs');
17
17
  require('../chunk-U436743U.cjs');
18
18
  require('../chunk-N3UX6L7X.cjs');
19
- require('../chunk-CTYIEJ7C.cjs');
19
+ require('../chunk-LOY6ICHZ.cjs');
20
20
  require('../chunk-WBQ4VS7E.cjs');
21
21
  require('../chunk-DTGT4OI3.cjs');
22
22
  require('../chunk-BN6MEGGY.cjs');
@@ -26,4 +26,4 @@ require('../chunk-IRCFHYKZ.cjs');
26
26
 
27
27
 
28
28
 
29
- exports.getConfigFile = _chunkDVENQC2Fcjs.getConfigFile; exports.getConfigFileByName = _chunkDVENQC2Fcjs.getConfigFileByName;
29
+ exports.getConfigFile = _chunk2IFNLLULcjs.getConfigFile; exports.getConfigFileByName = _chunk2IFNLLULcjs.getConfigFileByName;
@@ -2,21 +2,21 @@ import "../chunk-2AVLCXLT.js";
2
2
  import {
3
3
  getConfigFile,
4
4
  getConfigFileByName
5
- } from "../chunk-ZLQAA425.js";
5
+ } from "../chunk-5DA26BV4.js";
6
6
  import "../chunk-UKGRDKIH.js";
7
- import "../chunk-CCW22JYO.js";
7
+ import "../chunk-7MBEC23I.js";
8
8
  import "../chunk-6RVIJKY3.js";
9
- import "../chunk-7ETBV5GI.js";
9
+ import "../chunk-ENEFXS5D.js";
10
10
  import "../chunk-HYJVQZYZ.js";
11
11
  import "../chunk-CL6NTH3D.js";
12
12
  import "../chunk-WYQYWPLE.js";
13
13
  import "../chunk-RRKB32OH.js";
14
- import "../chunk-WELR3VV2.js";
15
- import "../chunk-RGAB6SWX.js";
14
+ import "../chunk-UHSAPVE4.js";
15
+ import "../chunk-C5L7VSBR.js";
16
16
  import "../chunk-SHD7ZUSQ.js";
17
17
  import "../chunk-PTHGOJU6.js";
18
18
  import "../chunk-6JBGUE4A.js";
19
- import "../chunk-P2KJ6EZO.js";
19
+ import "../chunk-HVVJHTFS.js";
20
20
  import "../chunk-LM2UMGYA.js";
21
21
  import "../chunk-G2MK47WL.js";
22
22
  import "../chunk-CZ4IE2QN.js";