@storm-software/config-tools 1.131.1 → 1.131.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/chunk-2ZF6X76E.js +6 -0
- package/dist/{chunk-X6VIYUJR.mjs → chunk-3AK6IXNX.mjs} +1 -1
- package/dist/{chunk-N4BRCEYB.js → chunk-3VYFPF7H.js} +3 -3
- package/dist/{chunk-GIZ23UUE.js → chunk-4VE4FB6M.js} +6 -6
- package/dist/{chunk-7XY63NME.js → chunk-66U3QTIP.js} +4 -4
- package/dist/{chunk-7KVSSDMX.mjs → chunk-767IL55P.mjs} +4 -4
- package/dist/{chunk-PQNCKJAR.js → chunk-7VM5YUOE.js} +23 -23
- package/dist/{chunk-6WPG3DXV.js → chunk-ALILAYWE.js} +2 -2
- package/dist/{chunk-A7VLTBS6.mjs → chunk-AXDORQTF.mjs} +4 -4
- package/dist/{chunk-OXK45X3L.js → chunk-BULJDAQ4.js} +28 -28
- package/dist/{chunk-XLMGW4ZW.mjs → chunk-DBZZGZG5.mjs} +2 -2
- package/dist/{chunk-JDK3PXQR.js → chunk-DOG3ORLU.js} +34 -34
- package/dist/{chunk-PVPSTJNJ.mjs → chunk-DYRNFMWE.mjs} +3 -3
- package/dist/{chunk-UCUOC6LA.mjs → chunk-E6O3JBTJ.mjs} +2 -2
- package/dist/chunk-ELKEXZND.js +6 -0
- package/dist/{chunk-XXHENMLT.mjs → chunk-EX45A45Z.mjs} +1 -1
- package/dist/{chunk-6SJLAEJ3.js → chunk-FGHNPSKG.js} +8 -8
- package/dist/{chunk-RAWSXKTG.mjs → chunk-FT7EFUF5.mjs} +1 -1
- package/dist/{chunk-ZVXEYJQO.js → chunk-HLRE7U2D.js} +14 -14
- package/dist/{chunk-TTCXDK6S.mjs → chunk-JSLNEJKC.mjs} +1 -1
- package/dist/{chunk-LKZSRXS7.js → chunk-KHITV4PO.js} +27 -27
- package/dist/{chunk-VQLOUFMG.mjs → chunk-KOV36WBN.mjs} +1 -1
- package/dist/{chunk-HCF3QA4H.js → chunk-L74BZKCX.js} +26 -26
- package/dist/{chunk-5QZ7AV2J.js → chunk-M6K6ZGYY.js} +4 -4
- package/dist/{chunk-Z2EXWNIQ.mjs → chunk-MSXW2W3H.mjs} +8 -8
- package/dist/chunk-MW5LDGT2.js +70 -0
- package/dist/{chunk-TEKFJAJJ.mjs → chunk-N4RRUDEU.mjs} +3 -3
- package/dist/chunk-N7OWP2ZS.js +6 -0
- package/dist/{chunk-FW22KPOW.mjs → chunk-OBQF7X4I.mjs} +1 -1
- package/dist/{chunk-QUVGIEZZ.mjs → chunk-QDSNLYXV.mjs} +1 -1
- package/dist/{chunk-H6XXDZ7A.js → chunk-QTBTJBPX.js} +4 -4
- package/dist/{chunk-BS5OC5E6.js → chunk-RT3RKXLA.js} +35 -35
- package/dist/{chunk-N32EGEJB.js → chunk-SGYF7ZPE.js} +10 -10
- package/dist/{chunk-GOQAHXJF.mjs → chunk-STXZQNAU.mjs} +1 -1
- package/dist/{chunk-6OYLNZFT.mjs → chunk-TLYSKZX7.mjs} +4 -4
- package/dist/{chunk-XJEQHMOE.js → chunk-UMQNSY3U.js} +2 -2
- package/dist/{chunk-4IYEDNYJ.mjs → chunk-UOKAFMHT.mjs} +1 -1
- package/dist/{chunk-66ACWURQ.mjs → chunk-VNAKH3SN.mjs} +5 -5
- package/dist/{chunk-WRFJFYOU.mjs → chunk-WARKB24U.mjs} +2 -2
- package/dist/{chunk-E3IN3SQD.mjs → chunk-YBZH7UZQ.mjs} +1 -1
- package/dist/{chunk-PEHVR33I.js → chunk-YPXIYQGI.js} +7 -7
- package/dist/chunk-Z77ZGRNE.js +6 -0
- package/dist/{chunk-64RYHF5D.mjs → chunk-ZPHI6276.mjs} +2 -2
- package/dist/{chunk-WXYJGX4C.mjs → chunk-ZZVJSS4K.mjs} +1 -1
- package/dist/config-file/get-config-file.js +17 -17
- package/dist/config-file/get-config-file.mjs +16 -16
- package/dist/config-file/index.js +18 -18
- package/dist/config-file/index.mjs +17 -17
- package/dist/create-storm-config.js +25 -25
- package/dist/create-storm-config.mjs +19 -19
- package/dist/env/get-env.js +7 -7
- package/dist/env/get-env.mjs +6 -6
- package/dist/env/index.js +9 -9
- package/dist/env/index.mjs +8 -8
- package/dist/env/set-env.js +6 -6
- package/dist/env/set-env.mjs +5 -5
- package/dist/index.js +24 -24
- package/dist/index.mjs +22 -22
- package/dist/logger/chalk.js +3 -3
- package/dist/logger/chalk.mjs +2 -2
- package/dist/logger/console.js +11 -11
- package/dist/logger/console.mjs +10 -10
- package/dist/logger/get-log-level.js +4 -4
- package/dist/logger/get-log-level.mjs +3 -3
- package/dist/logger/index.js +12 -12
- package/dist/logger/index.mjs +11 -11
- package/dist/types.js +3 -3
- package/dist/types.mjs +2 -2
- package/dist/utilities/apply-workspace-tokens.js +6 -6
- package/dist/utilities/apply-workspace-tokens.mjs +5 -5
- package/dist/utilities/correct-paths.js +3 -3
- package/dist/utilities/correct-paths.mjs +2 -2
- package/dist/utilities/file-path-utils.js +3 -3
- package/dist/utilities/file-path-utils.mjs +2 -2
- package/dist/utilities/find-up.js +3 -3
- package/dist/utilities/find-up.mjs +2 -2
- package/dist/utilities/find-workspace-root.js +5 -5
- package/dist/utilities/find-workspace-root.mjs +4 -4
- package/dist/utilities/get-default-config.js +7 -7
- package/dist/utilities/get-default-config.mjs +6 -6
- package/dist/utilities/index.js +16 -16
- package/dist/utilities/index.mjs +15 -15
- package/dist/utilities/process-handler.js +12 -12
- package/dist/utilities/process-handler.mjs +11 -11
- package/dist/utilities/run.js +3 -3
- package/dist/utilities/run.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-K6TQN2LZ.js +0 -6
- package/dist/chunk-MGI2M3SX.js +0 -6
- package/dist/chunk-QHVHX67K.js +0 -6
- package/dist/chunk-SJO5XZQA.js +0 -6
- package/dist/chunk-WXOSG64C.js +0 -70
|
@@ -1,12 +1,12 @@
|
|
|
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
|
|
4
|
+
var _chunkUMQNSY3Ujs = require('./chunk-UMQNSY3U.js');
|
|
5
5
|
|
|
6
6
|
// src/utilities/file-path-utils.ts
|
|
7
|
-
|
|
7
|
+
_chunkUMQNSY3Ujs.init_cjs_shims.call(void 0, );
|
|
8
8
|
var _path = require('path');
|
|
9
|
-
var removeExtension = /* @__PURE__ */
|
|
9
|
+
var removeExtension = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (filePath) => {
|
|
10
10
|
const result = !filePath || (filePath.match(/./g) || []).length <= 1 ? "." : filePath.lastIndexOf(".") ? filePath.substring(0, filePath.lastIndexOf(".")) : filePath;
|
|
11
11
|
if (result.startsWith("./")) {
|
|
12
12
|
return result.substring(2);
|
|
@@ -19,7 +19,7 @@ var removeExtension = /* @__PURE__ */ _chunkXJEQHMOEjs.__name.call(void 0, (file
|
|
|
19
19
|
function findFileName(filePath) {
|
|
20
20
|
return _nullishCoalesce(_optionalChain([filePath, 'optionalAccess', _ => _.split, 'call', _2 => _2(_optionalChain([filePath, 'optionalAccess', _3 => _3.includes, 'call', _4 => _4(_path.sep)]) ? _path.sep : _optionalChain([filePath, 'optionalAccess', _5 => _5.includes, 'call', _6 => _6("/")]) ? "/" : "\\"), 'optionalAccess', _7 => _7.pop, 'call', _8 => _8()]), () => ( ""));
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
_chunkUMQNSY3Ujs.__name.call(void 0, findFileName, "findFileName");
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defu,
|
|
3
3
|
getConfigFile
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-767IL55P.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfigEnv,
|
|
7
7
|
getExtensionEnv
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TLYSKZX7.mjs";
|
|
9
9
|
import {
|
|
10
10
|
setConfigEnv
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AXDORQTF.mjs";
|
|
12
12
|
import {
|
|
13
13
|
formatLogMessage,
|
|
14
14
|
writeTrace,
|
|
15
15
|
writeWarning
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VNAKH3SN.mjs";
|
|
17
17
|
import {
|
|
18
18
|
getDefaultConfig
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DYRNFMWE.mjs";
|
|
20
20
|
import {
|
|
21
21
|
findWorkspaceRoot
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-N4RRUDEU.mjs";
|
|
23
23
|
import {
|
|
24
24
|
StormConfigSchema
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FT7EFUF5.mjs";
|
|
26
26
|
import {
|
|
27
27
|
__name,
|
|
28
28
|
init_esm_shims
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-WARKB24U.mjs";
|
|
30
30
|
|
|
31
31
|
// src/create-storm-config.ts
|
|
32
32
|
init_esm_shims();
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkALILAYWEjs = require('./chunk-ALILAYWE.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkUMQNSY3Ujs = require('./chunk-UMQNSY3U.js');
|
|
9
|
+
|
|
10
|
+
// src/logger/get-log-level.ts
|
|
11
|
+
_chunkUMQNSY3Ujs.init_cjs_shims.call(void 0, );
|
|
12
|
+
var getLogLevel = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (label) => {
|
|
13
|
+
switch (label) {
|
|
14
|
+
case "all":
|
|
15
|
+
return _chunkALILAYWEjs.LogLevel.ALL;
|
|
16
|
+
case "trace":
|
|
17
|
+
return _chunkALILAYWEjs.LogLevel.TRACE;
|
|
18
|
+
case "debug":
|
|
19
|
+
return _chunkALILAYWEjs.LogLevel.DEBUG;
|
|
20
|
+
case "info":
|
|
21
|
+
return _chunkALILAYWEjs.LogLevel.INFO;
|
|
22
|
+
case "warn":
|
|
23
|
+
return _chunkALILAYWEjs.LogLevel.WARN;
|
|
24
|
+
case "error":
|
|
25
|
+
return _chunkALILAYWEjs.LogLevel.ERROR;
|
|
26
|
+
case "fatal":
|
|
27
|
+
return _chunkALILAYWEjs.LogLevel.FATAL;
|
|
28
|
+
case "silent":
|
|
29
|
+
return _chunkALILAYWEjs.LogLevel.SILENT;
|
|
30
|
+
default:
|
|
31
|
+
return _chunkALILAYWEjs.LogLevel.INFO;
|
|
32
|
+
}
|
|
33
|
+
}, "getLogLevel");
|
|
34
|
+
var getLogLevelLabel = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (logLevel = _chunkALILAYWEjs.LogLevel.INFO) => {
|
|
35
|
+
if (logLevel >= _chunkALILAYWEjs.LogLevel.ALL) {
|
|
36
|
+
return _chunkALILAYWEjs.LogLevelLabel.ALL;
|
|
37
|
+
}
|
|
38
|
+
if (logLevel >= _chunkALILAYWEjs.LogLevel.TRACE) {
|
|
39
|
+
return _chunkALILAYWEjs.LogLevelLabel.TRACE;
|
|
40
|
+
}
|
|
41
|
+
if (logLevel >= _chunkALILAYWEjs.LogLevel.DEBUG) {
|
|
42
|
+
return _chunkALILAYWEjs.LogLevelLabel.DEBUG;
|
|
43
|
+
}
|
|
44
|
+
if (logLevel >= _chunkALILAYWEjs.LogLevel.INFO) {
|
|
45
|
+
return _chunkALILAYWEjs.LogLevelLabel.INFO;
|
|
46
|
+
}
|
|
47
|
+
if (logLevel >= _chunkALILAYWEjs.LogLevel.WARN) {
|
|
48
|
+
return _chunkALILAYWEjs.LogLevelLabel.WARN;
|
|
49
|
+
}
|
|
50
|
+
if (logLevel >= _chunkALILAYWEjs.LogLevel.ERROR) {
|
|
51
|
+
return _chunkALILAYWEjs.LogLevelLabel.ERROR;
|
|
52
|
+
}
|
|
53
|
+
if (logLevel >= _chunkALILAYWEjs.LogLevel.FATAL) {
|
|
54
|
+
return _chunkALILAYWEjs.LogLevelLabel.FATAL;
|
|
55
|
+
}
|
|
56
|
+
if (logLevel <= _chunkALILAYWEjs.LogLevel.SILENT) {
|
|
57
|
+
return _chunkALILAYWEjs.LogLevelLabel.SILENT;
|
|
58
|
+
}
|
|
59
|
+
return _chunkALILAYWEjs.LogLevelLabel.INFO;
|
|
60
|
+
}, "getLogLevelLabel");
|
|
61
|
+
var isVerbose = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (label = _chunkALILAYWEjs.LogLevelLabel.SILENT) => {
|
|
62
|
+
const logLevel = typeof label === "string" ? getLogLevel(label) : label;
|
|
63
|
+
return logLevel <= _chunkALILAYWEjs.LogLevel.DEBUG;
|
|
64
|
+
}, "isVerbose");
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
exports.getLogLevel = getLogLevel; exports.getLogLevelLabel = getLogLevelLabel; exports.isVerbose = isVerbose;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findFolderUp
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JSLNEJKC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
correctPaths
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-STXZQNAU.mjs";
|
|
7
7
|
import {
|
|
8
8
|
__name,
|
|
9
9
|
init_esm_shims
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WARKB24U.mjs";
|
|
11
11
|
|
|
12
12
|
// src/utilities/find-workspace-root.ts
|
|
13
13
|
init_esm_shims();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkUMQNSY3Ujs = require('./chunk-UMQNSY3U.js');
|
|
5
5
|
|
|
6
6
|
// src/utilities/correct-paths.ts
|
|
7
|
-
|
|
7
|
+
_chunkUMQNSY3Ujs.init_cjs_shims.call(void 0, );
|
|
8
8
|
var _devkit = require('@nx/devkit');
|
|
9
|
-
var correctPaths = /* @__PURE__ */
|
|
9
|
+
var correctPaths = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (path) => {
|
|
10
10
|
if (!path) {
|
|
11
11
|
return "";
|
|
12
12
|
}
|
|
@@ -15,7 +15,7 @@ var correctPaths = /* @__PURE__ */ _chunkXJEQHMOEjs.__name.call(void 0, (path) =
|
|
|
15
15
|
}
|
|
16
16
|
return path.replaceAll("\\", "/");
|
|
17
17
|
}, "correctPaths");
|
|
18
|
-
var joinPaths = /* @__PURE__ */
|
|
18
|
+
var joinPaths = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (...paths) => {
|
|
19
19
|
if (!paths || paths.length === 0) {
|
|
20
20
|
return "";
|
|
21
21
|
}
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkUMQNSY3Ujs = require('./chunk-UMQNSY3U.js');
|
|
8
8
|
|
|
9
9
|
// ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js
|
|
10
|
-
var require_util =
|
|
10
|
+
var require_util = _chunkUMQNSY3Ujs.__commonJS.call(void 0, {
|
|
11
11
|
"../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js"(exports, module) {
|
|
12
12
|
"use strict";
|
|
13
|
-
|
|
14
|
-
var stringReplaceAll = /* @__PURE__ */
|
|
13
|
+
_chunkUMQNSY3Ujs.init_cjs_shims.call(void 0, );
|
|
14
|
+
var stringReplaceAll = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (string, substring, replacer) => {
|
|
15
15
|
let index = string.indexOf(substring);
|
|
16
16
|
if (index === -1) {
|
|
17
17
|
return string;
|
|
@@ -27,7 +27,7 @@ var require_util = _chunkXJEQHMOEjs.__commonJS.call(void 0, {
|
|
|
27
27
|
returnValue += string.substr(endIndex);
|
|
28
28
|
return returnValue;
|
|
29
29
|
}, "stringReplaceAll");
|
|
30
|
-
var stringEncaseCRLFWithFirstIndex = /* @__PURE__ */
|
|
30
|
+
var stringEncaseCRLFWithFirstIndex = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (string, prefix, postfix, index) => {
|
|
31
31
|
let endIndex = 0;
|
|
32
32
|
let returnValue = "";
|
|
33
33
|
do {
|
|
@@ -47,10 +47,10 @@ var require_util = _chunkXJEQHMOEjs.__commonJS.call(void 0, {
|
|
|
47
47
|
});
|
|
48
48
|
|
|
49
49
|
// ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js
|
|
50
|
-
var require_templates =
|
|
50
|
+
var require_templates = _chunkUMQNSY3Ujs.__commonJS.call(void 0, {
|
|
51
51
|
"../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js"(exports, module) {
|
|
52
52
|
"use strict";
|
|
53
|
-
|
|
53
|
+
_chunkUMQNSY3Ujs.init_cjs_shims.call(void 0, );
|
|
54
54
|
var TEMPLATE_REGEX = /(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;
|
|
55
55
|
var STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
|
|
56
56
|
var STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
|
|
@@ -108,7 +108,7 @@ var require_templates = _chunkXJEQHMOEjs.__commonJS.call(void 0, {
|
|
|
108
108
|
}
|
|
109
109
|
return ESCAPES.get(c) || c;
|
|
110
110
|
}
|
|
111
|
-
|
|
111
|
+
_chunkUMQNSY3Ujs.__name.call(void 0, unescape, "unescape");
|
|
112
112
|
function parseArguments(name, arguments_) {
|
|
113
113
|
const results = [];
|
|
114
114
|
const chunks = arguments_.trim().split(/\s*,\s*/g);
|
|
@@ -125,7 +125,7 @@ var require_templates = _chunkXJEQHMOEjs.__commonJS.call(void 0, {
|
|
|
125
125
|
}
|
|
126
126
|
return results;
|
|
127
127
|
}
|
|
128
|
-
|
|
128
|
+
_chunkUMQNSY3Ujs.__name.call(void 0, parseArguments, "parseArguments");
|
|
129
129
|
function parseStyle(style) {
|
|
130
130
|
STYLE_REGEX.lastIndex = 0;
|
|
131
131
|
const results = [];
|
|
@@ -145,7 +145,7 @@ var require_templates = _chunkXJEQHMOEjs.__commonJS.call(void 0, {
|
|
|
145
145
|
}
|
|
146
146
|
return results;
|
|
147
147
|
}
|
|
148
|
-
|
|
148
|
+
_chunkUMQNSY3Ujs.__name.call(void 0, parseStyle, "parseStyle");
|
|
149
149
|
function buildStyle(chalk2, styles) {
|
|
150
150
|
const enabled = {};
|
|
151
151
|
for (const layer of styles) {
|
|
@@ -165,7 +165,7 @@ var require_templates = _chunkXJEQHMOEjs.__commonJS.call(void 0, {
|
|
|
165
165
|
}
|
|
166
166
|
return current;
|
|
167
167
|
}
|
|
168
|
-
|
|
168
|
+
_chunkUMQNSY3Ujs.__name.call(void 0, buildStyle, "buildStyle");
|
|
169
169
|
module.exports = (chalk2, temporary) => {
|
|
170
170
|
const styles = [];
|
|
171
171
|
const chunks = [];
|
|
@@ -203,12 +203,12 @@ var require_templates = _chunkXJEQHMOEjs.__commonJS.call(void 0, {
|
|
|
203
203
|
});
|
|
204
204
|
|
|
205
205
|
// ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js
|
|
206
|
-
var require_source =
|
|
206
|
+
var require_source = _chunkUMQNSY3Ujs.__commonJS.call(void 0, {
|
|
207
207
|
"../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js"(exports, module) {
|
|
208
208
|
"use strict";
|
|
209
|
-
|
|
210
|
-
var ansiStyles =
|
|
211
|
-
var { stdout: stdoutColor, stderr: stderrColor } =
|
|
209
|
+
_chunkUMQNSY3Ujs.init_cjs_shims.call(void 0, );
|
|
210
|
+
var ansiStyles = _chunkUMQNSY3Ujs.__require.call(void 0, "ansi-styles");
|
|
211
|
+
var { stdout: stdoutColor, stderr: stderrColor } = _chunkUMQNSY3Ujs.__require.call(void 0, "supports-color");
|
|
212
212
|
var { stringReplaceAll, stringEncaseCRLFWithFirstIndex } = require_util();
|
|
213
213
|
var { isArray } = Array;
|
|
214
214
|
var levelMapping = [
|
|
@@ -218,7 +218,7 @@ var require_source = _chunkXJEQHMOEjs.__commonJS.call(void 0, {
|
|
|
218
218
|
"ansi16m"
|
|
219
219
|
];
|
|
220
220
|
var styles = /* @__PURE__ */ Object.create(null);
|
|
221
|
-
var applyOptions = /* @__PURE__ */
|
|
221
|
+
var applyOptions = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (object, options = {}) => {
|
|
222
222
|
if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
|
|
223
223
|
throw new Error("The `level` option should be an integer from 0 to 3");
|
|
224
224
|
}
|
|
@@ -227,13 +227,13 @@ var require_source = _chunkXJEQHMOEjs.__commonJS.call(void 0, {
|
|
|
227
227
|
}, "applyOptions");
|
|
228
228
|
var ChalkClass = class ChalkClass {
|
|
229
229
|
static {
|
|
230
|
-
|
|
230
|
+
_chunkUMQNSY3Ujs.__name.call(void 0, this, "ChalkClass");
|
|
231
231
|
}
|
|
232
232
|
constructor(options) {
|
|
233
233
|
return chalkFactory(options);
|
|
234
234
|
}
|
|
235
235
|
};
|
|
236
|
-
var chalkFactory = /* @__PURE__ */
|
|
236
|
+
var chalkFactory = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (options) => {
|
|
237
237
|
const chalk3 = {};
|
|
238
238
|
applyOptions(chalk3, options);
|
|
239
239
|
chalk3.template = (...arguments_) => chalkTag(chalk3.template, ...arguments_);
|
|
@@ -248,7 +248,7 @@ var require_source = _chunkXJEQHMOEjs.__commonJS.call(void 0, {
|
|
|
248
248
|
function Chalk(options) {
|
|
249
249
|
return chalkFactory(options);
|
|
250
250
|
}
|
|
251
|
-
|
|
251
|
+
_chunkUMQNSY3Ujs.__name.call(void 0, Chalk, "Chalk");
|
|
252
252
|
for (const [styleName, style] of Object.entries(ansiStyles)) {
|
|
253
253
|
styles[styleName] = {
|
|
254
254
|
get() {
|
|
@@ -315,7 +315,7 @@ var require_source = _chunkXJEQHMOEjs.__commonJS.call(void 0, {
|
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
});
|
|
318
|
-
var createStyler = /* @__PURE__ */
|
|
318
|
+
var createStyler = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (open, close, parent) => {
|
|
319
319
|
let openAll;
|
|
320
320
|
let closeAll;
|
|
321
321
|
if (parent === void 0) {
|
|
@@ -333,8 +333,8 @@ var require_source = _chunkXJEQHMOEjs.__commonJS.call(void 0, {
|
|
|
333
333
|
parent
|
|
334
334
|
};
|
|
335
335
|
}, "createStyler");
|
|
336
|
-
var createBuilder = /* @__PURE__ */
|
|
337
|
-
const builder = /* @__PURE__ */
|
|
336
|
+
var createBuilder = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (self, _styler, _isEmpty) => {
|
|
337
|
+
const builder = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (...arguments_) => {
|
|
338
338
|
if (isArray(arguments_[0]) && isArray(arguments_[0].raw)) {
|
|
339
339
|
return applyStyle(builder, chalkTag(builder, ...arguments_));
|
|
340
340
|
}
|
|
@@ -346,7 +346,7 @@ var require_source = _chunkXJEQHMOEjs.__commonJS.call(void 0, {
|
|
|
346
346
|
builder._isEmpty = _isEmpty;
|
|
347
347
|
return builder;
|
|
348
348
|
}, "createBuilder");
|
|
349
|
-
var applyStyle = /* @__PURE__ */
|
|
349
|
+
var applyStyle = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (self, string) => {
|
|
350
350
|
if (self.level <= 0 || !string) {
|
|
351
351
|
return self._isEmpty ? "" : string;
|
|
352
352
|
}
|
|
@@ -368,7 +368,7 @@ var require_source = _chunkXJEQHMOEjs.__commonJS.call(void 0, {
|
|
|
368
368
|
return openAll + string + closeAll;
|
|
369
369
|
}, "applyStyle");
|
|
370
370
|
var template;
|
|
371
|
-
var chalkTag = /* @__PURE__ */
|
|
371
|
+
var chalkTag = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (chalk3, ...strings) => {
|
|
372
372
|
const [firstString] = strings;
|
|
373
373
|
if (!isArray(firstString) || !isArray(firstString.raw)) {
|
|
374
374
|
return strings.join(" ");
|
|
@@ -397,23 +397,23 @@ var require_source = _chunkXJEQHMOEjs.__commonJS.call(void 0, {
|
|
|
397
397
|
});
|
|
398
398
|
|
|
399
399
|
// src/logger/chalk.ts
|
|
400
|
-
|
|
401
|
-
var import_chalk =
|
|
400
|
+
_chunkUMQNSY3Ujs.init_cjs_shims.call(void 0, );
|
|
401
|
+
var import_chalk = _chunkUMQNSY3Ujs.__toESM.call(void 0, require_source());
|
|
402
402
|
var chalkDefault = {
|
|
403
|
-
hex: /* @__PURE__ */
|
|
404
|
-
bgHex: /* @__PURE__ */
|
|
405
|
-
whiteBright: /* @__PURE__ */
|
|
403
|
+
hex: /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (_) => (message) => message, "hex"),
|
|
404
|
+
bgHex: /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (_) => ({
|
|
405
|
+
whiteBright: /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (message) => message, "whiteBright")
|
|
406
406
|
}), "bgHex"),
|
|
407
|
-
whiteBright: /* @__PURE__ */
|
|
407
|
+
whiteBright: /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (message) => message, "whiteBright"),
|
|
408
408
|
bold: {
|
|
409
|
-
hex: /* @__PURE__ */
|
|
410
|
-
bgHex: /* @__PURE__ */
|
|
411
|
-
whiteBright: /* @__PURE__ */
|
|
409
|
+
hex: /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (_) => (message) => message, "hex"),
|
|
410
|
+
bgHex: /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (_) => ({
|
|
411
|
+
whiteBright: /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (message) => message, "whiteBright")
|
|
412
412
|
}), "bgHex"),
|
|
413
|
-
whiteBright: /* @__PURE__ */
|
|
413
|
+
whiteBright: /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (message) => message, "whiteBright")
|
|
414
414
|
}
|
|
415
415
|
};
|
|
416
|
-
var getChalk = /* @__PURE__ */
|
|
416
|
+
var getChalk = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, () => {
|
|
417
417
|
let _chalk = import_chalk.default;
|
|
418
418
|
if (!_optionalChain([_chalk, 'optionalAccess', _2 => _2.hex]) || !_optionalChain([_chalk, 'optionalAccess', _3 => _3.bold, 'optionalAccess', _4 => _4.hex]) || !_optionalChain([_chalk, 'optionalAccess', _5 => _5.bgHex]) || !_optionalChain([_chalk, 'optionalAccess', _6 => _6.whiteBright])) {
|
|
419
419
|
_chalk = chalkDefault;
|
|
@@ -1,17 +1,17 @@
|
|
|
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 _chunkFGHNPSKGjs = require('./chunk-FGHNPSKG.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk4VE4FB6Mjs = require('./chunk-4VE4FB6M.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkUMQNSY3Ujs = require('./chunk-UMQNSY3U.js');
|
|
12
12
|
|
|
13
13
|
// src/utilities/get-default-config.ts
|
|
14
|
-
|
|
14
|
+
_chunkUMQNSY3Ujs.init_cjs_shims.call(void 0, );
|
|
15
15
|
var _fs = require('fs');
|
|
16
16
|
var _path = require('path');
|
|
17
17
|
var DEFAULT_COLOR_CONFIG = {
|
|
@@ -42,13 +42,13 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
42
42
|
"negative": "#dc2626"
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
|
-
var getDefaultConfig = /* @__PURE__ */
|
|
46
|
-
let license =
|
|
47
|
-
let homepage =
|
|
45
|
+
var getDefaultConfig = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (root) => {
|
|
46
|
+
let license = _chunk4VE4FB6Mjs.STORM_DEFAULT_LICENSE;
|
|
47
|
+
let homepage = _chunk4VE4FB6Mjs.STORM_DEFAULT_HOMEPAGE;
|
|
48
48
|
let name;
|
|
49
49
|
let namespace;
|
|
50
50
|
let repository;
|
|
51
|
-
const workspaceRoot =
|
|
51
|
+
const workspaceRoot = _chunkFGHNPSKGjs.findWorkspaceRoot.call(void 0, root);
|
|
52
52
|
if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot, "package.json"))) {
|
|
53
53
|
const file = _fs.readFileSync.call(void 0, _path.join.call(void 0, workspaceRoot, "package.json"), {
|
|
54
54
|
encoding: "utf8"
|
|
@@ -79,8 +79,8 @@ var getDefaultConfig = /* @__PURE__ */ _chunkXJEQHMOEjs.__name.call(void 0, (roo
|
|
|
79
79
|
repository,
|
|
80
80
|
license,
|
|
81
81
|
homepage,
|
|
82
|
-
docs: `${homepage ||
|
|
83
|
-
licensing: `${homepage ||
|
|
82
|
+
docs: `${homepage || _chunk4VE4FB6Mjs.STORM_DEFAULT_HOMEPAGE}/docs`,
|
|
83
|
+
licensing: `${homepage || _chunk4VE4FB6Mjs.STORM_DEFAULT_HOMEPAGE}/license`
|
|
84
84
|
};
|
|
85
85
|
}, "getDefaultConfig");
|
|
86
86
|
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
STORM_DEFAULT_DOCS,
|
|
4
4
|
STORM_DEFAULT_HOMEPAGE,
|
|
5
5
|
STORM_DEFAULT_LICENSING
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FT7EFUF5.mjs";
|
|
7
7
|
import {
|
|
8
8
|
getLogLevelLabel
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E6O3JBTJ.mjs";
|
|
10
10
|
import {
|
|
11
11
|
correctPaths
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-STXZQNAU.mjs";
|
|
13
13
|
import {
|
|
14
14
|
__name,
|
|
15
15
|
init_esm_shims
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WARKB24U.mjs";
|
|
17
17
|
|
|
18
18
|
// src/env/get-env.ts
|
|
19
19
|
init_esm_shims();
|
|
@@ -34,9 +34,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
34
34
|
mod
|
|
35
35
|
));
|
|
36
36
|
|
|
37
|
-
// ../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.1_@types+node@22.10.5__@swc+core@1.7.26_@swc+
|
|
37
|
+
// ../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.1_@types+node@22.10.5__@swc+core@1.7.26_@swc+helpers_ygwpc3jxrer2ex7opbxklnvwxm/node_modules/tsup/assets/cjs_shims.js
|
|
38
38
|
var init_cjs_shims = __esm({
|
|
39
|
-
"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.1_@types+node@22.10.5__@swc+core@1.7.26_@swc+
|
|
39
|
+
"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.1_@types+node@22.10.5__@swc+core@1.7.26_@swc+helpers_ygwpc3jxrer2ex7opbxklnvwxm/node_modules/tsup/assets/cjs_shims.js"() {
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_COLOR_CONFIG
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DYRNFMWE.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getLogLevel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-E6O3JBTJ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
LogLevel,
|
|
9
9
|
LogLevelLabel
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KOV36WBN.mjs";
|
|
11
11
|
import {
|
|
12
12
|
getChalk
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UOKAFMHT.mjs";
|
|
14
14
|
import {
|
|
15
15
|
__name,
|
|
16
16
|
init_esm_shims
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WARKB24U.mjs";
|
|
18
18
|
|
|
19
19
|
// src/logger/console.ts
|
|
20
20
|
init_esm_shims();
|
|
@@ -34,11 +34,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
34
34
|
mod
|
|
35
35
|
));
|
|
36
36
|
|
|
37
|
-
// ../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.1_@types+node@22.10.5__@swc+core@1.7.26_@swc+
|
|
37
|
+
// ../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.1_@types+node@22.10.5__@swc+core@1.7.26_@swc+helpers_ygwpc3jxrer2ex7opbxklnvwxm/node_modules/tsup/assets/esm_shims.js
|
|
38
38
|
import { fileURLToPath } from "url";
|
|
39
39
|
import path from "path";
|
|
40
40
|
var init_esm_shims = __esm({
|
|
41
|
-
"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.1_@types+node@22.10.5__@swc+core@1.7.26_@swc+
|
|
41
|
+
"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.1_@types+node@22.10.5__@swc+core@1.7.26_@swc+helpers_ygwpc3jxrer2ex7opbxklnvwxm/node_modules/tsup/assets/esm_shims.js"() {
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
|
|
@@ -1,14 +1,14 @@
|
|
|
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
|
-
var
|
|
3
|
+
var _chunkFGHNPSKGjs = require('./chunk-FGHNPSKG.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkUMQNSY3Ujs = require('./chunk-UMQNSY3U.js');
|
|
8
8
|
|
|
9
9
|
// src/utilities/apply-workspace-tokens.ts
|
|
10
|
-
|
|
11
|
-
var applyWorkspaceBaseTokens = /* @__PURE__ */
|
|
10
|
+
_chunkUMQNSY3Ujs.init_cjs_shims.call(void 0, );
|
|
11
|
+
var applyWorkspaceBaseTokens = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, async (option, tokenizerOptions) => {
|
|
12
12
|
let result = option;
|
|
13
13
|
if (!result) {
|
|
14
14
|
return result;
|
|
@@ -34,14 +34,14 @@ var applyWorkspaceBaseTokens = /* @__PURE__ */ _chunkXJEQHMOEjs.__name.call(void
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
if (result.includes("{workspaceRoot}")) {
|
|
37
|
-
result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(_nullishCoalesce(tokenizerOptions.workspaceRoot, () => ( _optionalChain([tokenizerOptions, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => (
|
|
37
|
+
result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(_nullishCoalesce(tokenizerOptions.workspaceRoot, () => ( _optionalChain([tokenizerOptions, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => ( _chunkFGHNPSKGjs.findWorkspaceRoot.call(void 0, ))));
|
|
38
38
|
}
|
|
39
39
|
return result;
|
|
40
40
|
}, "applyWorkspaceBaseTokens");
|
|
41
|
-
var applyWorkspaceProjectTokens = /* @__PURE__ */
|
|
41
|
+
var applyWorkspaceProjectTokens = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, (option, tokenizerOptions) => {
|
|
42
42
|
return applyWorkspaceBaseTokens(option, tokenizerOptions);
|
|
43
43
|
}, "applyWorkspaceProjectTokens");
|
|
44
|
-
var applyWorkspaceTokens = /* @__PURE__ */
|
|
44
|
+
var applyWorkspaceTokens = /* @__PURE__ */ _chunkUMQNSY3Ujs.__name.call(void 0, async (options, config, tokenizerFn) => {
|
|
45
45
|
if (!options) {
|
|
46
46
|
return {};
|
|
47
47
|
}
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
writeFatal,
|
|
4
4
|
writeSuccess,
|
|
5
5
|
writeTrace
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VNAKH3SN.mjs";
|
|
7
7
|
import {
|
|
8
8
|
__name,
|
|
9
9
|
init_esm_shims
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WARKB24U.mjs";
|
|
11
11
|
|
|
12
12
|
// src/utilities/process-handler.ts
|
|
13
13
|
init_esm_shims();
|