@storm-software/config-tools 1.188.80 → 1.189.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/bin/config.cjs +33 -1
- package/bin/config.js +33 -1
- package/dist/{chunk-FWSX62XB.cjs → chunk-4KKLDSJ3.cjs} +3 -3
- package/dist/{chunk-BWPCVQEV.js → chunk-5HZ6ELPB.js} +1 -1
- package/dist/{chunk-MTLXOWAR.cjs → chunk-5PODRWRM.cjs} +3 -3
- package/dist/{chunk-7JOKNFUH.js → chunk-AWJF23PC.js} +2 -2
- package/dist/{chunk-ISFTNFB2.cjs → chunk-AZEXAVGL.cjs} +9 -9
- package/dist/{chunk-REAKGUVS.cjs → chunk-B2K26H6K.cjs} +4 -1
- package/dist/{chunk-UKEDB2ON.js → chunk-EO7PZJN6.js} +1 -1
- package/dist/{chunk-UJS2YRGW.cjs → chunk-HZ7A5DOZ.cjs} +9 -9
- package/dist/{chunk-7QO6HYE6.js → chunk-JJ7HPMFE.js} +1 -1
- package/dist/{chunk-H7DDJQE3.js → chunk-NMO4EWXQ.js} +5 -2
- package/dist/{chunk-WK2ZHHHM.cjs → chunk-SVGD3UQJ.cjs} +2 -2
- package/dist/{chunk-SZXNSUP4.js → chunk-WWT7VI4S.js} +1 -1
- package/dist/{chunk-OC4H2SML.js → chunk-YH5L2OER.js} +1 -1
- package/dist/{chunk-PVK7VKTF.cjs → chunk-YKUGXDJV.cjs} +10 -10
- package/dist/config-file/get-config-file.cjs +6 -6
- package/dist/config-file/get-config-file.js +5 -5
- package/dist/config-file/index.cjs +6 -6
- package/dist/config-file/index.js +5 -5
- package/dist/create-storm-config.cjs +7 -7
- package/dist/create-storm-config.js +6 -6
- package/dist/get-config.cjs +8 -8
- package/dist/get-config.js +7 -7
- package/dist/index.cjs +10 -8
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -7
- package/dist/logger/console.cjs +4 -2
- package/dist/logger/console.d.cts +9 -1
- package/dist/logger/console.d.ts +9 -1
- package/dist/logger/console.js +3 -1
- package/dist/logger/create-logger.cjs +3 -3
- package/dist/logger/create-logger.js +2 -2
- package/dist/logger/index.cjs +5 -3
- package/dist/logger/index.d.cts +1 -1
- package/dist/logger/index.d.ts +1 -1
- package/dist/logger/index.js +4 -2
- package/dist/utilities/index.cjs +5 -5
- package/dist/utilities/index.js +4 -4
- package/dist/utilities/process-handler.cjs +3 -3
- package/dist/utilities/process-handler.js +2 -2
- package/dist/utilities/toml.cjs +4 -4
- package/dist/utilities/toml.js +3 -3
- package/package.json +3 -3
package/bin/config.cjs
CHANGED
|
@@ -110,6 +110,35 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
110
110
|
gradient: ["#1fb2a6", "#db2777", "#818cf8"]
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
|
+
function getColors(config) {
|
|
114
|
+
if (!config?.colors || typeof config.colors !== "object" || !config.colors["dark"] && (!config.colors["base"] || typeof config.colors !== "object" || !config.colors["base"]?.["dark"])) {
|
|
115
|
+
return DEFAULT_COLOR_CONFIG;
|
|
116
|
+
}
|
|
117
|
+
if (config.colors["base"]) {
|
|
118
|
+
if (typeof config.colors["base"]["dark"] === "object") {
|
|
119
|
+
return config.colors["base"]["dark"];
|
|
120
|
+
} else if (config.colors["base"]["dark"] === "string") {
|
|
121
|
+
return config.colors["base"];
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
if (typeof config.colors["dark"] === "object") {
|
|
125
|
+
return config.colors["dark"];
|
|
126
|
+
}
|
|
127
|
+
return config.colors ?? DEFAULT_COLOR_CONFIG;
|
|
128
|
+
}
|
|
129
|
+
function getColor(key, config) {
|
|
130
|
+
const colors = getColors(config);
|
|
131
|
+
const result = (typeof colors["dark"] === "object" ? colors["dark"][key] : colors[key]) || DEFAULT_COLOR_CONFIG["dark"][key] || DEFAULT_COLOR_CONFIG[key];
|
|
132
|
+
if (result) {
|
|
133
|
+
return result;
|
|
134
|
+
}
|
|
135
|
+
if (key === "link" || key === "debug") {
|
|
136
|
+
return getColor("info", config);
|
|
137
|
+
} else if (key === "fatal") {
|
|
138
|
+
return getColor("danger", config);
|
|
139
|
+
}
|
|
140
|
+
return getColor("brand", config);
|
|
141
|
+
}
|
|
113
142
|
|
|
114
143
|
// src/logger/chalk.ts
|
|
115
144
|
var import_chalk = __toESM(require("chalk"), 1);
|
|
@@ -363,6 +392,7 @@ var _isFunction = (value) => {
|
|
|
363
392
|
return false;
|
|
364
393
|
}
|
|
365
394
|
};
|
|
395
|
+
var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("\u{1F5F2}");
|
|
366
396
|
|
|
367
397
|
// src/utilities/correct-paths.ts
|
|
368
398
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
@@ -1481,7 +1511,9 @@ function getConfig(workspaceRoot, skipLogs = false) {
|
|
|
1481
1511
|
|
|
1482
1512
|
// bin/config.ts
|
|
1483
1513
|
function createProgram() {
|
|
1484
|
-
writeInfo(
|
|
1514
|
+
writeInfo(`${brandIcon()} Running Storm Configuration Tools`, {
|
|
1515
|
+
logLevel: "all"
|
|
1516
|
+
});
|
|
1485
1517
|
const root = findWorkspaceRootSafe(process.cwd());
|
|
1486
1518
|
process.env.STORM_WORKSPACE_ROOT ??= root;
|
|
1487
1519
|
process.env.NX_WORKSPACE_ROOT_PATH ??= root;
|
package/bin/config.js
CHANGED
|
@@ -77,6 +77,35 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
77
77
|
gradient: ["#1fb2a6", "#db2777", "#818cf8"]
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
|
+
function getColors(config) {
|
|
81
|
+
if (!config?.colors || typeof config.colors !== "object" || !config.colors["dark"] && (!config.colors["base"] || typeof config.colors !== "object" || !config.colors["base"]?.["dark"])) {
|
|
82
|
+
return DEFAULT_COLOR_CONFIG;
|
|
83
|
+
}
|
|
84
|
+
if (config.colors["base"]) {
|
|
85
|
+
if (typeof config.colors["base"]["dark"] === "object") {
|
|
86
|
+
return config.colors["base"]["dark"];
|
|
87
|
+
} else if (config.colors["base"]["dark"] === "string") {
|
|
88
|
+
return config.colors["base"];
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
if (typeof config.colors["dark"] === "object") {
|
|
92
|
+
return config.colors["dark"];
|
|
93
|
+
}
|
|
94
|
+
return config.colors ?? DEFAULT_COLOR_CONFIG;
|
|
95
|
+
}
|
|
96
|
+
function getColor(key, config) {
|
|
97
|
+
const colors = getColors(config);
|
|
98
|
+
const result = (typeof colors["dark"] === "object" ? colors["dark"][key] : colors[key]) || DEFAULT_COLOR_CONFIG["dark"][key] || DEFAULT_COLOR_CONFIG[key];
|
|
99
|
+
if (result) {
|
|
100
|
+
return result;
|
|
101
|
+
}
|
|
102
|
+
if (key === "link" || key === "debug") {
|
|
103
|
+
return getColor("info", config);
|
|
104
|
+
} else if (key === "fatal") {
|
|
105
|
+
return getColor("danger", config);
|
|
106
|
+
}
|
|
107
|
+
return getColor("brand", config);
|
|
108
|
+
}
|
|
80
109
|
|
|
81
110
|
// src/logger/chalk.ts
|
|
82
111
|
import chalk from "chalk";
|
|
@@ -330,6 +359,7 @@ var _isFunction = (value) => {
|
|
|
330
359
|
return false;
|
|
331
360
|
}
|
|
332
361
|
};
|
|
362
|
+
var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("\u{1F5F2}");
|
|
333
363
|
|
|
334
364
|
// src/utilities/correct-paths.ts
|
|
335
365
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
@@ -1456,7 +1486,9 @@ function getConfig(workspaceRoot, skipLogs = false) {
|
|
|
1456
1486
|
|
|
1457
1487
|
// bin/config.ts
|
|
1458
1488
|
function createProgram() {
|
|
1459
|
-
writeInfo(
|
|
1489
|
+
writeInfo(`${brandIcon()} Running Storm Configuration Tools`, {
|
|
1490
|
+
logLevel: "all"
|
|
1491
|
+
});
|
|
1460
1492
|
const root = findWorkspaceRootSafe(process.cwd());
|
|
1461
1493
|
process.env.STORM_WORKSPACE_ROOT ??= root;
|
|
1462
1494
|
process.env.NX_WORKSPACE_ROOT_PATH ??= root;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkYKUGXDJVcjs = require('./chunk-YKUGXDJV.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk3CNCDDWZcjs = require('./chunk-3CNCDDWZ.cjs');
|
|
8
8
|
|
|
9
9
|
// src/get-config.ts
|
|
10
10
|
function getConfig(workspaceRoot, skipLogs = false) {
|
|
11
|
-
return
|
|
11
|
+
return _chunkYKUGXDJVcjs.loadStormWorkspaceConfig.call(void 0, workspaceRoot, skipLogs);
|
|
12
12
|
}
|
|
13
13
|
function getWorkspaceConfig(skipLogs = true, options = {}) {
|
|
14
14
|
let workspaceRoot = options.workspaceRoot;
|
|
@@ -23,7 +23,7 @@ async function tryGetWorkspaceConfig(skipLogs = true, options = {}) {
|
|
|
23
23
|
if (!workspaceRoot) {
|
|
24
24
|
workspaceRoot = _chunk3CNCDDWZcjs.findWorkspaceRoot.call(void 0, options.cwd);
|
|
25
25
|
}
|
|
26
|
-
return
|
|
26
|
+
return _chunkYKUGXDJVcjs.tryLoadStormWorkspaceConfig.call(void 0,
|
|
27
27
|
workspaceRoot,
|
|
28
28
|
skipLogs,
|
|
29
29
|
options.useDefault
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunk3CNCDDWZcjs = require('./chunk-3CNCDDWZ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkB2K26H6Kcjs = require('./chunk-B2K26H6K.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkBDATZ3UBcjs = require('./chunk-BDATZ3UB.cjs');
|
|
@@ -52,7 +52,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
52
52
|
let config = result.config;
|
|
53
53
|
const configFile = result.configFile;
|
|
54
54
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
55
|
-
|
|
55
|
+
_chunkB2K26H6Kcjs.writeTrace.call(void 0,
|
|
56
56
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
57
57
|
{
|
|
58
58
|
logLevel: "all"
|
|
@@ -68,7 +68,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
68
68
|
for (const result2 of results) {
|
|
69
69
|
if (_optionalChain([result2, 'optionalAccess', _5 => _5.config]) && _optionalChain([result2, 'optionalAccess', _6 => _6.configFile]) && Object.keys(result2.config).length > 0) {
|
|
70
70
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
71
|
-
|
|
71
|
+
_chunkB2K26H6Kcjs.writeTrace.call(void 0,
|
|
72
72
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
73
73
|
{
|
|
74
74
|
logLevel: "all"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getConfigFile
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5HZ6ELPB.js";
|
|
4
4
|
import {
|
|
5
5
|
applyDefaultConfig,
|
|
6
6
|
getPackageJsonConfig
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
formatLogMessage,
|
|
13
13
|
writeTrace,
|
|
14
14
|
writeWarning
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NMO4EWXQ.js";
|
|
16
16
|
import {
|
|
17
17
|
setConfigEnv
|
|
18
18
|
} from "./chunk-4XFFB6C2.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkB2K26H6Kcjs = require('./chunk-B2K26H6K.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkIRCFHYKZcjs = require('./chunk-IRCFHYKZ.cjs');
|
|
@@ -9,13 +9,13 @@ var _chunkIRCFHYKZcjs = require('./chunk-IRCFHYKZ.cjs');
|
|
|
9
9
|
// src/logger/create-logger.ts
|
|
10
10
|
var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
|
|
11
11
|
async function createLogger(config) {
|
|
12
|
-
const writeFatal =
|
|
13
|
-
const writeError =
|
|
14
|
-
const writeWarning =
|
|
15
|
-
const writeInfo =
|
|
16
|
-
const writeSuccess =
|
|
17
|
-
const writeDebug =
|
|
18
|
-
const writeTrace =
|
|
12
|
+
const writeFatal = _chunkB2K26H6Kcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.FATAL, config, _chalk2.default);
|
|
13
|
+
const writeError = _chunkB2K26H6Kcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.ERROR, config, _chalk2.default);
|
|
14
|
+
const writeWarning = _chunkB2K26H6Kcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.WARN, config, _chalk2.default);
|
|
15
|
+
const writeInfo = _chunkB2K26H6Kcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.INFO, config, _chalk2.default);
|
|
16
|
+
const writeSuccess = _chunkB2K26H6Kcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.SUCCESS, config, _chalk2.default);
|
|
17
|
+
const writeDebug = _chunkB2K26H6Kcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.DEBUG, config, _chalk2.default);
|
|
18
|
+
const writeTrace = _chunkB2K26H6Kcjs.getLogFn.call(void 0, _chunkIRCFHYKZcjs.LogLevel.TRACE, config, _chalk2.default);
|
|
19
19
|
return {
|
|
20
20
|
fatal: writeFatal,
|
|
21
21
|
error: writeError,
|
|
@@ -24,7 +24,7 @@ async function createLogger(config) {
|
|
|
24
24
|
success: writeSuccess,
|
|
25
25
|
debug: writeDebug,
|
|
26
26
|
trace: writeTrace,
|
|
27
|
-
getStopwatch:
|
|
27
|
+
getStopwatch: _chunkB2K26H6Kcjs.getStopwatch
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
+
|
|
3
4
|
var _chunkIKP3QKCZcjs = require('./chunk-IKP3QKCZ.cjs');
|
|
4
5
|
|
|
5
6
|
|
|
@@ -172,6 +173,8 @@ var _isFunction = (value) => {
|
|
|
172
173
|
return false;
|
|
173
174
|
}
|
|
174
175
|
};
|
|
176
|
+
var brandIcon = (config = {}, _chalk = _chunkLOY6ICHZcjs.getChalk.call(void 0, )) => _chalk.hex(_chunkIKP3QKCZcjs.getColor.call(void 0, "brand", config))("\u{1F5F2}");
|
|
177
|
+
|
|
175
178
|
|
|
176
179
|
|
|
177
180
|
|
|
@@ -185,4 +188,4 @@ var _isFunction = (value) => {
|
|
|
185
188
|
|
|
186
189
|
|
|
187
190
|
|
|
188
|
-
exports.getLogFn = getLogFn; exports.writeFatal = writeFatal; exports.writeError = writeError; exports.writeWarning = writeWarning; exports.writeInfo = writeInfo; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.writeTrace = writeTrace; exports.writeSystem = writeSystem; exports.getStopwatch = getStopwatch; exports.formatLogMessage = formatLogMessage;
|
|
191
|
+
exports.getLogFn = getLogFn; exports.writeFatal = writeFatal; exports.writeError = writeError; exports.writeWarning = writeWarning; exports.writeInfo = writeInfo; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.writeTrace = writeTrace; exports.writeSystem = writeSystem; exports.getStopwatch = getStopwatch; exports.formatLogMessage = formatLogMessage; exports.brandIcon = brandIcon;
|
|
@@ -3,31 +3,31 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkB2K26H6Kcjs = require('./chunk-B2K26H6K.cjs');
|
|
7
7
|
|
|
8
8
|
// src/utilities/process-handler.ts
|
|
9
9
|
var exitWithError = (config) => {
|
|
10
|
-
|
|
10
|
+
_chunkB2K26H6Kcjs.writeFatal.call(void 0, "Exiting script with an error status...", config);
|
|
11
11
|
process.exit(1);
|
|
12
12
|
};
|
|
13
13
|
var exitWithSuccess = (config) => {
|
|
14
|
-
|
|
14
|
+
_chunkB2K26H6Kcjs.writeSuccess.call(void 0, "Script completed successfully. Exiting...", config);
|
|
15
15
|
process.exit(0);
|
|
16
16
|
};
|
|
17
17
|
var handleProcess = (config) => {
|
|
18
|
-
|
|
18
|
+
_chunkB2K26H6Kcjs.writeTrace.call(void 0,
|
|
19
19
|
`Using the following arguments to process the script: ${process.argv.join(", ")}`,
|
|
20
20
|
config
|
|
21
21
|
);
|
|
22
22
|
process.on("unhandledRejection", (error) => {
|
|
23
|
-
|
|
23
|
+
_chunkB2K26H6Kcjs.writeError.call(void 0,
|
|
24
24
|
`An Unhandled Rejection occurred while running the program: ${error}`,
|
|
25
25
|
config
|
|
26
26
|
);
|
|
27
27
|
exitWithError(config);
|
|
28
28
|
});
|
|
29
29
|
process.on("uncaughtException", (error) => {
|
|
30
|
-
|
|
30
|
+
_chunkB2K26H6Kcjs.writeError.call(void 0,
|
|
31
31
|
`An Uncaught Exception occurred while running the program: ${error.message}
|
|
32
32
|
Stacktrace: ${error.stack}`,
|
|
33
33
|
config
|
|
@@ -35,15 +35,15 @@ Stacktrace: ${error.stack}`,
|
|
|
35
35
|
exitWithError(config);
|
|
36
36
|
});
|
|
37
37
|
process.on("SIGTERM", (signal) => {
|
|
38
|
-
|
|
38
|
+
_chunkB2K26H6Kcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
|
|
39
39
|
exitWithError(config);
|
|
40
40
|
});
|
|
41
41
|
process.on("SIGINT", (signal) => {
|
|
42
|
-
|
|
42
|
+
_chunkB2K26H6Kcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
|
|
43
43
|
exitWithError(config);
|
|
44
44
|
});
|
|
45
45
|
process.on("SIGHUP", (signal) => {
|
|
46
|
-
|
|
46
|
+
_chunkB2K26H6Kcjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
|
|
47
47
|
exitWithError(config);
|
|
48
48
|
});
|
|
49
49
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
DEFAULT_COLOR_CONFIG
|
|
2
|
+
DEFAULT_COLOR_CONFIG,
|
|
3
|
+
getColor
|
|
3
4
|
} from "./chunk-DJB7XLHA.js";
|
|
4
5
|
import {
|
|
5
6
|
getChalk
|
|
@@ -172,6 +173,7 @@ var _isFunction = (value) => {
|
|
|
172
173
|
return false;
|
|
173
174
|
}
|
|
174
175
|
};
|
|
176
|
+
var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("\u{1F5F2}");
|
|
175
177
|
|
|
176
178
|
export {
|
|
177
179
|
getLogFn,
|
|
@@ -184,5 +186,6 @@ export {
|
|
|
184
186
|
writeTrace,
|
|
185
187
|
writeSystem,
|
|
186
188
|
getStopwatch,
|
|
187
|
-
formatLogMessage
|
|
189
|
+
formatLogMessage,
|
|
190
|
+
brandIcon
|
|
188
191
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkB2K26H6Kcjs = require('./chunk-B2K26H6K.cjs');
|
|
4
4
|
|
|
5
5
|
// src/utilities/toml.ts
|
|
6
6
|
var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml);
|
|
7
7
|
function parseCargoTomlWithTree(tree, projectRoot, projectName) {
|
|
8
8
|
const cargoTomlString = _optionalChain([tree, 'access', _ => _.read, 'call', _2 => _2(`${projectRoot}/Cargo.toml`), 'optionalAccess', _3 => _3.toString, 'call', _4 => _4()]);
|
|
9
9
|
if (!cargoTomlString) {
|
|
10
|
-
|
|
10
|
+
_chunkB2K26H6Kcjs.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
|
|
11
11
|
throw new Error();
|
|
12
12
|
}
|
|
13
13
|
return parseCargoToml(cargoTomlString);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk5PODRWRMcjs = require('./chunk-5PODRWRM.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -12,7 +12,7 @@ var _chunk3CNCDDWZcjs = require('./chunk-3CNCDDWZ.cjs');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkB2K26H6Kcjs = require('./chunk-B2K26H6K.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkY4QTE6AKcjs = require('./chunk-Y4QTE6AK.cjs');
|
|
@@ -38,10 +38,10 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
38
38
|
_workspaceRoot = _chunk3CNCDDWZcjs.findWorkspaceRoot.call(void 0, );
|
|
39
39
|
}
|
|
40
40
|
const configEnv = _chunkI6JQJR5Wcjs.getConfigEnv.call(void 0, );
|
|
41
|
-
const configFile = await
|
|
41
|
+
const configFile = await _chunk5PODRWRMcjs.getConfigFile.call(void 0, _workspaceRoot);
|
|
42
42
|
if (!configFile) {
|
|
43
43
|
if (!skipLogs) {
|
|
44
|
-
|
|
44
|
+
_chunkB2K26H6Kcjs.writeWarning.call(void 0,
|
|
45
45
|
"No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
|
|
46
46
|
{ logLevel: "all" }
|
|
47
47
|
);
|
|
@@ -68,7 +68,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
68
68
|
throw new Error(
|
|
69
69
|
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _3 => _3.message]) ? `: ${error.message}` : ""}
|
|
70
70
|
|
|
71
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
71
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkB2K26H6Kcjs.formatLogMessage.call(void 0,
|
|
72
72
|
configInput
|
|
73
73
|
)}`,
|
|
74
74
|
{
|
|
@@ -113,9 +113,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
113
113
|
);
|
|
114
114
|
_chunkY4QTE6AKcjs.setConfigEnv.call(void 0, config);
|
|
115
115
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
116
|
-
|
|
116
|
+
_chunkB2K26H6Kcjs.writeTrace.call(void 0,
|
|
117
117
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
118
|
-
${
|
|
118
|
+
${_chunkB2K26H6Kcjs.formatLogMessage.call(void 0, config)}`,
|
|
119
119
|
config
|
|
120
120
|
);
|
|
121
121
|
}
|
|
@@ -135,16 +135,16 @@ var tryLoadStormWorkspaceConfig = async (workspaceRoot, skipLogs = true, useDefa
|
|
|
135
135
|
}
|
|
136
136
|
_chunkY4QTE6AKcjs.setConfigEnv.call(void 0, config);
|
|
137
137
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
138
|
-
|
|
138
|
+
_chunkB2K26H6Kcjs.writeTrace.call(void 0,
|
|
139
139
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
140
|
-
${
|
|
140
|
+
${_chunkB2K26H6Kcjs.formatLogMessage.call(void 0, config)}`,
|
|
141
141
|
config
|
|
142
142
|
);
|
|
143
143
|
}
|
|
144
144
|
return config;
|
|
145
145
|
} catch (error) {
|
|
146
146
|
if (!skipLogs) {
|
|
147
|
-
|
|
147
|
+
_chunkB2K26H6Kcjs.writeWarning.call(void 0,
|
|
148
148
|
`\u26A0\uFE0F Failed to load Storm Workspace configuration: ${error}`,
|
|
149
149
|
{ logLevel: "all" }
|
|
150
150
|
);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk5PODRWRMcjs = require('../chunk-5PODRWRM.cjs');
|
|
5
5
|
require('../chunk-3COHMHPU.cjs');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-HZ7A5DOZ.cjs');
|
|
7
7
|
require('../chunk-6Y623TCS.cjs');
|
|
8
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-SVGD3UQJ.cjs');
|
|
9
9
|
require('../chunk-EMO3BY53.cjs');
|
|
10
10
|
require('../chunk-2WBD2G3E.cjs');
|
|
11
11
|
require('../chunk-CFXT4ZAW.cjs');
|
|
12
12
|
require('../chunk-3CNCDDWZ.cjs');
|
|
13
13
|
require('../chunk-NJFLUTGH.cjs');
|
|
14
14
|
require('../chunk-7PV6L7I7.cjs');
|
|
15
|
-
require('../chunk-
|
|
16
|
-
require('../chunk-
|
|
15
|
+
require('../chunk-AZEXAVGL.cjs');
|
|
16
|
+
require('../chunk-B2K26H6K.cjs');
|
|
17
17
|
require('../chunk-IKP3QKCZ.cjs');
|
|
18
18
|
require('../chunk-LOY6ICHZ.cjs');
|
|
19
19
|
require('../chunk-NSUIDUD7.cjs');
|
|
@@ -25,4 +25,4 @@ require('../chunk-IRCFHYKZ.cjs');
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
exports.getConfigFile =
|
|
28
|
+
exports.getConfigFile = _chunk5PODRWRMcjs.getConfigFile; exports.getConfigFileByName = _chunk5PODRWRMcjs.getConfigFileByName;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getConfigFile,
|
|
3
3
|
getConfigFileByName
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-5HZ6ELPB.js";
|
|
5
5
|
import "../chunk-UKGRDKIH.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-YH5L2OER.js";
|
|
7
7
|
import "../chunk-EENQN6N2.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-JJ7HPMFE.js";
|
|
9
9
|
import "../chunk-XEHBJ73S.js";
|
|
10
10
|
import "../chunk-KSMN3HSC.js";
|
|
11
11
|
import "../chunk-RGET2UQV.js";
|
|
12
12
|
import "../chunk-LF3SAK2O.js";
|
|
13
13
|
import "../chunk-RUKM6FCF.js";
|
|
14
14
|
import "../chunk-RRKB32OH.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-WWT7VI4S.js";
|
|
16
|
+
import "../chunk-NMO4EWXQ.js";
|
|
17
17
|
import "../chunk-DJB7XLHA.js";
|
|
18
18
|
import "../chunk-HVVJHTFS.js";
|
|
19
19
|
import "../chunk-AITAR5W5.js";
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk5PODRWRMcjs = require('../chunk-5PODRWRM.cjs');
|
|
6
6
|
require('../chunk-3COHMHPU.cjs');
|
|
7
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-HZ7A5DOZ.cjs');
|
|
8
8
|
require('../chunk-6Y623TCS.cjs');
|
|
9
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-SVGD3UQJ.cjs');
|
|
10
10
|
require('../chunk-EMO3BY53.cjs');
|
|
11
11
|
require('../chunk-2WBD2G3E.cjs');
|
|
12
12
|
require('../chunk-CFXT4ZAW.cjs');
|
|
13
13
|
require('../chunk-3CNCDDWZ.cjs');
|
|
14
14
|
require('../chunk-NJFLUTGH.cjs');
|
|
15
15
|
require('../chunk-7PV6L7I7.cjs');
|
|
16
|
-
require('../chunk-
|
|
17
|
-
require('../chunk-
|
|
16
|
+
require('../chunk-AZEXAVGL.cjs');
|
|
17
|
+
require('../chunk-B2K26H6K.cjs');
|
|
18
18
|
require('../chunk-IKP3QKCZ.cjs');
|
|
19
19
|
require('../chunk-LOY6ICHZ.cjs');
|
|
20
20
|
require('../chunk-NSUIDUD7.cjs');
|
|
@@ -26,4 +26,4 @@ require('../chunk-IRCFHYKZ.cjs');
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
exports.getConfigFile =
|
|
29
|
+
exports.getConfigFile = _chunk5PODRWRMcjs.getConfigFile; exports.getConfigFileByName = _chunk5PODRWRMcjs.getConfigFileByName;
|
|
@@ -2,19 +2,19 @@ import "../chunk-2AVLCXLT.js";
|
|
|
2
2
|
import {
|
|
3
3
|
getConfigFile,
|
|
4
4
|
getConfigFileByName
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-5HZ6ELPB.js";
|
|
6
6
|
import "../chunk-UKGRDKIH.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-YH5L2OER.js";
|
|
8
8
|
import "../chunk-EENQN6N2.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-JJ7HPMFE.js";
|
|
10
10
|
import "../chunk-XEHBJ73S.js";
|
|
11
11
|
import "../chunk-KSMN3HSC.js";
|
|
12
12
|
import "../chunk-RGET2UQV.js";
|
|
13
13
|
import "../chunk-LF3SAK2O.js";
|
|
14
14
|
import "../chunk-RUKM6FCF.js";
|
|
15
15
|
import "../chunk-RRKB32OH.js";
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-WWT7VI4S.js";
|
|
17
|
+
import "../chunk-NMO4EWXQ.js";
|
|
18
18
|
import "../chunk-DJB7XLHA.js";
|
|
19
19
|
import "../chunk-HVVJHTFS.js";
|
|
20
20
|
import "../chunk-AITAR5W5.js";
|
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
6
|
+
var _chunkYKUGXDJVcjs = require('./chunk-YKUGXDJV.cjs');
|
|
7
|
+
require('./chunk-5PODRWRM.cjs');
|
|
8
8
|
require('./chunk-3COHMHPU.cjs');
|
|
9
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-HZ7A5DOZ.cjs');
|
|
10
10
|
require('./chunk-6Y623TCS.cjs');
|
|
11
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-SVGD3UQJ.cjs');
|
|
12
12
|
require('./chunk-EMO3BY53.cjs');
|
|
13
13
|
require('./chunk-2WBD2G3E.cjs');
|
|
14
14
|
require('./chunk-CFXT4ZAW.cjs');
|
|
15
15
|
require('./chunk-3CNCDDWZ.cjs');
|
|
16
16
|
require('./chunk-NJFLUTGH.cjs');
|
|
17
17
|
require('./chunk-7PV6L7I7.cjs');
|
|
18
|
-
require('./chunk-
|
|
19
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-AZEXAVGL.cjs');
|
|
19
|
+
require('./chunk-B2K26H6K.cjs');
|
|
20
20
|
require('./chunk-IKP3QKCZ.cjs');
|
|
21
21
|
require('./chunk-LOY6ICHZ.cjs');
|
|
22
22
|
require('./chunk-NSUIDUD7.cjs');
|
|
@@ -32,4 +32,4 @@ require('./chunk-IRCFHYKZ.cjs');
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
exports.createConfigExtension =
|
|
35
|
+
exports.createConfigExtension = _chunkYKUGXDJVcjs.createConfigExtension; exports.createStormWorkspaceConfig = _chunkYKUGXDJVcjs.createStormWorkspaceConfig; exports.loadStormWorkspaceConfig = _chunkYKUGXDJVcjs.loadStormWorkspaceConfig; exports.tryLoadStormWorkspaceConfig = _chunkYKUGXDJVcjs.tryLoadStormWorkspaceConfig;
|
|
@@ -3,20 +3,20 @@ import {
|
|
|
3
3
|
createStormWorkspaceConfig,
|
|
4
4
|
loadStormWorkspaceConfig,
|
|
5
5
|
tryLoadStormWorkspaceConfig
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-AWJF23PC.js";
|
|
7
|
+
import "./chunk-5HZ6ELPB.js";
|
|
8
8
|
import "./chunk-UKGRDKIH.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-YH5L2OER.js";
|
|
10
10
|
import "./chunk-EENQN6N2.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-JJ7HPMFE.js";
|
|
12
12
|
import "./chunk-XEHBJ73S.js";
|
|
13
13
|
import "./chunk-KSMN3HSC.js";
|
|
14
14
|
import "./chunk-RGET2UQV.js";
|
|
15
15
|
import "./chunk-LF3SAK2O.js";
|
|
16
16
|
import "./chunk-RUKM6FCF.js";
|
|
17
17
|
import "./chunk-RRKB32OH.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-WWT7VI4S.js";
|
|
19
|
+
import "./chunk-NMO4EWXQ.js";
|
|
20
20
|
import "./chunk-DJB7XLHA.js";
|
|
21
21
|
import "./chunk-HVVJHTFS.js";
|
|
22
22
|
import "./chunk-AITAR5W5.js";
|
package/dist/get-config.cjs
CHANGED
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
5
|
+
var _chunk4KKLDSJ3cjs = require('./chunk-4KKLDSJ3.cjs');
|
|
6
|
+
require('./chunk-YKUGXDJV.cjs');
|
|
7
|
+
require('./chunk-5PODRWRM.cjs');
|
|
8
8
|
require('./chunk-3COHMHPU.cjs');
|
|
9
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-HZ7A5DOZ.cjs');
|
|
10
10
|
require('./chunk-6Y623TCS.cjs');
|
|
11
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-SVGD3UQJ.cjs');
|
|
12
12
|
require('./chunk-EMO3BY53.cjs');
|
|
13
13
|
require('./chunk-2WBD2G3E.cjs');
|
|
14
14
|
require('./chunk-CFXT4ZAW.cjs');
|
|
15
15
|
require('./chunk-3CNCDDWZ.cjs');
|
|
16
16
|
require('./chunk-NJFLUTGH.cjs');
|
|
17
17
|
require('./chunk-7PV6L7I7.cjs');
|
|
18
|
-
require('./chunk-
|
|
19
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-AZEXAVGL.cjs');
|
|
19
|
+
require('./chunk-B2K26H6K.cjs');
|
|
20
20
|
require('./chunk-IKP3QKCZ.cjs');
|
|
21
21
|
require('./chunk-LOY6ICHZ.cjs');
|
|
22
22
|
require('./chunk-NSUIDUD7.cjs');
|
|
@@ -31,4 +31,4 @@ require('./chunk-IRCFHYKZ.cjs');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
exports.getConfig =
|
|
34
|
+
exports.getConfig = _chunk4KKLDSJ3cjs.getConfig; exports.getWorkspaceConfig = _chunk4KKLDSJ3cjs.getWorkspaceConfig; exports.tryGetWorkspaceConfig = _chunk4KKLDSJ3cjs.tryGetWorkspaceConfig;
|
package/dist/get-config.js
CHANGED
|
@@ -2,21 +2,21 @@ import {
|
|
|
2
2
|
getConfig,
|
|
3
3
|
getWorkspaceConfig,
|
|
4
4
|
tryGetWorkspaceConfig
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-EO7PZJN6.js";
|
|
6
|
+
import "./chunk-AWJF23PC.js";
|
|
7
|
+
import "./chunk-5HZ6ELPB.js";
|
|
8
8
|
import "./chunk-UKGRDKIH.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-YH5L2OER.js";
|
|
10
10
|
import "./chunk-EENQN6N2.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-JJ7HPMFE.js";
|
|
12
12
|
import "./chunk-XEHBJ73S.js";
|
|
13
13
|
import "./chunk-KSMN3HSC.js";
|
|
14
14
|
import "./chunk-RGET2UQV.js";
|
|
15
15
|
import "./chunk-LF3SAK2O.js";
|
|
16
16
|
import "./chunk-RUKM6FCF.js";
|
|
17
17
|
import "./chunk-RRKB32OH.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-WWT7VI4S.js";
|
|
19
|
+
import "./chunk-NMO4EWXQ.js";
|
|
20
20
|
import "./chunk-DJB7XLHA.js";
|
|
21
21
|
import "./chunk-HVVJHTFS.js";
|
|
22
22
|
import "./chunk-AITAR5W5.js";
|
package/dist/index.cjs
CHANGED
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk4KKLDSJ3cjs = require('./chunk-4KKLDSJ3.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkYKUGXDJVcjs = require('./chunk-YKUGXDJV.cjs');
|
|
12
12
|
require('./chunk-IWD6YQKX.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunk5PODRWRMcjs = require('./chunk-5PODRWRM.cjs');
|
|
17
17
|
require('./chunk-3COHMHPU.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkHZ7A5DOZcjs = require('./chunk-HZ7A5DOZ.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
@@ -31,7 +31,7 @@ var _chunk6Y623TCScjs = require('./chunk-6Y623TCS.cjs');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkSVGD3UQJcjs = require('./chunk-SVGD3UQJ.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
@@ -54,7 +54,7 @@ require('./chunk-NJFLUTGH.cjs');
|
|
|
54
54
|
require('./chunk-7PV6L7I7.cjs');
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
var
|
|
57
|
+
var _chunkAZEXAVGLcjs = require('./chunk-AZEXAVGL.cjs');
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
|
|
@@ -67,7 +67,8 @@ var _chunkISFTNFB2cjs = require('./chunk-ISFTNFB2.cjs');
|
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
|
|
71
|
+
var _chunkB2K26H6Kcjs = require('./chunk-B2K26H6K.cjs');
|
|
71
72
|
|
|
72
73
|
|
|
73
74
|
|
|
@@ -194,4 +195,5 @@ var _chunkIRCFHYKZcjs = require('./chunk-IRCFHYKZ.cjs');
|
|
|
194
195
|
|
|
195
196
|
|
|
196
197
|
|
|
197
|
-
|
|
198
|
+
|
|
199
|
+
exports.CONSOLE_ICONS = _chunkNSUIDUD7cjs.CONSOLE_ICONS; exports.DEFAULT_COLOR_CONFIG = _chunkIKP3QKCZcjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunk6Y623TCScjs.LARGE_BUFFER; exports.LogLevel = _chunkIRCFHYKZcjs.LogLevel; exports.LogLevelLabel = _chunkIRCFHYKZcjs.LogLevelLabel; exports.applyDefaultConfig = _chunkCFXT4ZAWcjs.applyDefaultConfig; exports.applyWorkspaceBaseTokens = _chunkEMO3BY53cjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkEMO3BY53cjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkEMO3BY53cjs.applyWorkspaceTokens; exports.basename = _chunkBDATZ3UBcjs.basename; exports.brandIcon = _chunkB2K26H6Kcjs.brandIcon; exports.correctPaths = _chunkBDATZ3UBcjs.correctPaths; exports.createConfigExtension = _chunkYKUGXDJVcjs.createConfigExtension; exports.createLogger = _chunkAZEXAVGLcjs.createLogger; exports.createStormWorkspaceConfig = _chunkYKUGXDJVcjs.createStormWorkspaceConfig; exports.dirname = _chunkBDATZ3UBcjs.dirname; exports.exitWithError = _chunkHZ7A5DOZcjs.exitWithError; exports.exitWithSuccess = _chunkHZ7A5DOZcjs.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.formatLogMessage = _chunkB2K26H6Kcjs.formatLogMessage; exports.formatTimestamp = _chunkBN6MEGGYcjs.formatTimestamp; exports.getChalk = _chunkLOY6ICHZcjs.getChalk; exports.getColor = _chunkIKP3QKCZcjs.getColor; exports.getColors = _chunkIKP3QKCZcjs.getColors; exports.getConfig = _chunk4KKLDSJ3cjs.getConfig; exports.getConfigEnv = _chunkI6JQJR5Wcjs.getConfigEnv; exports.getConfigFile = _chunk5PODRWRMcjs.getConfigFile; exports.getConfigFileByName = _chunk5PODRWRMcjs.getConfigFileByName; exports.getExtensionEnv = _chunkI6JQJR5Wcjs.getExtensionEnv; exports.getGradient = _chunkIKP3QKCZcjs.getGradient; exports.getLogFn = _chunkB2K26H6Kcjs.getLogFn; exports.getLogLevel = _chunk4PX5UVANcjs.getLogLevel; exports.getLogLevelLabel = _chunk4PX5UVANcjs.getLogLevelLabel; exports.getPackageJsonConfig = _chunkCFXT4ZAWcjs.getPackageJsonConfig; exports.getStopwatch = _chunkB2K26H6Kcjs.getStopwatch; exports.getWorkspaceConfig = _chunk4KKLDSJ3cjs.getWorkspaceConfig; exports.handleProcess = _chunkHZ7A5DOZcjs.handleProcess; exports.isAbsolute = _chunkBDATZ3UBcjs.isAbsolute; exports.isUnicodeSupported = _chunkDTGT4OI3cjs.isUnicodeSupported; exports.isVerbose = _chunk4PX5UVANcjs.isVerbose; exports.joinPaths = _chunkBDATZ3UBcjs.joinPaths; exports.loadStormWorkspaceConfig = _chunkYKUGXDJVcjs.loadStormWorkspaceConfig; exports.modifyCargoNestedTable = _chunkSVGD3UQJcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkSVGD3UQJcjs.modifyCargoTable; exports.normalizeString = _chunkBDATZ3UBcjs.normalizeString; exports.normalizeWindowsPath = _chunkBDATZ3UBcjs.normalizeWindowsPath; exports.parse = _chunkBDATZ3UBcjs.parse; exports.parseCargoToml = _chunkSVGD3UQJcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkSVGD3UQJcjs.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.setConfigEnv = _chunkY4QTE6AKcjs.setConfigEnv; exports.setExtensionEnv = _chunkY4QTE6AKcjs.setExtensionEnv; exports.stringifyCargoToml = _chunkSVGD3UQJcjs.stringifyCargoToml; exports.toNamespacedPath = _chunkBDATZ3UBcjs.toNamespacedPath; exports.tryGetWorkspaceConfig = _chunk4KKLDSJ3cjs.tryGetWorkspaceConfig; exports.tryLoadStormWorkspaceConfig = _chunkYKUGXDJVcjs.tryLoadStormWorkspaceConfig; exports.writeDebug = _chunkB2K26H6Kcjs.writeDebug; exports.writeError = _chunkB2K26H6Kcjs.writeError; exports.writeFatal = _chunkB2K26H6Kcjs.writeFatal; exports.writeInfo = _chunkB2K26H6Kcjs.writeInfo; exports.writeSuccess = _chunkB2K26H6Kcjs.writeSuccess; exports.writeSystem = _chunkB2K26H6Kcjs.writeSystem; exports.writeTrace = _chunkB2K26H6Kcjs.writeTrace; exports.writeWarning = _chunkB2K26H6Kcjs.writeWarning;
|
package/dist/index.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ export { getConfigEnv, getExtensionEnv } from './env/get-env.cjs';
|
|
|
4
4
|
export { setConfigEnv, setExtensionEnv } from './env/set-env.cjs';
|
|
5
5
|
export { GetWorkspaceConfigOptions, getConfig, getWorkspaceConfig, tryGetWorkspaceConfig } from './get-config.cjs';
|
|
6
6
|
export { GetChalkReturn, getChalk } from './logger/chalk.cjs';
|
|
7
|
-
export { FormatLogMessageOptions, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writeSuccess, writeSystem, writeTrace, writeWarning } from './logger/console.cjs';
|
|
7
|
+
export { FormatLogMessageOptions, brandIcon, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writeSuccess, writeSystem, writeTrace, writeWarning } from './logger/console.cjs';
|
|
8
8
|
export { CONSOLE_ICONS } from './logger/console-icons.cjs';
|
|
9
9
|
export { createLogger } from './logger/create-logger.cjs';
|
|
10
10
|
export { formatTimestamp } from './logger/format-timestamp.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { getConfigEnv, getExtensionEnv } from './env/get-env.js';
|
|
|
4
4
|
export { setConfigEnv, setExtensionEnv } from './env/set-env.js';
|
|
5
5
|
export { GetWorkspaceConfigOptions, getConfig, getWorkspaceConfig, tryGetWorkspaceConfig } from './get-config.js';
|
|
6
6
|
export { GetChalkReturn, getChalk } from './logger/chalk.js';
|
|
7
|
-
export { FormatLogMessageOptions, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writeSuccess, writeSystem, writeTrace, writeWarning } from './logger/console.js';
|
|
7
|
+
export { FormatLogMessageOptions, brandIcon, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writeSuccess, writeSystem, writeTrace, writeWarning } from './logger/console.js';
|
|
8
8
|
export { CONSOLE_ICONS } from './logger/console-icons.js';
|
|
9
9
|
export { createLogger } from './logger/create-logger.js';
|
|
10
10
|
export { formatTimestamp } from './logger/format-timestamp.js';
|
package/dist/index.js
CHANGED
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
getConfig,
|
|
3
3
|
getWorkspaceConfig,
|
|
4
4
|
tryGetWorkspaceConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EO7PZJN6.js";
|
|
6
6
|
import {
|
|
7
7
|
createConfigExtension,
|
|
8
8
|
createStormWorkspaceConfig,
|
|
9
9
|
loadStormWorkspaceConfig,
|
|
10
10
|
tryLoadStormWorkspaceConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AWJF23PC.js";
|
|
12
12
|
import "./chunk-2AVLCXLT.js";
|
|
13
13
|
import {
|
|
14
14
|
getConfigFile,
|
|
15
15
|
getConfigFileByName
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5HZ6ELPB.js";
|
|
17
17
|
import "./chunk-UKGRDKIH.js";
|
|
18
18
|
import {
|
|
19
19
|
exitWithError,
|
|
20
20
|
exitWithSuccess,
|
|
21
21
|
handleProcess
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YH5L2OER.js";
|
|
23
23
|
import {
|
|
24
24
|
LARGE_BUFFER,
|
|
25
25
|
run,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
parseCargoToml,
|
|
32
32
|
parseCargoTomlWithTree,
|
|
33
33
|
stringifyCargoToml
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-JJ7HPMFE.js";
|
|
35
35
|
import {
|
|
36
36
|
applyWorkspaceBaseTokens,
|
|
37
37
|
applyWorkspaceProjectTokens,
|
|
@@ -54,8 +54,9 @@ import "./chunk-RUKM6FCF.js";
|
|
|
54
54
|
import "./chunk-RRKB32OH.js";
|
|
55
55
|
import {
|
|
56
56
|
createLogger
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-WWT7VI4S.js";
|
|
58
58
|
import {
|
|
59
|
+
brandIcon,
|
|
59
60
|
formatLogMessage,
|
|
60
61
|
getLogFn,
|
|
61
62
|
getStopwatch,
|
|
@@ -67,7 +68,7 @@ import {
|
|
|
67
68
|
writeSystem,
|
|
68
69
|
writeTrace,
|
|
69
70
|
writeWarning
|
|
70
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-NMO4EWXQ.js";
|
|
71
72
|
import {
|
|
72
73
|
DEFAULT_COLOR_CONFIG,
|
|
73
74
|
getColor,
|
|
@@ -131,6 +132,7 @@ export {
|
|
|
131
132
|
applyWorkspaceProjectTokens,
|
|
132
133
|
applyWorkspaceTokens,
|
|
133
134
|
basename,
|
|
135
|
+
brandIcon,
|
|
134
136
|
correctPaths,
|
|
135
137
|
createConfigExtension,
|
|
136
138
|
createLogger,
|
package/dist/logger/console.cjs
CHANGED
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
|
|
14
|
+
var _chunkB2K26H6Kcjs = require('../chunk-B2K26H6K.cjs');
|
|
14
15
|
require('../chunk-IKP3QKCZ.cjs');
|
|
15
16
|
require('../chunk-LOY6ICHZ.cjs');
|
|
16
17
|
require('../chunk-NSUIDUD7.cjs');
|
|
@@ -30,4 +31,5 @@ require('../chunk-IRCFHYKZ.cjs');
|
|
|
30
31
|
|
|
31
32
|
|
|
32
33
|
|
|
33
|
-
|
|
34
|
+
|
|
35
|
+
exports.brandIcon = _chunkB2K26H6Kcjs.brandIcon; exports.formatLogMessage = _chunkB2K26H6Kcjs.formatLogMessage; exports.getLogFn = _chunkB2K26H6Kcjs.getLogFn; exports.getStopwatch = _chunkB2K26H6Kcjs.getStopwatch; exports.writeDebug = _chunkB2K26H6Kcjs.writeDebug; exports.writeError = _chunkB2K26H6Kcjs.writeError; exports.writeFatal = _chunkB2K26H6Kcjs.writeFatal; exports.writeInfo = _chunkB2K26H6Kcjs.writeInfo; exports.writeSuccess = _chunkB2K26H6Kcjs.writeSuccess; exports.writeSystem = _chunkB2K26H6Kcjs.writeSystem; exports.writeTrace = _chunkB2K26H6Kcjs.writeTrace; exports.writeWarning = _chunkB2K26H6Kcjs.writeWarning;
|
|
@@ -78,5 +78,13 @@ type FormatLogMessageOptions = {
|
|
|
78
78
|
skip?: string[];
|
|
79
79
|
};
|
|
80
80
|
declare const formatLogMessage: (message?: any, options?: FormatLogMessageOptions, depth?: number) => string;
|
|
81
|
+
/**
|
|
82
|
+
* Get the brand icon for the console
|
|
83
|
+
*
|
|
84
|
+
* @param config - The Storm configuration
|
|
85
|
+
* @param _chalk - The chalk instance
|
|
86
|
+
* @returns The brand icon
|
|
87
|
+
*/
|
|
88
|
+
declare const brandIcon: (config?: Partial<StormWorkspaceConfig>, _chalk?: ReturnType<typeof getChalk>) => string | undefined;
|
|
81
89
|
|
|
82
|
-
export { type FormatLogMessageOptions, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writeSuccess, writeSystem, writeTrace, writeWarning };
|
|
90
|
+
export { type FormatLogMessageOptions, brandIcon, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writeSuccess, writeSystem, writeTrace, writeWarning };
|
package/dist/logger/console.d.ts
CHANGED
|
@@ -78,5 +78,13 @@ type FormatLogMessageOptions = {
|
|
|
78
78
|
skip?: string[];
|
|
79
79
|
};
|
|
80
80
|
declare const formatLogMessage: (message?: any, options?: FormatLogMessageOptions, depth?: number) => string;
|
|
81
|
+
/**
|
|
82
|
+
* Get the brand icon for the console
|
|
83
|
+
*
|
|
84
|
+
* @param config - The Storm configuration
|
|
85
|
+
* @param _chalk - The chalk instance
|
|
86
|
+
* @returns The brand icon
|
|
87
|
+
*/
|
|
88
|
+
declare const brandIcon: (config?: Partial<StormWorkspaceConfig>, _chalk?: ReturnType<typeof getChalk>) => string | undefined;
|
|
81
89
|
|
|
82
|
-
export { type FormatLogMessageOptions, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writeSuccess, writeSystem, writeTrace, writeWarning };
|
|
90
|
+
export { type FormatLogMessageOptions, brandIcon, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writeSuccess, writeSystem, writeTrace, writeWarning };
|
package/dist/logger/console.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
brandIcon,
|
|
2
3
|
formatLogMessage,
|
|
3
4
|
getLogFn,
|
|
4
5
|
getStopwatch,
|
|
@@ -10,7 +11,7 @@ import {
|
|
|
10
11
|
writeSystem,
|
|
11
12
|
writeTrace,
|
|
12
13
|
writeWarning
|
|
13
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-NMO4EWXQ.js";
|
|
14
15
|
import "../chunk-DJB7XLHA.js";
|
|
15
16
|
import "../chunk-HVVJHTFS.js";
|
|
16
17
|
import "../chunk-AITAR5W5.js";
|
|
@@ -19,6 +20,7 @@ import "../chunk-CZ4IE2QN.js";
|
|
|
19
20
|
import "../chunk-K4CDYUQR.js";
|
|
20
21
|
import "../chunk-POXTJ6GF.js";
|
|
21
22
|
export {
|
|
23
|
+
brandIcon,
|
|
22
24
|
formatLogMessage,
|
|
23
25
|
getLogFn,
|
|
24
26
|
getStopwatch,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkAZEXAVGLcjs = require('../chunk-AZEXAVGL.cjs');
|
|
4
|
+
require('../chunk-B2K26H6K.cjs');
|
|
5
5
|
require('../chunk-IKP3QKCZ.cjs');
|
|
6
6
|
require('../chunk-LOY6ICHZ.cjs');
|
|
7
7
|
require('../chunk-NSUIDUD7.cjs');
|
|
@@ -11,4 +11,4 @@ require('../chunk-4PX5UVAN.cjs');
|
|
|
11
11
|
require('../chunk-IRCFHYKZ.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.createLogger =
|
|
14
|
+
exports.createLogger = _chunkAZEXAVGLcjs.createLogger;
|
package/dist/logger/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-7PV6L7I7.cjs');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkAZEXAVGLcjs = require('../chunk-AZEXAVGL.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -14,7 +14,8 @@ var _chunkISFTNFB2cjs = require('../chunk-ISFTNFB2.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
|
|
18
|
+
var _chunkB2K26H6Kcjs = require('../chunk-B2K26H6K.cjs');
|
|
18
19
|
require('../chunk-IKP3QKCZ.cjs');
|
|
19
20
|
|
|
20
21
|
|
|
@@ -54,4 +55,5 @@ require('../chunk-IRCFHYKZ.cjs');
|
|
|
54
55
|
|
|
55
56
|
|
|
56
57
|
|
|
57
|
-
|
|
58
|
+
|
|
59
|
+
exports.CONSOLE_ICONS = _chunkNSUIDUD7cjs.CONSOLE_ICONS; exports.brandIcon = _chunkB2K26H6Kcjs.brandIcon; exports.createLogger = _chunkAZEXAVGLcjs.createLogger; exports.formatLogMessage = _chunkB2K26H6Kcjs.formatLogMessage; exports.formatTimestamp = _chunkBN6MEGGYcjs.formatTimestamp; exports.getChalk = _chunkLOY6ICHZcjs.getChalk; exports.getLogFn = _chunkB2K26H6Kcjs.getLogFn; exports.getLogLevel = _chunk4PX5UVANcjs.getLogLevel; exports.getLogLevelLabel = _chunk4PX5UVANcjs.getLogLevelLabel; exports.getStopwatch = _chunkB2K26H6Kcjs.getStopwatch; exports.isUnicodeSupported = _chunkDTGT4OI3cjs.isUnicodeSupported; exports.isVerbose = _chunk4PX5UVANcjs.isVerbose; exports.writeDebug = _chunkB2K26H6Kcjs.writeDebug; exports.writeError = _chunkB2K26H6Kcjs.writeError; exports.writeFatal = _chunkB2K26H6Kcjs.writeFatal; exports.writeInfo = _chunkB2K26H6Kcjs.writeInfo; exports.writeSuccess = _chunkB2K26H6Kcjs.writeSuccess; exports.writeSystem = _chunkB2K26H6Kcjs.writeSystem; exports.writeTrace = _chunkB2K26H6Kcjs.writeTrace; exports.writeWarning = _chunkB2K26H6Kcjs.writeWarning;
|
package/dist/logger/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { GetChalkReturn, getChalk } from './chalk.cjs';
|
|
2
|
-
export { FormatLogMessageOptions, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writeSuccess, writeSystem, writeTrace, writeWarning } from './console.cjs';
|
|
2
|
+
export { FormatLogMessageOptions, brandIcon, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, 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';
|
package/dist/logger/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { GetChalkReturn, getChalk } from './chalk.js';
|
|
2
|
-
export { FormatLogMessageOptions, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writeSuccess, writeSystem, writeTrace, writeWarning } from './console.js';
|
|
2
|
+
export { FormatLogMessageOptions, brandIcon, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, 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';
|
package/dist/logger/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import "../chunk-RRKB32OH.js";
|
|
2
2
|
import {
|
|
3
3
|
createLogger
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-WWT7VI4S.js";
|
|
5
5
|
import {
|
|
6
|
+
brandIcon,
|
|
6
7
|
formatLogMessage,
|
|
7
8
|
getLogFn,
|
|
8
9
|
getStopwatch,
|
|
@@ -14,7 +15,7 @@ import {
|
|
|
14
15
|
writeSystem,
|
|
15
16
|
writeTrace,
|
|
16
17
|
writeWarning
|
|
17
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-NMO4EWXQ.js";
|
|
18
19
|
import "../chunk-DJB7XLHA.js";
|
|
19
20
|
import {
|
|
20
21
|
getChalk
|
|
@@ -36,6 +37,7 @@ import {
|
|
|
36
37
|
import "../chunk-POXTJ6GF.js";
|
|
37
38
|
export {
|
|
38
39
|
CONSOLE_ICONS,
|
|
40
|
+
brandIcon,
|
|
39
41
|
createLogger,
|
|
40
42
|
formatLogMessage,
|
|
41
43
|
formatTimestamp,
|
package/dist/utilities/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkHZ7A5DOZcjs = require('../chunk-HZ7A5DOZ.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
|
|
18
|
+
var _chunkSVGD3UQJcjs = require('../chunk-SVGD3UQJ.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-
|
|
40
|
-
require('../chunk-
|
|
39
|
+
require('../chunk-AZEXAVGL.cjs');
|
|
40
|
+
require('../chunk-B2K26H6K.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
@@ -106,4 +106,4 @@ require('../chunk-IRCFHYKZ.cjs');
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
|
|
109
|
-
exports.DEFAULT_COLOR_CONFIG = _chunkIKP3QKCZcjs.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 =
|
|
109
|
+
exports.DEFAULT_COLOR_CONFIG = _chunkIKP3QKCZcjs.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 = _chunkHZ7A5DOZcjs.exitWithError; exports.exitWithSuccess = _chunkHZ7A5DOZcjs.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 = _chunkIKP3QKCZcjs.getColor; exports.getColors = _chunkIKP3QKCZcjs.getColors; exports.getGradient = _chunkIKP3QKCZcjs.getGradient; exports.getPackageJsonConfig = _chunkCFXT4ZAWcjs.getPackageJsonConfig; exports.handleProcess = _chunkHZ7A5DOZcjs.handleProcess; exports.isAbsolute = _chunkBDATZ3UBcjs.isAbsolute; exports.joinPaths = _chunkBDATZ3UBcjs.joinPaths; exports.modifyCargoNestedTable = _chunkSVGD3UQJcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkSVGD3UQJcjs.modifyCargoTable; exports.normalizeString = _chunkBDATZ3UBcjs.normalizeString; exports.normalizeWindowsPath = _chunkBDATZ3UBcjs.normalizeWindowsPath; exports.parse = _chunkBDATZ3UBcjs.parse; exports.parseCargoToml = _chunkSVGD3UQJcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkSVGD3UQJcjs.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 = _chunkSVGD3UQJcjs.stringifyCargoToml; exports.toNamespacedPath = _chunkBDATZ3UBcjs.toNamespacedPath;
|
package/dist/utilities/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
exitWithError,
|
|
4
4
|
exitWithSuccess,
|
|
5
5
|
handleProcess
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-YH5L2OER.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-
|
|
18
|
+
} from "../chunk-JJ7HPMFE.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-
|
|
40
|
-
import "../chunk-
|
|
39
|
+
import "../chunk-WWT7VI4S.js";
|
|
40
|
+
import "../chunk-NMO4EWXQ.js";
|
|
41
41
|
import {
|
|
42
42
|
DEFAULT_COLOR_CONFIG,
|
|
43
43
|
getColor,
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
5
|
+
var _chunkHZ7A5DOZcjs = require('../chunk-HZ7A5DOZ.cjs');
|
|
6
|
+
require('../chunk-B2K26H6K.cjs');
|
|
7
7
|
require('../chunk-IKP3QKCZ.cjs');
|
|
8
8
|
require('../chunk-LOY6ICHZ.cjs');
|
|
9
9
|
require('../chunk-NSUIDUD7.cjs');
|
|
@@ -15,4 +15,4 @@ require('../chunk-IRCFHYKZ.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.exitWithError =
|
|
18
|
+
exports.exitWithError = _chunkHZ7A5DOZcjs.exitWithError; exports.exitWithSuccess = _chunkHZ7A5DOZcjs.exitWithSuccess; exports.handleProcess = _chunkHZ7A5DOZcjs.handleProcess;
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
exitWithError,
|
|
3
3
|
exitWithSuccess,
|
|
4
4
|
handleProcess
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-YH5L2OER.js";
|
|
6
|
+
import "../chunk-NMO4EWXQ.js";
|
|
7
7
|
import "../chunk-DJB7XLHA.js";
|
|
8
8
|
import "../chunk-HVVJHTFS.js";
|
|
9
9
|
import "../chunk-AITAR5W5.js";
|
package/dist/utilities/toml.cjs
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkSVGD3UQJcjs = require('../chunk-SVGD3UQJ.cjs');
|
|
8
8
|
require('../chunk-7PV6L7I7.cjs');
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-AZEXAVGL.cjs');
|
|
10
|
+
require('../chunk-B2K26H6K.cjs');
|
|
11
11
|
require('../chunk-IKP3QKCZ.cjs');
|
|
12
12
|
require('../chunk-LOY6ICHZ.cjs');
|
|
13
13
|
require('../chunk-NSUIDUD7.cjs');
|
|
@@ -21,4 +21,4 @@ require('../chunk-IRCFHYKZ.cjs');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
exports.modifyCargoNestedTable =
|
|
24
|
+
exports.modifyCargoNestedTable = _chunkSVGD3UQJcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkSVGD3UQJcjs.modifyCargoTable; exports.parseCargoToml = _chunkSVGD3UQJcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkSVGD3UQJcjs.parseCargoTomlWithTree; exports.stringifyCargoToml = _chunkSVGD3UQJcjs.stringifyCargoToml;
|
package/dist/utilities/toml.js
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
parseCargoToml,
|
|
5
5
|
parseCargoTomlWithTree,
|
|
6
6
|
stringifyCargoToml
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-JJ7HPMFE.js";
|
|
8
8
|
import "../chunk-RRKB32OH.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-WWT7VI4S.js";
|
|
10
|
+
import "../chunk-NMO4EWXQ.js";
|
|
11
11
|
import "../chunk-DJB7XLHA.js";
|
|
12
12
|
import "../chunk-HVVJHTFS.js";
|
|
13
13
|
import "../chunk-AITAR5W5.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.189.0",
|
|
4
4
|
"type": "module",
|
|
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
|
"repository": {
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
],
|
|
212
212
|
"dependencies": {
|
|
213
213
|
"@ltd/j-toml": "1.38.0",
|
|
214
|
-
"@storm-software/config": "^1.135.
|
|
214
|
+
"@storm-software/config": "^1.135.1",
|
|
215
215
|
"c12": "^2.0.4",
|
|
216
216
|
"chalk": "^4.1.2",
|
|
217
217
|
"commander": "^12.1.0",
|
|
@@ -225,5 +225,5 @@
|
|
|
225
225
|
"devDependencies": { "@types/node": "^24.10.4", "tsup": "8.4.0" },
|
|
226
226
|
"publishConfig": { "access": "public" },
|
|
227
227
|
"sideEffects": false,
|
|
228
|
-
"gitHead": "
|
|
228
|
+
"gitHead": "0305bdb839af50999ab4680248db5dd2c4994ef3"
|
|
229
229
|
}
|