@storm-software/config-tools 1.137.0 → 1.137.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-2CB5TTMS.mjs +51 -0
- package/dist/{chunk-UJDQ4JJ2.mjs → chunk-2VOSOR3T.mjs} +3 -3
- package/dist/{chunk-IXG2QO76.mjs → chunk-4NFOBMSM.mjs} +1 -1
- package/dist/{chunk-4JZSUGPE.js → chunk-7IQFOM5E.js} +12 -12
- package/dist/chunk-C4XTMKFS.js +51 -0
- package/dist/{chunk-BKXOCTTA.mjs → chunk-CALEYND5.mjs} +1 -1
- package/dist/{chunk-V2UDLRHO.js → chunk-IUNS4YZO.js} +3 -3
- package/dist/{chunk-LL5L564L.mjs → chunk-J3YI5D2E.mjs} +2 -3
- package/dist/{chunk-444WTFCK.js → chunk-LAHKY3SQ.js} +18 -18
- package/dist/{chunk-JBD6MOCX.mjs → chunk-NJBMJX5P.mjs} +3 -3
- package/dist/{chunk-B5LYXPCJ.js → chunk-NTEE4J2K.js} +2 -2
- package/dist/{chunk-AVHETSFN.js → chunk-NZRYCDJ5.js} +1 -1
- package/dist/{chunk-BP57EQU7.mjs → chunk-P4J2TNZ7.mjs} +1 -1
- package/dist/{chunk-E3KP6D4W.mjs → chunk-PDBEDRIM.mjs} +3 -3
- package/dist/{chunk-WCZGQC7L.mjs → chunk-RN6XO6AG.mjs} +1 -1
- package/dist/{chunk-LGIWVSRE.js → chunk-SZUBX3MF.js} +2 -2
- package/dist/{chunk-GRGCVKMG.mjs → chunk-TELFFQLC.mjs} +6 -6
- package/dist/{chunk-2HT4ORYA.js → chunk-TPPODXVQ.js} +9 -9
- package/dist/{chunk-VRFMKUF5.js → chunk-UFIZSM4F.js} +10 -10
- package/dist/{chunk-3WTN23SK.js → chunk-UMKNQWMO.js} +3 -4
- package/dist/{chunk-43PFM5U5.js → chunk-USQ3J2G6.js} +9 -9
- package/dist/{chunk-RGQF4WBS.mjs → chunk-YZQZ4M2I.mjs} +1 -1
- package/dist/config-file/get-config-file.js +10 -10
- package/dist/config-file/get-config-file.mjs +9 -9
- package/dist/config-file/index.js +10 -10
- package/dist/config-file/index.mjs +9 -9
- package/dist/create-storm-config.js +13 -13
- package/dist/create-storm-config.mjs +12 -12
- package/dist/env/get-env.js +3 -3
- package/dist/env/get-env.mjs +2 -2
- package/dist/env/index.js +4 -4
- package/dist/env/index.mjs +3 -3
- package/dist/env/set-env.js +3 -3
- package/dist/env/set-env.mjs +2 -2
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +24 -20
- package/dist/index.mjs +31 -27
- package/dist/logger/console.d.mts +2 -1
- package/dist/logger/console.d.ts +2 -1
- package/dist/logger/console.js +6 -6
- package/dist/logger/console.mjs +5 -5
- package/dist/logger/create-logger.d.mts +7 -0
- package/dist/logger/create-logger.d.ts +7 -0
- package/dist/logger/create-logger.js +19 -0
- package/dist/logger/create-logger.mjs +19 -0
- package/dist/logger/index.d.mts +1 -0
- package/dist/logger/index.d.ts +1 -0
- package/dist/logger/index.js +11 -7
- package/dist/logger/index.mjs +10 -6
- package/dist/types.d.mts +11 -1
- package/dist/types.d.ts +11 -1
- package/dist/utilities/apply-workspace-tokens.js +4 -4
- package/dist/utilities/apply-workspace-tokens.mjs +3 -3
- package/dist/utilities/correct-paths.js +2 -2
- package/dist/utilities/correct-paths.mjs +1 -1
- package/dist/utilities/find-workspace-root.js +3 -3
- package/dist/utilities/find-workspace-root.mjs +2 -2
- package/dist/utilities/get-default-config.js +4 -4
- package/dist/utilities/get-default-config.mjs +3 -3
- package/dist/utilities/index.js +14 -14
- package/dist/utilities/index.mjs +20 -20
- package/dist/utilities/process-handler.js +7 -7
- package/dist/utilities/process-handler.mjs +6 -6
- package/package.json +1 -1
- /package/dist/{chunk-WAL7JRLU.js → chunk-4GHDOSDL.js} +0 -0
- /package/dist/{chunk-QJ35PYO3.mjs → chunk-L5GOANHL.mjs} +0 -0
- /package/dist/{prettier-DDE3QA5F.mjs → prettier-A4TSHMHI.mjs} +0 -0
- /package/dist/{prettier-V6MPEGHT.js → prettier-RSMQU2HG.js} +0 -0
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getLogFn,
|
|
3
|
+
getStopwatch
|
|
4
|
+
} from "./chunk-J3YI5D2E.mjs";
|
|
5
|
+
import {
|
|
6
|
+
findWorkspaceRoot
|
|
7
|
+
} from "./chunk-CALEYND5.mjs";
|
|
8
|
+
import {
|
|
9
|
+
LogLevel
|
|
10
|
+
} from "./chunk-EMP3EUPT.mjs";
|
|
11
|
+
import {
|
|
12
|
+
__name,
|
|
13
|
+
init_esm_shims
|
|
14
|
+
} from "./chunk-RZYA76H7.mjs";
|
|
15
|
+
|
|
16
|
+
// src/logger/create-logger.ts
|
|
17
|
+
init_esm_shims();
|
|
18
|
+
import { createJiti } from "jiti";
|
|
19
|
+
async function createLogger(config) {
|
|
20
|
+
const workspaceRoot = findWorkspaceRoot();
|
|
21
|
+
if (!workspaceRoot) {
|
|
22
|
+
throw new Error("Cannot find workspace root");
|
|
23
|
+
}
|
|
24
|
+
const jiti = createJiti(config?.workspaceRoot || workspaceRoot, {
|
|
25
|
+
fsCache: "node_modules/.cache/storm/jiti",
|
|
26
|
+
interopDefault: true
|
|
27
|
+
});
|
|
28
|
+
const chalk = await jiti.import("chalk");
|
|
29
|
+
const writeFatal = getLogFn(LogLevel.FATAL, config, chalk);
|
|
30
|
+
const writeError = getLogFn(LogLevel.ERROR, config, chalk);
|
|
31
|
+
const writeWarning = getLogFn(LogLevel.WARN, config, chalk);
|
|
32
|
+
const writeInfo = getLogFn(LogLevel.INFO, config, chalk);
|
|
33
|
+
const writeSuccess = getLogFn(LogLevel.SUCCESS, config, chalk);
|
|
34
|
+
const writeDebug = getLogFn(LogLevel.DEBUG, config, chalk);
|
|
35
|
+
const writeTrace = getLogFn(LogLevel.DEBUG, config, chalk);
|
|
36
|
+
return {
|
|
37
|
+
fatal: writeFatal,
|
|
38
|
+
error: writeError,
|
|
39
|
+
warning: writeWarning,
|
|
40
|
+
info: writeInfo,
|
|
41
|
+
success: writeSuccess,
|
|
42
|
+
debug: writeDebug,
|
|
43
|
+
trace: writeTrace,
|
|
44
|
+
getStopwatch
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
__name(createLogger, "createLogger");
|
|
48
|
+
|
|
49
|
+
export {
|
|
50
|
+
createLogger
|
|
51
|
+
};
|
|
@@ -2619,7 +2619,7 @@ var require_prettier = __commonJS({
|
|
|
2619
2619
|
module2.exports = "3.4.2";
|
|
2620
2620
|
}
|
|
2621
2621
|
});
|
|
2622
|
-
var prettierPromise = import("./prettier-
|
|
2622
|
+
var prettierPromise = import("./prettier-A4TSHMHI.mjs");
|
|
2623
2623
|
var functionNames = [
|
|
2624
2624
|
"formatWithCursor",
|
|
2625
2625
|
"format",
|
|
@@ -1,9 +1,9 @@
|
|
|
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 _chunkNZRYCDJ5js = require('./chunk-NZRYCDJ5.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkHDZVYW2Pjs = require('./chunk-HDZVYW2P.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkX3LZL2FAjs = require('./chunk-X3LZL2FA.js');
|
|
@@ -81,31 +81,31 @@ var setConfigEnv = /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, (config)
|
|
|
81
81
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
82
82
|
}
|
|
83
83
|
if (config.configFile) {
|
|
84
|
-
process.env[`${prefix}CONFIG_FILE`] =
|
|
84
|
+
process.env[`${prefix}CONFIG_FILE`] = _chunkNZRYCDJ5js.correctPaths.call(void 0, config.configFile);
|
|
85
85
|
}
|
|
86
86
|
if (config.workspaceRoot) {
|
|
87
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
88
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
89
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
87
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunkNZRYCDJ5js.correctPaths.call(void 0, config.workspaceRoot);
|
|
88
|
+
process.env.NX_WORKSPACE_ROOT = _chunkNZRYCDJ5js.correctPaths.call(void 0, config.workspaceRoot);
|
|
89
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkNZRYCDJ5js.correctPaths.call(void 0, config.workspaceRoot);
|
|
90
90
|
}
|
|
91
91
|
if (config.directories) {
|
|
92
92
|
if (!config.skipCache && config.directories.cache) {
|
|
93
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
93
|
+
process.env[`${prefix}CACHE_DIR`] = _chunkNZRYCDJ5js.correctPaths.call(void 0, config.directories.cache);
|
|
94
94
|
}
|
|
95
95
|
if (config.directories.data) {
|
|
96
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
96
|
+
process.env[`${prefix}DATA_DIR`] = _chunkNZRYCDJ5js.correctPaths.call(void 0, config.directories.data);
|
|
97
97
|
}
|
|
98
98
|
if (config.directories.config) {
|
|
99
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
99
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunkNZRYCDJ5js.correctPaths.call(void 0, config.directories.config);
|
|
100
100
|
}
|
|
101
101
|
if (config.directories.temp) {
|
|
102
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
102
|
+
process.env[`${prefix}TEMP_DIR`] = _chunkNZRYCDJ5js.correctPaths.call(void 0, config.directories.temp);
|
|
103
103
|
}
|
|
104
104
|
if (config.directories.log) {
|
|
105
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
105
|
+
process.env[`${prefix}LOG_DIR`] = _chunkNZRYCDJ5js.correctPaths.call(void 0, config.directories.log);
|
|
106
106
|
}
|
|
107
107
|
if (config.directories.build) {
|
|
108
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
108
|
+
process.env[`${prefix}BUILD_DIR`] = _chunkNZRYCDJ5js.correctPaths.call(void 0, config.directories.build);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
if (config.skipCache !== void 0) {
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkUMKNQWMOjs = require('./chunk-UMKNQWMO.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkIUNS4YZOjs = require('./chunk-IUNS4YZO.js');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkX3LZL2FAjs = require('./chunk-X3LZL2FA.js');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
var _chunk5YOGYZEGjs = require('./chunk-5YOGYZEG.js');
|
|
15
|
+
|
|
16
|
+
// src/logger/create-logger.ts
|
|
17
|
+
_chunk5YOGYZEGjs.init_cjs_shims.call(void 0, );
|
|
18
|
+
var _jiti = require('jiti');
|
|
19
|
+
async function createLogger(config) {
|
|
20
|
+
const workspaceRoot = _chunkIUNS4YZOjs.findWorkspaceRoot.call(void 0, );
|
|
21
|
+
if (!workspaceRoot) {
|
|
22
|
+
throw new Error("Cannot find workspace root");
|
|
23
|
+
}
|
|
24
|
+
const jiti = _jiti.createJiti.call(void 0, _optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]) || workspaceRoot, {
|
|
25
|
+
fsCache: "node_modules/.cache/storm/jiti",
|
|
26
|
+
interopDefault: true
|
|
27
|
+
});
|
|
28
|
+
const chalk = await jiti.import("chalk");
|
|
29
|
+
const writeFatal = _chunkUMKNQWMOjs.getLogFn.call(void 0, _chunkX3LZL2FAjs.LogLevel.FATAL, config, chalk);
|
|
30
|
+
const writeError = _chunkUMKNQWMOjs.getLogFn.call(void 0, _chunkX3LZL2FAjs.LogLevel.ERROR, config, chalk);
|
|
31
|
+
const writeWarning = _chunkUMKNQWMOjs.getLogFn.call(void 0, _chunkX3LZL2FAjs.LogLevel.WARN, config, chalk);
|
|
32
|
+
const writeInfo = _chunkUMKNQWMOjs.getLogFn.call(void 0, _chunkX3LZL2FAjs.LogLevel.INFO, config, chalk);
|
|
33
|
+
const writeSuccess = _chunkUMKNQWMOjs.getLogFn.call(void 0, _chunkX3LZL2FAjs.LogLevel.SUCCESS, config, chalk);
|
|
34
|
+
const writeDebug = _chunkUMKNQWMOjs.getLogFn.call(void 0, _chunkX3LZL2FAjs.LogLevel.DEBUG, config, chalk);
|
|
35
|
+
const writeTrace = _chunkUMKNQWMOjs.getLogFn.call(void 0, _chunkX3LZL2FAjs.LogLevel.DEBUG, config, chalk);
|
|
36
|
+
return {
|
|
37
|
+
fatal: writeFatal,
|
|
38
|
+
error: writeError,
|
|
39
|
+
warning: writeWarning,
|
|
40
|
+
info: writeInfo,
|
|
41
|
+
success: writeSuccess,
|
|
42
|
+
debug: writeDebug,
|
|
43
|
+
trace: writeTrace,
|
|
44
|
+
getStopwatch: _chunkUMKNQWMOjs.getStopwatch
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
_chunk5YOGYZEGjs.__name.call(void 0, createLogger, "createLogger");
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
exports.createLogger = createLogger;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkGVQZFZ6Ejs = require('./chunk-GVQZFZ6E.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkNZRYCDJ5js = require('./chunk-NZRYCDJ5.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -48,9 +48,9 @@ var rootFiles = [
|
|
|
48
48
|
];
|
|
49
49
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
50
50
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
51
|
-
return
|
|
51
|
+
return _chunkNZRYCDJ5js.correctPaths.call(void 0, _nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH)));
|
|
52
52
|
}
|
|
53
|
-
return
|
|
53
|
+
return _chunkNZRYCDJ5js.correctPaths.call(void 0, _chunkGVQZFZ6Ejs.findFolderUp.call(void 0, _nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())), rootFiles));
|
|
54
54
|
}
|
|
55
55
|
_chunk5YOGYZEGjs.__name.call(void 0, findWorkspaceRootSafe, "findWorkspaceRootSafe");
|
|
56
56
|
function findWorkspaceRoot(pathInsideMonorepo) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_COLOR_CONFIG
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-P4J2TNZ7.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getChalk
|
|
6
6
|
} from "./chunk-OW5ANXN5.mjs";
|
|
@@ -24,8 +24,7 @@ import {
|
|
|
24
24
|
|
|
25
25
|
// src/logger/console.ts
|
|
26
26
|
init_esm_shims();
|
|
27
|
-
var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}) => {
|
|
28
|
-
const _chalk = getChalk();
|
|
27
|
+
var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
29
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;
|
|
30
29
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
31
30
|
if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
|
|
@@ -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 _chunkUSQ3J2G6js = require('./chunk-USQ3J2G6.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkA2B7JKBPjs = require('./chunk-A2B7JKBP.js');
|
|
@@ -8,23 +8,23 @@ var _chunkA2B7JKBPjs = require('./chunk-A2B7JKBP.js');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkUMKNQWMOjs = require('./chunk-UMKNQWMO.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkSZUBX3MFjs = require('./chunk-SZUBX3MF.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkIUNS4YZOjs = require('./chunk-IUNS4YZO.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkUFIZSM4Fjs = require('./chunk-UFIZSM4F.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkDANGEXD7js = require('./chunk-DANGEXD7.js');
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunk7IQFOM5Ejs = require('./chunk-7IQFOM5E.js');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
@@ -40,10 +40,10 @@ var createConfig = /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, (workspa
|
|
|
40
40
|
var createStormConfig = /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, (extensionName, schema, workspaceRoot) => {
|
|
41
41
|
let result;
|
|
42
42
|
if (!_optionalChain([_static_cache, 'optionalAccess', _ => _.data]) || !_optionalChain([_static_cache, 'optionalAccess', _2 => _2.timestamp]) || _static_cache.timestamp < Date.now() - 3e4) {
|
|
43
|
-
const config =
|
|
44
|
-
const defaultConfig =
|
|
43
|
+
const config = _chunkUFIZSM4Fjs.getConfigEnv.call(void 0, );
|
|
44
|
+
const defaultConfig = _chunkSZUBX3MFjs.getDefaultConfig.call(void 0, workspaceRoot);
|
|
45
45
|
result = _chunkDANGEXD7js.StormConfigSchema.parse(_chunkA2B7JKBPjs.defu.call(void 0, config, defaultConfig));
|
|
46
|
-
result.workspaceRoot ??= defaultConfig.workspaceRoot ||
|
|
46
|
+
result.workspaceRoot ??= defaultConfig.workspaceRoot || _chunkIUNS4YZOjs.findWorkspaceRoot.call(void 0, workspaceRoot);
|
|
47
47
|
} else {
|
|
48
48
|
result = _static_cache.data;
|
|
49
49
|
}
|
|
@@ -66,7 +66,7 @@ var createConfigExtension = /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0,
|
|
|
66
66
|
if (_extension_cache.has(extension_cache_key)) {
|
|
67
67
|
return _extension_cache.get(extension_cache_key);
|
|
68
68
|
}
|
|
69
|
-
let extension =
|
|
69
|
+
let extension = _chunkUFIZSM4Fjs.getExtensionEnv.call(void 0, extensionName);
|
|
70
70
|
if (schema) {
|
|
71
71
|
extension = schema.parse(extension);
|
|
72
72
|
}
|
|
@@ -76,23 +76,23 @@ var createConfigExtension = /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0,
|
|
|
76
76
|
var loadStormConfig = /* @__PURE__ */ _chunk5YOGYZEGjs.__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
|
+
_chunkUMKNQWMOjs.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
|
-
_workspaceRoot =
|
|
84
|
+
_workspaceRoot = _chunkIUNS4YZOjs.findWorkspaceRoot.call(void 0, );
|
|
85
85
|
}
|
|
86
|
-
const configFile = await
|
|
86
|
+
const configFile = await _chunkUSQ3J2G6js.getConfigFile.call(void 0, _workspaceRoot);
|
|
87
87
|
if (!configFile) {
|
|
88
|
-
|
|
88
|
+
_chunkUMKNQWMOjs.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
|
-
config = _chunkA2B7JKBPjs.defu.call(void 0,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
${
|
|
92
|
+
config = _chunkA2B7JKBPjs.defu.call(void 0, _chunkUFIZSM4Fjs.getConfigEnv.call(void 0, ), configFile, _chunkSZUBX3MFjs.getDefaultConfig.call(void 0, _workspaceRoot));
|
|
93
|
+
_chunk7IQFOM5Ejs.setConfigEnv.call(void 0, config);
|
|
94
|
+
_chunkUMKNQWMOjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm configuration:
|
|
95
|
+
${_chunkUMKNQWMOjs.formatLogMessage.call(void 0, config)}`, config);
|
|
96
96
|
return config;
|
|
97
97
|
}, "loadStormConfig");
|
|
98
98
|
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
} from "./chunk-E25ESST2.mjs";
|
|
12
12
|
import {
|
|
13
13
|
writeSystem
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-J3YI5D2E.mjs";
|
|
15
15
|
import {
|
|
16
16
|
findWorkspaceRoot
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CALEYND5.mjs";
|
|
18
18
|
import {
|
|
19
19
|
joinPaths
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4NFOBMSM.mjs";
|
|
21
21
|
import {
|
|
22
22
|
__commonJS,
|
|
23
23
|
__name,
|
|
@@ -1,6 +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
|
-
var
|
|
3
|
+
var _chunkIUNS4YZOjs = require('./chunk-IUNS4YZO.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -34,7 +34,7 @@ var applyWorkspaceBaseTokens = /* @__PURE__ */ _chunk5YOGYZEGjs.__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]))), () => ( _chunkIUNS4YZOjs.findWorkspaceRoot.call(void 0, ))));
|
|
38
38
|
}
|
|
39
39
|
return result;
|
|
40
40
|
}, "applyWorkspaceBaseTokens");
|
|
@@ -2618,7 +2618,7 @@ var require_prettier = _chunk5YOGYZEGjs.__commonJS.call(void 0, {
|
|
|
2618
2618
|
module2.exports = "3.4.2";
|
|
2619
2619
|
}
|
|
2620
2620
|
});
|
|
2621
|
-
var prettierPromise = Promise.resolve().then(() => _interopRequireWildcard(require("./prettier-
|
|
2621
|
+
var prettierPromise = Promise.resolve().then(() => _interopRequireWildcard(require("./prettier-RSMQU2HG.js")));
|
|
2622
2622
|
var functionNames = [
|
|
2623
2623
|
"formatWithCursor",
|
|
2624
2624
|
"format",
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
STORM_DEFAULT_HOMEPAGE,
|
|
5
5
|
STORM_DEFAULT_LICENSING
|
|
6
6
|
} from "./chunk-D7EEDW3J.mjs";
|
|
7
|
+
import {
|
|
8
|
+
correctPaths
|
|
9
|
+
} from "./chunk-4NFOBMSM.mjs";
|
|
7
10
|
import {
|
|
8
11
|
getLogLevelLabel
|
|
9
12
|
} from "./chunk-GGBZLABE.mjs";
|
|
10
|
-
import {
|
|
11
|
-
correctPaths
|
|
12
|
-
} from "./chunk-IXG2QO76.mjs";
|
|
13
13
|
import {
|
|
14
14
|
__name,
|
|
15
15
|
init_esm_shims
|
|
@@ -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 _chunkIUNS4YZOjs = require('./chunk-IUNS4YZO.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -48,7 +48,7 @@ var getDefaultConfig = /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, (roo
|
|
|
48
48
|
let name;
|
|
49
49
|
let namespace;
|
|
50
50
|
let repository;
|
|
51
|
-
const workspaceRoot =
|
|
51
|
+
const workspaceRoot = _chunkIUNS4YZOjs.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"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getConfigFile
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NJBMJX5P.mjs";
|
|
4
4
|
import {
|
|
5
5
|
defu
|
|
6
6
|
} from "./chunk-E25ESST2.mjs";
|
|
@@ -8,23 +8,23 @@ import {
|
|
|
8
8
|
formatLogMessage,
|
|
9
9
|
writeTrace,
|
|
10
10
|
writeWarning
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-J3YI5D2E.mjs";
|
|
12
12
|
import {
|
|
13
13
|
getDefaultConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-P4J2TNZ7.mjs";
|
|
15
15
|
import {
|
|
16
16
|
findWorkspaceRoot
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CALEYND5.mjs";
|
|
18
18
|
import {
|
|
19
19
|
getConfigEnv,
|
|
20
20
|
getExtensionEnv
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PDBEDRIM.mjs";
|
|
22
22
|
import {
|
|
23
23
|
StormConfigSchema
|
|
24
24
|
} from "./chunk-D7EEDW3J.mjs";
|
|
25
25
|
import {
|
|
26
26
|
setConfigEnv
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2VOSOR3T.mjs";
|
|
28
28
|
import {
|
|
29
29
|
__name,
|
|
30
30
|
init_esm_shims
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkUMKNQWMOjs = require('./chunk-UMKNQWMO.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -12,34 +12,34 @@ var _chunk5YOGYZEGjs = require('./chunk-5YOGYZEG.js');
|
|
|
12
12
|
// src/utilities/process-handler.ts
|
|
13
13
|
_chunk5YOGYZEGjs.init_cjs_shims.call(void 0, );
|
|
14
14
|
var exitWithError = /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, (config) => {
|
|
15
|
-
|
|
15
|
+
_chunkUMKNQWMOjs.writeFatal.call(void 0, "Exiting script with an error status...", config);
|
|
16
16
|
process.exit(1);
|
|
17
17
|
}, "exitWithError");
|
|
18
18
|
var exitWithSuccess = /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, (config) => {
|
|
19
|
-
|
|
19
|
+
_chunkUMKNQWMOjs.writeSuccess.call(void 0, "Script completed successfully. Exiting...", config);
|
|
20
20
|
process.exit(0);
|
|
21
21
|
}, "exitWithSuccess");
|
|
22
22
|
var handleProcess = /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, (config) => {
|
|
23
|
-
|
|
23
|
+
_chunkUMKNQWMOjs.writeTrace.call(void 0, `Using the following arguments to process the script: ${process.argv.join(", ")}`, config);
|
|
24
24
|
process.on("unhandledRejection", (error) => {
|
|
25
|
-
|
|
25
|
+
_chunkUMKNQWMOjs.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
|
+
_chunkUMKNQWMOjs.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
|
+
_chunkUMKNQWMOjs.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
|
+
_chunkUMKNQWMOjs.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
|
+
_chunkUMKNQWMOjs.writeError.call(void 0, `The program terminated with signal code: ${signal}`, config);
|
|
43
43
|
exitWithError(config);
|
|
44
44
|
});
|
|
45
45
|
}, "handleProcess");
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
var _chunkDANGEXD7js = require('./chunk-DANGEXD7.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkNZRYCDJ5js = require('./chunk-NZRYCDJ5.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkHDZVYW2Pjs = require('./chunk-HDZVYW2P.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -46,15 +46,15 @@ var getConfigEnv = /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, () => {
|
|
|
46
46
|
licensing: process.env[`${prefix}LICENSING`] || void 0,
|
|
47
47
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
48
48
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
49
|
-
configFile: process.env[`${prefix}CONFIG_FILE`] ?
|
|
50
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
49
|
+
configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkNZRYCDJ5js.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
|
|
50
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkNZRYCDJ5js.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
51
51
|
directories: {
|
|
52
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
53
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
54
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
55
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
56
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
57
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
52
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkNZRYCDJ5js.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
|
|
53
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkNZRYCDJ5js.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
|
|
54
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkNZRYCDJ5js.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
|
|
55
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkNZRYCDJ5js.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
|
|
56
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkNZRYCDJ5js.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
|
|
57
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkNZRYCDJ5js.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
|
|
58
58
|
},
|
|
59
59
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
60
60
|
env: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}ENV`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -1,6 +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
|
-
var
|
|
3
|
+
var _chunkSZUBX3MFjs = require('./chunk-SZUBX3MF.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkN34NGVL6js = require('./chunk-N34NGVL6.js');
|
|
@@ -24,9 +24,8 @@ var _chunk5YOGYZEGjs = require('./chunk-5YOGYZEG.js');
|
|
|
24
24
|
|
|
25
25
|
// src/logger/console.ts
|
|
26
26
|
_chunk5YOGYZEGjs.init_cjs_shims.call(void 0, );
|
|
27
|
-
var getLogFn = /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, (logLevel = _chunkX3LZL2FAjs.LogLevel.INFO, config = {}) => {
|
|
28
|
-
const
|
|
29
|
-
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]) ? _chunkLGIWVSREjs.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"]]) : _chunkLGIWVSREjs.DEFAULT_COLOR_CONFIG;
|
|
27
|
+
var getLogFn = /* @__PURE__ */ _chunk5YOGYZEGjs.__name.call(void 0, (logLevel = _chunkX3LZL2FAjs.LogLevel.INFO, config = {}, _chalk = _chunkN34NGVL6js.getChalk.call(void 0, )) => {
|
|
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]) ? _chunkSZUBX3MFjs.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"]]) : _chunkSZUBX3MFjs.DEFAULT_COLOR_CONFIG;
|
|
30
29
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || _chunkX3LZL2FAjs.LogLevelLabel.INFO;
|
|
31
30
|
if (typeof logLevel === "number" && (logLevel >= _chunkHDZVYW2Pjs.getLogLevel.call(void 0, configLogLevel) || logLevel <= _chunkX3LZL2FAjs.LogLevel.SILENT) || typeof logLevel === "string" && _chunkHDZVYW2Pjs.getLogLevel.call(void 0, logLevel) >= _chunkHDZVYW2Pjs.getLogLevel.call(void 0, configLogLevel)) {
|
|
32
31
|
return (_) => {
|