@storm-software/workspace-tools 1.198.0 → 1.201.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/CHANGELOG.md +30 -0
- package/README.md +1 -1
- package/config/nx-cloud.json +2 -3
- package/config/nx-default.json +4 -6
- package/config/nx.json +3 -2
- package/index.js +20 -20
- package/meta.json +80 -80
- package/package.json +4 -4
- package/src/base/base-executor.js +20 -20
- package/src/base/base-generator.js +20 -20
- package/src/base/index.js +20 -20
- package/src/executors/cargo-build/executor.js +20 -20
- package/src/executors/cargo-check/executor.js +20 -20
- package/src/executors/cargo-clippy/executor.js +20 -20
- package/src/executors/cargo-doc/executor.js +20 -20
- package/src/executors/cargo-format/executor.js +20 -20
- package/src/executors/clean-package/executor.js +20 -20
- package/src/executors/rolldown/executor.js +20 -20
- package/src/executors/rollup/executor.js +20 -20
- package/src/executors/size-limit/executor.js +20 -20
- package/src/executors/tsup/executor.js +20 -20
- package/src/executors/tsup-browser/executor.js +20 -20
- package/src/executors/tsup-neutral/executor.js +20 -20
- package/src/executors/tsup-node/executor.js +20 -20
- package/src/executors/typia/executor.js +20 -20
- package/src/executors/unbuild/executor.js +20 -20
- package/src/generators/browser-library/generator.js +20 -20
- package/src/generators/config-schema/generator.js +20 -20
- package/src/generators/neutral-library/generator.js +20 -20
- package/src/generators/node-library/generator.js +20 -20
- package/src/generators/preset/generator.js +20 -20
- package/src/generators/release-version/generator.js +20 -20
- package/src/utils/index.js +20 -20
|
@@ -66546,7 +66546,7 @@ var init_logger = __esm({
|
|
|
66546
66546
|
getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
|
|
66547
66547
|
const _chalk = getChalk();
|
|
66548
66548
|
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;
|
|
66549
|
-
const configLogLevel = config.logLevel
|
|
66549
|
+
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
66550
66550
|
if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
|
|
66551
66551
|
return (_6) => {
|
|
66552
66552
|
};
|
|
@@ -66554,9 +66554,9 @@ var init_logger = __esm({
|
|
|
66554
66554
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
66555
66555
|
return (message) => {
|
|
66556
66556
|
console.error(
|
|
66557
|
-
`${_chalk.bold.hex(colors.
|
|
66557
|
+
`${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
66558
66558
|
" \u{1F480} Fatal "
|
|
66559
|
-
)} ${_chalk.hex(colors.
|
|
66559
|
+
)} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
|
|
66560
66560
|
`
|
|
66561
66561
|
);
|
|
66562
66562
|
};
|
|
@@ -66566,7 +66566,7 @@ var init_logger = __esm({
|
|
|
66566
66566
|
console.error(
|
|
66567
66567
|
`${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
66568
66568
|
" \u2718 Error "
|
|
66569
|
-
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66569
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66570
66570
|
`
|
|
66571
66571
|
);
|
|
66572
66572
|
};
|
|
@@ -66576,7 +66576,7 @@ var init_logger = __esm({
|
|
|
66576
66576
|
console.warn(
|
|
66577
66577
|
`${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
66578
66578
|
" \u26A0 Warn "
|
|
66579
|
-
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
66579
|
+
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
66580
66580
|
`
|
|
66581
66581
|
);
|
|
66582
66582
|
};
|
|
@@ -66586,7 +66586,7 @@ var init_logger = __esm({
|
|
|
66586
66586
|
console.info(
|
|
66587
66587
|
`${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
|
|
66588
66588
|
" \u2713 Success "
|
|
66589
|
-
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
|
|
66589
|
+
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
|
|
66590
66590
|
`
|
|
66591
66591
|
);
|
|
66592
66592
|
};
|
|
@@ -66596,17 +66596,17 @@ var init_logger = __esm({
|
|
|
66596
66596
|
console.info(
|
|
66597
66597
|
`${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
|
|
66598
66598
|
" \u2139 Info "
|
|
66599
|
-
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
|
|
66599
|
+
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
|
|
66600
66600
|
`
|
|
66601
66601
|
);
|
|
66602
66602
|
};
|
|
66603
66603
|
}
|
|
66604
|
-
if (typeof logLevel === "number" && LogLevel.
|
|
66604
|
+
if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
|
|
66605
66605
|
return (message) => {
|
|
66606
66606
|
console.debug(
|
|
66607
66607
|
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
66608
66608
|
" \u{1F6E0} Debug "
|
|
66609
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
66609
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
66610
66610
|
`
|
|
66611
66611
|
);
|
|
66612
66612
|
};
|
|
@@ -66615,7 +66615,7 @@ var init_logger = __esm({
|
|
|
66615
66615
|
console.log(
|
|
66616
66616
|
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
66617
66617
|
" \u2709 System "
|
|
66618
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
66618
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
66619
66619
|
`
|
|
66620
66620
|
);
|
|
66621
66621
|
};
|
|
@@ -66774,8 +66774,8 @@ var init_get_config_file = __esm({
|
|
|
66774
66774
|
name: fileName,
|
|
66775
66775
|
envName: fileName?.toUpperCase(),
|
|
66776
66776
|
jitiOptions: {
|
|
66777
|
-
debug:
|
|
66778
|
-
cache: process.env.
|
|
66777
|
+
debug: false,
|
|
66778
|
+
cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
|
|
66779
66779
|
},
|
|
66780
66780
|
...options
|
|
66781
66781
|
});
|
|
@@ -66786,8 +66786,8 @@ var init_get_config_file = __esm({
|
|
|
66786
66786
|
name: fileName,
|
|
66787
66787
|
envName: fileName?.toUpperCase(),
|
|
66788
66788
|
jitiOptions: {
|
|
66789
|
-
debug:
|
|
66790
|
-
cache: process.env.
|
|
66789
|
+
debug: false,
|
|
66790
|
+
cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
|
|
66791
66791
|
},
|
|
66792
66792
|
configFile: fileName,
|
|
66793
66793
|
...options
|
|
@@ -66800,9 +66800,9 @@ var init_get_config_file = __esm({
|
|
|
66800
66800
|
const result = await getConfigFileByName("storm", workspacePath);
|
|
66801
66801
|
let config = result.config;
|
|
66802
66802
|
const configFile = result.configFile;
|
|
66803
|
-
if (config && Object.keys(config).length > 0) {
|
|
66804
|
-
|
|
66805
|
-
`Found Storm configuration file "${configFile}" at "${workspacePath}"`,
|
|
66803
|
+
if (config && configFile && Object.keys(config).length > 0) {
|
|
66804
|
+
writeSystem(
|
|
66805
|
+
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
66806
66806
|
{
|
|
66807
66807
|
logLevel: "all"
|
|
66808
66808
|
}
|
|
@@ -66815,9 +66815,9 @@ var init_get_config_file = __esm({
|
|
|
66815
66815
|
)
|
|
66816
66816
|
);
|
|
66817
66817
|
for (const result2 of results) {
|
|
66818
|
-
if (result2?.config && Object.keys(result2.config).length > 0) {
|
|
66819
|
-
|
|
66820
|
-
`Found
|
|
66818
|
+
if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
|
|
66819
|
+
writeSystem(
|
|
66820
|
+
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
66821
66821
|
{
|
|
66822
66822
|
logLevel: "all"
|
|
66823
66823
|
}
|
|
@@ -66546,7 +66546,7 @@ var init_logger = __esm({
|
|
|
66546
66546
|
getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
|
|
66547
66547
|
const _chalk = getChalk();
|
|
66548
66548
|
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;
|
|
66549
|
-
const configLogLevel = config.logLevel
|
|
66549
|
+
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
66550
66550
|
if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
|
|
66551
66551
|
return (_6) => {
|
|
66552
66552
|
};
|
|
@@ -66554,9 +66554,9 @@ var init_logger = __esm({
|
|
|
66554
66554
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
66555
66555
|
return (message) => {
|
|
66556
66556
|
console.error(
|
|
66557
|
-
`${_chalk.bold.hex(colors.
|
|
66557
|
+
`${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
66558
66558
|
" \u{1F480} Fatal "
|
|
66559
|
-
)} ${_chalk.hex(colors.
|
|
66559
|
+
)} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
|
|
66560
66560
|
`
|
|
66561
66561
|
);
|
|
66562
66562
|
};
|
|
@@ -66566,7 +66566,7 @@ var init_logger = __esm({
|
|
|
66566
66566
|
console.error(
|
|
66567
66567
|
`${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
66568
66568
|
" \u2718 Error "
|
|
66569
|
-
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66569
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66570
66570
|
`
|
|
66571
66571
|
);
|
|
66572
66572
|
};
|
|
@@ -66576,7 +66576,7 @@ var init_logger = __esm({
|
|
|
66576
66576
|
console.warn(
|
|
66577
66577
|
`${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
66578
66578
|
" \u26A0 Warn "
|
|
66579
|
-
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
66579
|
+
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
66580
66580
|
`
|
|
66581
66581
|
);
|
|
66582
66582
|
};
|
|
@@ -66586,7 +66586,7 @@ var init_logger = __esm({
|
|
|
66586
66586
|
console.info(
|
|
66587
66587
|
`${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
|
|
66588
66588
|
" \u2713 Success "
|
|
66589
|
-
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
|
|
66589
|
+
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
|
|
66590
66590
|
`
|
|
66591
66591
|
);
|
|
66592
66592
|
};
|
|
@@ -66596,17 +66596,17 @@ var init_logger = __esm({
|
|
|
66596
66596
|
console.info(
|
|
66597
66597
|
`${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
|
|
66598
66598
|
" \u2139 Info "
|
|
66599
|
-
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
|
|
66599
|
+
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
|
|
66600
66600
|
`
|
|
66601
66601
|
);
|
|
66602
66602
|
};
|
|
66603
66603
|
}
|
|
66604
|
-
if (typeof logLevel === "number" && LogLevel.
|
|
66604
|
+
if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
|
|
66605
66605
|
return (message) => {
|
|
66606
66606
|
console.debug(
|
|
66607
66607
|
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
66608
66608
|
" \u{1F6E0} Debug "
|
|
66609
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
66609
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
66610
66610
|
`
|
|
66611
66611
|
);
|
|
66612
66612
|
};
|
|
@@ -66615,7 +66615,7 @@ var init_logger = __esm({
|
|
|
66615
66615
|
console.log(
|
|
66616
66616
|
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
66617
66617
|
" \u2709 System "
|
|
66618
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
66618
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
66619
66619
|
`
|
|
66620
66620
|
);
|
|
66621
66621
|
};
|
|
@@ -66774,8 +66774,8 @@ var init_get_config_file = __esm({
|
|
|
66774
66774
|
name: fileName,
|
|
66775
66775
|
envName: fileName?.toUpperCase(),
|
|
66776
66776
|
jitiOptions: {
|
|
66777
|
-
debug:
|
|
66778
|
-
cache: process.env.
|
|
66777
|
+
debug: false,
|
|
66778
|
+
cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
|
|
66779
66779
|
},
|
|
66780
66780
|
...options
|
|
66781
66781
|
});
|
|
@@ -66786,8 +66786,8 @@ var init_get_config_file = __esm({
|
|
|
66786
66786
|
name: fileName,
|
|
66787
66787
|
envName: fileName?.toUpperCase(),
|
|
66788
66788
|
jitiOptions: {
|
|
66789
|
-
debug:
|
|
66790
|
-
cache: process.env.
|
|
66789
|
+
debug: false,
|
|
66790
|
+
cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
|
|
66791
66791
|
},
|
|
66792
66792
|
configFile: fileName,
|
|
66793
66793
|
...options
|
|
@@ -66800,9 +66800,9 @@ var init_get_config_file = __esm({
|
|
|
66800
66800
|
const result = await getConfigFileByName("storm", workspacePath);
|
|
66801
66801
|
let config = result.config;
|
|
66802
66802
|
const configFile = result.configFile;
|
|
66803
|
-
if (config && Object.keys(config).length > 0) {
|
|
66804
|
-
|
|
66805
|
-
`Found Storm configuration file "${configFile}" at "${workspacePath}"`,
|
|
66803
|
+
if (config && configFile && Object.keys(config).length > 0) {
|
|
66804
|
+
writeSystem(
|
|
66805
|
+
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
66806
66806
|
{
|
|
66807
66807
|
logLevel: "all"
|
|
66808
66808
|
}
|
|
@@ -66815,9 +66815,9 @@ var init_get_config_file = __esm({
|
|
|
66815
66815
|
)
|
|
66816
66816
|
);
|
|
66817
66817
|
for (const result2 of results) {
|
|
66818
|
-
if (result2?.config && Object.keys(result2.config).length > 0) {
|
|
66819
|
-
|
|
66820
|
-
`Found
|
|
66818
|
+
if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
|
|
66819
|
+
writeSystem(
|
|
66820
|
+
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
66821
66821
|
{
|
|
66822
66822
|
logLevel: "all"
|
|
66823
66823
|
}
|
|
@@ -92316,7 +92316,7 @@ var init_logger = __esm({
|
|
|
92316
92316
|
getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
|
|
92317
92317
|
const _chalk = getChalk();
|
|
92318
92318
|
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;
|
|
92319
|
-
const configLogLevel = config.logLevel
|
|
92319
|
+
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
92320
92320
|
if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
|
|
92321
92321
|
return (_6) => {
|
|
92322
92322
|
};
|
|
@@ -92324,9 +92324,9 @@ var init_logger = __esm({
|
|
|
92324
92324
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
92325
92325
|
return (message) => {
|
|
92326
92326
|
console.error(
|
|
92327
|
-
`${_chalk.bold.hex(colors.
|
|
92327
|
+
`${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
92328
92328
|
" \u{1F480} Fatal "
|
|
92329
|
-
)} ${_chalk.hex(colors.
|
|
92329
|
+
)} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
|
|
92330
92330
|
`
|
|
92331
92331
|
);
|
|
92332
92332
|
};
|
|
@@ -92336,7 +92336,7 @@ var init_logger = __esm({
|
|
|
92336
92336
|
console.error(
|
|
92337
92337
|
`${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
92338
92338
|
" \u2718 Error "
|
|
92339
|
-
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
92339
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
92340
92340
|
`
|
|
92341
92341
|
);
|
|
92342
92342
|
};
|
|
@@ -92346,7 +92346,7 @@ var init_logger = __esm({
|
|
|
92346
92346
|
console.warn(
|
|
92347
92347
|
`${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
92348
92348
|
" \u26A0 Warn "
|
|
92349
|
-
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
92349
|
+
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
92350
92350
|
`
|
|
92351
92351
|
);
|
|
92352
92352
|
};
|
|
@@ -92356,7 +92356,7 @@ var init_logger = __esm({
|
|
|
92356
92356
|
console.info(
|
|
92357
92357
|
`${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
|
|
92358
92358
|
" \u2713 Success "
|
|
92359
|
-
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
|
|
92359
|
+
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
|
|
92360
92360
|
`
|
|
92361
92361
|
);
|
|
92362
92362
|
};
|
|
@@ -92366,17 +92366,17 @@ var init_logger = __esm({
|
|
|
92366
92366
|
console.info(
|
|
92367
92367
|
`${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
|
|
92368
92368
|
" \u2139 Info "
|
|
92369
|
-
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
|
|
92369
|
+
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
|
|
92370
92370
|
`
|
|
92371
92371
|
);
|
|
92372
92372
|
};
|
|
92373
92373
|
}
|
|
92374
|
-
if (typeof logLevel === "number" && LogLevel.
|
|
92374
|
+
if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
|
|
92375
92375
|
return (message) => {
|
|
92376
92376
|
console.debug(
|
|
92377
92377
|
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
92378
92378
|
" \u{1F6E0} Debug "
|
|
92379
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
92379
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
92380
92380
|
`
|
|
92381
92381
|
);
|
|
92382
92382
|
};
|
|
@@ -92385,7 +92385,7 @@ var init_logger = __esm({
|
|
|
92385
92385
|
console.log(
|
|
92386
92386
|
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
92387
92387
|
" \u2709 System "
|
|
92388
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
92388
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
92389
92389
|
`
|
|
92390
92390
|
);
|
|
92391
92391
|
};
|
|
@@ -92544,8 +92544,8 @@ var init_get_config_file = __esm({
|
|
|
92544
92544
|
name: fileName,
|
|
92545
92545
|
envName: fileName?.toUpperCase(),
|
|
92546
92546
|
jitiOptions: {
|
|
92547
|
-
debug:
|
|
92548
|
-
cache: process.env.
|
|
92547
|
+
debug: false,
|
|
92548
|
+
cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
|
|
92549
92549
|
},
|
|
92550
92550
|
...options
|
|
92551
92551
|
});
|
|
@@ -92556,8 +92556,8 @@ var init_get_config_file = __esm({
|
|
|
92556
92556
|
name: fileName,
|
|
92557
92557
|
envName: fileName?.toUpperCase(),
|
|
92558
92558
|
jitiOptions: {
|
|
92559
|
-
debug:
|
|
92560
|
-
cache: process.env.
|
|
92559
|
+
debug: false,
|
|
92560
|
+
cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
|
|
92561
92561
|
},
|
|
92562
92562
|
configFile: fileName,
|
|
92563
92563
|
...options
|
|
@@ -92570,9 +92570,9 @@ var init_get_config_file = __esm({
|
|
|
92570
92570
|
const result = await getConfigFileByName("storm", workspacePath);
|
|
92571
92571
|
let config = result.config;
|
|
92572
92572
|
const configFile = result.configFile;
|
|
92573
|
-
if (config && Object.keys(config).length > 0) {
|
|
92574
|
-
|
|
92575
|
-
`Found Storm configuration file "${configFile}" at "${workspacePath}"`,
|
|
92573
|
+
if (config && configFile && Object.keys(config).length > 0) {
|
|
92574
|
+
writeSystem(
|
|
92575
|
+
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
92576
92576
|
{
|
|
92577
92577
|
logLevel: "all"
|
|
92578
92578
|
}
|
|
@@ -92585,9 +92585,9 @@ var init_get_config_file = __esm({
|
|
|
92585
92585
|
)
|
|
92586
92586
|
);
|
|
92587
92587
|
for (const result2 of results) {
|
|
92588
|
-
if (result2?.config && Object.keys(result2.config).length > 0) {
|
|
92589
|
-
|
|
92590
|
-
`Found
|
|
92588
|
+
if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
|
|
92589
|
+
writeSystem(
|
|
92590
|
+
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
92591
92591
|
{
|
|
92592
92592
|
logLevel: "all"
|
|
92593
92593
|
}
|
|
@@ -66546,7 +66546,7 @@ var init_logger = __esm({
|
|
|
66546
66546
|
getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
|
|
66547
66547
|
const _chalk = getChalk();
|
|
66548
66548
|
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;
|
|
66549
|
-
const configLogLevel = config.logLevel
|
|
66549
|
+
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
66550
66550
|
if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
|
|
66551
66551
|
return (_6) => {
|
|
66552
66552
|
};
|
|
@@ -66554,9 +66554,9 @@ var init_logger = __esm({
|
|
|
66554
66554
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
66555
66555
|
return (message) => {
|
|
66556
66556
|
console.error(
|
|
66557
|
-
`${_chalk.bold.hex(colors.
|
|
66557
|
+
`${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
66558
66558
|
" \u{1F480} Fatal "
|
|
66559
|
-
)} ${_chalk.hex(colors.
|
|
66559
|
+
)} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
|
|
66560
66560
|
`
|
|
66561
66561
|
);
|
|
66562
66562
|
};
|
|
@@ -66566,7 +66566,7 @@ var init_logger = __esm({
|
|
|
66566
66566
|
console.error(
|
|
66567
66567
|
`${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
66568
66568
|
" \u2718 Error "
|
|
66569
|
-
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66569
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66570
66570
|
`
|
|
66571
66571
|
);
|
|
66572
66572
|
};
|
|
@@ -66576,7 +66576,7 @@ var init_logger = __esm({
|
|
|
66576
66576
|
console.warn(
|
|
66577
66577
|
`${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
66578
66578
|
" \u26A0 Warn "
|
|
66579
|
-
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
66579
|
+
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
66580
66580
|
`
|
|
66581
66581
|
);
|
|
66582
66582
|
};
|
|
@@ -66586,7 +66586,7 @@ var init_logger = __esm({
|
|
|
66586
66586
|
console.info(
|
|
66587
66587
|
`${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
|
|
66588
66588
|
" \u2713 Success "
|
|
66589
|
-
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
|
|
66589
|
+
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
|
|
66590
66590
|
`
|
|
66591
66591
|
);
|
|
66592
66592
|
};
|
|
@@ -66596,17 +66596,17 @@ var init_logger = __esm({
|
|
|
66596
66596
|
console.info(
|
|
66597
66597
|
`${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
|
|
66598
66598
|
" \u2139 Info "
|
|
66599
|
-
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
|
|
66599
|
+
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
|
|
66600
66600
|
`
|
|
66601
66601
|
);
|
|
66602
66602
|
};
|
|
66603
66603
|
}
|
|
66604
|
-
if (typeof logLevel === "number" && LogLevel.
|
|
66604
|
+
if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
|
|
66605
66605
|
return (message) => {
|
|
66606
66606
|
console.debug(
|
|
66607
66607
|
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
66608
66608
|
" \u{1F6E0} Debug "
|
|
66609
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
66609
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
66610
66610
|
`
|
|
66611
66611
|
);
|
|
66612
66612
|
};
|
|
@@ -66615,7 +66615,7 @@ var init_logger = __esm({
|
|
|
66615
66615
|
console.log(
|
|
66616
66616
|
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
66617
66617
|
" \u2709 System "
|
|
66618
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
66618
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
66619
66619
|
`
|
|
66620
66620
|
);
|
|
66621
66621
|
};
|
|
@@ -66774,8 +66774,8 @@ var init_get_config_file = __esm({
|
|
|
66774
66774
|
name: fileName,
|
|
66775
66775
|
envName: fileName?.toUpperCase(),
|
|
66776
66776
|
jitiOptions: {
|
|
66777
|
-
debug:
|
|
66778
|
-
cache: process.env.
|
|
66777
|
+
debug: false,
|
|
66778
|
+
cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
|
|
66779
66779
|
},
|
|
66780
66780
|
...options
|
|
66781
66781
|
});
|
|
@@ -66786,8 +66786,8 @@ var init_get_config_file = __esm({
|
|
|
66786
66786
|
name: fileName,
|
|
66787
66787
|
envName: fileName?.toUpperCase(),
|
|
66788
66788
|
jitiOptions: {
|
|
66789
|
-
debug:
|
|
66790
|
-
cache: process.env.
|
|
66789
|
+
debug: false,
|
|
66790
|
+
cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
|
|
66791
66791
|
},
|
|
66792
66792
|
configFile: fileName,
|
|
66793
66793
|
...options
|
|
@@ -66800,9 +66800,9 @@ var init_get_config_file = __esm({
|
|
|
66800
66800
|
const result = await getConfigFileByName("storm", workspacePath);
|
|
66801
66801
|
let config = result.config;
|
|
66802
66802
|
const configFile = result.configFile;
|
|
66803
|
-
if (config && Object.keys(config).length > 0) {
|
|
66804
|
-
|
|
66805
|
-
`Found Storm configuration file "${configFile}" at "${workspacePath}"`,
|
|
66803
|
+
if (config && configFile && Object.keys(config).length > 0) {
|
|
66804
|
+
writeSystem(
|
|
66805
|
+
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
66806
66806
|
{
|
|
66807
66807
|
logLevel: "all"
|
|
66808
66808
|
}
|
|
@@ -66815,9 +66815,9 @@ var init_get_config_file = __esm({
|
|
|
66815
66815
|
)
|
|
66816
66816
|
);
|
|
66817
66817
|
for (const result2 of results) {
|
|
66818
|
-
if (result2?.config && Object.keys(result2.config).length > 0) {
|
|
66819
|
-
|
|
66820
|
-
`Found
|
|
66818
|
+
if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
|
|
66819
|
+
writeSystem(
|
|
66820
|
+
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
66821
66821
|
{
|
|
66822
66822
|
logLevel: "all"
|
|
66823
66823
|
}
|
|
@@ -66546,7 +66546,7 @@ var init_logger = __esm({
|
|
|
66546
66546
|
getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
|
|
66547
66547
|
const _chalk = getChalk();
|
|
66548
66548
|
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;
|
|
66549
|
-
const configLogLevel = config.logLevel
|
|
66549
|
+
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
66550
66550
|
if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
|
|
66551
66551
|
return (_6) => {
|
|
66552
66552
|
};
|
|
@@ -66554,9 +66554,9 @@ var init_logger = __esm({
|
|
|
66554
66554
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
66555
66555
|
return (message) => {
|
|
66556
66556
|
console.error(
|
|
66557
|
-
`${_chalk.bold.hex(colors.
|
|
66557
|
+
`${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
66558
66558
|
" \u{1F480} Fatal "
|
|
66559
|
-
)} ${_chalk.hex(colors.
|
|
66559
|
+
)} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
|
|
66560
66560
|
`
|
|
66561
66561
|
);
|
|
66562
66562
|
};
|
|
@@ -66566,7 +66566,7 @@ var init_logger = __esm({
|
|
|
66566
66566
|
console.error(
|
|
66567
66567
|
`${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
66568
66568
|
" \u2718 Error "
|
|
66569
|
-
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66569
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
66570
66570
|
`
|
|
66571
66571
|
);
|
|
66572
66572
|
};
|
|
@@ -66576,7 +66576,7 @@ var init_logger = __esm({
|
|
|
66576
66576
|
console.warn(
|
|
66577
66577
|
`${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
66578
66578
|
" \u26A0 Warn "
|
|
66579
|
-
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
66579
|
+
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
66580
66580
|
`
|
|
66581
66581
|
);
|
|
66582
66582
|
};
|
|
@@ -66586,7 +66586,7 @@ var init_logger = __esm({
|
|
|
66586
66586
|
console.info(
|
|
66587
66587
|
`${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
|
|
66588
66588
|
" \u2713 Success "
|
|
66589
|
-
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
|
|
66589
|
+
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
|
|
66590
66590
|
`
|
|
66591
66591
|
);
|
|
66592
66592
|
};
|
|
@@ -66596,17 +66596,17 @@ var init_logger = __esm({
|
|
|
66596
66596
|
console.info(
|
|
66597
66597
|
`${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
|
|
66598
66598
|
" \u2139 Info "
|
|
66599
|
-
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
|
|
66599
|
+
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
|
|
66600
66600
|
`
|
|
66601
66601
|
);
|
|
66602
66602
|
};
|
|
66603
66603
|
}
|
|
66604
|
-
if (typeof logLevel === "number" && LogLevel.
|
|
66604
|
+
if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
|
|
66605
66605
|
return (message) => {
|
|
66606
66606
|
console.debug(
|
|
66607
66607
|
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
66608
66608
|
" \u{1F6E0} Debug "
|
|
66609
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
66609
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
66610
66610
|
`
|
|
66611
66611
|
);
|
|
66612
66612
|
};
|
|
@@ -66615,7 +66615,7 @@ var init_logger = __esm({
|
|
|
66615
66615
|
console.log(
|
|
66616
66616
|
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
66617
66617
|
" \u2709 System "
|
|
66618
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
66618
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
66619
66619
|
`
|
|
66620
66620
|
);
|
|
66621
66621
|
};
|
|
@@ -66774,8 +66774,8 @@ var init_get_config_file = __esm({
|
|
|
66774
66774
|
name: fileName,
|
|
66775
66775
|
envName: fileName?.toUpperCase(),
|
|
66776
66776
|
jitiOptions: {
|
|
66777
|
-
debug:
|
|
66778
|
-
cache: process.env.
|
|
66777
|
+
debug: false,
|
|
66778
|
+
cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
|
|
66779
66779
|
},
|
|
66780
66780
|
...options
|
|
66781
66781
|
});
|
|
@@ -66786,8 +66786,8 @@ var init_get_config_file = __esm({
|
|
|
66786
66786
|
name: fileName,
|
|
66787
66787
|
envName: fileName?.toUpperCase(),
|
|
66788
66788
|
jitiOptions: {
|
|
66789
|
-
debug:
|
|
66790
|
-
cache: process.env.
|
|
66789
|
+
debug: false,
|
|
66790
|
+
cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
|
|
66791
66791
|
},
|
|
66792
66792
|
configFile: fileName,
|
|
66793
66793
|
...options
|
|
@@ -66800,9 +66800,9 @@ var init_get_config_file = __esm({
|
|
|
66800
66800
|
const result = await getConfigFileByName("storm", workspacePath);
|
|
66801
66801
|
let config = result.config;
|
|
66802
66802
|
const configFile = result.configFile;
|
|
66803
|
-
if (config && Object.keys(config).length > 0) {
|
|
66804
|
-
|
|
66805
|
-
`Found Storm configuration file "${configFile}" at "${workspacePath}"`,
|
|
66803
|
+
if (config && configFile && Object.keys(config).length > 0) {
|
|
66804
|
+
writeSystem(
|
|
66805
|
+
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
66806
66806
|
{
|
|
66807
66807
|
logLevel: "all"
|
|
66808
66808
|
}
|
|
@@ -66815,9 +66815,9 @@ var init_get_config_file = __esm({
|
|
|
66815
66815
|
)
|
|
66816
66816
|
);
|
|
66817
66817
|
for (const result2 of results) {
|
|
66818
|
-
if (result2?.config && Object.keys(result2.config).length > 0) {
|
|
66819
|
-
|
|
66820
|
-
`Found
|
|
66818
|
+
if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
|
|
66819
|
+
writeSystem(
|
|
66820
|
+
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
66821
66821
|
{
|
|
66822
66822
|
logLevel: "all"
|
|
66823
66823
|
}
|