@storm-software/tsup 0.2.76 → 0.2.78
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/dist/{chunk-IG5X767T.js → chunk-TGYAKXAA.js} +61 -31
- package/dist/index.cjs +61 -31
- package/dist/index.js +1 -1
- package/dist/options.cjs +54 -24
- package/dist/options.js +1 -1
- package/package.json +4 -4
|
@@ -16,7 +16,7 @@ init_esm_shims();
|
|
|
16
16
|
// ../build-tools/dist/chunk-KVP3YMX6.mjs
|
|
17
17
|
init_esm_shims();
|
|
18
18
|
|
|
19
|
-
// ../build-tools/dist/chunk-
|
|
19
|
+
// ../build-tools/dist/chunk-LHWWILNN.mjs
|
|
20
20
|
init_esm_shims();
|
|
21
21
|
|
|
22
22
|
// ../build-tools/dist/chunk-B4H42WDA.mjs
|
|
@@ -29,7 +29,7 @@ init_esm_shims();
|
|
|
29
29
|
import { existsSync } from "node:fs";
|
|
30
30
|
import { join } from "node:path";
|
|
31
31
|
|
|
32
|
-
// ../build-tools/dist/chunk-
|
|
32
|
+
// ../build-tools/dist/chunk-RBJMCJYF.mjs
|
|
33
33
|
init_esm_shims();
|
|
34
34
|
import { formatDistanceToNow } from "date-fns/formatDistanceToNow";
|
|
35
35
|
import chalk from "chalk";
|
|
@@ -56,16 +56,16 @@ function isUnicodeSupported() {
|
|
|
56
56
|
var useIcon = (c3, fallback) => isUnicodeSupported() ? c3 : fallback;
|
|
57
57
|
var CONSOLE_ICONS = {
|
|
58
58
|
[LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
|
|
59
|
-
[LogLevelLabel.FATAL]: useIcon("\
|
|
59
|
+
[LogLevelLabel.FATAL]: useIcon("\u{1F571}", "\xD7"),
|
|
60
60
|
[LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
|
|
61
|
-
[LogLevelLabel.INFO]: useIcon("\
|
|
61
|
+
[LogLevelLabel.INFO]: useIcon("\u2139", "i"),
|
|
62
62
|
[LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
|
|
63
63
|
[LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
|
|
64
64
|
[LogLevelLabel.TRACE]: useIcon("\u2699", "T"),
|
|
65
65
|
[LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
|
|
66
66
|
};
|
|
67
67
|
|
|
68
|
-
// ../build-tools/dist/chunk-
|
|
68
|
+
// ../build-tools/dist/chunk-LHWWILNN.mjs
|
|
69
69
|
import { loadConfig } from "c12";
|
|
70
70
|
import defu from "defu";
|
|
71
71
|
import * as z from "zod/mini";
|
|
@@ -654,13 +654,13 @@ import {
|
|
|
654
654
|
mapTargetDefaultsToDependencies
|
|
655
655
|
} from "nx/src/tasks-runner/create-task-graph";
|
|
656
656
|
|
|
657
|
-
// ../build-tools/dist/chunk-
|
|
657
|
+
// ../build-tools/dist/chunk-Y5BAO2UH.mjs
|
|
658
658
|
init_esm_shims();
|
|
659
659
|
import { CopyAssetsHandler } from "@nx/js/src/utils/assets/copy-assets-handler";
|
|
660
660
|
import { glob } from "glob";
|
|
661
661
|
import { readFile as readFile3, writeFile } from "node:fs/promises";
|
|
662
662
|
|
|
663
|
-
// ../build-tools/dist/chunk-
|
|
663
|
+
// ../build-tools/dist/chunk-CFPR4SJM.mjs
|
|
664
664
|
init_esm_shims();
|
|
665
665
|
import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildable-libs-utils";
|
|
666
666
|
import { Glob } from "glob";
|
|
@@ -672,7 +672,7 @@ import {
|
|
|
672
672
|
readProjectsConfigurationFromProjectGraph
|
|
673
673
|
} from "nx/src/project-graph/project-graph";
|
|
674
674
|
|
|
675
|
-
// ../build-tools/dist/chunk-
|
|
675
|
+
// ../build-tools/dist/chunk-3DLJAR7G.mjs
|
|
676
676
|
init_esm_shims();
|
|
677
677
|
import { glob as glob2 } from "glob";
|
|
678
678
|
|
|
@@ -706,14 +706,14 @@ init_esm_shims();
|
|
|
706
706
|
// ../build-tools/dist/chunk-UN3B7LBV.mjs
|
|
707
707
|
init_esm_shims();
|
|
708
708
|
|
|
709
|
-
// ../build-tools/dist/chunk-
|
|
709
|
+
// ../build-tools/dist/chunk-NXHXDYIG.mjs
|
|
710
710
|
init_esm_shims();
|
|
711
711
|
|
|
712
712
|
// ../build-tools/dist/chunk-7YKXR5JJ.mjs
|
|
713
713
|
init_esm_shims();
|
|
714
714
|
import { transform } from "@swc/core";
|
|
715
715
|
|
|
716
|
-
// ../build-tools/dist/chunk-
|
|
716
|
+
// ../build-tools/dist/chunk-4K7KJ6JA.mjs
|
|
717
717
|
init_esm_shims();
|
|
718
718
|
import fs from "node:fs";
|
|
719
719
|
import { builtinModules } from "node:module";
|
|
@@ -728,13 +728,13 @@ import { relative } from "path";
|
|
|
728
728
|
// ../config-tools/dist/get-config.js
|
|
729
729
|
init_esm_shims();
|
|
730
730
|
|
|
731
|
-
// ../config-tools/dist/chunk-
|
|
731
|
+
// ../config-tools/dist/chunk-UKEDB2ON.js
|
|
732
732
|
init_esm_shims();
|
|
733
733
|
|
|
734
|
-
// ../config-tools/dist/chunk-
|
|
734
|
+
// ../config-tools/dist/chunk-7JOKNFUH.js
|
|
735
735
|
init_esm_shims();
|
|
736
736
|
|
|
737
|
-
// ../config-tools/dist/chunk-
|
|
737
|
+
// ../config-tools/dist/chunk-BWPCVQEV.js
|
|
738
738
|
init_esm_shims();
|
|
739
739
|
|
|
740
740
|
// ../config-tools/dist/chunk-LF3SAK2O.js
|
|
@@ -960,7 +960,7 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
|
|
|
960
960
|
return result;
|
|
961
961
|
}
|
|
962
962
|
|
|
963
|
-
// ../config-tools/dist/chunk-
|
|
963
|
+
// ../config-tools/dist/chunk-H7DDJQE3.js
|
|
964
964
|
init_esm_shims();
|
|
965
965
|
|
|
966
966
|
// ../config-tools/dist/chunk-DJB7XLHA.js
|
|
@@ -1036,7 +1036,7 @@ var getChalk = () => {
|
|
|
1036
1036
|
return _chalk;
|
|
1037
1037
|
};
|
|
1038
1038
|
|
|
1039
|
-
// ../config-tools/dist/chunk-
|
|
1039
|
+
// ../config-tools/dist/chunk-AITAR5W5.js
|
|
1040
1040
|
init_esm_shims();
|
|
1041
1041
|
|
|
1042
1042
|
// ../config-tools/dist/chunk-G2MK47WL.js
|
|
@@ -1076,13 +1076,13 @@ var LogLevelLabel2 = {
|
|
|
1076
1076
|
ALL: "all"
|
|
1077
1077
|
};
|
|
1078
1078
|
|
|
1079
|
-
// ../config-tools/dist/chunk-
|
|
1079
|
+
// ../config-tools/dist/chunk-AITAR5W5.js
|
|
1080
1080
|
var useIcon2 = (c3, fallback) => isUnicodeSupported2() ? c3 : fallback;
|
|
1081
1081
|
var CONSOLE_ICONS2 = {
|
|
1082
1082
|
[LogLevelLabel2.ERROR]: useIcon2("\u2718", "\xD7"),
|
|
1083
|
-
[LogLevelLabel2.FATAL]: useIcon2("\
|
|
1083
|
+
[LogLevelLabel2.FATAL]: useIcon2("\u{1F571}", "\xD7"),
|
|
1084
1084
|
[LogLevelLabel2.WARN]: useIcon2("\u26A0", "\u203C"),
|
|
1085
|
-
[LogLevelLabel2.INFO]: useIcon2("\
|
|
1085
|
+
[LogLevelLabel2.INFO]: useIcon2("\u2139", "i"),
|
|
1086
1086
|
[LogLevelLabel2.SUCCESS]: useIcon2("\u2714", "\u221A"),
|
|
1087
1087
|
[LogLevelLabel2.DEBUG]: useIcon2("\u{1F6E0}", "D"),
|
|
1088
1088
|
[LogLevelLabel2.TRACE]: useIcon2("\u2699", "T"),
|
|
@@ -1147,7 +1147,7 @@ var getLogLevelLabel2 = (logLevel = LogLevel2.INFO) => {
|
|
|
1147
1147
|
return LogLevelLabel2.INFO;
|
|
1148
1148
|
};
|
|
1149
1149
|
|
|
1150
|
-
// ../config-tools/dist/chunk-
|
|
1150
|
+
// ../config-tools/dist/chunk-H7DDJQE3.js
|
|
1151
1151
|
import { formatDistanceToNow as formatDistanceToNow2 } from "date-fns/formatDistanceToNow";
|
|
1152
1152
|
var getLogFn = (logLevel = LogLevel2.INFO, config = {}, _chalk = getChalk()) => {
|
|
1153
1153
|
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;
|
|
@@ -1160,7 +1160,11 @@ var getLogFn = (logLevel = LogLevel2.INFO, config = {}, _chalk = getChalk()) =>
|
|
|
1160
1160
|
return (message) => {
|
|
1161
1161
|
console.error(
|
|
1162
1162
|
`
|
|
1163
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1163
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1164
|
+
colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal
|
|
1165
|
+
)(
|
|
1166
|
+
`[${CONSOLE_ICONS2[LogLevelLabel2.FATAL]} Fatal] `
|
|
1167
|
+
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1164
1168
|
`
|
|
1165
1169
|
);
|
|
1166
1170
|
};
|
|
@@ -1169,7 +1173,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CON
|
|
|
1169
1173
|
return (message) => {
|
|
1170
1174
|
console.error(
|
|
1171
1175
|
`
|
|
1172
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1176
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1177
|
+
colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger
|
|
1178
|
+
)(
|
|
1179
|
+
`[${CONSOLE_ICONS2[LogLevelLabel2.ERROR]} Error] `
|
|
1180
|
+
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1173
1181
|
`
|
|
1174
1182
|
);
|
|
1175
1183
|
};
|
|
@@ -1178,7 +1186,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CO
|
|
|
1178
1186
|
return (message) => {
|
|
1179
1187
|
console.warn(
|
|
1180
1188
|
`
|
|
1181
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1189
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1190
|
+
colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning
|
|
1191
|
+
)(
|
|
1192
|
+
`[${CONSOLE_ICONS2[LogLevelLabel2.WARN]} Warn] `
|
|
1193
|
+
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1182
1194
|
`
|
|
1183
1195
|
);
|
|
1184
1196
|
};
|
|
@@ -1187,7 +1199,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? DEFAULT_COLOR_C
|
|
|
1187
1199
|
return (message) => {
|
|
1188
1200
|
console.info(
|
|
1189
1201
|
`
|
|
1190
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1202
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1203
|
+
colors.success ?? DEFAULT_COLOR_CONFIG.dark.success
|
|
1204
|
+
)(
|
|
1205
|
+
`[${CONSOLE_ICONS2[LogLevelLabel2.SUCCESS]} Success] `
|
|
1206
|
+
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1191
1207
|
`
|
|
1192
1208
|
);
|
|
1193
1209
|
};
|
|
@@ -1196,7 +1212,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? DEFAULT_COLOR_C
|
|
|
1196
1212
|
return (message) => {
|
|
1197
1213
|
console.info(
|
|
1198
1214
|
`
|
|
1199
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1215
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1216
|
+
colors.info ?? DEFAULT_COLOR_CONFIG.dark.info
|
|
1217
|
+
)(
|
|
1218
|
+
`[${CONSOLE_ICONS2[LogLevelLabel2.INFO]} Info] `
|
|
1219
|
+
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1200
1220
|
`
|
|
1201
1221
|
);
|
|
1202
1222
|
};
|
|
@@ -1205,7 +1225,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
1205
1225
|
return (message) => {
|
|
1206
1226
|
console.debug(
|
|
1207
1227
|
`
|
|
1208
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1228
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1229
|
+
colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug
|
|
1230
|
+
)(
|
|
1231
|
+
`[${CONSOLE_ICONS2[LogLevelLabel2.DEBUG]} Debug] `
|
|
1232
|
+
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1209
1233
|
`
|
|
1210
1234
|
);
|
|
1211
1235
|
};
|
|
@@ -1214,7 +1238,9 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CON
|
|
|
1214
1238
|
return (message) => {
|
|
1215
1239
|
console.debug(
|
|
1216
1240
|
`
|
|
1217
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
1241
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
1242
|
+
`[${CONSOLE_ICONS2[LogLevelLabel2.TRACE]} Trace] `
|
|
1243
|
+
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1218
1244
|
`
|
|
1219
1245
|
);
|
|
1220
1246
|
};
|
|
@@ -1222,7 +1248,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS2[Log
|
|
|
1222
1248
|
return (message) => {
|
|
1223
1249
|
console.log(
|
|
1224
1250
|
`
|
|
1225
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1251
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1252
|
+
colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand
|
|
1253
|
+
)(
|
|
1254
|
+
`[${CONSOLE_ICONS2[LogLevelLabel2.ALL]} System] `
|
|
1255
|
+
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1226
1256
|
`
|
|
1227
1257
|
);
|
|
1228
1258
|
};
|
|
@@ -1242,7 +1272,7 @@ var getStopwatch = (name) => {
|
|
|
1242
1272
|
);
|
|
1243
1273
|
};
|
|
1244
1274
|
};
|
|
1245
|
-
var MAX_DEPTH =
|
|
1275
|
+
var MAX_DEPTH = 6;
|
|
1246
1276
|
var formatLogMessage2 = (message, options = {}, depth2 = 0) => {
|
|
1247
1277
|
if (depth2 > MAX_DEPTH) {
|
|
1248
1278
|
return "<max depth>";
|
|
@@ -1267,7 +1297,7 @@ var _isFunction = (value) => {
|
|
|
1267
1297
|
}
|
|
1268
1298
|
};
|
|
1269
1299
|
|
|
1270
|
-
// ../config-tools/dist/chunk-
|
|
1300
|
+
// ../config-tools/dist/chunk-BWPCVQEV.js
|
|
1271
1301
|
import { loadConfig as loadConfig2 } from "c12";
|
|
1272
1302
|
import defu3 from "defu";
|
|
1273
1303
|
var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
@@ -2231,7 +2261,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
2231
2261
|
// ../config/dist/schema.js
|
|
2232
2262
|
init_esm_shims();
|
|
2233
2263
|
|
|
2234
|
-
// ../config-tools/dist/chunk-
|
|
2264
|
+
// ../config-tools/dist/chunk-7JOKNFUH.js
|
|
2235
2265
|
import defu4 from "defu";
|
|
2236
2266
|
import { existsSync as existsSync7 } from "node:fs";
|
|
2237
2267
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
@@ -2328,7 +2358,7 @@ ${formatLogMessage2(config)}`,
|
|
|
2328
2358
|
return config;
|
|
2329
2359
|
};
|
|
2330
2360
|
|
|
2331
|
-
// ../config-tools/dist/chunk-
|
|
2361
|
+
// ../config-tools/dist/chunk-UKEDB2ON.js
|
|
2332
2362
|
function getConfig(workspaceRoot, skipLogs = false) {
|
|
2333
2363
|
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
2334
2364
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -2705,7 +2705,7 @@ init_cjs_shims();
|
|
|
2705
2705
|
// ../config-tools/dist/logger/console.js
|
|
2706
2706
|
init_cjs_shims();
|
|
2707
2707
|
|
|
2708
|
-
// ../config-tools/dist/chunk-
|
|
2708
|
+
// ../config-tools/dist/chunk-H7DDJQE3.js
|
|
2709
2709
|
init_cjs_shims();
|
|
2710
2710
|
|
|
2711
2711
|
// ../config-tools/dist/chunk-DJB7XLHA.js
|
|
@@ -2781,7 +2781,7 @@ var getChalk = () => {
|
|
|
2781
2781
|
return _chalk;
|
|
2782
2782
|
};
|
|
2783
2783
|
|
|
2784
|
-
// ../config-tools/dist/chunk-
|
|
2784
|
+
// ../config-tools/dist/chunk-AITAR5W5.js
|
|
2785
2785
|
init_cjs_shims();
|
|
2786
2786
|
|
|
2787
2787
|
// ../config-tools/dist/chunk-G2MK47WL.js
|
|
@@ -2821,13 +2821,13 @@ var LogLevelLabel = {
|
|
|
2821
2821
|
ALL: "all"
|
|
2822
2822
|
};
|
|
2823
2823
|
|
|
2824
|
-
// ../config-tools/dist/chunk-
|
|
2824
|
+
// ../config-tools/dist/chunk-AITAR5W5.js
|
|
2825
2825
|
var useIcon = (c3, fallback) => isUnicodeSupported() ? c3 : fallback;
|
|
2826
2826
|
var CONSOLE_ICONS = {
|
|
2827
2827
|
[LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
|
|
2828
|
-
[LogLevelLabel.FATAL]: useIcon("\
|
|
2828
|
+
[LogLevelLabel.FATAL]: useIcon("\u{1F571}", "\xD7"),
|
|
2829
2829
|
[LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
|
|
2830
|
-
[LogLevelLabel.INFO]: useIcon("\
|
|
2830
|
+
[LogLevelLabel.INFO]: useIcon("\u2139", "i"),
|
|
2831
2831
|
[LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
|
|
2832
2832
|
[LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
|
|
2833
2833
|
[LogLevelLabel.TRACE]: useIcon("\u2699", "T"),
|
|
@@ -2892,7 +2892,7 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
2892
2892
|
return LogLevelLabel.INFO;
|
|
2893
2893
|
};
|
|
2894
2894
|
|
|
2895
|
-
// ../config-tools/dist/chunk-
|
|
2895
|
+
// ../config-tools/dist/chunk-H7DDJQE3.js
|
|
2896
2896
|
var import_formatDistanceToNow = require("date-fns/formatDistanceToNow");
|
|
2897
2897
|
var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
2898
2898
|
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;
|
|
@@ -2905,7 +2905,11 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
|
2905
2905
|
return (message) => {
|
|
2906
2906
|
console.error(
|
|
2907
2907
|
`
|
|
2908
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
2908
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
2909
|
+
colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal
|
|
2910
|
+
)(
|
|
2911
|
+
`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
|
|
2912
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
2909
2913
|
`
|
|
2910
2914
|
);
|
|
2911
2915
|
};
|
|
@@ -2914,7 +2918,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CON
|
|
|
2914
2918
|
return (message) => {
|
|
2915
2919
|
console.error(
|
|
2916
2920
|
`
|
|
2917
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
2921
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
2922
|
+
colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger
|
|
2923
|
+
)(
|
|
2924
|
+
`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
|
|
2925
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
2918
2926
|
`
|
|
2919
2927
|
);
|
|
2920
2928
|
};
|
|
@@ -2923,7 +2931,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CO
|
|
|
2923
2931
|
return (message) => {
|
|
2924
2932
|
console.warn(
|
|
2925
2933
|
`
|
|
2926
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
2934
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
2935
|
+
colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning
|
|
2936
|
+
)(
|
|
2937
|
+
`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
|
|
2938
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
2927
2939
|
`
|
|
2928
2940
|
);
|
|
2929
2941
|
};
|
|
@@ -2932,7 +2944,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? DEFAULT_COLOR_C
|
|
|
2932
2944
|
return (message) => {
|
|
2933
2945
|
console.info(
|
|
2934
2946
|
`
|
|
2935
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
2947
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
2948
|
+
colors.success ?? DEFAULT_COLOR_CONFIG.dark.success
|
|
2949
|
+
)(
|
|
2950
|
+
`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
|
|
2951
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
2936
2952
|
`
|
|
2937
2953
|
);
|
|
2938
2954
|
};
|
|
@@ -2941,7 +2957,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? DEFAULT_COLOR_C
|
|
|
2941
2957
|
return (message) => {
|
|
2942
2958
|
console.info(
|
|
2943
2959
|
`
|
|
2944
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
2960
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
2961
|
+
colors.info ?? DEFAULT_COLOR_CONFIG.dark.info
|
|
2962
|
+
)(
|
|
2963
|
+
`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
|
|
2964
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
2945
2965
|
`
|
|
2946
2966
|
);
|
|
2947
2967
|
};
|
|
@@ -2950,7 +2970,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
2950
2970
|
return (message) => {
|
|
2951
2971
|
console.debug(
|
|
2952
2972
|
`
|
|
2953
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
2973
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
2974
|
+
colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug
|
|
2975
|
+
)(
|
|
2976
|
+
`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
|
|
2977
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
2954
2978
|
`
|
|
2955
2979
|
);
|
|
2956
2980
|
};
|
|
@@ -2959,7 +2983,9 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CON
|
|
|
2959
2983
|
return (message) => {
|
|
2960
2984
|
console.debug(
|
|
2961
2985
|
`
|
|
2962
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
2986
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
2987
|
+
`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
|
|
2988
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
2963
2989
|
`
|
|
2964
2990
|
);
|
|
2965
2991
|
};
|
|
@@ -2967,7 +2993,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogL
|
|
|
2967
2993
|
return (message) => {
|
|
2968
2994
|
console.log(
|
|
2969
2995
|
`
|
|
2970
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
2996
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
2997
|
+
colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand
|
|
2998
|
+
)(
|
|
2999
|
+
`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
|
|
3000
|
+
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
2971
3001
|
`
|
|
2972
3002
|
);
|
|
2973
3003
|
};
|
|
@@ -2987,7 +3017,7 @@ var getStopwatch = (name) => {
|
|
|
2987
3017
|
);
|
|
2988
3018
|
};
|
|
2989
3019
|
};
|
|
2990
|
-
var MAX_DEPTH =
|
|
3020
|
+
var MAX_DEPTH = 6;
|
|
2991
3021
|
var formatLogMessage = (message, options2 = {}, depth2 = 0) => {
|
|
2992
3022
|
if (depth2 > MAX_DEPTH) {
|
|
2993
3023
|
return "<max depth>";
|
|
@@ -3087,7 +3117,7 @@ init_cjs_shims();
|
|
|
3087
3117
|
// ../build-tools/dist/chunk-KVP3YMX6.mjs
|
|
3088
3118
|
init_cjs_shims();
|
|
3089
3119
|
|
|
3090
|
-
// ../build-tools/dist/chunk-
|
|
3120
|
+
// ../build-tools/dist/chunk-LHWWILNN.mjs
|
|
3091
3121
|
init_cjs_shims();
|
|
3092
3122
|
|
|
3093
3123
|
// ../build-tools/dist/chunk-B4H42WDA.mjs
|
|
@@ -3100,7 +3130,7 @@ init_cjs_shims();
|
|
|
3100
3130
|
var import_node_fs = require("fs");
|
|
3101
3131
|
var import_node_path = require("path");
|
|
3102
3132
|
|
|
3103
|
-
// ../build-tools/dist/chunk-
|
|
3133
|
+
// ../build-tools/dist/chunk-RBJMCJYF.mjs
|
|
3104
3134
|
init_cjs_shims();
|
|
3105
3135
|
var import_formatDistanceToNow2 = require("date-fns/formatDistanceToNow");
|
|
3106
3136
|
var import_chalk2 = __toESM(require("chalk"), 1);
|
|
@@ -3127,16 +3157,16 @@ function isUnicodeSupported2() {
|
|
|
3127
3157
|
var useIcon2 = (c3, fallback) => isUnicodeSupported2() ? c3 : fallback;
|
|
3128
3158
|
var CONSOLE_ICONS2 = {
|
|
3129
3159
|
[LogLevelLabel2.ERROR]: useIcon2("\u2718", "\xD7"),
|
|
3130
|
-
[LogLevelLabel2.FATAL]: useIcon2("\
|
|
3160
|
+
[LogLevelLabel2.FATAL]: useIcon2("\u{1F571}", "\xD7"),
|
|
3131
3161
|
[LogLevelLabel2.WARN]: useIcon2("\u26A0", "\u203C"),
|
|
3132
|
-
[LogLevelLabel2.INFO]: useIcon2("\
|
|
3162
|
+
[LogLevelLabel2.INFO]: useIcon2("\u2139", "i"),
|
|
3133
3163
|
[LogLevelLabel2.SUCCESS]: useIcon2("\u2714", "\u221A"),
|
|
3134
3164
|
[LogLevelLabel2.DEBUG]: useIcon2("\u{1F6E0}", "D"),
|
|
3135
3165
|
[LogLevelLabel2.TRACE]: useIcon2("\u2699", "T"),
|
|
3136
3166
|
[LogLevelLabel2.ALL]: useIcon2("\u2709", "\u2192")
|
|
3137
3167
|
};
|
|
3138
3168
|
|
|
3139
|
-
// ../build-tools/dist/chunk-
|
|
3169
|
+
// ../build-tools/dist/chunk-LHWWILNN.mjs
|
|
3140
3170
|
var import_c12 = require("c12");
|
|
3141
3171
|
var import_defu = __toESM(require("defu"), 1);
|
|
3142
3172
|
var z = __toESM(require("zod/mini"), 1);
|
|
@@ -3722,13 +3752,13 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
3722
3752
|
init_cjs_shims();
|
|
3723
3753
|
var import_create_task_graph = require("nx/src/tasks-runner/create-task-graph");
|
|
3724
3754
|
|
|
3725
|
-
// ../build-tools/dist/chunk-
|
|
3755
|
+
// ../build-tools/dist/chunk-Y5BAO2UH.mjs
|
|
3726
3756
|
init_cjs_shims();
|
|
3727
3757
|
var import_copy_assets_handler = require("@nx/js/src/utils/assets/copy-assets-handler");
|
|
3728
3758
|
var import_glob = require("glob");
|
|
3729
3759
|
var import_promises3 = require("fs/promises");
|
|
3730
3760
|
|
|
3731
|
-
// ../build-tools/dist/chunk-
|
|
3761
|
+
// ../build-tools/dist/chunk-CFPR4SJM.mjs
|
|
3732
3762
|
init_cjs_shims();
|
|
3733
3763
|
var import_buildable_libs_utils = require("@nx/js/src/utils/buildable-libs-utils");
|
|
3734
3764
|
var import_glob2 = require("glob");
|
|
@@ -3736,7 +3766,7 @@ var import_node_fs5 = require("fs");
|
|
|
3736
3766
|
var import_promises4 = require("fs/promises");
|
|
3737
3767
|
var import_project_graph = require("nx/src/project-graph/project-graph");
|
|
3738
3768
|
|
|
3739
|
-
// ../build-tools/dist/chunk-
|
|
3769
|
+
// ../build-tools/dist/chunk-3DLJAR7G.mjs
|
|
3740
3770
|
init_cjs_shims();
|
|
3741
3771
|
var import_glob3 = require("glob");
|
|
3742
3772
|
|
|
@@ -3770,14 +3800,14 @@ init_cjs_shims();
|
|
|
3770
3800
|
// ../build-tools/dist/chunk-UN3B7LBV.mjs
|
|
3771
3801
|
init_cjs_shims();
|
|
3772
3802
|
|
|
3773
|
-
// ../build-tools/dist/chunk-
|
|
3803
|
+
// ../build-tools/dist/chunk-NXHXDYIG.mjs
|
|
3774
3804
|
init_cjs_shims();
|
|
3775
3805
|
|
|
3776
3806
|
// ../build-tools/dist/chunk-7YKXR5JJ.mjs
|
|
3777
3807
|
init_cjs_shims();
|
|
3778
3808
|
var import_core = require("@swc/core");
|
|
3779
3809
|
|
|
3780
|
-
// ../build-tools/dist/chunk-
|
|
3810
|
+
// ../build-tools/dist/chunk-4K7KJ6JA.mjs
|
|
3781
3811
|
init_cjs_shims();
|
|
3782
3812
|
var import_node_fs6 = __toESM(require("fs"), 1);
|
|
3783
3813
|
var import_node_module = require("module");
|
|
@@ -3792,13 +3822,13 @@ var import_path = require("path");
|
|
|
3792
3822
|
// ../config-tools/dist/get-config.js
|
|
3793
3823
|
init_cjs_shims();
|
|
3794
3824
|
|
|
3795
|
-
// ../config-tools/dist/chunk-
|
|
3825
|
+
// ../config-tools/dist/chunk-UKEDB2ON.js
|
|
3796
3826
|
init_cjs_shims();
|
|
3797
3827
|
|
|
3798
|
-
// ../config-tools/dist/chunk-
|
|
3828
|
+
// ../config-tools/dist/chunk-7JOKNFUH.js
|
|
3799
3829
|
init_cjs_shims();
|
|
3800
3830
|
|
|
3801
|
-
// ../config-tools/dist/chunk-
|
|
3831
|
+
// ../config-tools/dist/chunk-BWPCVQEV.js
|
|
3802
3832
|
init_cjs_shims();
|
|
3803
3833
|
|
|
3804
3834
|
// ../config-tools/dist/chunk-LF3SAK2O.js
|
|
@@ -4024,7 +4054,7 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
|
|
|
4024
4054
|
return result;
|
|
4025
4055
|
}
|
|
4026
4056
|
|
|
4027
|
-
// ../config-tools/dist/chunk-
|
|
4057
|
+
// ../config-tools/dist/chunk-BWPCVQEV.js
|
|
4028
4058
|
var import_c122 = require("c12");
|
|
4029
4059
|
var import_defu3 = __toESM(require("defu"), 1);
|
|
4030
4060
|
var getConfigFileByName = async (fileName, filePath, options2 = {}) => {
|
|
@@ -4988,7 +5018,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
4988
5018
|
// ../config/dist/schema.js
|
|
4989
5019
|
init_cjs_shims();
|
|
4990
5020
|
|
|
4991
|
-
// ../config-tools/dist/chunk-
|
|
5021
|
+
// ../config-tools/dist/chunk-7JOKNFUH.js
|
|
4992
5022
|
var import_defu4 = __toESM(require("defu"), 1);
|
|
4993
5023
|
var import_node_fs9 = require("fs");
|
|
4994
5024
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
@@ -5085,7 +5115,7 @@ ${formatLogMessage(config)}`,
|
|
|
5085
5115
|
return config;
|
|
5086
5116
|
};
|
|
5087
5117
|
|
|
5088
|
-
// ../config-tools/dist/chunk-
|
|
5118
|
+
// ../config-tools/dist/chunk-UKEDB2ON.js
|
|
5089
5119
|
function getConfig(workspaceRoot, skipLogs = false) {
|
|
5090
5120
|
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
5091
5121
|
}
|
package/dist/index.js
CHANGED
package/dist/options.cjs
CHANGED
|
@@ -38,7 +38,7 @@ module.exports = __toCommonJS(options_exports);
|
|
|
38
38
|
var import_node_fs = require("fs");
|
|
39
39
|
var import_node_path = require("path");
|
|
40
40
|
|
|
41
|
-
// ../build-tools/dist/chunk-
|
|
41
|
+
// ../build-tools/dist/chunk-RBJMCJYF.mjs
|
|
42
42
|
var import_formatDistanceToNow = require("date-fns/formatDistanceToNow");
|
|
43
43
|
var import_chalk = __toESM(require("chalk"), 1);
|
|
44
44
|
var LogLevelLabel = {
|
|
@@ -64,16 +64,16 @@ function isUnicodeSupported() {
|
|
|
64
64
|
var useIcon = (c3, fallback) => isUnicodeSupported() ? c3 : fallback;
|
|
65
65
|
var CONSOLE_ICONS = {
|
|
66
66
|
[LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
|
|
67
|
-
[LogLevelLabel.FATAL]: useIcon("\
|
|
67
|
+
[LogLevelLabel.FATAL]: useIcon("\u{1F571}", "\xD7"),
|
|
68
68
|
[LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
|
|
69
|
-
[LogLevelLabel.INFO]: useIcon("\
|
|
69
|
+
[LogLevelLabel.INFO]: useIcon("\u2139", "i"),
|
|
70
70
|
[LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
|
|
71
71
|
[LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
|
|
72
72
|
[LogLevelLabel.TRACE]: useIcon("\u2699", "T"),
|
|
73
73
|
[LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
// ../build-tools/dist/chunk-
|
|
76
|
+
// ../build-tools/dist/chunk-LHWWILNN.mjs
|
|
77
77
|
var import_c12 = require("c12");
|
|
78
78
|
var import_defu = __toESM(require("defu"), 1);
|
|
79
79
|
var z = __toESM(require("zod/mini"), 1);
|
|
@@ -658,19 +658,19 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
658
658
|
// ../build-tools/dist/chunk-JCFRYUYP.mjs
|
|
659
659
|
var import_create_task_graph = require("nx/src/tasks-runner/create-task-graph");
|
|
660
660
|
|
|
661
|
-
// ../build-tools/dist/chunk-
|
|
661
|
+
// ../build-tools/dist/chunk-Y5BAO2UH.mjs
|
|
662
662
|
var import_copy_assets_handler = require("@nx/js/src/utils/assets/copy-assets-handler");
|
|
663
663
|
var import_glob = require("glob");
|
|
664
664
|
var import_promises3 = require("fs/promises");
|
|
665
665
|
|
|
666
|
-
// ../build-tools/dist/chunk-
|
|
666
|
+
// ../build-tools/dist/chunk-CFPR4SJM.mjs
|
|
667
667
|
var import_buildable_libs_utils = require("@nx/js/src/utils/buildable-libs-utils");
|
|
668
668
|
var import_glob2 = require("glob");
|
|
669
669
|
var import_node_fs5 = require("fs");
|
|
670
670
|
var import_promises4 = require("fs/promises");
|
|
671
671
|
var import_project_graph = require("nx/src/project-graph/project-graph");
|
|
672
672
|
|
|
673
|
-
// ../build-tools/dist/chunk-
|
|
673
|
+
// ../build-tools/dist/chunk-3DLJAR7G.mjs
|
|
674
674
|
var import_glob3 = require("glob");
|
|
675
675
|
|
|
676
676
|
// ../build-tools/dist/chunk-5M6M27NH.mjs
|
|
@@ -704,7 +704,7 @@ var getEnv = (builder, options) => {
|
|
|
704
704
|
// ../build-tools/dist/chunk-7YKXR5JJ.mjs
|
|
705
705
|
var import_core = require("@swc/core");
|
|
706
706
|
|
|
707
|
-
// ../build-tools/dist/chunk-
|
|
707
|
+
// ../build-tools/dist/chunk-4K7KJ6JA.mjs
|
|
708
708
|
var import_node_fs6 = __toESM(require("fs"), 1);
|
|
709
709
|
var import_node_module = require("module");
|
|
710
710
|
var import_node_path3 = __toESM(require("path"), 1);
|
|
@@ -1038,13 +1038,13 @@ var LogLevelLabel2 = {
|
|
|
1038
1038
|
ALL: "all"
|
|
1039
1039
|
};
|
|
1040
1040
|
|
|
1041
|
-
// ../config-tools/dist/chunk-
|
|
1041
|
+
// ../config-tools/dist/chunk-AITAR5W5.js
|
|
1042
1042
|
var useIcon2 = (c3, fallback) => isUnicodeSupported2() ? c3 : fallback;
|
|
1043
1043
|
var CONSOLE_ICONS2 = {
|
|
1044
1044
|
[LogLevelLabel2.ERROR]: useIcon2("\u2718", "\xD7"),
|
|
1045
|
-
[LogLevelLabel2.FATAL]: useIcon2("\
|
|
1045
|
+
[LogLevelLabel2.FATAL]: useIcon2("\u{1F571}", "\xD7"),
|
|
1046
1046
|
[LogLevelLabel2.WARN]: useIcon2("\u26A0", "\u203C"),
|
|
1047
|
-
[LogLevelLabel2.INFO]: useIcon2("\
|
|
1047
|
+
[LogLevelLabel2.INFO]: useIcon2("\u2139", "i"),
|
|
1048
1048
|
[LogLevelLabel2.SUCCESS]: useIcon2("\u2714", "\u221A"),
|
|
1049
1049
|
[LogLevelLabel2.DEBUG]: useIcon2("\u{1F6E0}", "D"),
|
|
1050
1050
|
[LogLevelLabel2.TRACE]: useIcon2("\u2699", "T"),
|
|
@@ -1107,7 +1107,7 @@ var getLogLevelLabel2 = (logLevel = LogLevel2.INFO) => {
|
|
|
1107
1107
|
return LogLevelLabel2.INFO;
|
|
1108
1108
|
};
|
|
1109
1109
|
|
|
1110
|
-
// ../config-tools/dist/chunk-
|
|
1110
|
+
// ../config-tools/dist/chunk-H7DDJQE3.js
|
|
1111
1111
|
var import_formatDistanceToNow2 = require("date-fns/formatDistanceToNow");
|
|
1112
1112
|
var getLogFn = (logLevel = LogLevel2.INFO, config = {}, _chalk = getChalk()) => {
|
|
1113
1113
|
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;
|
|
@@ -1120,7 +1120,11 @@ var getLogFn = (logLevel = LogLevel2.INFO, config = {}, _chalk = getChalk()) =>
|
|
|
1120
1120
|
return (message) => {
|
|
1121
1121
|
console.error(
|
|
1122
1122
|
`
|
|
1123
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1123
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1124
|
+
colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal
|
|
1125
|
+
)(
|
|
1126
|
+
`[${CONSOLE_ICONS2[LogLevelLabel2.FATAL]} Fatal] `
|
|
1127
|
+
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1124
1128
|
`
|
|
1125
1129
|
);
|
|
1126
1130
|
};
|
|
@@ -1129,7 +1133,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CON
|
|
|
1129
1133
|
return (message) => {
|
|
1130
1134
|
console.error(
|
|
1131
1135
|
`
|
|
1132
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1136
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1137
|
+
colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger
|
|
1138
|
+
)(
|
|
1139
|
+
`[${CONSOLE_ICONS2[LogLevelLabel2.ERROR]} Error] `
|
|
1140
|
+
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1133
1141
|
`
|
|
1134
1142
|
);
|
|
1135
1143
|
};
|
|
@@ -1138,7 +1146,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CO
|
|
|
1138
1146
|
return (message) => {
|
|
1139
1147
|
console.warn(
|
|
1140
1148
|
`
|
|
1141
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1149
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1150
|
+
colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning
|
|
1151
|
+
)(
|
|
1152
|
+
`[${CONSOLE_ICONS2[LogLevelLabel2.WARN]} Warn] `
|
|
1153
|
+
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1142
1154
|
`
|
|
1143
1155
|
);
|
|
1144
1156
|
};
|
|
@@ -1147,7 +1159,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? DEFAULT_COLOR_C
|
|
|
1147
1159
|
return (message) => {
|
|
1148
1160
|
console.info(
|
|
1149
1161
|
`
|
|
1150
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1162
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1163
|
+
colors.success ?? DEFAULT_COLOR_CONFIG.dark.success
|
|
1164
|
+
)(
|
|
1165
|
+
`[${CONSOLE_ICONS2[LogLevelLabel2.SUCCESS]} Success] `
|
|
1166
|
+
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1151
1167
|
`
|
|
1152
1168
|
);
|
|
1153
1169
|
};
|
|
@@ -1156,7 +1172,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? DEFAULT_COLOR_C
|
|
|
1156
1172
|
return (message) => {
|
|
1157
1173
|
console.info(
|
|
1158
1174
|
`
|
|
1159
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1175
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1176
|
+
colors.info ?? DEFAULT_COLOR_CONFIG.dark.info
|
|
1177
|
+
)(
|
|
1178
|
+
`[${CONSOLE_ICONS2[LogLevelLabel2.INFO]} Info] `
|
|
1179
|
+
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1160
1180
|
`
|
|
1161
1181
|
);
|
|
1162
1182
|
};
|
|
@@ -1165,7 +1185,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
|
|
|
1165
1185
|
return (message) => {
|
|
1166
1186
|
console.debug(
|
|
1167
1187
|
`
|
|
1168
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1188
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1189
|
+
colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug
|
|
1190
|
+
)(
|
|
1191
|
+
`[${CONSOLE_ICONS2[LogLevelLabel2.DEBUG]} Debug] `
|
|
1192
|
+
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1169
1193
|
`
|
|
1170
1194
|
);
|
|
1171
1195
|
};
|
|
@@ -1174,7 +1198,9 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CON
|
|
|
1174
1198
|
return (message) => {
|
|
1175
1199
|
console.debug(
|
|
1176
1200
|
`
|
|
1177
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
1201
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
1202
|
+
`[${CONSOLE_ICONS2[LogLevelLabel2.TRACE]} Trace] `
|
|
1203
|
+
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1178
1204
|
`
|
|
1179
1205
|
);
|
|
1180
1206
|
};
|
|
@@ -1182,7 +1208,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS2[Log
|
|
|
1182
1208
|
return (message) => {
|
|
1183
1209
|
console.log(
|
|
1184
1210
|
`
|
|
1185
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1211
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1212
|
+
colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand
|
|
1213
|
+
)(
|
|
1214
|
+
`[${CONSOLE_ICONS2[LogLevelLabel2.ALL]} System] `
|
|
1215
|
+
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1186
1216
|
`
|
|
1187
1217
|
);
|
|
1188
1218
|
};
|
|
@@ -1202,7 +1232,7 @@ var getStopwatch = (name) => {
|
|
|
1202
1232
|
);
|
|
1203
1233
|
};
|
|
1204
1234
|
};
|
|
1205
|
-
var MAX_DEPTH =
|
|
1235
|
+
var MAX_DEPTH = 6;
|
|
1206
1236
|
var formatLogMessage2 = (message, options = {}, depth2 = 0) => {
|
|
1207
1237
|
if (depth2 > MAX_DEPTH) {
|
|
1208
1238
|
return "<max depth>";
|
|
@@ -1227,7 +1257,7 @@ var _isFunction = (value) => {
|
|
|
1227
1257
|
}
|
|
1228
1258
|
};
|
|
1229
1259
|
|
|
1230
|
-
// ../config-tools/dist/chunk-
|
|
1260
|
+
// ../config-tools/dist/chunk-BWPCVQEV.js
|
|
1231
1261
|
var import_c122 = require("c12");
|
|
1232
1262
|
var import_defu3 = __toESM(require("defu"), 1);
|
|
1233
1263
|
var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
@@ -2172,7 +2202,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
2172
2202
|
};
|
|
2173
2203
|
};
|
|
2174
2204
|
|
|
2175
|
-
// ../config-tools/dist/chunk-
|
|
2205
|
+
// ../config-tools/dist/chunk-7JOKNFUH.js
|
|
2176
2206
|
var import_defu4 = __toESM(require("defu"), 1);
|
|
2177
2207
|
var import_node_fs9 = require("fs");
|
|
2178
2208
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
@@ -2269,7 +2299,7 @@ ${formatLogMessage2(config)}`,
|
|
|
2269
2299
|
return config;
|
|
2270
2300
|
};
|
|
2271
2301
|
|
|
2272
|
-
// ../config-tools/dist/chunk-
|
|
2302
|
+
// ../config-tools/dist/chunk-UKEDB2ON.js
|
|
2273
2303
|
function getConfig(workspaceRoot, skipLogs = false) {
|
|
2274
2304
|
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
2275
2305
|
}
|
package/dist/options.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/tsup",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.78",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing bundled patches for tsup.",
|
|
6
6
|
"repository": {
|
|
@@ -104,8 +104,8 @@
|
|
|
104
104
|
"files": ["assets/**/*", "dist/**/*"],
|
|
105
105
|
"keywords": ["tsup", "storm", "storm-ops", "storm-software"],
|
|
106
106
|
"dependencies": {
|
|
107
|
-
"@storm-software/build-tools": "^0.158.
|
|
108
|
-
"@storm-software/config-tools": "^1.188.
|
|
107
|
+
"@storm-software/build-tools": "^0.158.80",
|
|
108
|
+
"@storm-software/config-tools": "^1.188.80"
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
111
|
"@types/node": "^24.10.4",
|
|
@@ -115,5 +115,5 @@
|
|
|
115
115
|
},
|
|
116
116
|
"publishConfig": { "access": "public" },
|
|
117
117
|
"sideEffects": false,
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "f0da2445e3b4764750c75fdcd1d0ec13a10c6602"
|
|
119
119
|
}
|