@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
|
}
|
|
@@ -93460,7 +93460,7 @@ var init_logger = __esm({
|
|
|
93460
93460
|
getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
|
|
93461
93461
|
const _chalk = getChalk();
|
|
93462
93462
|
const colors2 = !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;
|
|
93463
|
-
const configLogLevel = config.logLevel
|
|
93463
|
+
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
93464
93464
|
if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
|
|
93465
93465
|
return (_6) => {
|
|
93466
93466
|
};
|
|
@@ -93468,9 +93468,9 @@ var init_logger = __esm({
|
|
|
93468
93468
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
93469
93469
|
return (message) => {
|
|
93470
93470
|
console.error(
|
|
93471
|
-
`${_chalk.bold.hex(colors2.
|
|
93471
|
+
`${_chalk.bold.hex(colors2.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors2.fatal ?? "#7d1a1a").whiteBright(
|
|
93472
93472
|
" \u{1F480} Fatal "
|
|
93473
|
-
)} ${_chalk.hex(colors2.
|
|
93473
|
+
)} ${_chalk.hex(colors2.fatal ?? "#7d1a1a")(formatLogMessage(message))}
|
|
93474
93474
|
`
|
|
93475
93475
|
);
|
|
93476
93476
|
};
|
|
@@ -93480,7 +93480,7 @@ var init_logger = __esm({
|
|
|
93480
93480
|
console.error(
|
|
93481
93481
|
`${_chalk.bold.hex(colors2.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors2.danger ?? "#f85149").whiteBright(
|
|
93482
93482
|
" \u2718 Error "
|
|
93483
|
-
)} ${_chalk.hex(colors2.danger ?? "#f85149")(formatLogMessage(message))}
|
|
93483
|
+
)} ${_chalk.hex(colors2.danger ?? "#f85149")(formatLogMessage(message))}
|
|
93484
93484
|
`
|
|
93485
93485
|
);
|
|
93486
93486
|
};
|
|
@@ -93490,7 +93490,7 @@ var init_logger = __esm({
|
|
|
93490
93490
|
console.warn(
|
|
93491
93491
|
`${_chalk.bold.hex(colors2.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors2.warning ?? "#e3b341").whiteBright(
|
|
93492
93492
|
" \u26A0 Warn "
|
|
93493
|
-
)} ${_chalk.hex(colors2.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
93493
|
+
)} ${_chalk.hex(colors2.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
93494
93494
|
`
|
|
93495
93495
|
);
|
|
93496
93496
|
};
|
|
@@ -93500,7 +93500,7 @@ var init_logger = __esm({
|
|
|
93500
93500
|
console.info(
|
|
93501
93501
|
`${_chalk.bold.hex(colors2.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors2.success ?? "#56d364").whiteBright(
|
|
93502
93502
|
" \u2713 Success "
|
|
93503
|
-
)} ${_chalk.hex(colors2.success ?? "#56d364")(formatLogMessage(message))}
|
|
93503
|
+
)} ${_chalk.hex(colors2.success ?? "#56d364")(formatLogMessage(message))}
|
|
93504
93504
|
`
|
|
93505
93505
|
);
|
|
93506
93506
|
};
|
|
@@ -93510,17 +93510,17 @@ var init_logger = __esm({
|
|
|
93510
93510
|
console.info(
|
|
93511
93511
|
`${_chalk.bold.hex(colors2.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors2.info ?? "#58a6ff").whiteBright(
|
|
93512
93512
|
" \u2139 Info "
|
|
93513
|
-
)} ${_chalk.hex(colors2.info ?? "#58a6ff")(formatLogMessage(message))}
|
|
93513
|
+
)} ${_chalk.hex(colors2.info ?? "#58a6ff")(formatLogMessage(message))}
|
|
93514
93514
|
`
|
|
93515
93515
|
);
|
|
93516
93516
|
};
|
|
93517
93517
|
}
|
|
93518
|
-
if (typeof logLevel === "number" && LogLevel.
|
|
93518
|
+
if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
|
|
93519
93519
|
return (message) => {
|
|
93520
93520
|
console.debug(
|
|
93521
93521
|
`${_chalk.bold.hex(colors2.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors2.brand ?? "#1fb2a6").whiteBright(
|
|
93522
93522
|
" \u{1F6E0} Debug "
|
|
93523
|
-
)} ${_chalk.hex(colors2.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
93523
|
+
)} ${_chalk.hex(colors2.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
93524
93524
|
`
|
|
93525
93525
|
);
|
|
93526
93526
|
};
|
|
@@ -93529,7 +93529,7 @@ var init_logger = __esm({
|
|
|
93529
93529
|
console.log(
|
|
93530
93530
|
`${_chalk.bold.hex(colors2.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors2.brand ?? "#1fb2a6").whiteBright(
|
|
93531
93531
|
" \u2709 System "
|
|
93532
|
-
)} ${_chalk.hex(colors2.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
93532
|
+
)} ${_chalk.hex(colors2.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
93533
93533
|
`
|
|
93534
93534
|
);
|
|
93535
93535
|
};
|
|
@@ -93688,8 +93688,8 @@ var init_get_config_file = __esm({
|
|
|
93688
93688
|
name: fileName,
|
|
93689
93689
|
envName: fileName?.toUpperCase(),
|
|
93690
93690
|
jitiOptions: {
|
|
93691
|
-
debug:
|
|
93692
|
-
cache: process.env.
|
|
93691
|
+
debug: false,
|
|
93692
|
+
cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
|
|
93693
93693
|
},
|
|
93694
93694
|
...options
|
|
93695
93695
|
});
|
|
@@ -93700,8 +93700,8 @@ var init_get_config_file = __esm({
|
|
|
93700
93700
|
name: fileName,
|
|
93701
93701
|
envName: fileName?.toUpperCase(),
|
|
93702
93702
|
jitiOptions: {
|
|
93703
|
-
debug:
|
|
93704
|
-
cache: process.env.
|
|
93703
|
+
debug: false,
|
|
93704
|
+
cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
|
|
93705
93705
|
},
|
|
93706
93706
|
configFile: fileName,
|
|
93707
93707
|
...options
|
|
@@ -93714,9 +93714,9 @@ var init_get_config_file = __esm({
|
|
|
93714
93714
|
const result = await getConfigFileByName("storm", workspacePath);
|
|
93715
93715
|
let config = result.config;
|
|
93716
93716
|
const configFile = result.configFile;
|
|
93717
|
-
if (config && Object.keys(config).length > 0) {
|
|
93718
|
-
|
|
93719
|
-
`Found Storm configuration file "${configFile}" at "${workspacePath}"`,
|
|
93717
|
+
if (config && configFile && Object.keys(config).length > 0) {
|
|
93718
|
+
writeSystem(
|
|
93719
|
+
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
93720
93720
|
{
|
|
93721
93721
|
logLevel: "all"
|
|
93722
93722
|
}
|
|
@@ -93729,9 +93729,9 @@ var init_get_config_file = __esm({
|
|
|
93729
93729
|
)
|
|
93730
93730
|
);
|
|
93731
93731
|
for (const result2 of results) {
|
|
93732
|
-
if (result2?.config && Object.keys(result2.config).length > 0) {
|
|
93733
|
-
|
|
93734
|
-
`Found
|
|
93732
|
+
if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
|
|
93733
|
+
writeSystem(
|
|
93734
|
+
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
93735
93735
|
{
|
|
93736
93736
|
logLevel: "all"
|
|
93737
93737
|
}
|
|
@@ -67034,7 +67034,7 @@ var init_logger = __esm({
|
|
|
67034
67034
|
getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
|
|
67035
67035
|
const _chalk = getChalk();
|
|
67036
67036
|
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;
|
|
67037
|
-
const configLogLevel = config.logLevel
|
|
67037
|
+
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
67038
67038
|
if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
|
|
67039
67039
|
return (_6) => {
|
|
67040
67040
|
};
|
|
@@ -67042,9 +67042,9 @@ var init_logger = __esm({
|
|
|
67042
67042
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
|
|
67043
67043
|
return (message) => {
|
|
67044
67044
|
console.error(
|
|
67045
|
-
`${_chalk.bold.hex(colors.
|
|
67045
|
+
`${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
|
|
67046
67046
|
" \u{1F480} Fatal "
|
|
67047
|
-
)} ${_chalk.hex(colors.
|
|
67047
|
+
)} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
|
|
67048
67048
|
`
|
|
67049
67049
|
);
|
|
67050
67050
|
};
|
|
@@ -67054,7 +67054,7 @@ var init_logger = __esm({
|
|
|
67054
67054
|
console.error(
|
|
67055
67055
|
`${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
|
|
67056
67056
|
" \u2718 Error "
|
|
67057
|
-
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
67057
|
+
)} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
|
|
67058
67058
|
`
|
|
67059
67059
|
);
|
|
67060
67060
|
};
|
|
@@ -67064,7 +67064,7 @@ var init_logger = __esm({
|
|
|
67064
67064
|
console.warn(
|
|
67065
67065
|
`${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
|
|
67066
67066
|
" \u26A0 Warn "
|
|
67067
|
-
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
67067
|
+
)} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
|
|
67068
67068
|
`
|
|
67069
67069
|
);
|
|
67070
67070
|
};
|
|
@@ -67074,7 +67074,7 @@ var init_logger = __esm({
|
|
|
67074
67074
|
console.info(
|
|
67075
67075
|
`${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
|
|
67076
67076
|
" \u2713 Success "
|
|
67077
|
-
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
|
|
67077
|
+
)} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
|
|
67078
67078
|
`
|
|
67079
67079
|
);
|
|
67080
67080
|
};
|
|
@@ -67084,17 +67084,17 @@ var init_logger = __esm({
|
|
|
67084
67084
|
console.info(
|
|
67085
67085
|
`${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
|
|
67086
67086
|
" \u2139 Info "
|
|
67087
|
-
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
|
|
67087
|
+
)} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
|
|
67088
67088
|
`
|
|
67089
67089
|
);
|
|
67090
67090
|
};
|
|
67091
67091
|
}
|
|
67092
|
-
if (typeof logLevel === "number" && LogLevel.
|
|
67092
|
+
if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
|
|
67093
67093
|
return (message) => {
|
|
67094
67094
|
console.debug(
|
|
67095
67095
|
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
67096
67096
|
" \u{1F6E0} Debug "
|
|
67097
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
67097
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
67098
67098
|
`
|
|
67099
67099
|
);
|
|
67100
67100
|
};
|
|
@@ -67103,7 +67103,7 @@ var init_logger = __esm({
|
|
|
67103
67103
|
console.log(
|
|
67104
67104
|
`${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
|
|
67105
67105
|
" \u2709 System "
|
|
67106
|
-
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
67106
|
+
)} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
|
|
67107
67107
|
`
|
|
67108
67108
|
);
|
|
67109
67109
|
};
|
|
@@ -67262,8 +67262,8 @@ var init_get_config_file = __esm({
|
|
|
67262
67262
|
name: fileName,
|
|
67263
67263
|
envName: fileName?.toUpperCase(),
|
|
67264
67264
|
jitiOptions: {
|
|
67265
|
-
debug:
|
|
67266
|
-
cache: process.env.
|
|
67265
|
+
debug: false,
|
|
67266
|
+
cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
|
|
67267
67267
|
},
|
|
67268
67268
|
...options
|
|
67269
67269
|
});
|
|
@@ -67274,8 +67274,8 @@ var init_get_config_file = __esm({
|
|
|
67274
67274
|
name: fileName,
|
|
67275
67275
|
envName: fileName?.toUpperCase(),
|
|
67276
67276
|
jitiOptions: {
|
|
67277
|
-
debug:
|
|
67278
|
-
cache: process.env.
|
|
67277
|
+
debug: false,
|
|
67278
|
+
cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
|
|
67279
67279
|
},
|
|
67280
67280
|
configFile: fileName,
|
|
67281
67281
|
...options
|
|
@@ -67288,9 +67288,9 @@ var init_get_config_file = __esm({
|
|
|
67288
67288
|
const result = await getConfigFileByName("storm", workspacePath);
|
|
67289
67289
|
let config = result.config;
|
|
67290
67290
|
const configFile = result.configFile;
|
|
67291
|
-
if (config && Object.keys(config).length > 0) {
|
|
67292
|
-
|
|
67293
|
-
`Found Storm configuration file "${configFile}" at "${workspacePath}"`,
|
|
67291
|
+
if (config && configFile && Object.keys(config).length > 0) {
|
|
67292
|
+
writeSystem(
|
|
67293
|
+
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
67294
67294
|
{
|
|
67295
67295
|
logLevel: "all"
|
|
67296
67296
|
}
|
|
@@ -67303,9 +67303,9 @@ var init_get_config_file = __esm({
|
|
|
67303
67303
|
)
|
|
67304
67304
|
);
|
|
67305
67305
|
for (const result2 of results) {
|
|
67306
|
-
if (result2?.config && Object.keys(result2.config).length > 0) {
|
|
67307
|
-
|
|
67308
|
-
`Found
|
|
67306
|
+
if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
|
|
67307
|
+
writeSystem(
|
|
67308
|
+
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
67309
67309
|
{
|
|
67310
67310
|
logLevel: "all"
|
|
67311
67311
|
}
|
|
@@ -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
|
}
|