@storm-software/config-tools 1.188.75 → 1.188.77

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 (55) hide show
  1. package/bin/config.cjs +12 -2
  2. package/bin/config.js +12 -2
  3. package/dist/{chunk-KJ7E5BJ3.js → chunk-4XFFB6C2.js} +6 -0
  4. package/dist/{chunk-YT7SVLXG.cjs → chunk-A6A2A5EK.cjs} +3 -3
  5. package/dist/{chunk-4H6SCC26.cjs → chunk-ALARZAJQ.cjs} +16 -16
  6. package/dist/{chunk-UU2P3WKA.js → chunk-BMTJACKJ.js} +3 -3
  7. package/dist/{chunk-BJTNSVY4.js → chunk-BQLCBDR6.js} +1 -1
  8. package/dist/{chunk-LA3S35UI.js → chunk-DJB7XLHA.js} +3 -1
  9. package/dist/{chunk-C4EPZ7MR.cjs → chunk-GHFENILR.cjs} +2 -2
  10. package/dist/{chunk-JL3JIFMN.cjs → chunk-I6JQJR5W.cjs} +2 -0
  11. package/dist/{chunk-MKPH762O.cjs → chunk-IKP3QKCZ.cjs} +3 -1
  12. package/dist/{chunk-DEPFAFD6.cjs → chunk-LMHBDNQR.cjs} +9 -9
  13. package/dist/{chunk-DOODDOUJ.cjs → chunk-LR6U6OBW.cjs} +10 -10
  14. package/dist/{chunk-LPBJRPWX.cjs → chunk-N3LK3W3T.cjs} +9 -9
  15. package/dist/{chunk-PUWVCVM7.cjs → chunk-NU257TQ7.cjs} +3 -3
  16. package/dist/{chunk-HVUDC4OE.js → chunk-ODZFMPTW.js} +1 -1
  17. package/dist/{chunk-XVUCULX2.js → chunk-QDUNMWAE.js} +4 -4
  18. package/dist/{chunk-VOC4Q4SE.js → chunk-VIHD65EW.js} +1 -1
  19. package/dist/{chunk-ZWZLRNXP.js → chunk-XT72Z7BW.js} +2 -0
  20. package/dist/{chunk-DW7S5IU3.cjs → chunk-Y4QTE6AK.cjs} +6 -0
  21. package/dist/{chunk-XLOBQVBJ.js → chunk-YHW325ID.js} +1 -1
  22. package/dist/{chunk-DLA5OBN2.js → chunk-ZCFECSDH.js} +2 -2
  23. package/dist/config-file/get-config-file.cjs +7 -7
  24. package/dist/config-file/get-config-file.js +6 -6
  25. package/dist/config-file/index.cjs +7 -7
  26. package/dist/config-file/index.js +6 -6
  27. package/dist/create-storm-config.cjs +10 -10
  28. package/dist/create-storm-config.js +9 -9
  29. package/dist/env/get-env.cjs +2 -2
  30. package/dist/env/get-env.js +1 -1
  31. package/dist/env/index.cjs +3 -3
  32. package/dist/env/index.js +2 -2
  33. package/dist/env/set-env.cjs +2 -2
  34. package/dist/env/set-env.js +1 -1
  35. package/dist/get-config.cjs +11 -11
  36. package/dist/get-config.js +10 -10
  37. package/dist/index.cjs +11 -11
  38. package/dist/index.js +10 -10
  39. package/dist/logger/console.cjs +3 -3
  40. package/dist/logger/console.js +2 -2
  41. package/dist/logger/create-logger.cjs +4 -4
  42. package/dist/logger/create-logger.js +3 -3
  43. package/dist/logger/index.cjs +4 -4
  44. package/dist/logger/index.js +3 -3
  45. package/dist/utilities/colors.cjs +2 -2
  46. package/dist/utilities/colors.d.cts +1 -1
  47. package/dist/utilities/colors.d.ts +1 -1
  48. package/dist/utilities/colors.js +1 -1
  49. package/dist/utilities/index.cjs +6 -6
  50. package/dist/utilities/index.js +5 -5
  51. package/dist/utilities/process-handler.cjs +4 -4
  52. package/dist/utilities/process-handler.js +3 -3
  53. package/dist/utilities/toml.cjs +5 -5
  54. package/dist/utilities/toml.js +4 -4
  55. package/package.json +3 -3
package/bin/config.cjs CHANGED
@@ -83,6 +83,7 @@ var DEFAULT_COLOR_CONFIG = {
83
83
  help: "#5C4EE5",
84
84
  success: "#087f5b",
85
85
  info: "#0550ae",
86
+ debug: "#8afafc",
86
87
  warning: "#e3b341",
87
88
  danger: "#D8314A",
88
89
  fatal: "#51070f",
@@ -99,6 +100,7 @@ var DEFAULT_COLOR_CONFIG = {
99
100
  help: "#818cf8",
100
101
  success: "#10b981",
101
102
  info: "#58a6ff",
103
+ debug: "#8afafc",
102
104
  warning: "#f3d371",
103
105
  danger: "#D8314A",
104
106
  fatal: "#a40e26",
@@ -279,7 +281,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
279
281
  return (message) => {
280
282
  console.debug(
281
283
  `
282
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
284
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
283
285
  `
284
286
  );
285
287
  };
@@ -288,7 +290,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
288
290
  return (message) => {
289
291
  console.debug(
290
292
  `
291
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
293
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
292
294
  `
293
295
  );
294
296
  };
@@ -923,6 +925,7 @@ var getSingleThemeColorsEnv = (prefix) => {
923
925
  help: process.env[`${prefix}HELP`],
924
926
  success: process.env[`${prefix}SUCCESS`],
925
927
  info: process.env[`${prefix}INFO`],
928
+ debug: process.env[`${prefix}DEBUG`],
926
929
  warning: process.env[`${prefix}WARNING`],
927
930
  danger: process.env[`${prefix}DANGER`],
928
931
  fatal: process.env[`${prefix}FATAL`],
@@ -961,6 +964,7 @@ var getBaseThemeColorsEnv = (prefix) => {
961
964
  help: process.env[`${prefix}HELP`],
962
965
  success: process.env[`${prefix}SUCCESS`],
963
966
  info: process.env[`${prefix}INFO`],
967
+ debug: process.env[`${prefix}DEBUG`],
964
968
  warning: process.env[`${prefix}WARNING`],
965
969
  danger: process.env[`${prefix}DANGER`],
966
970
  fatal: process.env[`${prefix}FATAL`],
@@ -1262,6 +1266,9 @@ var setSingleThemeColorsEnv = (prefix, config) => {
1262
1266
  if (config.info) {
1263
1267
  process.env[`${prefix}INFO`] = config.info;
1264
1268
  }
1269
+ if (config.debug) {
1270
+ process.env[`${prefix}DEBUG`] = config.debug;
1271
+ }
1265
1272
  if (config.warning) {
1266
1273
  process.env[`${prefix}WARNING`] = config.warning;
1267
1274
  }
@@ -1317,6 +1324,9 @@ var setBaseThemeColorsEnv = (prefix, config) => {
1317
1324
  if (config.info) {
1318
1325
  process.env[`${prefix}INFO`] = config.info;
1319
1326
  }
1327
+ if (config.debug) {
1328
+ process.env[`${prefix}DEBUG`] = config.debug;
1329
+ }
1320
1330
  if (config.warning) {
1321
1331
  process.env[`${prefix}WARNING`] = config.warning;
1322
1332
  }
package/bin/config.js CHANGED
@@ -50,6 +50,7 @@ var DEFAULT_COLOR_CONFIG = {
50
50
  help: "#5C4EE5",
51
51
  success: "#087f5b",
52
52
  info: "#0550ae",
53
+ debug: "#8afafc",
53
54
  warning: "#e3b341",
54
55
  danger: "#D8314A",
55
56
  fatal: "#51070f",
@@ -66,6 +67,7 @@ var DEFAULT_COLOR_CONFIG = {
66
67
  help: "#818cf8",
67
68
  success: "#10b981",
68
69
  info: "#58a6ff",
70
+ debug: "#8afafc",
69
71
  warning: "#f3d371",
70
72
  danger: "#D8314A",
71
73
  fatal: "#a40e26",
@@ -246,7 +248,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
246
248
  return (message) => {
247
249
  console.debug(
248
250
  `
249
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
251
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
250
252
  `
251
253
  );
252
254
  };
@@ -255,7 +257,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
255
257
  return (message) => {
256
258
  console.debug(
257
259
  `
258
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
260
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
259
261
  `
260
262
  );
261
263
  };
@@ -898,6 +900,7 @@ var getSingleThemeColorsEnv = (prefix) => {
898
900
  help: process.env[`${prefix}HELP`],
899
901
  success: process.env[`${prefix}SUCCESS`],
900
902
  info: process.env[`${prefix}INFO`],
903
+ debug: process.env[`${prefix}DEBUG`],
901
904
  warning: process.env[`${prefix}WARNING`],
902
905
  danger: process.env[`${prefix}DANGER`],
903
906
  fatal: process.env[`${prefix}FATAL`],
@@ -936,6 +939,7 @@ var getBaseThemeColorsEnv = (prefix) => {
936
939
  help: process.env[`${prefix}HELP`],
937
940
  success: process.env[`${prefix}SUCCESS`],
938
941
  info: process.env[`${prefix}INFO`],
942
+ debug: process.env[`${prefix}DEBUG`],
939
943
  warning: process.env[`${prefix}WARNING`],
940
944
  danger: process.env[`${prefix}DANGER`],
941
945
  fatal: process.env[`${prefix}FATAL`],
@@ -1237,6 +1241,9 @@ var setSingleThemeColorsEnv = (prefix, config) => {
1237
1241
  if (config.info) {
1238
1242
  process.env[`${prefix}INFO`] = config.info;
1239
1243
  }
1244
+ if (config.debug) {
1245
+ process.env[`${prefix}DEBUG`] = config.debug;
1246
+ }
1240
1247
  if (config.warning) {
1241
1248
  process.env[`${prefix}WARNING`] = config.warning;
1242
1249
  }
@@ -1292,6 +1299,9 @@ var setBaseThemeColorsEnv = (prefix, config) => {
1292
1299
  if (config.info) {
1293
1300
  process.env[`${prefix}INFO`] = config.info;
1294
1301
  }
1302
+ if (config.debug) {
1303
+ process.env[`${prefix}DEBUG`] = config.debug;
1304
+ }
1295
1305
  if (config.warning) {
1296
1306
  process.env[`${prefix}WARNING`] = config.warning;
1297
1307
  }
@@ -300,6 +300,9 @@ var setSingleThemeColorsEnv = (prefix, config) => {
300
300
  if (config.info) {
301
301
  process.env[`${prefix}INFO`] = config.info;
302
302
  }
303
+ if (config.debug) {
304
+ process.env[`${prefix}DEBUG`] = config.debug;
305
+ }
303
306
  if (config.warning) {
304
307
  process.env[`${prefix}WARNING`] = config.warning;
305
308
  }
@@ -355,6 +358,9 @@ var setBaseThemeColorsEnv = (prefix, config) => {
355
358
  if (config.info) {
356
359
  process.env[`${prefix}INFO`] = config.info;
357
360
  }
361
+ if (config.debug) {
362
+ process.env[`${prefix}DEBUG`] = config.debug;
363
+ }
358
364
  if (config.warning) {
359
365
  process.env[`${prefix}WARNING`] = config.warning;
360
366
  }
@@ -3,7 +3,7 @@
3
3
  var _chunk3CNCDDWZcjs = require('./chunk-3CNCDDWZ.cjs');
4
4
 
5
5
 
6
- var _chunkDOODDOUJcjs = require('./chunk-DOODDOUJ.cjs');
6
+ var _chunkLR6U6OBWcjs = require('./chunk-LR6U6OBW.cjs');
7
7
 
8
8
 
9
9
  var _chunkBDATZ3UBcjs = require('./chunk-BDATZ3UB.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
- _chunkDOODDOUJcjs.writeTrace.call(void 0,
55
+ _chunkLR6U6OBWcjs.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
- _chunkDOODDOUJcjs.writeTrace.call(void 0,
71
+ _chunkLR6U6OBWcjs.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
  "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 _chunkYT7SVLXGcjs = require('./chunk-YT7SVLXG.cjs');
3
+ var _chunkA6A2A5EKcjs = require('./chunk-A6A2A5EK.cjs');
4
4
 
5
5
 
6
6
 
@@ -12,14 +12,14 @@ var _chunk3CNCDDWZcjs = require('./chunk-3CNCDDWZ.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunkDOODDOUJcjs = require('./chunk-DOODDOUJ.cjs');
15
+ var _chunkLR6U6OBWcjs = require('./chunk-LR6U6OBW.cjs');
16
16
 
17
17
 
18
- var _chunkDW7S5IU3cjs = require('./chunk-DW7S5IU3.cjs');
18
+ var _chunkY4QTE6AKcjs = require('./chunk-Y4QTE6AK.cjs');
19
19
 
20
20
 
21
21
 
22
- var _chunkJL3JIFMNcjs = require('./chunk-JL3JIFMN.cjs');
22
+ var _chunkI6JQJR5Wcjs = require('./chunk-I6JQJR5W.cjs');
23
23
 
24
24
 
25
25
  var _chunkBDATZ3UBcjs = require('./chunk-BDATZ3UB.cjs');
@@ -37,11 +37,11 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
37
37
  if (!_workspaceRoot) {
38
38
  _workspaceRoot = _chunk3CNCDDWZcjs.findWorkspaceRoot.call(void 0, );
39
39
  }
40
- const configEnv = _chunkJL3JIFMNcjs.getConfigEnv.call(void 0, );
41
- const configFile = await _chunkYT7SVLXGcjs.getConfigFile.call(void 0, _workspaceRoot);
40
+ const configEnv = _chunkI6JQJR5Wcjs.getConfigEnv.call(void 0, );
41
+ const configFile = await _chunkA6A2A5EKcjs.getConfigFile.call(void 0, _workspaceRoot);
42
42
  if (!configFile) {
43
43
  if (!skipLogs) {
44
- _chunkDOODDOUJcjs.writeWarning.call(void 0,
44
+ _chunkLR6U6OBWcjs.writeWarning.call(void 0,
45
45
  "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",
46
46
  { logLevel: "all" }
47
47
  );
@@ -68,7 +68,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
68
68
  throw new Error(
69
69
  `Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _3 => _3.message]) ? `: ${error.message}` : ""}
70
70
 
71
- Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkDOODDOUJcjs.formatLogMessage.call(void 0,
71
+ Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkLR6U6OBWcjs.formatLogMessage.call(void 0,
72
72
  configInput
73
73
  )}`,
74
74
  {
@@ -96,7 +96,7 @@ var createConfigExtension = (extensionName, schema) => {
96
96
  if (_extension_cache.has(extension_cache_key)) {
97
97
  return _extension_cache.get(extension_cache_key);
98
98
  }
99
- let extension = _chunkJL3JIFMNcjs.getExtensionEnv.call(void 0, extensionName);
99
+ let extension = _chunkI6JQJR5Wcjs.getExtensionEnv.call(void 0, extensionName);
100
100
  if (schema) {
101
101
  extension = schema.parse(extension);
102
102
  }
@@ -111,11 +111,11 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
111
111
  skipLogs,
112
112
  true
113
113
  );
114
- _chunkDW7S5IU3cjs.setConfigEnv.call(void 0, config);
114
+ _chunkY4QTE6AKcjs.setConfigEnv.call(void 0, config);
115
115
  if (!skipLogs && !config.skipConfigLogging) {
116
- _chunkDOODDOUJcjs.writeTrace.call(void 0,
116
+ _chunkLR6U6OBWcjs.writeTrace.call(void 0,
117
117
  `\u2699\uFE0F Using Storm Workspace configuration:
118
- ${_chunkDOODDOUJcjs.formatLogMessage.call(void 0, config)}`,
118
+ ${_chunkLR6U6OBWcjs.formatLogMessage.call(void 0, config)}`,
119
119
  config
120
120
  );
121
121
  }
@@ -133,18 +133,18 @@ var tryLoadStormWorkspaceConfig = async (workspaceRoot, skipLogs = true, useDefa
133
133
  if (!config) {
134
134
  return void 0;
135
135
  }
136
- _chunkDW7S5IU3cjs.setConfigEnv.call(void 0, config);
136
+ _chunkY4QTE6AKcjs.setConfigEnv.call(void 0, config);
137
137
  if (!skipLogs && !config.skipConfigLogging) {
138
- _chunkDOODDOUJcjs.writeTrace.call(void 0,
138
+ _chunkLR6U6OBWcjs.writeTrace.call(void 0,
139
139
  `\u2699\uFE0F Using Storm Workspace configuration:
140
- ${_chunkDOODDOUJcjs.formatLogMessage.call(void 0, config)}`,
140
+ ${_chunkLR6U6OBWcjs.formatLogMessage.call(void 0, config)}`,
141
141
  config
142
142
  );
143
143
  }
144
144
  return config;
145
145
  } catch (error) {
146
146
  if (!skipLogs) {
147
- _chunkDOODDOUJcjs.writeWarning.call(void 0,
147
+ _chunkLR6U6OBWcjs.writeWarning.call(void 0,
148
148
  `\u26A0\uFE0F Failed to load Storm Workspace configuration: ${error}`,
149
149
  { logLevel: "all" }
150
150
  );
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DEFAULT_COLOR_CONFIG
3
- } from "./chunk-LA3S35UI.js";
3
+ } from "./chunk-DJB7XLHA.js";
4
4
  import {
5
5
  getChalk
6
6
  } from "./chunk-HVVJHTFS.js";
@@ -76,7 +76,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
76
76
  return (message) => {
77
77
  console.debug(
78
78
  `
79
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
79
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
80
80
  `
81
81
  );
82
82
  };
@@ -85,7 +85,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
85
85
  return (message) => {
86
86
  console.debug(
87
87
  `
88
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
88
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
89
89
  `
90
90
  );
91
91
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  loadStormWorkspaceConfig,
3
3
  tryLoadStormWorkspaceConfig
4
- } from "./chunk-XVUCULX2.js";
4
+ } from "./chunk-QDUNMWAE.js";
5
5
  import {
6
6
  findWorkspaceRoot
7
7
  } from "./chunk-LF3SAK2O.js";
@@ -8,6 +8,7 @@ var DEFAULT_COLOR_CONFIG = {
8
8
  help: "#5C4EE5",
9
9
  success: "#087f5b",
10
10
  info: "#0550ae",
11
+ debug: "#8afafc",
11
12
  warning: "#e3b341",
12
13
  danger: "#D8314A",
13
14
  fatal: "#51070f",
@@ -24,6 +25,7 @@ var DEFAULT_COLOR_CONFIG = {
24
25
  help: "#818cf8",
25
26
  success: "#10b981",
26
27
  info: "#58a6ff",
28
+ debug: "#8afafc",
27
29
  warning: "#f3d371",
28
30
  danger: "#D8314A",
29
31
  fatal: "#a40e26",
@@ -55,7 +57,7 @@ function getColor(key, config) {
55
57
  if (result) {
56
58
  return result;
57
59
  }
58
- if (key === "link") {
60
+ if (key === "link" || key === "debug") {
59
61
  return getColor("info", config);
60
62
  } else if (key === "fatal") {
61
63
  return getColor("danger", config);
@@ -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 _chunkDOODDOUJcjs = require('./chunk-DOODDOUJ.cjs');
3
+ var _chunkLR6U6OBWcjs = require('./chunk-LR6U6OBW.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
- _chunkDOODDOUJcjs.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
10
+ _chunkLR6U6OBWcjs.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);
@@ -176,6 +176,7 @@ var getSingleThemeColorsEnv = (prefix) => {
176
176
  help: process.env[`${prefix}HELP`],
177
177
  success: process.env[`${prefix}SUCCESS`],
178
178
  info: process.env[`${prefix}INFO`],
179
+ debug: process.env[`${prefix}DEBUG`],
179
180
  warning: process.env[`${prefix}WARNING`],
180
181
  danger: process.env[`${prefix}DANGER`],
181
182
  fatal: process.env[`${prefix}FATAL`],
@@ -214,6 +215,7 @@ var getBaseThemeColorsEnv = (prefix) => {
214
215
  help: process.env[`${prefix}HELP`],
215
216
  success: process.env[`${prefix}SUCCESS`],
216
217
  info: process.env[`${prefix}INFO`],
218
+ debug: process.env[`${prefix}DEBUG`],
217
219
  warning: process.env[`${prefix}WARNING`],
218
220
  danger: process.env[`${prefix}DANGER`],
219
221
  fatal: process.env[`${prefix}FATAL`],
@@ -8,6 +8,7 @@ var DEFAULT_COLOR_CONFIG = {
8
8
  help: "#5C4EE5",
9
9
  success: "#087f5b",
10
10
  info: "#0550ae",
11
+ debug: "#8afafc",
11
12
  warning: "#e3b341",
12
13
  danger: "#D8314A",
13
14
  fatal: "#51070f",
@@ -24,6 +25,7 @@ var DEFAULT_COLOR_CONFIG = {
24
25
  help: "#818cf8",
25
26
  success: "#10b981",
26
27
  info: "#58a6ff",
28
+ debug: "#8afafc",
27
29
  warning: "#f3d371",
28
30
  danger: "#D8314A",
29
31
  fatal: "#a40e26",
@@ -55,7 +57,7 @@ function getColor(key, config) {
55
57
  if (result) {
56
58
  return result;
57
59
  }
58
- if (key === "link") {
60
+ if (key === "link" || key === "debug") {
59
61
  return getColor("info", config);
60
62
  } else if (key === "fatal") {
61
63
  return getColor("danger", config);
@@ -3,31 +3,31 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkDOODDOUJcjs = require('./chunk-DOODDOUJ.cjs');
6
+ var _chunkLR6U6OBWcjs = require('./chunk-LR6U6OBW.cjs');
7
7
 
8
8
  // src/utilities/process-handler.ts
9
9
  var exitWithError = (config) => {
10
- _chunkDOODDOUJcjs.writeFatal.call(void 0, "Exiting script with an error status...", config);
10
+ _chunkLR6U6OBWcjs.writeFatal.call(void 0, "Exiting script with an error status...", config);
11
11
  process.exit(1);
12
12
  };
13
13
  var exitWithSuccess = (config) => {
14
- _chunkDOODDOUJcjs.writeSuccess.call(void 0, "Script completed successfully. Exiting...", config);
14
+ _chunkLR6U6OBWcjs.writeSuccess.call(void 0, "Script completed successfully. Exiting...", config);
15
15
  process.exit(0);
16
16
  };
17
17
  var handleProcess = (config) => {
18
- _chunkDOODDOUJcjs.writeTrace.call(void 0,
18
+ _chunkLR6U6OBWcjs.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
- _chunkDOODDOUJcjs.writeError.call(void 0,
23
+ _chunkLR6U6OBWcjs.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
- _chunkDOODDOUJcjs.writeError.call(void 0,
30
+ _chunkLR6U6OBWcjs.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
- _chunkDOODDOUJcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
38
+ _chunkLR6U6OBWcjs.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
- _chunkDOODDOUJcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
42
+ _chunkLR6U6OBWcjs.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
- _chunkDOODDOUJcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
46
+ _chunkLR6U6OBWcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
47
47
  exitWithError(config);
48
48
  });
49
49
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkMKPH762Ocjs = require('./chunk-MKPH762O.cjs');
3
+ var _chunkIKP3QKCZcjs = require('./chunk-IKP3QKCZ.cjs');
4
4
 
5
5
 
6
6
  var _chunkLOY6ICHZcjs = require('./chunk-LOY6ICHZ.cjs');
@@ -21,7 +21,7 @@ var _chunkIRCFHYKZcjs = require('./chunk-IRCFHYKZ.cjs');
21
21
  // src/logger/console.ts
22
22
  var _formatDistanceToNow = require('date-fns/formatDistanceToNow');
23
23
  var getLogFn = (logLevel = _chunkIRCFHYKZcjs.LogLevel.INFO, config = {}, _chalk = _chunkLOY6ICHZcjs.getChalk.call(void 0, )) => {
24
- 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]) ? _chunkMKPH762Ocjs.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"]]) : _chunkMKPH762Ocjs.DEFAULT_COLOR_CONFIG;
24
+ 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]) ? _chunkIKP3QKCZcjs.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"]]) : _chunkIKP3QKCZcjs.DEFAULT_COLOR_CONFIG;
25
25
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || _chunkIRCFHYKZcjs.LogLevelLabel.INFO;
26
26
  if (logLevel > _chunk4PX5UVANcjs.getLogLevel.call(void 0, configLogLevel) || logLevel <= _chunkIRCFHYKZcjs.LogLevel.SILENT || _chunk4PX5UVANcjs.getLogLevel.call(void 0, configLogLevel) <= _chunkIRCFHYKZcjs.LogLevel.SILENT) {
27
27
  return (_) => {
@@ -31,7 +31,7 @@ var getLogFn = (logLevel = _chunkIRCFHYKZcjs.LogLevel.INFO, config = {}, _chalk
31
31
  return (message) => {
32
32
  console.error(
33
33
  `
34
- ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( _chunkMKPH762Ocjs.DEFAULT_COLOR_CONFIG.dark.fatal)))(`[${_chunkWBQ4VS7Ecjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
34
+ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( _chunkIKP3QKCZcjs.DEFAULT_COLOR_CONFIG.dark.fatal)))(`[${_chunkWBQ4VS7Ecjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
35
35
  `
36
36
  );
37
37
  };
@@ -40,7 +40,7 @@ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_n
40
40
  return (message) => {
41
41
  console.error(
42
42
  `
43
- ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.danger, () => ( _chunkMKPH762Ocjs.DEFAULT_COLOR_CONFIG.dark.danger)))(`[${_chunkWBQ4VS7Ecjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.ERROR]} Error] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
43
+ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.danger, () => ( _chunkIKP3QKCZcjs.DEFAULT_COLOR_CONFIG.dark.danger)))(`[${_chunkWBQ4VS7Ecjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.ERROR]} Error] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
44
44
  `
45
45
  );
46
46
  };
@@ -49,7 +49,7 @@ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_n
49
49
  return (message) => {
50
50
  console.warn(
51
51
  `
52
- ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.warning, () => ( _chunkMKPH762Ocjs.DEFAULT_COLOR_CONFIG.dark.warning)))(`[${_chunkWBQ4VS7Ecjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.WARN]} Warn] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
52
+ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.warning, () => ( _chunkIKP3QKCZcjs.DEFAULT_COLOR_CONFIG.dark.warning)))(`[${_chunkWBQ4VS7Ecjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.WARN]} Warn] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
53
53
  `
54
54
  );
55
55
  };
@@ -58,7 +58,7 @@ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_n
58
58
  return (message) => {
59
59
  console.info(
60
60
  `
61
- ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.success, () => ( _chunkMKPH762Ocjs.DEFAULT_COLOR_CONFIG.dark.success)))(`[${_chunkWBQ4VS7Ecjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.SUCCESS]} Success] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
61
+ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.success, () => ( _chunkIKP3QKCZcjs.DEFAULT_COLOR_CONFIG.dark.success)))(`[${_chunkWBQ4VS7Ecjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.SUCCESS]} Success] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
62
62
  `
63
63
  );
64
64
  };
@@ -67,7 +67,7 @@ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_n
67
67
  return (message) => {
68
68
  console.info(
69
69
  `
70
- ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.info, () => ( _chunkMKPH762Ocjs.DEFAULT_COLOR_CONFIG.dark.info)))(`[${_chunkWBQ4VS7Ecjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
70
+ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.info, () => ( _chunkIKP3QKCZcjs.DEFAULT_COLOR_CONFIG.dark.info)))(`[${_chunkWBQ4VS7Ecjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
71
71
  `
72
72
  );
73
73
  };
@@ -76,7 +76,7 @@ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_n
76
76
  return (message) => {
77
77
  console.debug(
78
78
  `
79
- ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.info, () => ( _chunkMKPH762Ocjs.DEFAULT_COLOR_CONFIG.dark.info)))(`[${_chunkWBQ4VS7Ecjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
79
+ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.debug, () => ( _chunkIKP3QKCZcjs.DEFAULT_COLOR_CONFIG.dark.debug)))(`[${_chunkWBQ4VS7Ecjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
80
80
  `
81
81
  );
82
82
  };
@@ -85,7 +85,7 @@ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_n
85
85
  return (message) => {
86
86
  console.debug(
87
87
  `
88
- ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.info, () => ( _chunkMKPH762Ocjs.DEFAULT_COLOR_CONFIG.dark.info)))(`[${_chunkWBQ4VS7Ecjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
88
+ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex("#bbbbbb")(`[${_chunkWBQ4VS7Ecjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
89
89
  `
90
90
  );
91
91
  };
@@ -93,7 +93,7 @@ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_n
93
93
  return (message) => {
94
94
  console.log(
95
95
  `
96
- ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( _chunkMKPH762Ocjs.DEFAULT_COLOR_CONFIG.dark.brand)))(`[${_chunkWBQ4VS7Ecjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
96
+ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( _chunkIKP3QKCZcjs.DEFAULT_COLOR_CONFIG.dark.brand)))(`[${_chunkWBQ4VS7Ecjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
97
97
  `
98
98
  );
99
99
  };
@@ -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 _chunkDOODDOUJcjs = require('./chunk-DOODDOUJ.cjs');
4
+ var _chunkLR6U6OBWcjs = require('./chunk-LR6U6OBW.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 = _chunkDOODDOUJcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.FATAL, config, _chalk2.default);
13
- const writeError = _chunkDOODDOUJcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.ERROR, config, _chalk2.default);
14
- const writeWarning = _chunkDOODDOUJcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.WARN, config, _chalk2.default);
15
- const writeInfo = _chunkDOODDOUJcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.INFO, config, _chalk2.default);
16
- const writeSuccess = _chunkDOODDOUJcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.SUCCESS, config, _chalk2.default);
17
- const writeDebug = _chunkDOODDOUJcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.DEBUG, config, _chalk2.default);
18
- const writeTrace = _chunkDOODDOUJcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.DEBUG, config, _chalk2.default);
12
+ const writeFatal = _chunkLR6U6OBWcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.FATAL, config, _chalk2.default);
13
+ const writeError = _chunkLR6U6OBWcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.ERROR, config, _chalk2.default);
14
+ const writeWarning = _chunkLR6U6OBWcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.WARN, config, _chalk2.default);
15
+ const writeInfo = _chunkLR6U6OBWcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.INFO, config, _chalk2.default);
16
+ const writeSuccess = _chunkLR6U6OBWcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.SUCCESS, config, _chalk2.default);
17
+ const writeDebug = _chunkLR6U6OBWcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.DEBUG, config, _chalk2.default);
18
+ const writeTrace = _chunkLR6U6OBWcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.TRACE, 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: _chunkDOODDOUJcjs.getStopwatch
27
+ getStopwatch: _chunkLR6U6OBWcjs.getStopwatch
28
28
  };
29
29
  }
30
30
 
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk4H6SCC26cjs = require('./chunk-4H6SCC26.cjs');
4
+ var _chunkALARZAJQcjs = require('./chunk-ALARZAJQ.cjs');
5
5
 
6
6
 
7
7
  var _chunk3CNCDDWZcjs = require('./chunk-3CNCDDWZ.cjs');
8
8
 
9
9
  // src/get-config.ts
10
10
  function getConfig(workspaceRoot, skipLogs = false) {
11
- return _chunk4H6SCC26cjs.loadStormWorkspaceConfig.call(void 0, workspaceRoot, skipLogs);
11
+ return _chunkALARZAJQcjs.loadStormWorkspaceConfig.call(void 0, workspaceRoot, skipLogs);
12
12
  }
13
13
  function getWorkspaceConfig(skipLogs = true, options = {}) {
14
14
  let workspaceRoot = options.workspaceRoot;
@@ -23,7 +23,7 @@ async function tryGetWorkspaceConfig(skipLogs = true, options = {}) {
23
23
  if (!workspaceRoot) {
24
24
  workspaceRoot = _chunk3CNCDDWZcjs.findWorkspaceRoot.call(void 0, options.cwd);
25
25
  }
26
- return _chunk4H6SCC26cjs.tryLoadStormWorkspaceConfig.call(void 0,
26
+ return _chunkALARZAJQcjs.tryLoadStormWorkspaceConfig.call(void 0,
27
27
  workspaceRoot,
28
28
  skipLogs,
29
29
  options.useDefault
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeError
3
- } from "./chunk-UU2P3WKA.js";
3
+ } from "./chunk-BMTJACKJ.js";
4
4
 
5
5
  // src/utilities/toml.ts
6
6
  import TOML from "@ltd/j-toml";