@storm-software/config-tools 1.188.77 → 1.188.79

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 (43) hide show
  1. package/bin/config.cjs +41 -11
  2. package/bin/config.js +41 -11
  3. package/dist/{chunk-LM2UMGYA.js → chunk-2VUMRKHP.js} +2 -2
  4. package/dist/{chunk-LMHBDNQR.cjs → chunk-3OKIAE33.cjs} +9 -9
  5. package/dist/{chunk-LR6U6OBW.cjs → chunk-4RUD5E7L.cjs} +40 -10
  6. package/dist/{chunk-GHFENILR.cjs → chunk-76J7MRVH.cjs} +2 -2
  7. package/dist/{chunk-QDUNMWAE.js → chunk-7ZMITGBR.js} +2 -2
  8. package/dist/{chunk-NU257TQ7.cjs → chunk-FMZAKJZ5.cjs} +3 -3
  9. package/dist/{chunk-N3LK3W3T.cjs → chunk-H2HWLZZD.cjs} +9 -9
  10. package/dist/{chunk-ODZFMPTW.js → chunk-IFX4GLS2.js} +1 -1
  11. package/dist/{chunk-ALARZAJQ.cjs → chunk-J5QXIU2R.cjs} +10 -10
  12. package/dist/{chunk-VIHD65EW.js → chunk-L2DDZWNY.js} +1 -1
  13. package/dist/{chunk-A6A2A5EK.cjs → chunk-MLSIJNK2.cjs} +3 -3
  14. package/dist/{chunk-WBQ4VS7E.cjs → chunk-MXVOMCP5.cjs} +2 -2
  15. package/dist/{chunk-BMTJACKJ.js → chunk-ORUHTDMG.js} +40 -10
  16. package/dist/{chunk-BQLCBDR6.js → chunk-Y2QAE3B6.js} +1 -1
  17. package/dist/{chunk-YHW325ID.js → chunk-YDJ3M3SW.js} +1 -1
  18. package/dist/{chunk-ZCFECSDH.js → chunk-ZE67L5CA.js} +1 -1
  19. package/dist/config-file/get-config-file.cjs +7 -7
  20. package/dist/config-file/get-config-file.js +6 -6
  21. package/dist/config-file/index.cjs +7 -7
  22. package/dist/config-file/index.js +6 -6
  23. package/dist/create-storm-config.cjs +8 -8
  24. package/dist/create-storm-config.js +7 -7
  25. package/dist/get-config.cjs +9 -9
  26. package/dist/get-config.js +8 -8
  27. package/dist/index.cjs +9 -9
  28. package/dist/index.js +8 -8
  29. package/dist/logger/console-icons.cjs +2 -2
  30. package/dist/logger/console-icons.js +1 -1
  31. package/dist/logger/console.cjs +3 -3
  32. package/dist/logger/console.js +2 -2
  33. package/dist/logger/create-logger.cjs +4 -4
  34. package/dist/logger/create-logger.js +3 -3
  35. package/dist/logger/index.cjs +4 -4
  36. package/dist/logger/index.js +3 -3
  37. package/dist/utilities/index.cjs +6 -6
  38. package/dist/utilities/index.js +5 -5
  39. package/dist/utilities/process-handler.cjs +4 -4
  40. package/dist/utilities/process-handler.js +3 -3
  41. package/dist/utilities/toml.cjs +5 -5
  42. package/dist/utilities/toml.js +4 -4
  43. package/package.json +2 -2
package/bin/config.cjs CHANGED
@@ -159,12 +159,12 @@ function isUnicodeSupported() {
159
159
  var useIcon = (c, fallback) => isUnicodeSupported() ? c : fallback;
160
160
  var CONSOLE_ICONS = {
161
161
  [LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
162
- [LogLevelLabel.FATAL]: useIcon("\u{1F480}", "\xD7"),
162
+ [LogLevelLabel.FATAL]: useIcon("\u2622", "\xD7"),
163
163
  [LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
164
164
  [LogLevelLabel.INFO]: useIcon("\u2139", "i"),
165
165
  [LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
166
166
  [LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
167
- [LogLevelLabel.TRACE]: useIcon("\u{1F6E0}", "T"),
167
+ [LogLevelLabel.TRACE]: useIcon("\u2699", "T"),
168
168
  [LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
169
169
  };
170
170
 
@@ -236,7 +236,11 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
236
236
  return (message) => {
237
237
  console.error(
238
238
  `
239
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
239
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
240
+ colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal
241
+ )(
242
+ `[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
243
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
240
244
  `
241
245
  );
242
246
  };
@@ -245,7 +249,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CON
245
249
  return (message) => {
246
250
  console.error(
247
251
  `
248
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
252
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
253
+ colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger
254
+ )(
255
+ `[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
256
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
249
257
  `
250
258
  );
251
259
  };
@@ -254,7 +262,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CO
254
262
  return (message) => {
255
263
  console.warn(
256
264
  `
257
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
265
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
266
+ colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning
267
+ )(
268
+ `[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
269
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
258
270
  `
259
271
  );
260
272
  };
@@ -263,7 +275,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? DEFAULT_COLOR_C
263
275
  return (message) => {
264
276
  console.info(
265
277
  `
266
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
278
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
279
+ colors.success ?? DEFAULT_COLOR_CONFIG.dark.success
280
+ )(
281
+ `[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
282
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
267
283
  `
268
284
  );
269
285
  };
@@ -272,7 +288,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? DEFAULT_COLOR_C
272
288
  return (message) => {
273
289
  console.info(
274
290
  `
275
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
291
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
292
+ colors.info ?? DEFAULT_COLOR_CONFIG.dark.info
293
+ )(
294
+ `[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
295
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
276
296
  `
277
297
  );
278
298
  };
@@ -281,7 +301,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
281
301
  return (message) => {
282
302
  console.debug(
283
303
  `
284
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
304
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
305
+ colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug
306
+ )(
307
+ `[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
308
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
285
309
  `
286
310
  );
287
311
  };
@@ -290,7 +314,9 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CON
290
314
  return (message) => {
291
315
  console.debug(
292
316
  `
293
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
317
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
318
+ `[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
319
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
294
320
  `
295
321
  );
296
322
  };
@@ -298,7 +324,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogL
298
324
  return (message) => {
299
325
  console.log(
300
326
  `
301
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
327
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
328
+ colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand
329
+ )(
330
+ `[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
331
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
302
332
  `
303
333
  );
304
334
  };
@@ -309,7 +339,7 @@ var writeWarning = (message, config) => getLogFn(LogLevel.WARN, config)(message)
309
339
  var writeInfo = (message, config) => getLogFn(LogLevel.INFO, config)(message);
310
340
  var writeSuccess = (message, config) => getLogFn(LogLevel.SUCCESS, config)(message);
311
341
  var writeTrace = (message, config) => getLogFn(LogLevel.TRACE, config)(message);
312
- var MAX_DEPTH = 4;
342
+ var MAX_DEPTH = 6;
313
343
  var formatLogMessage = (message, options = {}, depth2 = 0) => {
314
344
  if (depth2 > MAX_DEPTH) {
315
345
  return "<max depth>";
package/bin/config.js CHANGED
@@ -126,12 +126,12 @@ function isUnicodeSupported() {
126
126
  var useIcon = (c, fallback) => isUnicodeSupported() ? c : fallback;
127
127
  var CONSOLE_ICONS = {
128
128
  [LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
129
- [LogLevelLabel.FATAL]: useIcon("\u{1F480}", "\xD7"),
129
+ [LogLevelLabel.FATAL]: useIcon("\u2622", "\xD7"),
130
130
  [LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
131
131
  [LogLevelLabel.INFO]: useIcon("\u2139", "i"),
132
132
  [LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
133
133
  [LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
134
- [LogLevelLabel.TRACE]: useIcon("\u{1F6E0}", "T"),
134
+ [LogLevelLabel.TRACE]: useIcon("\u2699", "T"),
135
135
  [LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
136
136
  };
137
137
 
@@ -203,7 +203,11 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
203
203
  return (message) => {
204
204
  console.error(
205
205
  `
206
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
206
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
207
+ colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal
208
+ )(
209
+ `[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
210
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
207
211
  `
208
212
  );
209
213
  };
@@ -212,7 +216,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CON
212
216
  return (message) => {
213
217
  console.error(
214
218
  `
215
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
219
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
220
+ colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger
221
+ )(
222
+ `[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
223
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
216
224
  `
217
225
  );
218
226
  };
@@ -221,7 +229,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CO
221
229
  return (message) => {
222
230
  console.warn(
223
231
  `
224
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
232
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
233
+ colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning
234
+ )(
235
+ `[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
236
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
225
237
  `
226
238
  );
227
239
  };
@@ -230,7 +242,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? DEFAULT_COLOR_C
230
242
  return (message) => {
231
243
  console.info(
232
244
  `
233
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
245
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
246
+ colors.success ?? DEFAULT_COLOR_CONFIG.dark.success
247
+ )(
248
+ `[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
249
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
234
250
  `
235
251
  );
236
252
  };
@@ -239,7 +255,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? DEFAULT_COLOR_C
239
255
  return (message) => {
240
256
  console.info(
241
257
  `
242
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
258
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
259
+ colors.info ?? DEFAULT_COLOR_CONFIG.dark.info
260
+ )(
261
+ `[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
262
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
243
263
  `
244
264
  );
245
265
  };
@@ -248,7 +268,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
248
268
  return (message) => {
249
269
  console.debug(
250
270
  `
251
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
271
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
272
+ colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug
273
+ )(
274
+ `[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
275
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
252
276
  `
253
277
  );
254
278
  };
@@ -257,7 +281,9 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CON
257
281
  return (message) => {
258
282
  console.debug(
259
283
  `
260
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
284
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
285
+ `[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
286
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
261
287
  `
262
288
  );
263
289
  };
@@ -265,7 +291,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogL
265
291
  return (message) => {
266
292
  console.log(
267
293
  `
268
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
294
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
295
+ colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand
296
+ )(
297
+ `[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
298
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
269
299
  `
270
300
  );
271
301
  };
@@ -276,7 +306,7 @@ var writeWarning = (message, config) => getLogFn(LogLevel.WARN, config)(message)
276
306
  var writeInfo = (message, config) => getLogFn(LogLevel.INFO, config)(message);
277
307
  var writeSuccess = (message, config) => getLogFn(LogLevel.SUCCESS, config)(message);
278
308
  var writeTrace = (message, config) => getLogFn(LogLevel.TRACE, config)(message);
279
- var MAX_DEPTH = 4;
309
+ var MAX_DEPTH = 6;
280
310
  var formatLogMessage = (message, options = {}, depth2 = 0) => {
281
311
  if (depth2 > MAX_DEPTH) {
282
312
  return "<max depth>";
@@ -9,12 +9,12 @@ import {
9
9
  var useIcon = (c, fallback) => isUnicodeSupported() ? c : fallback;
10
10
  var CONSOLE_ICONS = {
11
11
  [LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
12
- [LogLevelLabel.FATAL]: useIcon("\u{1F480}", "\xD7"),
12
+ [LogLevelLabel.FATAL]: useIcon("\u2622", "\xD7"),
13
13
  [LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
14
14
  [LogLevelLabel.INFO]: useIcon("\u2139", "i"),
15
15
  [LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
16
16
  [LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
17
- [LogLevelLabel.TRACE]: useIcon("\u{1F6E0}", "T"),
17
+ [LogLevelLabel.TRACE]: useIcon("\u2699", "T"),
18
18
  [LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
19
19
  };
20
20
 
@@ -3,31 +3,31 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkLR6U6OBWcjs = require('./chunk-LR6U6OBW.cjs');
6
+ var _chunk4RUD5E7Lcjs = require('./chunk-4RUD5E7L.cjs');
7
7
 
8
8
  // src/utilities/process-handler.ts
9
9
  var exitWithError = (config) => {
10
- _chunkLR6U6OBWcjs.writeFatal.call(void 0, "Exiting script with an error status...", config);
10
+ _chunk4RUD5E7Lcjs.writeFatal.call(void 0, "Exiting script with an error status...", config);
11
11
  process.exit(1);
12
12
  };
13
13
  var exitWithSuccess = (config) => {
14
- _chunkLR6U6OBWcjs.writeSuccess.call(void 0, "Script completed successfully. Exiting...", config);
14
+ _chunk4RUD5E7Lcjs.writeSuccess.call(void 0, "Script completed successfully. Exiting...", config);
15
15
  process.exit(0);
16
16
  };
17
17
  var handleProcess = (config) => {
18
- _chunkLR6U6OBWcjs.writeTrace.call(void 0,
18
+ _chunk4RUD5E7Lcjs.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
- _chunkLR6U6OBWcjs.writeError.call(void 0,
23
+ _chunk4RUD5E7Lcjs.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
- _chunkLR6U6OBWcjs.writeError.call(void 0,
30
+ _chunk4RUD5E7Lcjs.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
- _chunkLR6U6OBWcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
38
+ _chunk4RUD5E7Lcjs.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
- _chunkLR6U6OBWcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
42
+ _chunk4RUD5E7Lcjs.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
- _chunkLR6U6OBWcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
46
+ _chunk4RUD5E7Lcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
47
47
  exitWithError(config);
48
48
  });
49
49
  };
@@ -6,7 +6,7 @@ var _chunkIKP3QKCZcjs = require('./chunk-IKP3QKCZ.cjs');
6
6
  var _chunkLOY6ICHZcjs = require('./chunk-LOY6ICHZ.cjs');
7
7
 
8
8
 
9
- var _chunkWBQ4VS7Ecjs = require('./chunk-WBQ4VS7E.cjs');
9
+ var _chunkMXVOMCP5cjs = require('./chunk-MXVOMCP5.cjs');
10
10
 
11
11
 
12
12
  var _chunkBN6MEGGYcjs = require('./chunk-BN6MEGGY.cjs');
@@ -31,7 +31,11 @@ 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, () => ( _chunkIKP3QKCZcjs.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(
35
+ _nullishCoalesce(colors.fatal, () => ( _chunkIKP3QKCZcjs.DEFAULT_COLOR_CONFIG.dark.fatal))
36
+ )(
37
+ `[${_chunkMXVOMCP5cjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.FATAL]} Fatal] `
38
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
35
39
  `
36
40
  );
37
41
  };
@@ -40,7 +44,11 @@ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_n
40
44
  return (message) => {
41
45
  console.error(
42
46
  `
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))}
47
+ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(
48
+ _nullishCoalesce(colors.danger, () => ( _chunkIKP3QKCZcjs.DEFAULT_COLOR_CONFIG.dark.danger))
49
+ )(
50
+ `[${_chunkMXVOMCP5cjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.ERROR]} Error] `
51
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
44
52
  `
45
53
  );
46
54
  };
@@ -49,7 +57,11 @@ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_n
49
57
  return (message) => {
50
58
  console.warn(
51
59
  `
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))}
60
+ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(
61
+ _nullishCoalesce(colors.warning, () => ( _chunkIKP3QKCZcjs.DEFAULT_COLOR_CONFIG.dark.warning))
62
+ )(
63
+ `[${_chunkMXVOMCP5cjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.WARN]} Warn] `
64
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
53
65
  `
54
66
  );
55
67
  };
@@ -58,7 +70,11 @@ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_n
58
70
  return (message) => {
59
71
  console.info(
60
72
  `
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))}
73
+ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(
74
+ _nullishCoalesce(colors.success, () => ( _chunkIKP3QKCZcjs.DEFAULT_COLOR_CONFIG.dark.success))
75
+ )(
76
+ `[${_chunkMXVOMCP5cjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.SUCCESS]} Success] `
77
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
62
78
  `
63
79
  );
64
80
  };
@@ -67,7 +83,11 @@ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_n
67
83
  return (message) => {
68
84
  console.info(
69
85
  `
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))}
86
+ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(
87
+ _nullishCoalesce(colors.info, () => ( _chunkIKP3QKCZcjs.DEFAULT_COLOR_CONFIG.dark.info))
88
+ )(
89
+ `[${_chunkMXVOMCP5cjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.INFO]} Info] `
90
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
71
91
  `
72
92
  );
73
93
  };
@@ -76,7 +96,11 @@ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_n
76
96
  return (message) => {
77
97
  console.debug(
78
98
  `
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))}
99
+ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(
100
+ _nullishCoalesce(colors.debug, () => ( _chunkIKP3QKCZcjs.DEFAULT_COLOR_CONFIG.dark.debug))
101
+ )(
102
+ `[${_chunkMXVOMCP5cjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.DEBUG]} Debug] `
103
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
80
104
  `
81
105
  );
82
106
  };
@@ -85,7 +109,9 @@ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_n
85
109
  return (message) => {
86
110
  console.debug(
87
111
  `
88
- ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex("#bbbbbb")(`[${_chunkWBQ4VS7Ecjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
112
+ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex("#bbbbbb")(
113
+ `[${_chunkMXVOMCP5cjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.TRACE]} Trace] `
114
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
89
115
  `
90
116
  );
91
117
  };
@@ -93,7 +119,11 @@ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex("#
93
119
  return (message) => {
94
120
  console.log(
95
121
  `
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))}
122
+ ${_chalk.gray(_chunkBN6MEGGYcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(
123
+ _nullishCoalesce(colors.brand, () => ( _chunkIKP3QKCZcjs.DEFAULT_COLOR_CONFIG.dark.brand))
124
+ )(
125
+ `[${_chunkMXVOMCP5cjs.CONSOLE_ICONS[_chunkIRCFHYKZcjs.LogLevelLabel.ALL]} System] `
126
+ )}${_chalk.bold.whiteBright(formatLogMessage(message))}
97
127
  `
98
128
  );
99
129
  };
@@ -118,7 +148,7 @@ var getStopwatch = (name) => {
118
148
  );
119
149
  };
120
150
  };
121
- var MAX_DEPTH = 4;
151
+ var MAX_DEPTH = 6;
122
152
  var formatLogMessage = (message, options = {}, depth = 0) => {
123
153
  if (depth > MAX_DEPTH) {
124
154
  return "<max depth>";
@@ -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 _chunkLR6U6OBWcjs = require('./chunk-LR6U6OBW.cjs');
3
+ var _chunk4RUD5E7Lcjs = require('./chunk-4RUD5E7L.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
- _chunkLR6U6OBWcjs.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
10
+ _chunk4RUD5E7Lcjs.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,6 +1,6 @@
1
1
  import {
2
2
  getConfigFile
3
- } from "./chunk-YHW325ID.js";
3
+ } from "./chunk-YDJ3M3SW.js";
4
4
  import {
5
5
  applyDefaultConfig,
6
6
  getPackageJsonConfig
@@ -12,7 +12,7 @@ import {
12
12
  formatLogMessage,
13
13
  writeTrace,
14
14
  writeWarning
15
- } from "./chunk-BMTJACKJ.js";
15
+ } from "./chunk-ORUHTDMG.js";
16
16
  import {
17
17
  setConfigEnv
18
18
  } from "./chunk-4XFFB6C2.js";
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkALARZAJQcjs = require('./chunk-ALARZAJQ.cjs');
4
+ var _chunkJ5QXIU2Rcjs = require('./chunk-J5QXIU2R.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 _chunkALARZAJQcjs.loadStormWorkspaceConfig.call(void 0, workspaceRoot, skipLogs);
11
+ return _chunkJ5QXIU2Rcjs.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 _chunkALARZAJQcjs.tryLoadStormWorkspaceConfig.call(void 0,
26
+ return _chunkJ5QXIU2Rcjs.tryLoadStormWorkspaceConfig.call(void 0,
27
27
  workspaceRoot,
28
28
  skipLogs,
29
29
  options.useDefault
@@ -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 _chunkLR6U6OBWcjs = require('./chunk-LR6U6OBW.cjs');
4
+ var _chunk4RUD5E7Lcjs = require('./chunk-4RUD5E7L.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 = _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);
12
+ const writeFatal = _chunk4RUD5E7Lcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.FATAL, config, _chalk2.default);
13
+ const writeError = _chunk4RUD5E7Lcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.ERROR, config, _chalk2.default);
14
+ const writeWarning = _chunk4RUD5E7Lcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.WARN, config, _chalk2.default);
15
+ const writeInfo = _chunk4RUD5E7Lcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.INFO, config, _chalk2.default);
16
+ const writeSuccess = _chunk4RUD5E7Lcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.SUCCESS, config, _chalk2.default);
17
+ const writeDebug = _chunk4RUD5E7Lcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.DEBUG, config, _chalk2.default);
18
+ const writeTrace = _chunk4RUD5E7Lcjs.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: _chunkLR6U6OBWcjs.getStopwatch
27
+ getStopwatch: _chunk4RUD5E7Lcjs.getStopwatch
28
28
  };
29
29
  }
30
30
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeError
3
- } from "./chunk-BMTJACKJ.js";
3
+ } from "./chunk-ORUHTDMG.js";
4
4
 
5
5
  // src/utilities/toml.ts
6
6
  import TOML from "@ltd/j-toml";
@@ -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 _chunkA6A2A5EKcjs = require('./chunk-A6A2A5EK.cjs');
3
+ var _chunkMLSIJNK2cjs = require('./chunk-MLSIJNK2.cjs');
4
4
 
5
5
 
6
6
 
@@ -12,7 +12,7 @@ var _chunk3CNCDDWZcjs = require('./chunk-3CNCDDWZ.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunkLR6U6OBWcjs = require('./chunk-LR6U6OBW.cjs');
15
+ var _chunk4RUD5E7Lcjs = require('./chunk-4RUD5E7L.cjs');
16
16
 
17
17
 
18
18
  var _chunkY4QTE6AKcjs = require('./chunk-Y4QTE6AK.cjs');
@@ -38,10 +38,10 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
38
38
  _workspaceRoot = _chunk3CNCDDWZcjs.findWorkspaceRoot.call(void 0, );
39
39
  }
40
40
  const configEnv = _chunkI6JQJR5Wcjs.getConfigEnv.call(void 0, );
41
- const configFile = await _chunkA6A2A5EKcjs.getConfigFile.call(void 0, _workspaceRoot);
41
+ const configFile = await _chunkMLSIJNK2cjs.getConfigFile.call(void 0, _workspaceRoot);
42
42
  if (!configFile) {
43
43
  if (!skipLogs) {
44
- _chunkLR6U6OBWcjs.writeWarning.call(void 0,
44
+ _chunk4RUD5E7Lcjs.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: ${_chunkLR6U6OBWcjs.formatLogMessage.call(void 0,
71
+ Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunk4RUD5E7Lcjs.formatLogMessage.call(void 0,
72
72
  configInput
73
73
  )}`,
74
74
  {
@@ -113,9 +113,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
113
113
  );
114
114
  _chunkY4QTE6AKcjs.setConfigEnv.call(void 0, config);
115
115
  if (!skipLogs && !config.skipConfigLogging) {
116
- _chunkLR6U6OBWcjs.writeTrace.call(void 0,
116
+ _chunk4RUD5E7Lcjs.writeTrace.call(void 0,
117
117
  `\u2699\uFE0F Using Storm Workspace configuration:
118
- ${_chunkLR6U6OBWcjs.formatLogMessage.call(void 0, config)}`,
118
+ ${_chunk4RUD5E7Lcjs.formatLogMessage.call(void 0, config)}`,
119
119
  config
120
120
  );
121
121
  }
@@ -135,16 +135,16 @@ var tryLoadStormWorkspaceConfig = async (workspaceRoot, skipLogs = true, useDefa
135
135
  }
136
136
  _chunkY4QTE6AKcjs.setConfigEnv.call(void 0, config);
137
137
  if (!skipLogs && !config.skipConfigLogging) {
138
- _chunkLR6U6OBWcjs.writeTrace.call(void 0,
138
+ _chunk4RUD5E7Lcjs.writeTrace.call(void 0,
139
139
  `\u2699\uFE0F Using Storm Workspace configuration:
140
- ${_chunkLR6U6OBWcjs.formatLogMessage.call(void 0, config)}`,
140
+ ${_chunk4RUD5E7Lcjs.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
- _chunkLR6U6OBWcjs.writeWarning.call(void 0,
147
+ _chunk4RUD5E7Lcjs.writeWarning.call(void 0,
148
148
  `\u26A0\uFE0F Failed to load Storm Workspace configuration: ${error}`,
149
149
  { logLevel: "all" }
150
150
  );
@@ -3,7 +3,7 @@ import {
3
3
  writeFatal,
4
4
  writeSuccess,
5
5
  writeTrace
6
- } from "./chunk-BMTJACKJ.js";
6
+ } from "./chunk-ORUHTDMG.js";
7
7
 
8
8
  // src/utilities/process-handler.ts
9
9
  var exitWithError = (config) => {
@@ -3,7 +3,7 @@
3
3
  var _chunk3CNCDDWZcjs = require('./chunk-3CNCDDWZ.cjs');
4
4
 
5
5
 
6
- var _chunkLR6U6OBWcjs = require('./chunk-LR6U6OBW.cjs');
6
+ var _chunk4RUD5E7Lcjs = require('./chunk-4RUD5E7L.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
- _chunkLR6U6OBWcjs.writeTrace.call(void 0,
55
+ _chunk4RUD5E7Lcjs.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
- _chunkLR6U6OBWcjs.writeTrace.call(void 0,
71
+ _chunk4RUD5E7Lcjs.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"