@storm-software/config-tools 1.189.78 → 1.190.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/bin/config.cjs +17 -28
  2. package/bin/config.js +17 -28
  3. package/dist/{chunk-Q4XFXQVF.cjs → chunk-6IBSNO2S.cjs} +9 -9
  4. package/dist/{chunk-X6AAQM4H.js → chunk-7KE7OYDW.js} +9 -9
  5. package/dist/{chunk-DTC27IVR.js → chunk-CZGO7WY3.js} +1 -1
  6. package/dist/{chunk-DLJF3QQS.cjs → chunk-DZS54O6N.cjs} +16 -27
  7. package/dist/{chunk-MN5CJYWO.cjs → chunk-EEPODKNE.cjs} +10 -10
  8. package/dist/{chunk-KJJNDXDT.cjs → chunk-HUQ5Y2QK.cjs} +2 -2
  9. package/dist/chunk-JZAYHDV3.js +8 -0
  10. package/dist/{chunk-RLO6OMCM.js → chunk-KLUNEHDC.js} +1 -1
  11. package/dist/{chunk-TVLYWDEI.cjs → chunk-KOSKDPTM.cjs} +3 -3
  12. package/dist/{chunk-JLQZPWQ2.js → chunk-KVDT6KNS.js} +2 -2
  13. package/dist/{chunk-G4FBFCNL.js → chunk-ORVHSCSN.js} +1 -1
  14. package/dist/{chunk-PWT57ER4.cjs → chunk-PAQH5U2F.cjs} +3 -3
  15. package/dist/{chunk-JWLOTPPR.js → chunk-PN7H7GUE.js} +1 -1
  16. package/dist/chunk-S22A75II.cjs +35 -0
  17. package/dist/{chunk-XHJNCOIU.js → chunk-TOMKPXJE.js} +16 -27
  18. package/dist/chunk-WQJYIPSL.cjs +8 -0
  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.d.cts +1 -1
  29. package/dist/index.d.ts +1 -1
  30. package/dist/index.js +8 -8
  31. package/dist/logger/console.cjs +3 -3
  32. package/dist/logger/console.d.cts +20 -2
  33. package/dist/logger/console.d.ts +20 -2
  34. package/dist/logger/console.js +2 -2
  35. package/dist/logger/create-logger.cjs +4 -4
  36. package/dist/logger/create-logger.js +3 -3
  37. package/dist/logger/format-timestamp.cjs +2 -2
  38. package/dist/logger/format-timestamp.d.cts +2 -1
  39. package/dist/logger/format-timestamp.d.ts +2 -1
  40. package/dist/logger/format-timestamp.js +1 -1
  41. package/dist/logger/index.cjs +4 -4
  42. package/dist/logger/index.d.cts +1 -1
  43. package/dist/logger/index.d.ts +1 -1
  44. package/dist/logger/index.js +3 -3
  45. package/dist/utilities/index.cjs +6 -6
  46. package/dist/utilities/index.js +5 -5
  47. package/dist/utilities/process-handler.cjs +4 -4
  48. package/dist/utilities/process-handler.js +3 -3
  49. package/dist/utilities/toml.cjs +5 -5
  50. package/dist/utilities/toml.js +4 -4
  51. package/package.json +3 -3
  52. package/dist/chunk-BN6MEGGY.cjs +0 -8
  53. package/dist/chunk-CZ4IE2QN.js +0 -8
  54. package/dist/chunk-YWMI5JWG.cjs +0 -35
@@ -12,12 +12,12 @@
12
12
 
13
13
 
14
14
 
15
- var _chunkDLJF3QQScjs = require('../chunk-DLJF3QQS.cjs');
15
+ var _chunkDZS54O6Ncjs = require('../chunk-DZS54O6N.cjs');
16
16
  require('../chunk-L4YHJZ6Q.cjs');
17
17
  require('../chunk-LOY6ICHZ.cjs');
18
18
  require('../chunk-EC2KPWRG.cjs');
19
19
  require('../chunk-DTGT4OI3.cjs');
20
- require('../chunk-BN6MEGGY.cjs');
20
+ require('../chunk-WQJYIPSL.cjs');
21
21
  require('../chunk-JWLDCEBZ.cjs');
22
22
  require('../chunk-7QBTVNMR.cjs');
23
23
 
@@ -34,4 +34,4 @@ require('../chunk-7QBTVNMR.cjs');
34
34
 
35
35
 
36
36
 
37
- exports.brandIcon = _chunkDLJF3QQScjs.brandIcon; exports.formatLogMessage = _chunkDLJF3QQScjs.formatLogMessage; exports.getLogFn = _chunkDLJF3QQScjs.getLogFn; exports.getStopwatch = _chunkDLJF3QQScjs.getStopwatch; exports.writeDebug = _chunkDLJF3QQScjs.writeDebug; exports.writeError = _chunkDLJF3QQScjs.writeError; exports.writeFatal = _chunkDLJF3QQScjs.writeFatal; exports.writeInfo = _chunkDLJF3QQScjs.writeInfo; exports.writePerformance = _chunkDLJF3QQScjs.writePerformance; exports.writeSuccess = _chunkDLJF3QQScjs.writeSuccess; exports.writeSystem = _chunkDLJF3QQScjs.writeSystem; exports.writeTrace = _chunkDLJF3QQScjs.writeTrace; exports.writeWarning = _chunkDLJF3QQScjs.writeWarning;
37
+ exports.brandIcon = _chunkDZS54O6Ncjs.brandIcon; exports.formatLogMessage = _chunkDZS54O6Ncjs.formatLogMessage; exports.getLogFn = _chunkDZS54O6Ncjs.getLogFn; exports.getStopwatch = _chunkDZS54O6Ncjs.getStopwatch; exports.writeDebug = _chunkDZS54O6Ncjs.writeDebug; exports.writeError = _chunkDZS54O6Ncjs.writeError; exports.writeFatal = _chunkDZS54O6Ncjs.writeFatal; exports.writeInfo = _chunkDZS54O6Ncjs.writeInfo; exports.writePerformance = _chunkDZS54O6Ncjs.writePerformance; exports.writeSuccess = _chunkDZS54O6Ncjs.writeSuccess; exports.writeSystem = _chunkDZS54O6Ncjs.writeSystem; exports.writeTrace = _chunkDZS54O6Ncjs.writeTrace; exports.writeWarning = _chunkDZS54O6Ncjs.writeWarning;
@@ -2,6 +2,24 @@ import { StormWorkspaceConfig } from '@storm-software/config';
2
2
  import { LogLevel } from '../types.cjs';
3
3
  import { getChalk } from './chalk.cjs';
4
4
 
5
+ interface GetLogFnOptions {
6
+ /**
7
+ * Whether to include the full date and time in the log message (defaults to `false`, which only includes the time)
8
+ *
9
+ * @defaultValue false
10
+ */
11
+ fullDateTime?: boolean;
12
+ /**
13
+ * Whether to hide the date and time in the log message (defaults to `false`, which includes the date and time based on the `fullDateTime` option)
14
+ *
15
+ * @defaultValue false
16
+ */
17
+ hideDateTime?: boolean;
18
+ /**
19
+ * The color configuration to use for the log message (defaults to the default Storm color configuration)
20
+ */
21
+ chalk?: ReturnType<typeof getChalk>;
22
+ }
5
23
  /**
6
24
  * Get the log function for a log level
7
25
  *
@@ -9,7 +27,7 @@ import { getChalk } from './chalk.cjs';
9
27
  * @param config - The Storm configuration
10
28
  * @returns The log function
11
29
  */
12
- declare const getLogFn: (logLevel?: number | LogLevel, config?: Partial<StormWorkspaceConfig>, _chalk?: ReturnType<typeof getChalk>) => ((message?: any) => void);
30
+ declare const getLogFn: (logLevel?: number | LogLevel, config?: Partial<StormWorkspaceConfig>, options?: GetLogFnOptions) => ((message?: any) => void);
13
31
  /**
14
32
  * Write a message to the console at the `fatal` log level
15
33
  *
@@ -94,4 +112,4 @@ declare const formatLogMessage: (message?: any, options?: FormatLogMessageOption
94
112
  */
95
113
  declare const brandIcon: (config?: Partial<StormWorkspaceConfig>, _chalk?: ReturnType<typeof getChalk>) => string | undefined;
96
114
 
97
- export { type FormatLogMessageOptions, brandIcon, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writePerformance, writeSuccess, writeSystem, writeTrace, writeWarning };
115
+ export { type FormatLogMessageOptions, type GetLogFnOptions, brandIcon, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writePerformance, writeSuccess, writeSystem, writeTrace, writeWarning };
@@ -2,6 +2,24 @@ import { StormWorkspaceConfig } from '@storm-software/config';
2
2
  import { LogLevel } from '../types.js';
3
3
  import { getChalk } from './chalk.js';
4
4
 
5
+ interface GetLogFnOptions {
6
+ /**
7
+ * Whether to include the full date and time in the log message (defaults to `false`, which only includes the time)
8
+ *
9
+ * @defaultValue false
10
+ */
11
+ fullDateTime?: boolean;
12
+ /**
13
+ * Whether to hide the date and time in the log message (defaults to `false`, which includes the date and time based on the `fullDateTime` option)
14
+ *
15
+ * @defaultValue false
16
+ */
17
+ hideDateTime?: boolean;
18
+ /**
19
+ * The color configuration to use for the log message (defaults to the default Storm color configuration)
20
+ */
21
+ chalk?: ReturnType<typeof getChalk>;
22
+ }
5
23
  /**
6
24
  * Get the log function for a log level
7
25
  *
@@ -9,7 +27,7 @@ import { getChalk } from './chalk.js';
9
27
  * @param config - The Storm configuration
10
28
  * @returns The log function
11
29
  */
12
- declare const getLogFn: (logLevel?: number | LogLevel, config?: Partial<StormWorkspaceConfig>, _chalk?: ReturnType<typeof getChalk>) => ((message?: any) => void);
30
+ declare const getLogFn: (logLevel?: number | LogLevel, config?: Partial<StormWorkspaceConfig>, options?: GetLogFnOptions) => ((message?: any) => void);
13
31
  /**
14
32
  * Write a message to the console at the `fatal` log level
15
33
  *
@@ -94,4 +112,4 @@ declare const formatLogMessage: (message?: any, options?: FormatLogMessageOption
94
112
  */
95
113
  declare const brandIcon: (config?: Partial<StormWorkspaceConfig>, _chalk?: ReturnType<typeof getChalk>) => string | undefined;
96
114
 
97
- export { type FormatLogMessageOptions, brandIcon, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writePerformance, writeSuccess, writeSystem, writeTrace, writeWarning };
115
+ export { type FormatLogMessageOptions, type GetLogFnOptions, brandIcon, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writePerformance, writeSuccess, writeSystem, writeTrace, writeWarning };
@@ -12,12 +12,12 @@ import {
12
12
  writeSystem,
13
13
  writeTrace,
14
14
  writeWarning
15
- } from "../chunk-XHJNCOIU.js";
15
+ } from "../chunk-TOMKPXJE.js";
16
16
  import "../chunk-5DQF4GNF.js";
17
17
  import "../chunk-HVVJHTFS.js";
18
18
  import "../chunk-ZFNAUMQS.js";
19
19
  import "../chunk-G2MK47WL.js";
20
- import "../chunk-CZ4IE2QN.js";
20
+ import "../chunk-JZAYHDV3.js";
21
21
  import "../chunk-SXPH7ILL.js";
22
22
  import "../chunk-RALMUN5C.js";
23
23
  export {
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkYWMI5JWGcjs = require('../chunk-YWMI5JWG.cjs');
4
- require('../chunk-DLJF3QQS.cjs');
3
+ var _chunkS22A75IIcjs = require('../chunk-S22A75II.cjs');
4
+ require('../chunk-DZS54O6N.cjs');
5
5
  require('../chunk-L4YHJZ6Q.cjs');
6
6
  require('../chunk-LOY6ICHZ.cjs');
7
7
  require('../chunk-EC2KPWRG.cjs');
8
8
  require('../chunk-DTGT4OI3.cjs');
9
- require('../chunk-BN6MEGGY.cjs');
9
+ require('../chunk-WQJYIPSL.cjs');
10
10
  require('../chunk-JWLDCEBZ.cjs');
11
11
  require('../chunk-7QBTVNMR.cjs');
12
12
 
13
13
 
14
- exports.createLogger = _chunkYWMI5JWGcjs.createLogger;
14
+ exports.createLogger = _chunkS22A75IIcjs.createLogger;
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  createLogger
3
- } from "../chunk-X6AAQM4H.js";
4
- import "../chunk-XHJNCOIU.js";
3
+ } from "../chunk-7KE7OYDW.js";
4
+ import "../chunk-TOMKPXJE.js";
5
5
  import "../chunk-5DQF4GNF.js";
6
6
  import "../chunk-HVVJHTFS.js";
7
7
  import "../chunk-ZFNAUMQS.js";
8
8
  import "../chunk-G2MK47WL.js";
9
- import "../chunk-CZ4IE2QN.js";
9
+ import "../chunk-JZAYHDV3.js";
10
10
  import "../chunk-SXPH7ILL.js";
11
11
  import "../chunk-RALMUN5C.js";
12
12
  export {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkBN6MEGGYcjs = require('../chunk-BN6MEGGY.cjs');
3
+ var _chunkWQJYIPSLcjs = require('../chunk-WQJYIPSL.cjs');
4
4
 
5
5
 
6
- exports.formatTimestamp = _chunkBN6MEGGYcjs.formatTimestamp;
6
+ exports.formatTimestamp = _chunkWQJYIPSLcjs.formatTimestamp;
@@ -1,9 +1,10 @@
1
1
  /**
2
2
  * Format a timestamp to a human-readable string.
3
3
  *
4
+ * @param fullDateTime Whether to include the full date and time in the formatted string (defaults to `false`, which only includes the time)
4
5
  * @param date The date to format.
5
6
  * @returns The formatted timestamp.
6
7
  */
7
- declare const formatTimestamp: (date?: Date) => string;
8
+ declare const formatTimestamp: (fullDateTime?: boolean, date?: Date) => string;
8
9
 
9
10
  export { formatTimestamp };
@@ -1,9 +1,10 @@
1
1
  /**
2
2
  * Format a timestamp to a human-readable string.
3
3
  *
4
+ * @param fullDateTime Whether to include the full date and time in the formatted string (defaults to `false`, which only includes the time)
4
5
  * @param date The date to format.
5
6
  * @returns The formatted timestamp.
6
7
  */
7
- declare const formatTimestamp: (date?: Date) => string;
8
+ declare const formatTimestamp: (fullDateTime?: boolean, date?: Date) => string;
8
9
 
9
10
  export { formatTimestamp };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  formatTimestamp
3
- } from "../chunk-CZ4IE2QN.js";
3
+ } from "../chunk-JZAYHDV3.js";
4
4
  export {
5
5
  formatTimestamp
6
6
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-7PV6L7I7.cjs');
2
2
 
3
3
 
4
- var _chunkYWMI5JWGcjs = require('../chunk-YWMI5JWG.cjs');
4
+ var _chunkS22A75IIcjs = require('../chunk-S22A75II.cjs');
5
5
 
6
6
 
7
7
 
@@ -16,7 +16,7 @@ var _chunkYWMI5JWGcjs = require('../chunk-YWMI5JWG.cjs');
16
16
 
17
17
 
18
18
 
19
- var _chunkDLJF3QQScjs = require('../chunk-DLJF3QQS.cjs');
19
+ var _chunkDZS54O6Ncjs = require('../chunk-DZS54O6N.cjs');
20
20
  require('../chunk-L4YHJZ6Q.cjs');
21
21
 
22
22
 
@@ -29,7 +29,7 @@ var _chunkEC2KPWRGcjs = require('../chunk-EC2KPWRG.cjs');
29
29
  var _chunkDTGT4OI3cjs = require('../chunk-DTGT4OI3.cjs');
30
30
 
31
31
 
32
- var _chunkBN6MEGGYcjs = require('../chunk-BN6MEGGY.cjs');
32
+ var _chunkWQJYIPSLcjs = require('../chunk-WQJYIPSL.cjs');
33
33
 
34
34
 
35
35
 
@@ -58,4 +58,4 @@ require('../chunk-7QBTVNMR.cjs');
58
58
 
59
59
 
60
60
 
61
- exports.CONSOLE_ICONS = _chunkEC2KPWRGcjs.CONSOLE_ICONS; exports.brandIcon = _chunkDLJF3QQScjs.brandIcon; exports.createLogger = _chunkYWMI5JWGcjs.createLogger; exports.formatLogMessage = _chunkDLJF3QQScjs.formatLogMessage; exports.formatTimestamp = _chunkBN6MEGGYcjs.formatTimestamp; exports.getChalk = _chunkLOY6ICHZcjs.getChalk; exports.getLogFn = _chunkDLJF3QQScjs.getLogFn; exports.getLogLevel = _chunkJWLDCEBZcjs.getLogLevel; exports.getLogLevelLabel = _chunkJWLDCEBZcjs.getLogLevelLabel; exports.getStopwatch = _chunkDLJF3QQScjs.getStopwatch; exports.isUnicodeSupported = _chunkDTGT4OI3cjs.isUnicodeSupported; exports.isVerbose = _chunkJWLDCEBZcjs.isVerbose; exports.writeDebug = _chunkDLJF3QQScjs.writeDebug; exports.writeError = _chunkDLJF3QQScjs.writeError; exports.writeFatal = _chunkDLJF3QQScjs.writeFatal; exports.writeInfo = _chunkDLJF3QQScjs.writeInfo; exports.writePerformance = _chunkDLJF3QQScjs.writePerformance; exports.writeSuccess = _chunkDLJF3QQScjs.writeSuccess; exports.writeSystem = _chunkDLJF3QQScjs.writeSystem; exports.writeTrace = _chunkDLJF3QQScjs.writeTrace; exports.writeWarning = _chunkDLJF3QQScjs.writeWarning;
61
+ exports.CONSOLE_ICONS = _chunkEC2KPWRGcjs.CONSOLE_ICONS; exports.brandIcon = _chunkDZS54O6Ncjs.brandIcon; exports.createLogger = _chunkS22A75IIcjs.createLogger; exports.formatLogMessage = _chunkDZS54O6Ncjs.formatLogMessage; exports.formatTimestamp = _chunkWQJYIPSLcjs.formatTimestamp; exports.getChalk = _chunkLOY6ICHZcjs.getChalk; exports.getLogFn = _chunkDZS54O6Ncjs.getLogFn; exports.getLogLevel = _chunkJWLDCEBZcjs.getLogLevel; exports.getLogLevelLabel = _chunkJWLDCEBZcjs.getLogLevelLabel; exports.getStopwatch = _chunkDZS54O6Ncjs.getStopwatch; exports.isUnicodeSupported = _chunkDTGT4OI3cjs.isUnicodeSupported; exports.isVerbose = _chunkJWLDCEBZcjs.isVerbose; exports.writeDebug = _chunkDZS54O6Ncjs.writeDebug; exports.writeError = _chunkDZS54O6Ncjs.writeError; exports.writeFatal = _chunkDZS54O6Ncjs.writeFatal; exports.writeInfo = _chunkDZS54O6Ncjs.writeInfo; exports.writePerformance = _chunkDZS54O6Ncjs.writePerformance; exports.writeSuccess = _chunkDZS54O6Ncjs.writeSuccess; exports.writeSystem = _chunkDZS54O6Ncjs.writeSystem; exports.writeTrace = _chunkDZS54O6Ncjs.writeTrace; exports.writeWarning = _chunkDZS54O6Ncjs.writeWarning;
@@ -1,5 +1,5 @@
1
1
  export { GetChalkReturn, getChalk } from './chalk.cjs';
2
- export { FormatLogMessageOptions, brandIcon, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writePerformance, writeSuccess, writeSystem, writeTrace, writeWarning } from './console.cjs';
2
+ export { FormatLogMessageOptions, GetLogFnOptions, brandIcon, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writePerformance, writeSuccess, writeSystem, writeTrace, writeWarning } from './console.cjs';
3
3
  export { CONSOLE_ICONS } from './console-icons.cjs';
4
4
  export { createLogger } from './create-logger.cjs';
5
5
  export { formatTimestamp } from './format-timestamp.cjs';
@@ -1,5 +1,5 @@
1
1
  export { GetChalkReturn, getChalk } from './chalk.js';
2
- export { FormatLogMessageOptions, brandIcon, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writePerformance, writeSuccess, writeSystem, writeTrace, writeWarning } from './console.js';
2
+ export { FormatLogMessageOptions, GetLogFnOptions, brandIcon, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writePerformance, writeSuccess, writeSystem, writeTrace, writeWarning } from './console.js';
3
3
  export { CONSOLE_ICONS } from './console-icons.js';
4
4
  export { createLogger } from './create-logger.js';
5
5
  export { formatTimestamp } from './format-timestamp.js';
@@ -1,7 +1,7 @@
1
1
  import "../chunk-RRKB32OH.js";
2
2
  import {
3
3
  createLogger
4
- } from "../chunk-X6AAQM4H.js";
4
+ } from "../chunk-7KE7OYDW.js";
5
5
  import {
6
6
  brandIcon,
7
7
  formatLogMessage,
@@ -16,7 +16,7 @@ import {
16
16
  writeSystem,
17
17
  writeTrace,
18
18
  writeWarning
19
- } from "../chunk-XHJNCOIU.js";
19
+ } from "../chunk-TOMKPXJE.js";
20
20
  import "../chunk-5DQF4GNF.js";
21
21
  import {
22
22
  getChalk
@@ -29,7 +29,7 @@ import {
29
29
  } from "../chunk-G2MK47WL.js";
30
30
  import {
31
31
  formatTimestamp
32
- } from "../chunk-CZ4IE2QN.js";
32
+ } from "../chunk-JZAYHDV3.js";
33
33
  import {
34
34
  getLogLevel,
35
35
  getLogLevelLabel,
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkQ4XFXQVFcjs = require('../chunk-Q4XFXQVF.cjs');
6
+ var _chunk6IBSNO2Scjs = require('../chunk-6IBSNO2S.cjs');
7
7
 
8
8
 
9
9
 
@@ -15,7 +15,7 @@ var _chunk6Y623TCScjs = require('../chunk-6Y623TCS.cjs');
15
15
 
16
16
 
17
17
 
18
- var _chunkKJJNDXDTcjs = require('../chunk-KJJNDXDT.cjs');
18
+ var _chunkHUQ5Y2QKcjs = require('../chunk-HUQ5Y2QK.cjs');
19
19
 
20
20
 
21
21
 
@@ -36,8 +36,8 @@ var _chunkCFXT4ZAWcjs = require('../chunk-CFXT4ZAW.cjs');
36
36
  var _chunk3CNCDDWZcjs = require('../chunk-3CNCDDWZ.cjs');
37
37
  require('../chunk-NJFLUTGH.cjs');
38
38
  require('../chunk-7PV6L7I7.cjs');
39
- require('../chunk-YWMI5JWG.cjs');
40
- require('../chunk-DLJF3QQS.cjs');
39
+ require('../chunk-S22A75II.cjs');
40
+ require('../chunk-DZS54O6N.cjs');
41
41
 
42
42
 
43
43
 
@@ -47,7 +47,7 @@ var _chunkL4YHJZ6Qcjs = require('../chunk-L4YHJZ6Q.cjs');
47
47
  require('../chunk-LOY6ICHZ.cjs');
48
48
  require('../chunk-EC2KPWRG.cjs');
49
49
  require('../chunk-DTGT4OI3.cjs');
50
- require('../chunk-BN6MEGGY.cjs');
50
+ require('../chunk-WQJYIPSL.cjs');
51
51
 
52
52
 
53
53
 
@@ -106,4 +106,4 @@ require('../chunk-7QBTVNMR.cjs');
106
106
 
107
107
 
108
108
 
109
- exports.DEFAULT_COLOR_CONFIG = _chunkL4YHJZ6Qcjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunk6Y623TCScjs.LARGE_BUFFER; exports.applyDefaultConfig = _chunkCFXT4ZAWcjs.applyDefaultConfig; exports.applyWorkspaceBaseTokens = _chunkEMO3BY53cjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkEMO3BY53cjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkEMO3BY53cjs.applyWorkspaceTokens; exports.basename = _chunkBDATZ3UBcjs.basename; exports.correctPaths = _chunkBDATZ3UBcjs.correctPaths; exports.dirname = _chunkBDATZ3UBcjs.dirname; exports.exitWithError = _chunkQ4XFXQVFcjs.exitWithError; exports.exitWithSuccess = _chunkQ4XFXQVFcjs.exitWithSuccess; exports.extname = _chunkBDATZ3UBcjs.extname; exports.findFileName = _chunk2WBD2G3Ecjs.findFileName; exports.findFilePath = _chunk2WBD2G3Ecjs.findFilePath; exports.findWorkspaceRoot = _chunk3CNCDDWZcjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunk3CNCDDWZcjs.findWorkspaceRootSafe; exports.format = _chunkBDATZ3UBcjs.format; exports.getColor = _chunkL4YHJZ6Qcjs.getColor; exports.getColors = _chunkL4YHJZ6Qcjs.getColors; exports.getGradient = _chunkL4YHJZ6Qcjs.getGradient; exports.getPackageJsonConfig = _chunkCFXT4ZAWcjs.getPackageJsonConfig; exports.handleProcess = _chunkQ4XFXQVFcjs.handleProcess; exports.isAbsolute = _chunkBDATZ3UBcjs.isAbsolute; exports.joinPaths = _chunkBDATZ3UBcjs.joinPaths; exports.modifyCargoNestedTable = _chunkKJJNDXDTcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkKJJNDXDTcjs.modifyCargoTable; exports.normalizeString = _chunkBDATZ3UBcjs.normalizeString; exports.normalizeWindowsPath = _chunkBDATZ3UBcjs.normalizeWindowsPath; exports.parse = _chunkBDATZ3UBcjs.parse; exports.parseCargoToml = _chunkKJJNDXDTcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkKJJNDXDTcjs.parseCargoTomlWithTree; exports.relative = _chunkBDATZ3UBcjs.relative; exports.removeExtension = _chunk2WBD2G3Ecjs.removeExtension; exports.resolve = _chunkBDATZ3UBcjs.resolve; exports.run = _chunk6Y623TCScjs.run; exports.runAsync = _chunk6Y623TCScjs.runAsync; exports.sep = _chunkBDATZ3UBcjs.sep; exports.stringifyCargoToml = _chunkKJJNDXDTcjs.stringifyCargoToml; exports.toNamespacedPath = _chunkBDATZ3UBcjs.toNamespacedPath;
109
+ exports.DEFAULT_COLOR_CONFIG = _chunkL4YHJZ6Qcjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunk6Y623TCScjs.LARGE_BUFFER; exports.applyDefaultConfig = _chunkCFXT4ZAWcjs.applyDefaultConfig; exports.applyWorkspaceBaseTokens = _chunkEMO3BY53cjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkEMO3BY53cjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkEMO3BY53cjs.applyWorkspaceTokens; exports.basename = _chunkBDATZ3UBcjs.basename; exports.correctPaths = _chunkBDATZ3UBcjs.correctPaths; exports.dirname = _chunkBDATZ3UBcjs.dirname; exports.exitWithError = _chunk6IBSNO2Scjs.exitWithError; exports.exitWithSuccess = _chunk6IBSNO2Scjs.exitWithSuccess; exports.extname = _chunkBDATZ3UBcjs.extname; exports.findFileName = _chunk2WBD2G3Ecjs.findFileName; exports.findFilePath = _chunk2WBD2G3Ecjs.findFilePath; exports.findWorkspaceRoot = _chunk3CNCDDWZcjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunk3CNCDDWZcjs.findWorkspaceRootSafe; exports.format = _chunkBDATZ3UBcjs.format; exports.getColor = _chunkL4YHJZ6Qcjs.getColor; exports.getColors = _chunkL4YHJZ6Qcjs.getColors; exports.getGradient = _chunkL4YHJZ6Qcjs.getGradient; exports.getPackageJsonConfig = _chunkCFXT4ZAWcjs.getPackageJsonConfig; exports.handleProcess = _chunk6IBSNO2Scjs.handleProcess; exports.isAbsolute = _chunkBDATZ3UBcjs.isAbsolute; exports.joinPaths = _chunkBDATZ3UBcjs.joinPaths; exports.modifyCargoNestedTable = _chunkHUQ5Y2QKcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkHUQ5Y2QKcjs.modifyCargoTable; exports.normalizeString = _chunkBDATZ3UBcjs.normalizeString; exports.normalizeWindowsPath = _chunkBDATZ3UBcjs.normalizeWindowsPath; exports.parse = _chunkBDATZ3UBcjs.parse; exports.parseCargoToml = _chunkHUQ5Y2QKcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkHUQ5Y2QKcjs.parseCargoTomlWithTree; exports.relative = _chunkBDATZ3UBcjs.relative; exports.removeExtension = _chunk2WBD2G3Ecjs.removeExtension; exports.resolve = _chunkBDATZ3UBcjs.resolve; exports.run = _chunk6Y623TCScjs.run; exports.runAsync = _chunk6Y623TCScjs.runAsync; exports.sep = _chunkBDATZ3UBcjs.sep; exports.stringifyCargoToml = _chunkHUQ5Y2QKcjs.stringifyCargoToml; exports.toNamespacedPath = _chunkBDATZ3UBcjs.toNamespacedPath;
@@ -3,7 +3,7 @@ import {
3
3
  exitWithError,
4
4
  exitWithSuccess,
5
5
  handleProcess
6
- } from "../chunk-JWLOTPPR.js";
6
+ } from "../chunk-PN7H7GUE.js";
7
7
  import {
8
8
  LARGE_BUFFER,
9
9
  run,
@@ -15,7 +15,7 @@ import {
15
15
  parseCargoToml,
16
16
  parseCargoTomlWithTree,
17
17
  stringifyCargoToml
18
- } from "../chunk-RLO6OMCM.js";
18
+ } from "../chunk-KLUNEHDC.js";
19
19
  import {
20
20
  applyWorkspaceBaseTokens,
21
21
  applyWorkspaceProjectTokens,
@@ -36,8 +36,8 @@ import {
36
36
  } from "../chunk-LF3SAK2O.js";
37
37
  import "../chunk-RUKM6FCF.js";
38
38
  import "../chunk-RRKB32OH.js";
39
- import "../chunk-X6AAQM4H.js";
40
- import "../chunk-XHJNCOIU.js";
39
+ import "../chunk-7KE7OYDW.js";
40
+ import "../chunk-TOMKPXJE.js";
41
41
  import {
42
42
  DEFAULT_COLOR_CONFIG,
43
43
  getColor,
@@ -47,7 +47,7 @@ import {
47
47
  import "../chunk-HVVJHTFS.js";
48
48
  import "../chunk-ZFNAUMQS.js";
49
49
  import "../chunk-G2MK47WL.js";
50
- import "../chunk-CZ4IE2QN.js";
50
+ import "../chunk-JZAYHDV3.js";
51
51
  import {
52
52
  basename,
53
53
  correctPaths,
@@ -2,17 +2,17 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkQ4XFXQVFcjs = require('../chunk-Q4XFXQVF.cjs');
6
- require('../chunk-DLJF3QQS.cjs');
5
+ var _chunk6IBSNO2Scjs = require('../chunk-6IBSNO2S.cjs');
6
+ require('../chunk-DZS54O6N.cjs');
7
7
  require('../chunk-L4YHJZ6Q.cjs');
8
8
  require('../chunk-LOY6ICHZ.cjs');
9
9
  require('../chunk-EC2KPWRG.cjs');
10
10
  require('../chunk-DTGT4OI3.cjs');
11
- require('../chunk-BN6MEGGY.cjs');
11
+ require('../chunk-WQJYIPSL.cjs');
12
12
  require('../chunk-JWLDCEBZ.cjs');
13
13
  require('../chunk-7QBTVNMR.cjs');
14
14
 
15
15
 
16
16
 
17
17
 
18
- exports.exitWithError = _chunkQ4XFXQVFcjs.exitWithError; exports.exitWithSuccess = _chunkQ4XFXQVFcjs.exitWithSuccess; exports.handleProcess = _chunkQ4XFXQVFcjs.handleProcess;
18
+ exports.exitWithError = _chunk6IBSNO2Scjs.exitWithError; exports.exitWithSuccess = _chunk6IBSNO2Scjs.exitWithSuccess; exports.handleProcess = _chunk6IBSNO2Scjs.handleProcess;
@@ -2,13 +2,13 @@ import {
2
2
  exitWithError,
3
3
  exitWithSuccess,
4
4
  handleProcess
5
- } from "../chunk-JWLOTPPR.js";
6
- import "../chunk-XHJNCOIU.js";
5
+ } from "../chunk-PN7H7GUE.js";
6
+ import "../chunk-TOMKPXJE.js";
7
7
  import "../chunk-5DQF4GNF.js";
8
8
  import "../chunk-HVVJHTFS.js";
9
9
  import "../chunk-ZFNAUMQS.js";
10
10
  import "../chunk-G2MK47WL.js";
11
- import "../chunk-CZ4IE2QN.js";
11
+ import "../chunk-JZAYHDV3.js";
12
12
  import "../chunk-SXPH7ILL.js";
13
13
  import "../chunk-RALMUN5C.js";
14
14
  export {
@@ -4,15 +4,15 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkKJJNDXDTcjs = require('../chunk-KJJNDXDT.cjs');
7
+ var _chunkHUQ5Y2QKcjs = require('../chunk-HUQ5Y2QK.cjs');
8
8
  require('../chunk-7PV6L7I7.cjs');
9
- require('../chunk-YWMI5JWG.cjs');
10
- require('../chunk-DLJF3QQS.cjs');
9
+ require('../chunk-S22A75II.cjs');
10
+ require('../chunk-DZS54O6N.cjs');
11
11
  require('../chunk-L4YHJZ6Q.cjs');
12
12
  require('../chunk-LOY6ICHZ.cjs');
13
13
  require('../chunk-EC2KPWRG.cjs');
14
14
  require('../chunk-DTGT4OI3.cjs');
15
- require('../chunk-BN6MEGGY.cjs');
15
+ require('../chunk-WQJYIPSL.cjs');
16
16
  require('../chunk-JWLDCEBZ.cjs');
17
17
  require('../chunk-7QBTVNMR.cjs');
18
18
 
@@ -21,4 +21,4 @@ require('../chunk-7QBTVNMR.cjs');
21
21
 
22
22
 
23
23
 
24
- exports.modifyCargoNestedTable = _chunkKJJNDXDTcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkKJJNDXDTcjs.modifyCargoTable; exports.parseCargoToml = _chunkKJJNDXDTcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkKJJNDXDTcjs.parseCargoTomlWithTree; exports.stringifyCargoToml = _chunkKJJNDXDTcjs.stringifyCargoToml;
24
+ exports.modifyCargoNestedTable = _chunkHUQ5Y2QKcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkHUQ5Y2QKcjs.modifyCargoTable; exports.parseCargoToml = _chunkHUQ5Y2QKcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkHUQ5Y2QKcjs.parseCargoTomlWithTree; exports.stringifyCargoToml = _chunkHUQ5Y2QKcjs.stringifyCargoToml;
@@ -4,15 +4,15 @@ import {
4
4
  parseCargoToml,
5
5
  parseCargoTomlWithTree,
6
6
  stringifyCargoToml
7
- } from "../chunk-RLO6OMCM.js";
7
+ } from "../chunk-KLUNEHDC.js";
8
8
  import "../chunk-RRKB32OH.js";
9
- import "../chunk-X6AAQM4H.js";
10
- import "../chunk-XHJNCOIU.js";
9
+ import "../chunk-7KE7OYDW.js";
10
+ import "../chunk-TOMKPXJE.js";
11
11
  import "../chunk-5DQF4GNF.js";
12
12
  import "../chunk-HVVJHTFS.js";
13
13
  import "../chunk-ZFNAUMQS.js";
14
14
  import "../chunk-G2MK47WL.js";
15
- import "../chunk-CZ4IE2QN.js";
15
+ import "../chunk-JZAYHDV3.js";
16
16
  import "../chunk-SXPH7ILL.js";
17
17
  import "../chunk-RALMUN5C.js";
18
18
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/config-tools",
3
- "version": "1.189.78",
3
+ "version": "1.190.0",
4
4
  "private": false,
5
5
  "description": "A package containing various utilities to support custom workspace configurations and environment management for Storm Software projects, including configuration file handling, environment variable management, and logging utilities.",
6
6
  "keywords": [
@@ -212,7 +212,7 @@
212
212
  "files": ["dist/**/*"],
213
213
  "dependencies": {
214
214
  "@ltd/j-toml": "1.38.0",
215
- "@storm-software/config": "^1.137.32",
215
+ "@storm-software/config": "^1.137.33",
216
216
  "c12": "^2.0.4",
217
217
  "chalk": "^4.1.2",
218
218
  "commander": "^12.1.0",
@@ -230,5 +230,5 @@
230
230
  "peerDependencies": { "zod": "^3.25.0 || ^4.0.0" },
231
231
  "peerDependenciesMeta": { "zod": { "optional": false } },
232
232
  "publishConfig": { "access": "public" },
233
- "gitHead": "53d2ed234e902be71b97a3f927d2613f1a15731f"
233
+ "gitHead": "8e54226b1485019afc0373ac57d8e56a394dad04"
234
234
  }
@@ -1,8 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/logger/format-timestamp.ts
2
- var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
3
- return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
4
- };
5
-
6
-
7
-
8
- exports.formatTimestamp = formatTimestamp;
@@ -1,8 +0,0 @@
1
- // src/logger/format-timestamp.ts
2
- var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
3
- return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
4
- };
5
-
6
- export {
7
- formatTimestamp
8
- };
@@ -1,35 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
-
3
-
4
- var _chunkDLJF3QQScjs = require('./chunk-DLJF3QQS.cjs');
5
-
6
-
7
- var _chunk7QBTVNMRcjs = require('./chunk-7QBTVNMR.cjs');
8
-
9
- // src/logger/create-logger.ts
10
- var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
11
- async function createLogger(config) {
12
- const writeFatal = _chunkDLJF3QQScjs.getLogFn.call(void 0, _chunk7QBTVNMRcjs.LogLevel.FATAL, config, _chalk2.default);
13
- const writeError = _chunkDLJF3QQScjs.getLogFn.call(void 0, _chunk7QBTVNMRcjs.LogLevel.ERROR, config, _chalk2.default);
14
- const writeWarning = _chunkDLJF3QQScjs.getLogFn.call(void 0, _chunk7QBTVNMRcjs.LogLevel.WARN, config, _chalk2.default);
15
- const writeInfo = _chunkDLJF3QQScjs.getLogFn.call(void 0, _chunk7QBTVNMRcjs.LogLevel.INFO, config, _chalk2.default);
16
- const writeSuccess = _chunkDLJF3QQScjs.getLogFn.call(void 0, _chunk7QBTVNMRcjs.LogLevel.SUCCESS, config, _chalk2.default);
17
- const writeDebug = _chunkDLJF3QQScjs.getLogFn.call(void 0, _chunk7QBTVNMRcjs.LogLevel.DEBUG, config, _chalk2.default);
18
- const writePerformance = _chunkDLJF3QQScjs.getLogFn.call(void 0, _chunk7QBTVNMRcjs.LogLevel.PERFORMANCE, config, _chalk2.default);
19
- const writeTrace = _chunkDLJF3QQScjs.getLogFn.call(void 0, _chunk7QBTVNMRcjs.LogLevel.TRACE, config, _chalk2.default);
20
- return {
21
- fatal: writeFatal,
22
- error: writeError,
23
- warning: writeWarning,
24
- info: writeInfo,
25
- success: writeSuccess,
26
- performance: writePerformance,
27
- debug: writeDebug,
28
- trace: writeTrace,
29
- getStopwatch: _chunkDLJF3QQScjs.getStopwatch
30
- };
31
- }
32
-
33
-
34
-
35
- exports.createLogger = createLogger;