@storm-software/config-tools 1.119.0 → 1.130.2

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 (157) hide show
  1. package/README.md +1 -1
  2. package/dist/chunk-4IYEDNYJ.mjs +426 -0
  3. package/dist/chunk-5QZ7AV2J.js +27 -0
  4. package/dist/chunk-64RYHF5D.mjs +51 -0
  5. package/dist/chunk-66ACWURQ.mjs +125 -0
  6. package/dist/chunk-6OYLNZFT.mjs +169 -0
  7. package/dist/chunk-6SJLAEJ3.js +70 -0
  8. package/dist/chunk-6WPG3DXV.js +32 -0
  9. package/dist/chunk-7KVSSDMX.mjs +545 -0
  10. package/dist/chunk-7XY63NME.js +44 -0
  11. package/dist/chunk-A7VLTBS6.mjs +271 -0
  12. package/dist/chunk-BS5OC5E6.js +426 -0
  13. package/dist/chunk-E3IN3SQD.mjs +6 -0
  14. package/dist/chunk-FW22KPOW.mjs +27 -0
  15. package/dist/chunk-GIZ23UUE.js +189 -0
  16. package/dist/chunk-GOQAHXJF.mjs +28 -0
  17. package/dist/chunk-H6XXDZ7A.js +28 -0
  18. package/dist/chunk-HCF3QA4H.js +102 -0
  19. package/dist/chunk-JDK3PXQR.js +545 -0
  20. package/dist/chunk-K6TQN2LZ.js +6 -0
  21. package/dist/chunk-LKZSRXS7.js +169 -0
  22. package/dist/chunk-MGI2M3SX.js +6 -0
  23. package/dist/chunk-N32EGEJB.js +90 -0
  24. package/dist/chunk-N4BRCEYB.js +27 -0
  25. package/dist/chunk-OXK45X3L.js +125 -0
  26. package/dist/chunk-PEHVR33I.js +67 -0
  27. package/dist/chunk-PQNCKJAR.js +271 -0
  28. package/dist/chunk-PVPSTJNJ.mjs +90 -0
  29. package/dist/chunk-QHVHX67K.js +6 -0
  30. package/dist/chunk-QUVGIEZZ.mjs +6 -0
  31. package/dist/chunk-RAWSXKTG.mjs +189 -0
  32. package/dist/chunk-SJO5XZQA.js +6 -0
  33. package/dist/chunk-TEKFJAJJ.mjs +70 -0
  34. package/dist/chunk-TTCXDK6S.mjs +27 -0
  35. package/dist/chunk-UCUOC6LA.mjs +70 -0
  36. package/dist/chunk-VQLOUFMG.mjs +32 -0
  37. package/dist/chunk-WRFJFYOU.mjs +51 -0
  38. package/dist/chunk-WXOSG64C.js +70 -0
  39. package/dist/chunk-WXYJGX4C.mjs +6 -0
  40. package/dist/chunk-X6VIYUJR.mjs +6 -0
  41. package/dist/chunk-XJEQHMOE.js +49 -0
  42. package/dist/chunk-XLMGW4ZW.mjs +67 -0
  43. package/dist/chunk-XXHENMLT.mjs +44 -0
  44. package/dist/chunk-Z2EXWNIQ.mjs +102 -0
  45. package/dist/chunk-ZVXEYJQO.js +51 -0
  46. package/dist/config-file/get-config-file.d.mts +20 -0
  47. package/dist/config-file/get-config-file.d.ts +20 -0
  48. package/dist/config-file/get-config-file.js +23 -0
  49. package/dist/config-file/get-config-file.mjs +23 -0
  50. package/dist/config-file/index.d.mts +4 -0
  51. package/dist/config-file/index.d.ts +4 -0
  52. package/dist/config-file/index.js +24 -0
  53. package/dist/config-file/index.mjs +24 -0
  54. package/dist/create-storm-config.d.mts +29 -0
  55. package/dist/create-storm-config.d.ts +29 -0
  56. package/dist/create-storm-config.js +30 -0
  57. package/dist/create-storm-config.mjs +30 -0
  58. package/dist/env/get-env.d.mts +19 -0
  59. package/dist/env/get-env.d.ts +19 -0
  60. package/dist/env/get-env.js +13 -0
  61. package/dist/env/get-env.mjs +13 -0
  62. package/dist/env/index.d.mts +5 -0
  63. package/dist/env/index.d.ts +5 -0
  64. package/dist/env/index.js +20 -0
  65. package/dist/env/index.mjs +20 -0
  66. package/{src/env/get-env.d.ts → dist/env/set-env.d.mts} +7 -4
  67. package/{src → dist}/env/set-env.d.ts +7 -3
  68. package/dist/env/set-env.js +12 -0
  69. package/dist/env/set-env.mjs +12 -0
  70. package/dist/index.d.mts +19 -0
  71. package/dist/index.d.ts +19 -0
  72. package/dist/index.js +132 -0
  73. package/dist/index.mjs +132 -0
  74. package/dist/logger/chalk.d.mts +25 -0
  75. package/{src/utilities → dist/logger}/chalk.d.ts +4 -2
  76. package/dist/logger/chalk.js +7 -0
  77. package/dist/logger/chalk.mjs +7 -0
  78. package/dist/logger/console.d.mts +82 -0
  79. package/{src/utilities/logger.d.ts → dist/logger/console.d.ts} +18 -14
  80. package/dist/logger/console.js +35 -0
  81. package/dist/logger/console.mjs +35 -0
  82. package/dist/logger/get-log-level.d.mts +27 -0
  83. package/{src/utilities → dist/logger}/get-log-level.d.ts +9 -4
  84. package/dist/logger/get-log-level.js +12 -0
  85. package/dist/logger/get-log-level.mjs +12 -0
  86. package/dist/logger/index.d.mts +6 -0
  87. package/dist/logger/index.d.ts +6 -0
  88. package/dist/logger/index.js +46 -0
  89. package/dist/logger/index.mjs +46 -0
  90. package/dist/types-DGWqy1xb.d.mts +1395 -0
  91. package/dist/types-DGWqy1xb.d.ts +1395 -0
  92. package/dist/types.d.mts +40 -0
  93. package/{src → dist}/types.d.ts +14 -7
  94. package/dist/types.js +9 -0
  95. package/dist/types.mjs +9 -0
  96. package/dist/utilities/apply-workspace-tokens.d.mts +9 -0
  97. package/dist/utilities/apply-workspace-tokens.d.ts +9 -0
  98. package/dist/utilities/apply-workspace-tokens.js +14 -0
  99. package/dist/utilities/apply-workspace-tokens.mjs +14 -0
  100. package/dist/utilities/correct-paths.d.mts +19 -0
  101. package/dist/utilities/correct-paths.d.ts +19 -0
  102. package/dist/utilities/correct-paths.js +9 -0
  103. package/dist/utilities/correct-paths.mjs +9 -0
  104. package/dist/utilities/file-path-utils.d.mts +4 -0
  105. package/dist/utilities/file-path-utils.d.ts +4 -0
  106. package/dist/utilities/file-path-utils.js +9 -0
  107. package/dist/utilities/file-path-utils.mjs +9 -0
  108. package/dist/utilities/find-up.d.mts +6 -0
  109. package/dist/utilities/find-up.d.ts +6 -0
  110. package/dist/utilities/find-up.js +7 -0
  111. package/dist/utilities/find-up.mjs +7 -0
  112. package/dist/utilities/find-workspace-root.d.mts +16 -0
  113. package/{src → dist}/utilities/find-workspace-root.d.ts +4 -2
  114. package/dist/utilities/find-workspace-root.js +11 -0
  115. package/dist/utilities/find-workspace-root.mjs +11 -0
  116. package/dist/utilities/get-default-config.d.mts +15 -0
  117. package/dist/utilities/get-default-config.d.ts +15 -0
  118. package/dist/utilities/get-default-config.js +13 -0
  119. package/dist/utilities/get-default-config.mjs +13 -0
  120. package/dist/utilities/index.d.mts +11 -0
  121. package/dist/utilities/index.d.ts +11 -0
  122. package/dist/utilities/index.js +58 -0
  123. package/dist/utilities/index.mjs +58 -0
  124. package/dist/utilities/process-handler.d.mts +8 -0
  125. package/dist/utilities/process-handler.d.ts +8 -0
  126. package/dist/utilities/process-handler.js +20 -0
  127. package/dist/utilities/process-handler.mjs +20 -0
  128. package/dist/utilities/run.d.mts +36 -0
  129. package/dist/utilities/run.d.ts +36 -0
  130. package/dist/utilities/run.js +11 -0
  131. package/dist/utilities/run.mjs +11 -0
  132. package/package.json +1 -24
  133. package/CHANGELOG.md +0 -3122
  134. package/declarations.d.ts +0 -304
  135. package/index.cjs +0 -67508
  136. package/index.js +0 -67463
  137. package/meta.cjs.json +0 -5352
  138. package/meta.esm.json +0 -5413
  139. package/src/config-file/get-config-file.d.ts +0 -16
  140. package/src/config-file/index.d.ts +0 -1
  141. package/src/create-storm-config.d.ts +0 -26
  142. package/src/env/index.d.ts +0 -2
  143. package/src/index.d.ts +0 -13
  144. package/src/utilities/apply-workspace-tokens.d.ts +0 -4
  145. package/src/utilities/correct-paths.d.ts +0 -1
  146. package/src/utilities/file-path-utils.d.ts +0 -2
  147. package/src/utilities/find-up.d.ts +0 -4
  148. package/src/utilities/get-default-config.d.ts +0 -15
  149. package/src/utilities/index.d.ts +0 -10
  150. package/src/utilities/process-handler.d.ts +0 -4
  151. package/src/utilities/run.d.ts +0 -18
  152. package/utilities/chalk.cjs +0 -1610
  153. package/utilities/chalk.js +0 -1605
  154. package/utilities/find-workspace-root.cjs +0 -118
  155. package/utilities/find-workspace-root.js +0 -91
  156. package/utilities/logger.cjs +0 -5914
  157. package/utilities/logger.js +0 -5897
package/dist/index.mjs ADDED
@@ -0,0 +1,132 @@
1
+ import "./chunk-X6VIYUJR.mjs";
2
+ import "./chunk-WXYJGX4C.mjs";
3
+ import {
4
+ createConfig,
5
+ createConfigExtension,
6
+ createStormConfig,
7
+ loadStormConfig
8
+ } from "./chunk-Z2EXWNIQ.mjs";
9
+ import {
10
+ getConfigFile,
11
+ getConfigFileByName
12
+ } from "./chunk-7KVSSDMX.mjs";
13
+ import "./chunk-E3IN3SQD.mjs";
14
+ import {
15
+ exitWithError,
16
+ exitWithSuccess,
17
+ handleProcess
18
+ } from "./chunk-64RYHF5D.mjs";
19
+ import {
20
+ LARGE_BUFFER,
21
+ run,
22
+ runAsync
23
+ } from "./chunk-XXHENMLT.mjs";
24
+ import {
25
+ applyWorkspaceBaseTokens,
26
+ applyWorkspaceProjectTokens,
27
+ applyWorkspaceTokens
28
+ } from "./chunk-XLMGW4ZW.mjs";
29
+ import {
30
+ findFileName,
31
+ removeExtension
32
+ } from "./chunk-FW22KPOW.mjs";
33
+ import "./chunk-QUVGIEZZ.mjs";
34
+ import {
35
+ getConfigEnv,
36
+ getExtensionEnv
37
+ } from "./chunk-6OYLNZFT.mjs";
38
+ import {
39
+ setConfigEnv,
40
+ setExtensionEnv
41
+ } from "./chunk-A7VLTBS6.mjs";
42
+ import {
43
+ formatLogMessage,
44
+ getLogFn,
45
+ getStopwatch,
46
+ writeDebug,
47
+ writeError,
48
+ writeFatal,
49
+ writeInfo,
50
+ writeSuccess,
51
+ writeSystem,
52
+ writeTrace,
53
+ writeWarning
54
+ } from "./chunk-66ACWURQ.mjs";
55
+ import {
56
+ DEFAULT_COLOR_CONFIG,
57
+ getDefaultConfig
58
+ } from "./chunk-PVPSTJNJ.mjs";
59
+ import {
60
+ findWorkspaceRoot,
61
+ findWorkspaceRootSafe
62
+ } from "./chunk-TEKFJAJJ.mjs";
63
+ import "./chunk-TTCXDK6S.mjs";
64
+ import "./chunk-RAWSXKTG.mjs";
65
+ import {
66
+ getLogLevel,
67
+ getLogLevelLabel,
68
+ isVerbose
69
+ } from "./chunk-UCUOC6LA.mjs";
70
+ import {
71
+ correctPaths,
72
+ joinPaths
73
+ } from "./chunk-GOQAHXJF.mjs";
74
+ import {
75
+ LogLevel,
76
+ LogLevelLabel
77
+ } from "./chunk-VQLOUFMG.mjs";
78
+ import {
79
+ getChalk
80
+ } from "./chunk-4IYEDNYJ.mjs";
81
+ import {
82
+ init_esm_shims
83
+ } from "./chunk-WRFJFYOU.mjs";
84
+
85
+ // src/index.ts
86
+ init_esm_shims();
87
+ export {
88
+ DEFAULT_COLOR_CONFIG,
89
+ LARGE_BUFFER,
90
+ LogLevel,
91
+ LogLevelLabel,
92
+ applyWorkspaceBaseTokens,
93
+ applyWorkspaceProjectTokens,
94
+ applyWorkspaceTokens,
95
+ correctPaths,
96
+ createConfig,
97
+ createConfigExtension,
98
+ createStormConfig,
99
+ exitWithError,
100
+ exitWithSuccess,
101
+ findFileName,
102
+ findWorkspaceRoot,
103
+ findWorkspaceRootSafe,
104
+ formatLogMessage,
105
+ getChalk,
106
+ getConfigEnv,
107
+ getConfigFile,
108
+ getConfigFileByName,
109
+ getDefaultConfig,
110
+ getExtensionEnv,
111
+ getLogFn,
112
+ getLogLevel,
113
+ getLogLevelLabel,
114
+ getStopwatch,
115
+ handleProcess,
116
+ isVerbose,
117
+ joinPaths,
118
+ loadStormConfig,
119
+ removeExtension,
120
+ run,
121
+ runAsync,
122
+ setConfigEnv,
123
+ setExtensionEnv,
124
+ writeDebug,
125
+ writeError,
126
+ writeFatal,
127
+ writeInfo,
128
+ writeSuccess,
129
+ writeSystem,
130
+ writeTrace,
131
+ writeWarning
132
+ };
@@ -0,0 +1,25 @@
1
+ type GetChalkReturn = {
2
+ hex: (_: string) => (message?: string) => string | undefined;
3
+ bgHex: (_: string) => {
4
+ whiteBright: (message?: string) => string | undefined;
5
+ };
6
+ whiteBright: (message?: string) => string | undefined;
7
+ bold: {
8
+ hex: (_: string) => (message?: string) => string | undefined;
9
+ bgHex: (_: string) => {
10
+ whiteBright: (message?: string) => string | undefined;
11
+ };
12
+ whiteBright: (message?: string) => string | undefined;
13
+ };
14
+ };
15
+ /**
16
+ * Get the chalk instance
17
+ *
18
+ * @remarks
19
+ * Annoying polyfill to temporarily fix the issue with the `chalk` import
20
+ *
21
+ * @returns The chalk instance
22
+ */
23
+ declare const getChalk: () => GetChalkReturn;
24
+
25
+ export { type GetChalkReturn, getChalk };
@@ -1,4 +1,4 @@
1
- export type GetChalkReturn = {
1
+ type GetChalkReturn = {
2
2
  hex: (_: string) => (message?: string) => string | undefined;
3
3
  bgHex: (_: string) => {
4
4
  whiteBright: (message?: string) => string | undefined;
@@ -20,4 +20,6 @@ export type GetChalkReturn = {
20
20
  *
21
21
  * @returns The chalk instance
22
22
  */
23
- export declare const getChalk: () => GetChalkReturn;
23
+ declare const getChalk: () => GetChalkReturn;
24
+
25
+ export { type GetChalkReturn, getChalk };
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkBS5OC5E6js = require('../chunk-BS5OC5E6.js');
4
+ require('../chunk-XJEQHMOE.js');
5
+
6
+
7
+ exports.getChalk = _chunkBS5OC5E6js.getChalk;
@@ -0,0 +1,7 @@
1
+ import {
2
+ getChalk
3
+ } from "../chunk-4IYEDNYJ.mjs";
4
+ import "../chunk-WRFJFYOU.mjs";
5
+ export {
6
+ getChalk
7
+ };
@@ -0,0 +1,82 @@
1
+ import { S as StormConfig } from '../types-DGWqy1xb.mjs';
2
+ import { LogLevel } from '../types.mjs';
3
+ import 'zod';
4
+
5
+ /**
6
+ * Get the log function for a log level
7
+ *
8
+ * @param logLevel - The log level
9
+ * @param config - The Storm configuration
10
+ * @returns The log function
11
+ */
12
+ declare const getLogFn: (logLevel?: number | LogLevel, config?: Partial<StormConfig>) => ((message?: any) => void);
13
+ /**
14
+ * Write a message to the console at the `fatal` log level
15
+ *
16
+ * @param message - The message to write
17
+ * @param config - The Storm configuration
18
+ */
19
+ declare const writeFatal: (message?: any, config?: Partial<StormConfig>) => void;
20
+ /**
21
+ * Write a message to the console at the `error` log level
22
+ *
23
+ * @param message - The message to write
24
+ * @param config - The Storm configuration
25
+ */
26
+ declare const writeError: (message?: any, config?: Partial<StormConfig>) => void;
27
+ /**
28
+ * Write a message to the console at the `warning` log level
29
+ *
30
+ * @param message - The message to write
31
+ * @param config - The Storm configuration
32
+ */
33
+ declare const writeWarning: (message?: any, config?: Partial<StormConfig>) => void;
34
+ /**
35
+ * Write a message to the console at the `info` log level
36
+ *
37
+ * @param message - The message to write
38
+ * @param config - The Storm configuration
39
+ */
40
+ declare const writeInfo: (message?: any, config?: Partial<StormConfig>) => void;
41
+ /**
42
+ * Write a message to the console at the `success` log level
43
+ *
44
+ * @param message - The message to write
45
+ * @param config - The Storm configuration
46
+ */
47
+ declare const writeSuccess: (message?: any, config?: Partial<StormConfig>) => void;
48
+ /**
49
+ * Write a message to the console at the `debug` log level
50
+ *
51
+ * @param message - The message to write
52
+ * @param config - The Storm configuration
53
+ */
54
+ declare const writeDebug: (message?: any, config?: Partial<StormConfig>) => void;
55
+ /**
56
+ * Write a message to the console at the `trace` log level
57
+ *
58
+ * @param message - The message to write
59
+ * @param config - The Storm configuration
60
+ */
61
+ declare const writeTrace: (message?: any, config?: Partial<StormConfig>) => void;
62
+ /**
63
+ * Write a message to the console at the `all` log level
64
+ *
65
+ * @param message - The message to write
66
+ * @param config - The Storm configuration
67
+ */
68
+ declare const writeSystem: (message?: any, config?: Partial<StormConfig>) => void;
69
+ /**
70
+ * Get a stopwatch function
71
+ *
72
+ * @param name - The name of the process
73
+ * @returns The stopwatch function
74
+ */
75
+ declare const getStopwatch: (name: string) => () => void;
76
+ type FormatLogMessageOptions = {
77
+ prefix?: string;
78
+ skip?: string[];
79
+ };
80
+ declare const formatLogMessage: (message?: any, options?: FormatLogMessageOptions, depth?: number) => string;
81
+
82
+ export { type FormatLogMessageOptions, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writeSuccess, writeSystem, writeTrace, writeWarning };
@@ -1,5 +1,7 @@
1
- import type { StormConfig } from "@storm-software/config";
2
- import { LogLevel } from "../types";
1
+ import { S as StormConfig } from '../types-DGWqy1xb.js';
2
+ import { LogLevel } from '../types.js';
3
+ import 'zod';
4
+
3
5
  /**
4
6
  * Get the log function for a log level
5
7
  *
@@ -7,72 +9,74 @@ import { LogLevel } from "../types";
7
9
  * @param config - The Storm configuration
8
10
  * @returns The log function
9
11
  */
10
- export declare const getLogFn: (logLevel?: number | LogLevel, config?: Partial<StormConfig>) => ((message?: any) => void);
12
+ declare const getLogFn: (logLevel?: number | LogLevel, config?: Partial<StormConfig>) => ((message?: any) => void);
11
13
  /**
12
14
  * Write a message to the console at the `fatal` log level
13
15
  *
14
16
  * @param message - The message to write
15
17
  * @param config - The Storm configuration
16
18
  */
17
- export declare const writeFatal: (message?: any, config?: Partial<StormConfig>) => void;
19
+ declare const writeFatal: (message?: any, config?: Partial<StormConfig>) => void;
18
20
  /**
19
21
  * Write a message to the console at the `error` log level
20
22
  *
21
23
  * @param message - The message to write
22
24
  * @param config - The Storm configuration
23
25
  */
24
- export declare const writeError: (message?: any, config?: Partial<StormConfig>) => void;
26
+ declare const writeError: (message?: any, config?: Partial<StormConfig>) => void;
25
27
  /**
26
28
  * Write a message to the console at the `warning` log level
27
29
  *
28
30
  * @param message - The message to write
29
31
  * @param config - The Storm configuration
30
32
  */
31
- export declare const writeWarning: (message?: any, config?: Partial<StormConfig>) => void;
33
+ declare const writeWarning: (message?: any, config?: Partial<StormConfig>) => void;
32
34
  /**
33
35
  * Write a message to the console at the `info` log level
34
36
  *
35
37
  * @param message - The message to write
36
38
  * @param config - The Storm configuration
37
39
  */
38
- export declare const writeInfo: (message?: any, config?: Partial<StormConfig>) => void;
40
+ declare const writeInfo: (message?: any, config?: Partial<StormConfig>) => void;
39
41
  /**
40
42
  * Write a message to the console at the `success` log level
41
43
  *
42
44
  * @param message - The message to write
43
45
  * @param config - The Storm configuration
44
46
  */
45
- export declare const writeSuccess: (message?: any, config?: Partial<StormConfig>) => void;
47
+ declare const writeSuccess: (message?: any, config?: Partial<StormConfig>) => void;
46
48
  /**
47
49
  * Write a message to the console at the `debug` log level
48
50
  *
49
51
  * @param message - The message to write
50
52
  * @param config - The Storm configuration
51
53
  */
52
- export declare const writeDebug: (message?: any, config?: Partial<StormConfig>) => void;
54
+ declare const writeDebug: (message?: any, config?: Partial<StormConfig>) => void;
53
55
  /**
54
56
  * Write a message to the console at the `trace` log level
55
57
  *
56
58
  * @param message - The message to write
57
59
  * @param config - The Storm configuration
58
60
  */
59
- export declare const writeTrace: (message?: any, config?: Partial<StormConfig>) => void;
61
+ declare const writeTrace: (message?: any, config?: Partial<StormConfig>) => void;
60
62
  /**
61
63
  * Write a message to the console at the `all` log level
62
64
  *
63
65
  * @param message - The message to write
64
66
  * @param config - The Storm configuration
65
67
  */
66
- export declare const writeSystem: (message?: any, config?: Partial<StormConfig>) => void;
68
+ declare const writeSystem: (message?: any, config?: Partial<StormConfig>) => void;
67
69
  /**
68
70
  * Get a stopwatch function
69
71
  *
70
72
  * @param name - The name of the process
71
73
  * @returns The stopwatch function
72
74
  */
73
- export declare const getStopwatch: (name: string) => () => void;
74
- export type FormatLogMessageOptions = {
75
+ declare const getStopwatch: (name: string) => () => void;
76
+ type FormatLogMessageOptions = {
75
77
  prefix?: string;
76
78
  skip?: string[];
77
79
  };
78
- export declare const formatLogMessage: (message?: any, options?: FormatLogMessageOptions, depth?: number) => string;
80
+ declare const formatLogMessage: (message?: any, options?: FormatLogMessageOptions, depth?: number) => string;
81
+
82
+ export { type FormatLogMessageOptions, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writeSuccess, writeSystem, writeTrace, writeWarning };
@@ -0,0 +1,35 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+ var _chunkOXK45X3Ljs = require('../chunk-OXK45X3L.js');
14
+ require('../chunk-N32EGEJB.js');
15
+ require('../chunk-6SJLAEJ3.js');
16
+ require('../chunk-N4BRCEYB.js');
17
+ require('../chunk-GIZ23UUE.js');
18
+ require('../chunk-WXOSG64C.js');
19
+ require('../chunk-H6XXDZ7A.js');
20
+ require('../chunk-6WPG3DXV.js');
21
+ require('../chunk-BS5OC5E6.js');
22
+ require('../chunk-XJEQHMOE.js');
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+ exports.formatLogMessage = _chunkOXK45X3Ljs.formatLogMessage; exports.getLogFn = _chunkOXK45X3Ljs.getLogFn; exports.getStopwatch = _chunkOXK45X3Ljs.getStopwatch; exports.writeDebug = _chunkOXK45X3Ljs.writeDebug; exports.writeError = _chunkOXK45X3Ljs.writeError; exports.writeFatal = _chunkOXK45X3Ljs.writeFatal; exports.writeInfo = _chunkOXK45X3Ljs.writeInfo; exports.writeSuccess = _chunkOXK45X3Ljs.writeSuccess; exports.writeSystem = _chunkOXK45X3Ljs.writeSystem; exports.writeTrace = _chunkOXK45X3Ljs.writeTrace; exports.writeWarning = _chunkOXK45X3Ljs.writeWarning;
@@ -0,0 +1,35 @@
1
+ import {
2
+ formatLogMessage,
3
+ getLogFn,
4
+ getStopwatch,
5
+ writeDebug,
6
+ writeError,
7
+ writeFatal,
8
+ writeInfo,
9
+ writeSuccess,
10
+ writeSystem,
11
+ writeTrace,
12
+ writeWarning
13
+ } from "../chunk-66ACWURQ.mjs";
14
+ import "../chunk-PVPSTJNJ.mjs";
15
+ import "../chunk-TEKFJAJJ.mjs";
16
+ import "../chunk-TTCXDK6S.mjs";
17
+ import "../chunk-RAWSXKTG.mjs";
18
+ import "../chunk-UCUOC6LA.mjs";
19
+ import "../chunk-GOQAHXJF.mjs";
20
+ import "../chunk-VQLOUFMG.mjs";
21
+ import "../chunk-4IYEDNYJ.mjs";
22
+ import "../chunk-WRFJFYOU.mjs";
23
+ export {
24
+ formatLogMessage,
25
+ getLogFn,
26
+ getStopwatch,
27
+ writeDebug,
28
+ writeError,
29
+ writeFatal,
30
+ writeInfo,
31
+ writeSuccess,
32
+ writeSystem,
33
+ writeTrace,
34
+ writeWarning
35
+ };
@@ -0,0 +1,27 @@
1
+ import { LogLevel, LogLevelLabel } from '../types.mjs';
2
+ import '../types-DGWqy1xb.mjs';
3
+ import 'zod';
4
+
5
+ /**
6
+ * Convert the log level label to a log level
7
+ *
8
+ * @param label - The log level label to convert
9
+ * @returns The log level
10
+ */
11
+ declare const getLogLevel: (label?: string) => LogLevel;
12
+ /**
13
+ * Convert the log level to a log level label
14
+ *
15
+ * @param logLevel - The log level to convert
16
+ * @returns The log level label
17
+ */
18
+ declare const getLogLevelLabel: (logLevel?: number) => LogLevelLabel;
19
+ /**
20
+ * Check if the log level is verbose
21
+ *
22
+ * @param label - The log level label to check
23
+ * @returns True if the log level is verbose
24
+ */
25
+ declare const isVerbose: (label?: string | LogLevel) => boolean;
26
+
27
+ export { getLogLevel, getLogLevelLabel, isVerbose };
@@ -1,22 +1,27 @@
1
- import { LogLevel, LogLevelLabel } from "../types";
1
+ import { LogLevel, LogLevelLabel } from '../types.js';
2
+ import '../types-DGWqy1xb.js';
3
+ import 'zod';
4
+
2
5
  /**
3
6
  * Convert the log level label to a log level
4
7
  *
5
8
  * @param label - The log level label to convert
6
9
  * @returns The log level
7
10
  */
8
- export declare const getLogLevel: (label?: string) => LogLevel;
11
+ declare const getLogLevel: (label?: string) => LogLevel;
9
12
  /**
10
13
  * Convert the log level to a log level label
11
14
  *
12
15
  * @param logLevel - The log level to convert
13
16
  * @returns The log level label
14
17
  */
15
- export declare const getLogLevelLabel: (logLevel?: number) => LogLevelLabel;
18
+ declare const getLogLevelLabel: (logLevel?: number) => LogLevelLabel;
16
19
  /**
17
20
  * Check if the log level is verbose
18
21
  *
19
22
  * @param label - The log level label to check
20
23
  * @returns True if the log level is verbose
21
24
  */
22
- export declare const isVerbose: (label?: string | LogLevel) => boolean;
25
+ declare const isVerbose: (label?: string | LogLevel) => boolean;
26
+
27
+ export { getLogLevel, getLogLevelLabel, isVerbose };
@@ -0,0 +1,12 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+ var _chunkWXOSG64Cjs = require('../chunk-WXOSG64C.js');
6
+ require('../chunk-6WPG3DXV.js');
7
+ require('../chunk-XJEQHMOE.js');
8
+
9
+
10
+
11
+
12
+ exports.getLogLevel = _chunkWXOSG64Cjs.getLogLevel; exports.getLogLevelLabel = _chunkWXOSG64Cjs.getLogLevelLabel; exports.isVerbose = _chunkWXOSG64Cjs.isVerbose;
@@ -0,0 +1,12 @@
1
+ import {
2
+ getLogLevel,
3
+ getLogLevelLabel,
4
+ isVerbose
5
+ } from "../chunk-UCUOC6LA.mjs";
6
+ import "../chunk-VQLOUFMG.mjs";
7
+ import "../chunk-WRFJFYOU.mjs";
8
+ export {
9
+ getLogLevel,
10
+ getLogLevelLabel,
11
+ isVerbose
12
+ };
@@ -0,0 +1,6 @@
1
+ export { GetChalkReturn, getChalk } from './chalk.mjs';
2
+ export { FormatLogMessageOptions, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writeSuccess, writeSystem, writeTrace, writeWarning } from './console.mjs';
3
+ export { getLogLevel, getLogLevelLabel, isVerbose } from './get-log-level.mjs';
4
+ import '../types-DGWqy1xb.mjs';
5
+ import 'zod';
6
+ import '../types.mjs';
@@ -0,0 +1,6 @@
1
+ export { GetChalkReturn, getChalk } from './chalk.js';
2
+ export { FormatLogMessageOptions, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writeSuccess, writeSystem, writeTrace, writeWarning } from './console.js';
3
+ export { getLogLevel, getLogLevelLabel, isVerbose } from './get-log-level.js';
4
+ import '../types-DGWqy1xb.js';
5
+ import 'zod';
6
+ import '../types.js';
@@ -0,0 +1,46 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-SJO5XZQA.js');
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+ var _chunkOXK45X3Ljs = require('../chunk-OXK45X3L.js');
15
+ require('../chunk-N32EGEJB.js');
16
+ require('../chunk-6SJLAEJ3.js');
17
+ require('../chunk-N4BRCEYB.js');
18
+ require('../chunk-GIZ23UUE.js');
19
+
20
+
21
+
22
+
23
+ var _chunkWXOSG64Cjs = require('../chunk-WXOSG64C.js');
24
+ require('../chunk-H6XXDZ7A.js');
25
+ require('../chunk-6WPG3DXV.js');
26
+
27
+
28
+ var _chunkBS5OC5E6js = require('../chunk-BS5OC5E6.js');
29
+ require('../chunk-XJEQHMOE.js');
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+ exports.formatLogMessage = _chunkOXK45X3Ljs.formatLogMessage; exports.getChalk = _chunkBS5OC5E6js.getChalk; exports.getLogFn = _chunkOXK45X3Ljs.getLogFn; exports.getLogLevel = _chunkWXOSG64Cjs.getLogLevel; exports.getLogLevelLabel = _chunkWXOSG64Cjs.getLogLevelLabel; exports.getStopwatch = _chunkOXK45X3Ljs.getStopwatch; exports.isVerbose = _chunkWXOSG64Cjs.isVerbose; exports.writeDebug = _chunkOXK45X3Ljs.writeDebug; exports.writeError = _chunkOXK45X3Ljs.writeError; exports.writeFatal = _chunkOXK45X3Ljs.writeFatal; exports.writeInfo = _chunkOXK45X3Ljs.writeInfo; exports.writeSuccess = _chunkOXK45X3Ljs.writeSuccess; exports.writeSystem = _chunkOXK45X3Ljs.writeSystem; exports.writeTrace = _chunkOXK45X3Ljs.writeTrace; exports.writeWarning = _chunkOXK45X3Ljs.writeWarning;
@@ -0,0 +1,46 @@
1
+ import "../chunk-X6VIYUJR.mjs";
2
+ import {
3
+ formatLogMessage,
4
+ getLogFn,
5
+ getStopwatch,
6
+ writeDebug,
7
+ writeError,
8
+ writeFatal,
9
+ writeInfo,
10
+ writeSuccess,
11
+ writeSystem,
12
+ writeTrace,
13
+ writeWarning
14
+ } from "../chunk-66ACWURQ.mjs";
15
+ import "../chunk-PVPSTJNJ.mjs";
16
+ import "../chunk-TEKFJAJJ.mjs";
17
+ import "../chunk-TTCXDK6S.mjs";
18
+ import "../chunk-RAWSXKTG.mjs";
19
+ import {
20
+ getLogLevel,
21
+ getLogLevelLabel,
22
+ isVerbose
23
+ } from "../chunk-UCUOC6LA.mjs";
24
+ import "../chunk-GOQAHXJF.mjs";
25
+ import "../chunk-VQLOUFMG.mjs";
26
+ import {
27
+ getChalk
28
+ } from "../chunk-4IYEDNYJ.mjs";
29
+ import "../chunk-WRFJFYOU.mjs";
30
+ export {
31
+ formatLogMessage,
32
+ getChalk,
33
+ getLogFn,
34
+ getLogLevel,
35
+ getLogLevelLabel,
36
+ getStopwatch,
37
+ isVerbose,
38
+ writeDebug,
39
+ writeError,
40
+ writeFatal,
41
+ writeInfo,
42
+ writeSuccess,
43
+ writeSystem,
44
+ writeTrace,
45
+ writeWarning
46
+ };