@storm-software/config-tools 1.139.0 → 1.140.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.
- package/dist/{chunk-XFZK7476.js → chunk-4KDJS5UI.js} +1 -1
- package/dist/{chunk-KZ2WZ3XN.js → chunk-4RQGNE37.js} +15 -8
- package/dist/{chunk-SPZ2RSU7.js → chunk-6UWJE5DT.js} +1 -1
- package/dist/{chunk-XFNPYG4X.cjs → chunk-A2QPNGB4.cjs} +3 -3
- package/dist/{chunk-3ONY7NB3.js → chunk-BKH4GCLO.js} +2 -2
- package/dist/{chunk-ZBZWMZ72.cjs → chunk-D7SRJTRQ.cjs} +15 -8
- package/dist/{chunk-6X6TZM2G.cjs → chunk-MXIXJOXF.cjs} +9 -9
- package/dist/{chunk-QQSU3QR2.cjs → chunk-VSOK2CST.cjs} +7 -7
- package/dist/{chunk-2VY6OHKB.js → chunk-X457FIXK.js} +1 -1
- package/dist/{chunk-5C56XWG7.cjs → chunk-ZBZHPMLE.cjs} +9 -9
- package/dist/config-file/get-config-file.cjs +4 -4
- package/dist/config-file/get-config-file.js +3 -3
- package/dist/config-file/index.cjs +4 -4
- package/dist/config-file/index.js +3 -3
- package/dist/create-storm-config.cjs +5 -5
- package/dist/create-storm-config.js +4 -4
- package/dist/index.cjs +6 -6
- package/dist/index.js +5 -5
- package/dist/logger/console.cjs +2 -2
- package/dist/logger/console.js +1 -1
- package/dist/logger/create-logger.cjs +3 -3
- package/dist/logger/create-logger.js +2 -2
- package/dist/logger/index.cjs +3 -3
- package/dist/logger/index.js +2 -2
- package/dist/utilities/index.cjs +3 -3
- package/dist/utilities/index.js +2 -2
- package/dist/utilities/process-handler.cjs +3 -3
- package/dist/utilities/process-handler.js +2 -2
- package/package.json +1 -1
|
@@ -27,49 +27,56 @@ init_esm_shims();
|
|
|
27
27
|
var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
28
28
|
const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
|
|
29
29
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
30
|
-
if (
|
|
30
|
+
if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
|
|
31
31
|
return (_) => {
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel
|
|
34
|
+
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
|
|
35
35
|
return (message) => {
|
|
36
36
|
console.error(`
|
|
37
37
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
38
38
|
`);
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel
|
|
41
|
+
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel) {
|
|
42
42
|
return (message) => {
|
|
43
43
|
console.error(`
|
|
44
44
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? "#f85149")(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
45
45
|
`);
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel
|
|
48
|
+
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel) {
|
|
49
49
|
return (message) => {
|
|
50
50
|
console.warn(`
|
|
51
51
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? "#e3b341")(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
52
52
|
`);
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
-
if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel
|
|
55
|
+
if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel) {
|
|
56
56
|
return (message) => {
|
|
57
57
|
console.info(`
|
|
58
58
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? "#56d364")(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
59
59
|
`);
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
|
-
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel
|
|
62
|
+
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) {
|
|
63
63
|
return (message) => {
|
|
64
64
|
console.info(`
|
|
65
65
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
66
66
|
`);
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
|
-
if (typeof logLevel === "number" && LogLevel.
|
|
69
|
+
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) {
|
|
70
70
|
return (message) => {
|
|
71
71
|
console.debug(`
|
|
72
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]}
|
|
72
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
73
|
+
`);
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel) {
|
|
77
|
+
return (message) => {
|
|
78
|
+
console.debug(`
|
|
79
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
73
80
|
`);
|
|
74
81
|
};
|
|
75
82
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
var _chunkUIA5EFWJcjs = require('./chunk-UIA5EFWJ.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkD7SRJTRQcjs = require('./chunk-D7SRJTRQ.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
var _chunkMUKNCWDCcjs = require('./chunk-MUKNCWDC.cjs');
|
|
@@ -1708,7 +1708,7 @@ var getConfigFile = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, async
|
|
|
1708
1708
|
let config = result.config;
|
|
1709
1709
|
const configFile = result.configFile;
|
|
1710
1710
|
if (config && configFile && Object.keys(config).length > 0) {
|
|
1711
|
-
|
|
1711
|
+
_chunkD7SRJTRQcjs.writeSystem.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
|
|
1712
1712
|
logLevel: "all"
|
|
1713
1713
|
});
|
|
1714
1714
|
}
|
|
@@ -1716,7 +1716,7 @@ var getConfigFile = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, async
|
|
|
1716
1716
|
const results = await Promise.all(additionalFileNames.map((fileName) => getConfigFileByName(fileName, workspacePath)));
|
|
1717
1717
|
for (const result2 of results) {
|
|
1718
1718
|
if (_optionalChain([result2, 'optionalAccess', _13 => _13.config]) && _optionalChain([result2, 'optionalAccess', _14 => _14.configFile]) && Object.keys(result2.config).length > 0) {
|
|
1719
|
-
|
|
1719
|
+
_chunkD7SRJTRQcjs.writeSystem.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
|
|
1720
1720
|
logLevel: "all"
|
|
1721
1721
|
});
|
|
1722
1722
|
config = _chunkUIA5EFWJcjs.defu.call(void 0, _nullishCoalesce(result2.config, () => ( {})), _nullishCoalesce(config, () => ( {})));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getConfigFile
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6UWJE5DT.js";
|
|
4
4
|
import {
|
|
5
5
|
defu
|
|
6
6
|
} from "./chunk-OL4KMEX5.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
formatLogMessage,
|
|
9
9
|
writeTrace,
|
|
10
10
|
writeWarning
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4RQGNE37.js";
|
|
12
12
|
import {
|
|
13
13
|
getDefaultConfig
|
|
14
14
|
} from "./chunk-EGAP6KEW.js";
|
|
@@ -27,49 +27,56 @@ _chunkDFJNOFN2cjs.init_cjs_shims.call(void 0, );
|
|
|
27
27
|
var getLogFn = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (logLevel = _chunkO4SGVAEBcjs.LogLevel.INFO, config = {}, _chalk = _chunk3ALZEFKMcjs.getChalk.call(void 0, )) => {
|
|
28
28
|
const colors = !_optionalChain([config, 'access', _2 => _2.colors, 'optionalAccess', _3 => _3.dark]) && !_optionalChain([config, 'access', _4 => _4.colors, 'optionalAccess', _5 => _5["base"]]) && !_optionalChain([config, 'access', _6 => _6.colors, 'optionalAccess', _7 => _7["base"], 'optionalAccess', _8 => _8.dark]) ? _chunkGNNKAT6Ccjs.DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _9 => _9.colors, 'optionalAccess', _10 => _10.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _11 => _11.colors, 'optionalAccess', _12 => _12["base"], 'optionalAccess', _13 => _13.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _14 => _14.colors, 'optionalAccess', _15 => _15["base"]]) ? _optionalChain([config, 'access', _16 => _16.colors, 'optionalAccess', _17 => _17["base"]]) : _chunkGNNKAT6Ccjs.DEFAULT_COLOR_CONFIG;
|
|
29
29
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || _chunkO4SGVAEBcjs.LogLevelLabel.INFO;
|
|
30
|
-
if (
|
|
30
|
+
if (logLevel > _chunk2AAM5DJOcjs.getLogLevel.call(void 0, configLogLevel) || logLevel <= _chunkO4SGVAEBcjs.LogLevel.SILENT || _chunk2AAM5DJOcjs.getLogLevel.call(void 0, configLogLevel) <= _chunkO4SGVAEBcjs.LogLevel.SILENT) {
|
|
31
31
|
return (_) => {
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
if (typeof logLevel === "number" && _chunkO4SGVAEBcjs.LogLevel.FATAL >= logLevel
|
|
34
|
+
if (typeof logLevel === "number" && _chunkO4SGVAEBcjs.LogLevel.FATAL >= logLevel) {
|
|
35
35
|
return (message) => {
|
|
36
36
|
console.error(`
|
|
37
37
|
${_chalk.gray(_chunkGWLF37REcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( "#7d1a1a")))(`[${_chunkG5KDHCJJcjs.CONSOLE_ICONS[_chunkO4SGVAEBcjs.LogLevelLabel.FATAL]} Fatal]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
38
38
|
`);
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
if (typeof logLevel === "number" && _chunkO4SGVAEBcjs.LogLevel.ERROR >= logLevel
|
|
41
|
+
if (typeof logLevel === "number" && _chunkO4SGVAEBcjs.LogLevel.ERROR >= logLevel) {
|
|
42
42
|
return (message) => {
|
|
43
43
|
console.error(`
|
|
44
44
|
${_chalk.gray(_chunkGWLF37REcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.danger, () => ( "#f85149")))(`[${_chunkG5KDHCJJcjs.CONSOLE_ICONS[_chunkO4SGVAEBcjs.LogLevelLabel.ERROR]} Error]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
45
45
|
`);
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
if (typeof logLevel === "number" && _chunkO4SGVAEBcjs.LogLevel.WARN >= logLevel
|
|
48
|
+
if (typeof logLevel === "number" && _chunkO4SGVAEBcjs.LogLevel.WARN >= logLevel) {
|
|
49
49
|
return (message) => {
|
|
50
50
|
console.warn(`
|
|
51
51
|
${_chalk.gray(_chunkGWLF37REcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.warning, () => ( "#e3b341")))(`[${_chunkG5KDHCJJcjs.CONSOLE_ICONS[_chunkO4SGVAEBcjs.LogLevelLabel.WARN]} Warn]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
52
52
|
`);
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
-
if (typeof logLevel === "number" && _chunkO4SGVAEBcjs.LogLevel.SUCCESS >= logLevel
|
|
55
|
+
if (typeof logLevel === "number" && _chunkO4SGVAEBcjs.LogLevel.SUCCESS >= logLevel) {
|
|
56
56
|
return (message) => {
|
|
57
57
|
console.info(`
|
|
58
58
|
${_chalk.gray(_chunkGWLF37REcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.success, () => ( "#56d364")))(`[${_chunkG5KDHCJJcjs.CONSOLE_ICONS[_chunkO4SGVAEBcjs.LogLevelLabel.SUCCESS]} Success]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
59
59
|
`);
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
|
-
if (typeof logLevel === "number" && _chunkO4SGVAEBcjs.LogLevel.INFO >= logLevel
|
|
62
|
+
if (typeof logLevel === "number" && _chunkO4SGVAEBcjs.LogLevel.INFO >= logLevel) {
|
|
63
63
|
return (message) => {
|
|
64
64
|
console.info(`
|
|
65
65
|
${_chalk.gray(_chunkGWLF37REcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.info, () => ( "#58a6ff")))(`[${_chunkG5KDHCJJcjs.CONSOLE_ICONS[_chunkO4SGVAEBcjs.LogLevelLabel.INFO]} Info]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
66
66
|
`);
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
|
-
if (typeof logLevel === "number" && _chunkO4SGVAEBcjs.LogLevel.
|
|
69
|
+
if (typeof logLevel === "number" && _chunkO4SGVAEBcjs.LogLevel.DEBUG >= logLevel) {
|
|
70
70
|
return (message) => {
|
|
71
71
|
console.debug(`
|
|
72
|
-
${_chalk.gray(_chunkGWLF37REcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${_chunkG5KDHCJJcjs.CONSOLE_ICONS[_chunkO4SGVAEBcjs.LogLevelLabel.DEBUG]}
|
|
72
|
+
${_chalk.gray(_chunkGWLF37REcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${_chunkG5KDHCJJcjs.CONSOLE_ICONS[_chunkO4SGVAEBcjs.LogLevelLabel.DEBUG]} Debug]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
73
|
+
`);
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
if (typeof logLevel === "number" && _chunkO4SGVAEBcjs.LogLevel.TRACE >= logLevel) {
|
|
77
|
+
return (message) => {
|
|
78
|
+
console.debug(`
|
|
79
|
+
${_chalk.gray(_chunkGWLF37REcjs.formatTimestamp.call(void 0, ))} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${_chunkG5KDHCJJcjs.CONSOLE_ICONS[_chunkO4SGVAEBcjs.LogLevelLabel.TRACE]} Trace]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
73
80
|
`);
|
|
74
81
|
};
|
|
75
82
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkD7SRJTRQcjs = require('./chunk-D7SRJTRQ.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -12,34 +12,34 @@ var _chunkDFJNOFN2cjs = require('./chunk-DFJNOFN2.cjs');
|
|
|
12
12
|
// src/utilities/process-handler.ts
|
|
13
13
|
_chunkDFJNOFN2cjs.init_cjs_shims.call(void 0, );
|
|
14
14
|
var exitWithError = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (config) => {
|
|
15
|
-
|
|
15
|
+
_chunkD7SRJTRQcjs.writeFatal.call(void 0, "Exiting script with an error status...", config);
|
|
16
16
|
process.exit(1);
|
|
17
17
|
}, "exitWithError");
|
|
18
18
|
var exitWithSuccess = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (config) => {
|
|
19
|
-
|
|
19
|
+
_chunkD7SRJTRQcjs.writeSuccess.call(void 0, "Script completed successfully. Exiting...", config);
|
|
20
20
|
process.exit(0);
|
|
21
21
|
}, "exitWithSuccess");
|
|
22
22
|
var handleProcess = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (config) => {
|
|
23
|
-
|
|
23
|
+
_chunkD7SRJTRQcjs.writeTrace.call(void 0, `Using the following arguments to process the script: ${process.argv.join(", ")}`, config);
|
|
24
24
|
process.on("unhandledRejection", (error) => {
|
|
25
|
-
|
|
25
|
+
_chunkD7SRJTRQcjs.writeError.call(void 0, `An Unhandled Rejection occurred while running the program: ${error}`, config);
|
|
26
26
|
exitWithError(config);
|
|
27
27
|
});
|
|
28
28
|
process.on("uncaughtException", (error) => {
|
|
29
|
-
|
|
29
|
+
_chunkD7SRJTRQcjs.writeError.call(void 0, `An Uncaught Exception occurred while running the program: ${error.message}
|
|
30
30
|
Stacktrace: ${error.stack}`, config);
|
|
31
31
|
exitWithError(config);
|
|
32
32
|
});
|
|
33
33
|
process.on("SIGTERM", (signal) => {
|
|
34
|
-
|
|
34
|
+
_chunkD7SRJTRQcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
|
|
35
35
|
exitWithError(config);
|
|
36
36
|
});
|
|
37
37
|
process.on("SIGINT", (signal) => {
|
|
38
|
-
|
|
38
|
+
_chunkD7SRJTRQcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
|
|
39
39
|
exitWithError(config);
|
|
40
40
|
});
|
|
41
41
|
process.on("SIGHUP", (signal) => {
|
|
42
|
-
|
|
42
|
+
_chunkD7SRJTRQcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
|
|
43
43
|
exitWithError(config);
|
|
44
44
|
});
|
|
45
45
|
}, "handleProcess");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
|
|
3
|
+
var _chunkA2QPNGB4cjs = require('./chunk-A2QPNGB4.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkUIA5EFWJcjs = require('./chunk-UIA5EFWJ.cjs');
|
|
@@ -8,7 +8,7 @@ var _chunkUIA5EFWJcjs = require('./chunk-UIA5EFWJ.cjs');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkD7SRJTRQcjs = require('./chunk-D7SRJTRQ.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
var _chunkGNNKAT6Ccjs = require('./chunk-GNNKAT6C.cjs');
|
|
@@ -76,23 +76,23 @@ var createConfigExtension = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0
|
|
|
76
76
|
var loadStormConfig = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, async (workspaceRoot) => {
|
|
77
77
|
let config = {};
|
|
78
78
|
if (_optionalChain([_static_cache, 'optionalAccess', _3 => _3.data]) && _optionalChain([_static_cache, 'optionalAccess', _4 => _4.timestamp]) && _static_cache.timestamp >= Date.now() + 3e4) {
|
|
79
|
-
|
|
79
|
+
_chunkD7SRJTRQcjs.writeTrace.call(void 0, `Configuration cache hit - ${_static_cache.timestamp}`, _static_cache.data);
|
|
80
80
|
return _static_cache.data;
|
|
81
81
|
}
|
|
82
82
|
let _workspaceRoot = workspaceRoot;
|
|
83
83
|
if (!_workspaceRoot) {
|
|
84
84
|
_workspaceRoot = _chunkMUKNCWDCcjs.findWorkspaceRoot.call(void 0, );
|
|
85
85
|
}
|
|
86
|
-
const configFile = await
|
|
86
|
+
const configFile = await _chunkA2QPNGB4cjs.getConfigFile.call(void 0, _workspaceRoot);
|
|
87
87
|
if (!configFile) {
|
|
88
|
-
|
|
88
|
+
_chunkD7SRJTRQcjs.writeWarning.call(void 0, "No Storm config file found in the current workspace. Please ensure this is the expected behavior - you can add a `storm.json` file to the root of your workspace if it is not.\n", {
|
|
89
89
|
logLevel: "all"
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
config = _chunkUIA5EFWJcjs.defu.call(void 0, _chunkEG6MZ74Dcjs.getConfigEnv.call(void 0, ), configFile, _chunkGNNKAT6Ccjs.getDefaultConfig.call(void 0, _workspaceRoot));
|
|
93
93
|
_chunkGTJILL6Ucjs.setConfigEnv.call(void 0, config);
|
|
94
|
-
|
|
95
|
-
${
|
|
94
|
+
_chunkD7SRJTRQcjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm configuration:
|
|
95
|
+
${_chunkD7SRJTRQcjs.formatLogMessage.call(void 0, config)}`, config);
|
|
96
96
|
return config;
|
|
97
97
|
}, "loadStormConfig");
|
|
98
98
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkD7SRJTRQcjs = require('./chunk-D7SRJTRQ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkMUKNCWDCcjs = require('./chunk-MUKNCWDC.cjs');
|
|
@@ -25,13 +25,13 @@ async function createLogger(config) {
|
|
|
25
25
|
if (!workspaceRoot) {
|
|
26
26
|
throw new Error("Cannot find workspace root");
|
|
27
27
|
}
|
|
28
|
-
const writeFatal =
|
|
29
|
-
const writeError =
|
|
30
|
-
const writeWarning =
|
|
31
|
-
const writeInfo =
|
|
32
|
-
const writeSuccess =
|
|
33
|
-
const writeDebug =
|
|
34
|
-
const writeTrace =
|
|
28
|
+
const writeFatal = _chunkD7SRJTRQcjs.getLogFn.call(void 0, _chunkO4SGVAEBcjs.LogLevel.FATAL, config, import_chalk.default);
|
|
29
|
+
const writeError = _chunkD7SRJTRQcjs.getLogFn.call(void 0, _chunkO4SGVAEBcjs.LogLevel.ERROR, config, import_chalk.default);
|
|
30
|
+
const writeWarning = _chunkD7SRJTRQcjs.getLogFn.call(void 0, _chunkO4SGVAEBcjs.LogLevel.WARN, config, import_chalk.default);
|
|
31
|
+
const writeInfo = _chunkD7SRJTRQcjs.getLogFn.call(void 0, _chunkO4SGVAEBcjs.LogLevel.INFO, config, import_chalk.default);
|
|
32
|
+
const writeSuccess = _chunkD7SRJTRQcjs.getLogFn.call(void 0, _chunkO4SGVAEBcjs.LogLevel.SUCCESS, config, import_chalk.default);
|
|
33
|
+
const writeDebug = _chunkD7SRJTRQcjs.getLogFn.call(void 0, _chunkO4SGVAEBcjs.LogLevel.DEBUG, config, import_chalk.default);
|
|
34
|
+
const writeTrace = _chunkD7SRJTRQcjs.getLogFn.call(void 0, _chunkO4SGVAEBcjs.LogLevel.DEBUG, config, import_chalk.default);
|
|
35
35
|
return {
|
|
36
36
|
fatal: writeFatal,
|
|
37
37
|
error: writeError,
|
|
@@ -40,7 +40,7 @@ async function createLogger(config) {
|
|
|
40
40
|
success: writeSuccess,
|
|
41
41
|
debug: writeDebug,
|
|
42
42
|
trace: writeTrace,
|
|
43
|
-
getStopwatch:
|
|
43
|
+
getStopwatch: _chunkD7SRJTRQcjs.getStopwatch
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
_chunkDFJNOFN2cjs.__name.call(void 0, createLogger, "createLogger");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkA2QPNGB4cjs = require('../chunk-A2QPNGB4.cjs');
|
|
5
5
|
require('../chunk-UIA5EFWJ.cjs');
|
|
6
6
|
require('../chunk-DBERGKMJ.cjs');
|
|
7
7
|
require('../chunk-VPMAS2N2.cjs');
|
|
@@ -12,8 +12,8 @@ require('../chunk-SKMG52TD.cjs');
|
|
|
12
12
|
require('../chunk-6O7E2ODJ.cjs');
|
|
13
13
|
require('../chunk-VSGLIY6F.cjs');
|
|
14
14
|
require('../chunk-JPL6SA45.cjs');
|
|
15
|
-
require('../chunk-
|
|
16
|
-
require('../chunk-
|
|
15
|
+
require('../chunk-MXIXJOXF.cjs');
|
|
16
|
+
require('../chunk-D7SRJTRQ.cjs');
|
|
17
17
|
require('../chunk-GNNKAT6C.cjs');
|
|
18
18
|
require('../chunk-MUKNCWDC.cjs');
|
|
19
19
|
require('../chunk-4AYNBMPP.cjs');
|
|
@@ -29,4 +29,4 @@ require('../chunk-DFJNOFN2.cjs');
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
exports.getConfigFile =
|
|
32
|
+
exports.getConfigFile = _chunkA2QPNGB4cjs.getConfigFile; exports.getConfigFileByName = _chunkA2QPNGB4cjs.getConfigFileByName;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getConfigFile,
|
|
3
3
|
getConfigFileByName
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-6UWJE5DT.js";
|
|
5
5
|
import "../chunk-OL4KMEX5.js";
|
|
6
6
|
import "../chunk-ZY35TVMB.js";
|
|
7
7
|
import "../chunk-NO5ZHAIA.js";
|
|
@@ -12,8 +12,8 @@ import "../chunk-C47MHGNY.js";
|
|
|
12
12
|
import "../chunk-TRG5FOW5.js";
|
|
13
13
|
import "../chunk-HKXAGPSU.js";
|
|
14
14
|
import "../chunk-JMTLS4UN.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-X457FIXK.js";
|
|
16
|
+
import "../chunk-4RQGNE37.js";
|
|
17
17
|
import "../chunk-EGAP6KEW.js";
|
|
18
18
|
import "../chunk-BDW32BZK.js";
|
|
19
19
|
import "../chunk-HBVGMJMF.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkA2QPNGB4cjs = require('../chunk-A2QPNGB4.cjs');
|
|
6
6
|
require('../chunk-UIA5EFWJ.cjs');
|
|
7
7
|
require('../chunk-DBERGKMJ.cjs');
|
|
8
8
|
require('../chunk-VPMAS2N2.cjs');
|
|
@@ -13,8 +13,8 @@ require('../chunk-SKMG52TD.cjs');
|
|
|
13
13
|
require('../chunk-6O7E2ODJ.cjs');
|
|
14
14
|
require('../chunk-VSGLIY6F.cjs');
|
|
15
15
|
require('../chunk-JPL6SA45.cjs');
|
|
16
|
-
require('../chunk-
|
|
17
|
-
require('../chunk-
|
|
16
|
+
require('../chunk-MXIXJOXF.cjs');
|
|
17
|
+
require('../chunk-D7SRJTRQ.cjs');
|
|
18
18
|
require('../chunk-GNNKAT6C.cjs');
|
|
19
19
|
require('../chunk-MUKNCWDC.cjs');
|
|
20
20
|
require('../chunk-4AYNBMPP.cjs');
|
|
@@ -30,4 +30,4 @@ require('../chunk-DFJNOFN2.cjs');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
exports.getConfigFile =
|
|
33
|
+
exports.getConfigFile = _chunkA2QPNGB4cjs.getConfigFile; exports.getConfigFileByName = _chunkA2QPNGB4cjs.getConfigFileByName;
|
|
@@ -2,7 +2,7 @@ import "../chunk-TVUMXFOR.js";
|
|
|
2
2
|
import {
|
|
3
3
|
getConfigFile,
|
|
4
4
|
getConfigFileByName
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-6UWJE5DT.js";
|
|
6
6
|
import "../chunk-OL4KMEX5.js";
|
|
7
7
|
import "../chunk-ZY35TVMB.js";
|
|
8
8
|
import "../chunk-NO5ZHAIA.js";
|
|
@@ -13,8 +13,8 @@ import "../chunk-C47MHGNY.js";
|
|
|
13
13
|
import "../chunk-TRG5FOW5.js";
|
|
14
14
|
import "../chunk-HKXAGPSU.js";
|
|
15
15
|
import "../chunk-JMTLS4UN.js";
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-X457FIXK.js";
|
|
17
|
+
import "../chunk-4RQGNE37.js";
|
|
18
18
|
import "../chunk-EGAP6KEW.js";
|
|
19
19
|
import "../chunk-BDW32BZK.js";
|
|
20
20
|
import "../chunk-HBVGMJMF.js";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
6
|
+
var _chunkVSOK2CSTcjs = require('./chunk-VSOK2CST.cjs');
|
|
7
|
+
require('./chunk-A2QPNGB4.cjs');
|
|
8
8
|
require('./chunk-UIA5EFWJ.cjs');
|
|
9
9
|
require('./chunk-DBERGKMJ.cjs');
|
|
10
10
|
require('./chunk-VPMAS2N2.cjs');
|
|
@@ -15,8 +15,8 @@ require('./chunk-SKMG52TD.cjs');
|
|
|
15
15
|
require('./chunk-6O7E2ODJ.cjs');
|
|
16
16
|
require('./chunk-VSGLIY6F.cjs');
|
|
17
17
|
require('./chunk-JPL6SA45.cjs');
|
|
18
|
-
require('./chunk-
|
|
19
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-MXIXJOXF.cjs');
|
|
19
|
+
require('./chunk-D7SRJTRQ.cjs');
|
|
20
20
|
require('./chunk-GNNKAT6C.cjs');
|
|
21
21
|
require('./chunk-MUKNCWDC.cjs');
|
|
22
22
|
require('./chunk-4AYNBMPP.cjs');
|
|
@@ -36,4 +36,4 @@ require('./chunk-DFJNOFN2.cjs');
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
exports.createConfig =
|
|
39
|
+
exports.createConfig = _chunkVSOK2CSTcjs.createConfig; exports.createConfigExtension = _chunkVSOK2CSTcjs.createConfigExtension; exports.createStormConfig = _chunkVSOK2CSTcjs.createStormConfig; exports.loadStormConfig = _chunkVSOK2CSTcjs.loadStormConfig;
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
createConfigExtension,
|
|
4
4
|
createStormConfig,
|
|
5
5
|
loadStormConfig
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-BKH4GCLO.js";
|
|
7
|
+
import "./chunk-6UWJE5DT.js";
|
|
8
8
|
import "./chunk-OL4KMEX5.js";
|
|
9
9
|
import "./chunk-ZY35TVMB.js";
|
|
10
10
|
import "./chunk-NO5ZHAIA.js";
|
|
@@ -15,8 +15,8 @@ import "./chunk-C47MHGNY.js";
|
|
|
15
15
|
import "./chunk-TRG5FOW5.js";
|
|
16
16
|
import "./chunk-HKXAGPSU.js";
|
|
17
17
|
import "./chunk-JMTLS4UN.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-X457FIXK.js";
|
|
19
|
+
import "./chunk-4RQGNE37.js";
|
|
20
20
|
import "./chunk-EGAP6KEW.js";
|
|
21
21
|
import "./chunk-BDW32BZK.js";
|
|
22
22
|
import "./chunk-HBVGMJMF.js";
|
package/dist/index.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-3W5JECK3.cjs');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkZBZHPMLEcjs = require('./chunk-ZBZHPMLE.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkVSOK2CSTcjs = require('./chunk-VSOK2CST.cjs');
|
|
11
11
|
require('./chunk-QHDHDNID.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkA2QPNGB4cjs = require('./chunk-A2QPNGB4.cjs');
|
|
16
16
|
require('./chunk-UIA5EFWJ.cjs');
|
|
17
17
|
require('./chunk-DBERGKMJ.cjs');
|
|
18
18
|
require('./chunk-VPMAS2N2.cjs');
|
|
@@ -38,7 +38,7 @@ var _chunkJPL6SA45cjs = require('./chunk-JPL6SA45.cjs');
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkMXIXJOXFcjs = require('./chunk-MXIXJOXF.cjs');
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
@@ -51,7 +51,7 @@ var _chunk6X6TZM2Gcjs = require('./chunk-6X6TZM2G.cjs');
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
var
|
|
54
|
+
var _chunkD7SRJTRQcjs = require('./chunk-D7SRJTRQ.cjs');
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
@@ -151,4 +151,4 @@ _chunkDFJNOFN2cjs.init_cjs_shims.call(void 0, );
|
|
|
151
151
|
|
|
152
152
|
|
|
153
153
|
|
|
154
|
-
exports.CONSOLE_ICONS = _chunkG5KDHCJJcjs.CONSOLE_ICONS; exports.DEFAULT_COLOR_CONFIG = _chunkGNNKAT6Ccjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunk6O7E2ODJcjs.LARGE_BUFFER; exports.LogLevel = _chunkO4SGVAEBcjs.LogLevel; exports.LogLevelLabel = _chunkO4SGVAEBcjs.LogLevelLabel; exports.applyWorkspaceBaseTokens = _chunkVSGLIY6Fcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkVSGLIY6Fcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkVSGLIY6Fcjs.applyWorkspaceTokens; exports.correctPaths = _chunkNXXPCLO3cjs.correctPaths; exports.createConfig =
|
|
154
|
+
exports.CONSOLE_ICONS = _chunkG5KDHCJJcjs.CONSOLE_ICONS; exports.DEFAULT_COLOR_CONFIG = _chunkGNNKAT6Ccjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunk6O7E2ODJcjs.LARGE_BUFFER; exports.LogLevel = _chunkO4SGVAEBcjs.LogLevel; exports.LogLevelLabel = _chunkO4SGVAEBcjs.LogLevelLabel; exports.applyWorkspaceBaseTokens = _chunkVSGLIY6Fcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkVSGLIY6Fcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkVSGLIY6Fcjs.applyWorkspaceTokens; exports.correctPaths = _chunkNXXPCLO3cjs.correctPaths; exports.createConfig = _chunkVSOK2CSTcjs.createConfig; exports.createConfigExtension = _chunkVSOK2CSTcjs.createConfigExtension; exports.createLogger = _chunkZBZHPMLEcjs.createLogger; exports.createStormConfig = _chunkVSOK2CSTcjs.createStormConfig; exports.exitWithError = _chunkMXIXJOXFcjs.exitWithError; exports.exitWithSuccess = _chunkMXIXJOXFcjs.exitWithSuccess; exports.findFileName = _chunkJPL6SA45cjs.findFileName; exports.findWorkspaceRoot = _chunkMUKNCWDCcjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunkMUKNCWDCcjs.findWorkspaceRootSafe; exports.formatLogMessage = _chunkD7SRJTRQcjs.formatLogMessage; exports.formatTimestamp = _chunkGWLF37REcjs.formatTimestamp; exports.getChalk = _chunk3ALZEFKMcjs.getChalk; exports.getConfigEnv = _chunkEG6MZ74Dcjs.getConfigEnv; exports.getConfigFile = _chunkA2QPNGB4cjs.getConfigFile; exports.getConfigFileByName = _chunkA2QPNGB4cjs.getConfigFileByName; exports.getDefaultConfig = _chunkGNNKAT6Ccjs.getDefaultConfig; exports.getExtensionEnv = _chunkEG6MZ74Dcjs.getExtensionEnv; exports.getLogFn = _chunkD7SRJTRQcjs.getLogFn; exports.getLogLevel = _chunk2AAM5DJOcjs.getLogLevel; exports.getLogLevelLabel = _chunk2AAM5DJOcjs.getLogLevelLabel; exports.getStopwatch = _chunkD7SRJTRQcjs.getStopwatch; exports.handleProcess = _chunkMXIXJOXFcjs.handleProcess; exports.isUnicodeSupported = _chunkFBGCL5ZAcjs.isUnicodeSupported; exports.isVerbose = _chunk2AAM5DJOcjs.isVerbose; exports.joinPaths = _chunkNXXPCLO3cjs.joinPaths; exports.loadStormConfig = _chunkVSOK2CSTcjs.loadStormConfig; exports.removeExtension = _chunkJPL6SA45cjs.removeExtension; exports.run = _chunk6O7E2ODJcjs.run; exports.runAsync = _chunk6O7E2ODJcjs.runAsync; exports.setConfigEnv = _chunkGTJILL6Ucjs.setConfigEnv; exports.setExtensionEnv = _chunkGTJILL6Ucjs.setExtensionEnv; exports.writeDebug = _chunkD7SRJTRQcjs.writeDebug; exports.writeError = _chunkD7SRJTRQcjs.writeError; exports.writeFatal = _chunkD7SRJTRQcjs.writeFatal; exports.writeInfo = _chunkD7SRJTRQcjs.writeInfo; exports.writeSuccess = _chunkD7SRJTRQcjs.writeSuccess; exports.writeSystem = _chunkD7SRJTRQcjs.writeSystem; exports.writeTrace = _chunkD7SRJTRQcjs.writeTrace; exports.writeWarning = _chunkD7SRJTRQcjs.writeWarning;
|
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import "./chunk-4OURELB7.js";
|
|
2
2
|
import {
|
|
3
3
|
createLogger
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4KDJS5UI.js";
|
|
5
5
|
import {
|
|
6
6
|
createConfig,
|
|
7
7
|
createConfigExtension,
|
|
8
8
|
createStormConfig,
|
|
9
9
|
loadStormConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BKH4GCLO.js";
|
|
11
11
|
import "./chunk-TVUMXFOR.js";
|
|
12
12
|
import {
|
|
13
13
|
getConfigFile,
|
|
14
14
|
getConfigFileByName
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6UWJE5DT.js";
|
|
16
16
|
import "./chunk-OL4KMEX5.js";
|
|
17
17
|
import "./chunk-ZY35TVMB.js";
|
|
18
18
|
import "./chunk-NO5ZHAIA.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
exitWithError,
|
|
39
39
|
exitWithSuccess,
|
|
40
40
|
handleProcess
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-X457FIXK.js";
|
|
42
42
|
import {
|
|
43
43
|
formatLogMessage,
|
|
44
44
|
getLogFn,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
writeSystem,
|
|
52
52
|
writeTrace,
|
|
53
53
|
writeWarning
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-4RQGNE37.js";
|
|
55
55
|
import {
|
|
56
56
|
DEFAULT_COLOR_CONFIG,
|
|
57
57
|
getDefaultConfig
|
package/dist/logger/console.cjs
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkD7SRJTRQcjs = require('../chunk-D7SRJTRQ.cjs');
|
|
14
14
|
require('../chunk-GNNKAT6C.cjs');
|
|
15
15
|
require('../chunk-MUKNCWDC.cjs');
|
|
16
16
|
require('../chunk-4AYNBMPP.cjs');
|
|
@@ -35,4 +35,4 @@ require('../chunk-DFJNOFN2.cjs');
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
exports.formatLogMessage =
|
|
38
|
+
exports.formatLogMessage = _chunkD7SRJTRQcjs.formatLogMessage; exports.getLogFn = _chunkD7SRJTRQcjs.getLogFn; exports.getStopwatch = _chunkD7SRJTRQcjs.getStopwatch; exports.writeDebug = _chunkD7SRJTRQcjs.writeDebug; exports.writeError = _chunkD7SRJTRQcjs.writeError; exports.writeFatal = _chunkD7SRJTRQcjs.writeFatal; exports.writeInfo = _chunkD7SRJTRQcjs.writeInfo; exports.writeSuccess = _chunkD7SRJTRQcjs.writeSuccess; exports.writeSystem = _chunkD7SRJTRQcjs.writeSystem; exports.writeTrace = _chunkD7SRJTRQcjs.writeTrace; exports.writeWarning = _chunkD7SRJTRQcjs.writeWarning;
|
package/dist/logger/console.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkZBZHPMLEcjs = require('../chunk-ZBZHPMLE.cjs');
|
|
4
|
+
require('../chunk-D7SRJTRQ.cjs');
|
|
5
5
|
require('../chunk-GNNKAT6C.cjs');
|
|
6
6
|
require('../chunk-MUKNCWDC.cjs');
|
|
7
7
|
require('../chunk-4AYNBMPP.cjs');
|
|
@@ -16,4 +16,4 @@ require('../chunk-O4SGVAEB.cjs');
|
|
|
16
16
|
require('../chunk-DFJNOFN2.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
exports.createLogger =
|
|
19
|
+
exports.createLogger = _chunkZBZHPMLEcjs.createLogger;
|
package/dist/logger/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-3W5JECK3.cjs');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkZBZHPMLEcjs = require('../chunk-ZBZHPMLE.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -14,7 +14,7 @@ var _chunk5C56XWG7cjs = require('../chunk-5C56XWG7.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkD7SRJTRQcjs = require('../chunk-D7SRJTRQ.cjs');
|
|
18
18
|
require('../chunk-GNNKAT6C.cjs');
|
|
19
19
|
require('../chunk-MUKNCWDC.cjs');
|
|
20
20
|
require('../chunk-4AYNBMPP.cjs');
|
|
@@ -59,4 +59,4 @@ require('../chunk-DFJNOFN2.cjs');
|
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
exports.CONSOLE_ICONS = _chunkG5KDHCJJcjs.CONSOLE_ICONS; exports.createLogger =
|
|
62
|
+
exports.CONSOLE_ICONS = _chunkG5KDHCJJcjs.CONSOLE_ICONS; exports.createLogger = _chunkZBZHPMLEcjs.createLogger; exports.formatLogMessage = _chunkD7SRJTRQcjs.formatLogMessage; exports.formatTimestamp = _chunkGWLF37REcjs.formatTimestamp; exports.getChalk = _chunk3ALZEFKMcjs.getChalk; exports.getLogFn = _chunkD7SRJTRQcjs.getLogFn; exports.getLogLevel = _chunk2AAM5DJOcjs.getLogLevel; exports.getLogLevelLabel = _chunk2AAM5DJOcjs.getLogLevelLabel; exports.getStopwatch = _chunkD7SRJTRQcjs.getStopwatch; exports.isUnicodeSupported = _chunkFBGCL5ZAcjs.isUnicodeSupported; exports.isVerbose = _chunk2AAM5DJOcjs.isVerbose; exports.writeDebug = _chunkD7SRJTRQcjs.writeDebug; exports.writeError = _chunkD7SRJTRQcjs.writeError; exports.writeFatal = _chunkD7SRJTRQcjs.writeFatal; exports.writeInfo = _chunkD7SRJTRQcjs.writeInfo; exports.writeSuccess = _chunkD7SRJTRQcjs.writeSuccess; exports.writeSystem = _chunkD7SRJTRQcjs.writeSystem; exports.writeTrace = _chunkD7SRJTRQcjs.writeTrace; exports.writeWarning = _chunkD7SRJTRQcjs.writeWarning;
|
package/dist/logger/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../chunk-4OURELB7.js";
|
|
2
2
|
import {
|
|
3
3
|
createLogger
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-4KDJS5UI.js";
|
|
5
5
|
import {
|
|
6
6
|
formatLogMessage,
|
|
7
7
|
getLogFn,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
writeSystem,
|
|
15
15
|
writeTrace,
|
|
16
16
|
writeWarning
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-4RQGNE37.js";
|
|
18
18
|
import "../chunk-EGAP6KEW.js";
|
|
19
19
|
import "../chunk-BDW32BZK.js";
|
|
20
20
|
import "../chunk-HBVGMJMF.js";
|
package/dist/utilities/index.cjs
CHANGED
|
@@ -17,8 +17,8 @@ var _chunkJPL6SA45cjs = require('../chunk-JPL6SA45.cjs');
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
21
|
-
require('../chunk-
|
|
20
|
+
var _chunkMXIXJOXFcjs = require('../chunk-MXIXJOXF.cjs');
|
|
21
|
+
require('../chunk-D7SRJTRQ.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -58,4 +58,4 @@ require('../chunk-DFJNOFN2.cjs');
|
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
exports.DEFAULT_COLOR_CONFIG = _chunkGNNKAT6Ccjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunk6O7E2ODJcjs.LARGE_BUFFER; exports.applyWorkspaceBaseTokens = _chunkVSGLIY6Fcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkVSGLIY6Fcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkVSGLIY6Fcjs.applyWorkspaceTokens; exports.correctPaths = _chunkNXXPCLO3cjs.correctPaths; exports.exitWithError =
|
|
61
|
+
exports.DEFAULT_COLOR_CONFIG = _chunkGNNKAT6Ccjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunk6O7E2ODJcjs.LARGE_BUFFER; exports.applyWorkspaceBaseTokens = _chunkVSGLIY6Fcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkVSGLIY6Fcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkVSGLIY6Fcjs.applyWorkspaceTokens; exports.correctPaths = _chunkNXXPCLO3cjs.correctPaths; exports.exitWithError = _chunkMXIXJOXFcjs.exitWithError; exports.exitWithSuccess = _chunkMXIXJOXFcjs.exitWithSuccess; exports.findFileName = _chunkJPL6SA45cjs.findFileName; exports.findWorkspaceRoot = _chunkMUKNCWDCcjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunkMUKNCWDCcjs.findWorkspaceRootSafe; exports.getDefaultConfig = _chunkGNNKAT6Ccjs.getDefaultConfig; exports.handleProcess = _chunkMXIXJOXFcjs.handleProcess; exports.joinPaths = _chunkNXXPCLO3cjs.joinPaths; exports.removeExtension = _chunkJPL6SA45cjs.removeExtension; exports.run = _chunk6O7E2ODJcjs.run; exports.runAsync = _chunk6O7E2ODJcjs.runAsync;
|
package/dist/utilities/index.js
CHANGED
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
exitWithError,
|
|
18
18
|
exitWithSuccess,
|
|
19
19
|
handleProcess
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-X457FIXK.js";
|
|
21
|
+
import "../chunk-4RQGNE37.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_COLOR_CONFIG,
|
|
24
24
|
getDefaultConfig
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
5
|
+
var _chunkMXIXJOXFcjs = require('../chunk-MXIXJOXF.cjs');
|
|
6
|
+
require('../chunk-D7SRJTRQ.cjs');
|
|
7
7
|
require('../chunk-GNNKAT6C.cjs');
|
|
8
8
|
require('../chunk-MUKNCWDC.cjs');
|
|
9
9
|
require('../chunk-4AYNBMPP.cjs');
|
|
@@ -20,4 +20,4 @@ require('../chunk-DFJNOFN2.cjs');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
exports.exitWithError =
|
|
23
|
+
exports.exitWithError = _chunkMXIXJOXFcjs.exitWithError; exports.exitWithSuccess = _chunkMXIXJOXFcjs.exitWithSuccess; exports.handleProcess = _chunkMXIXJOXFcjs.handleProcess;
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
exitWithError,
|
|
3
3
|
exitWithSuccess,
|
|
4
4
|
handleProcess
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-X457FIXK.js";
|
|
6
|
+
import "../chunk-4RQGNE37.js";
|
|
7
7
|
import "../chunk-EGAP6KEW.js";
|
|
8
8
|
import "../chunk-BDW32BZK.js";
|
|
9
9
|
import "../chunk-HBVGMJMF.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.140.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
|
|
6
6
|
"repository": {
|