@storm-software/tsup 0.2.156 → 0.2.158
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{chunk-DWHXIOX7.js → chunk-34L4MTJO.js} +36 -47
- package/dist/{chunk-ZYHW6MYT.js → chunk-RLJUCS34.js} +1 -1
- package/dist/{chunk-X5RNJZHC.js → chunk-WSNOMPFU.js} +2 -2
- package/dist/{chunk-3CZZT5LC.js → chunk-XFKER5GQ.js} +1 -1
- package/dist/constants.js +2 -2
- package/dist/index.cjs +48 -59
- package/dist/index.js +16 -16
- package/dist/options.cjs +28 -39
- package/dist/options.js +3 -3
- package/dist/types.js +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
DEFAULT_BUILD_OPTIONS,
|
|
3
3
|
DEFAULT_ENVIRONMENT,
|
|
4
4
|
DEFAULT_ORGANIZATION
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XFKER5GQ.js";
|
|
6
6
|
import {
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WSNOMPFU.js";
|
|
9
9
|
|
|
10
10
|
// src/options.ts
|
|
11
11
|
init_esm_shims();
|
|
@@ -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-HHXTFBAS.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-47RCC4BE.mjs
|
|
33
33
|
init_esm_shims();
|
|
34
34
|
import { formatDistanceToNow } from "date-fns/formatDistanceToNow";
|
|
35
35
|
import chalk from "chalk";
|
|
@@ -67,7 +67,7 @@ var CONSOLE_ICONS = {
|
|
|
67
67
|
[LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
-
// ../build-tools/dist/chunk-
|
|
70
|
+
// ../build-tools/dist/chunk-HHXTFBAS.mjs
|
|
71
71
|
import { loadConfig } from "c12";
|
|
72
72
|
import defu from "defu";
|
|
73
73
|
import * as z from "zod/v4/mini";
|
|
@@ -664,13 +664,13 @@ import {
|
|
|
664
664
|
mapTargetDefaultsToDependencies
|
|
665
665
|
} from "nx/src/tasks-runner/create-task-graph";
|
|
666
666
|
|
|
667
|
-
// ../build-tools/dist/chunk-
|
|
667
|
+
// ../build-tools/dist/chunk-SPZAYXEL.mjs
|
|
668
668
|
init_esm_shims();
|
|
669
669
|
import { CopyAssetsHandler } from "@nx/js/src/utils/assets/copy-assets-handler";
|
|
670
670
|
import { glob } from "glob";
|
|
671
671
|
import { readFile as readFile3, writeFile } from "node:fs/promises";
|
|
672
672
|
|
|
673
|
-
// ../build-tools/dist/chunk-
|
|
673
|
+
// ../build-tools/dist/chunk-KDULOKHB.mjs
|
|
674
674
|
init_esm_shims();
|
|
675
675
|
import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildable-libs-utils";
|
|
676
676
|
import { Glob } from "glob";
|
|
@@ -682,7 +682,7 @@ import {
|
|
|
682
682
|
readProjectsConfigurationFromProjectGraph
|
|
683
683
|
} from "nx/src/project-graph/project-graph";
|
|
684
684
|
|
|
685
|
-
// ../build-tools/dist/chunk-
|
|
685
|
+
// ../build-tools/dist/chunk-3QKWF2PP.mjs
|
|
686
686
|
init_esm_shims();
|
|
687
687
|
import { glob as glob2 } from "glob";
|
|
688
688
|
|
|
@@ -716,14 +716,14 @@ init_esm_shims();
|
|
|
716
716
|
// ../build-tools/dist/chunk-UN3B7LBV.mjs
|
|
717
717
|
init_esm_shims();
|
|
718
718
|
|
|
719
|
-
// ../build-tools/dist/chunk-
|
|
719
|
+
// ../build-tools/dist/chunk-VDPPY6KF.mjs
|
|
720
720
|
init_esm_shims();
|
|
721
721
|
|
|
722
722
|
// ../build-tools/dist/chunk-7YKXR5JJ.mjs
|
|
723
723
|
init_esm_shims();
|
|
724
724
|
import { transform } from "@swc/core";
|
|
725
725
|
|
|
726
|
-
// ../build-tools/dist/chunk-
|
|
726
|
+
// ../build-tools/dist/chunk-WWMBAWAV.mjs
|
|
727
727
|
init_esm_shims();
|
|
728
728
|
import fs from "node:fs";
|
|
729
729
|
import { builtinModules } from "node:module";
|
|
@@ -738,13 +738,13 @@ import { relative } from "path";
|
|
|
738
738
|
// ../config-tools/dist/get-config.js
|
|
739
739
|
init_esm_shims();
|
|
740
740
|
|
|
741
|
-
// ../config-tools/dist/chunk-
|
|
741
|
+
// ../config-tools/dist/chunk-CZGO7WY3.js
|
|
742
742
|
init_esm_shims();
|
|
743
743
|
|
|
744
|
-
// ../config-tools/dist/chunk-
|
|
744
|
+
// ../config-tools/dist/chunk-KVDT6KNS.js
|
|
745
745
|
init_esm_shims();
|
|
746
746
|
|
|
747
|
-
// ../config-tools/dist/chunk-
|
|
747
|
+
// ../config-tools/dist/chunk-ORVHSCSN.js
|
|
748
748
|
init_esm_shims();
|
|
749
749
|
|
|
750
750
|
// ../config-tools/dist/chunk-LF3SAK2O.js
|
|
@@ -970,7 +970,7 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
|
|
|
970
970
|
return result;
|
|
971
971
|
}
|
|
972
972
|
|
|
973
|
-
// ../config-tools/dist/chunk-
|
|
973
|
+
// ../config-tools/dist/chunk-TOMKPXJE.js
|
|
974
974
|
init_esm_shims();
|
|
975
975
|
|
|
976
976
|
// ../config-tools/dist/chunk-5DQF4GNF.js
|
|
@@ -1104,10 +1104,10 @@ var CONSOLE_ICONS2 = {
|
|
|
1104
1104
|
[LogLevelLabel2.ALL]: useIcon2("\u2709", "\u2192")
|
|
1105
1105
|
};
|
|
1106
1106
|
|
|
1107
|
-
// ../config-tools/dist/chunk-
|
|
1107
|
+
// ../config-tools/dist/chunk-JZAYHDV3.js
|
|
1108
1108
|
init_esm_shims();
|
|
1109
|
-
var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
|
|
1110
|
-
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
|
1109
|
+
var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
|
|
1110
|
+
return fullDateTime ? `${date.toLocaleDateString()} ${date.toLocaleTimeString()}` : `${date.toLocaleTimeString()}`;
|
|
1111
1111
|
};
|
|
1112
1112
|
|
|
1113
1113
|
// ../config-tools/dist/chunk-SXPH7ILL.js
|
|
@@ -1167,7 +1167,7 @@ var getLogLevelLabel2 = (logLevel = LogLevel2.INFO) => {
|
|
|
1167
1167
|
return LogLevelLabel2.INFO;
|
|
1168
1168
|
};
|
|
1169
1169
|
|
|
1170
|
-
// ../config-tools/dist/chunk-
|
|
1170
|
+
// ../config-tools/dist/chunk-TOMKPXJE.js
|
|
1171
1171
|
var daysInYear = 365.2425;
|
|
1172
1172
|
var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1e3;
|
|
1173
1173
|
var minTime = -maxTime;
|
|
@@ -1852,7 +1852,12 @@ function formatDistance2(laterDate, earlierDate, options) {
|
|
|
1852
1852
|
function formatDistanceToNow2(date, options) {
|
|
1853
1853
|
return formatDistance2(date, constructNow(date), options);
|
|
1854
1854
|
}
|
|
1855
|
-
var getLogFn = (logLevel = LogLevel2.INFO, config = {},
|
|
1855
|
+
var getLogFn = (logLevel = LogLevel2.INFO, config = {}, options = {}) => {
|
|
1856
|
+
const {
|
|
1857
|
+
chalk: _chalk = getChalk(),
|
|
1858
|
+
fullDateTime = false,
|
|
1859
|
+
hideDateTime = false
|
|
1860
|
+
} = options;
|
|
1856
1861
|
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;
|
|
1857
1862
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel2.INFO;
|
|
1858
1863
|
if (logLevel > getLogLevel2(configLogLevel) || logLevel <= LogLevel2.SILENT || getLogLevel2(configLogLevel) <= LogLevel2.SILENT) {
|
|
@@ -1863,9 +1868,7 @@ var getLogFn = (logLevel = LogLevel2.INFO, config = {}, _chalk = getChalk()) =>
|
|
|
1863
1868
|
return (message) => {
|
|
1864
1869
|
console.error(
|
|
1865
1870
|
`
|
|
1866
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1867
|
-
colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal
|
|
1868
|
-
)(
|
|
1871
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(
|
|
1869
1872
|
`[${CONSOLE_ICONS2[LogLevelLabel2.FATAL]} Fatal] `
|
|
1870
1873
|
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1871
1874
|
`
|
|
@@ -1876,9 +1879,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
1876
1879
|
return (message) => {
|
|
1877
1880
|
console.error(
|
|
1878
1881
|
`
|
|
1879
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1880
|
-
colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger
|
|
1881
|
-
)(
|
|
1882
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(
|
|
1882
1883
|
`[${CONSOLE_ICONS2[LogLevelLabel2.ERROR]} Error] `
|
|
1883
1884
|
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1884
1885
|
`
|
|
@@ -1889,9 +1890,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
1889
1890
|
return (message) => {
|
|
1890
1891
|
console.warn(
|
|
1891
1892
|
`
|
|
1892
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1893
|
-
colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning
|
|
1894
|
-
)(
|
|
1893
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(
|
|
1895
1894
|
`[${CONSOLE_ICONS2[LogLevelLabel2.WARN]} Warn] `
|
|
1896
1895
|
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1897
1896
|
`
|
|
@@ -1902,9 +1901,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
1902
1901
|
return (message) => {
|
|
1903
1902
|
console.info(
|
|
1904
1903
|
`
|
|
1905
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1906
|
-
colors.success ?? DEFAULT_COLOR_CONFIG.dark.success
|
|
1907
|
-
)(
|
|
1904
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(
|
|
1908
1905
|
`[${CONSOLE_ICONS2[LogLevelLabel2.SUCCESS]} Success] `
|
|
1909
1906
|
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1910
1907
|
`
|
|
@@ -1915,9 +1912,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
1915
1912
|
return (message) => {
|
|
1916
1913
|
console.info(
|
|
1917
1914
|
`
|
|
1918
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1919
|
-
colors.info ?? DEFAULT_COLOR_CONFIG.dark.info
|
|
1920
|
-
)(
|
|
1915
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(
|
|
1921
1916
|
`[${CONSOLE_ICONS2[LogLevelLabel2.INFO]} Info] `
|
|
1922
1917
|
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1923
1918
|
`
|
|
@@ -1928,9 +1923,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
1928
1923
|
return (message) => {
|
|
1929
1924
|
console.debug(
|
|
1930
1925
|
`
|
|
1931
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1932
|
-
colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance
|
|
1933
|
-
)(
|
|
1926
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance)(
|
|
1934
1927
|
`[${CONSOLE_ICONS2[LogLevelLabel2.PERFORMANCE]} Performance] `
|
|
1935
1928
|
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1936
1929
|
`
|
|
@@ -1941,9 +1934,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
1941
1934
|
return (message) => {
|
|
1942
1935
|
console.debug(
|
|
1943
1936
|
`
|
|
1944
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1945
|
-
colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug
|
|
1946
|
-
)(
|
|
1937
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(
|
|
1947
1938
|
`[${CONSOLE_ICONS2[LogLevelLabel2.DEBUG]} Debug] `
|
|
1948
1939
|
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1949
1940
|
`
|
|
@@ -1954,7 +1945,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
1954
1945
|
return (message) => {
|
|
1955
1946
|
console.debug(
|
|
1956
1947
|
`
|
|
1957
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
1948
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex("#bbbbbb")(
|
|
1958
1949
|
`[${CONSOLE_ICONS2[LogLevelLabel2.TRACE]} Trace] `
|
|
1959
1950
|
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1960
1951
|
`
|
|
@@ -1964,9 +1955,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
|
1964
1955
|
return (message) => {
|
|
1965
1956
|
console.log(
|
|
1966
1957
|
`
|
|
1967
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1968
|
-
colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand
|
|
1969
|
-
)(
|
|
1958
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(
|
|
1970
1959
|
`[${CONSOLE_ICONS2[LogLevelLabel2.ALL]} System] `
|
|
1971
1960
|
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1972
1961
|
`
|
|
@@ -2012,7 +2001,7 @@ var _isFunction = (value) => {
|
|
|
2012
2001
|
}
|
|
2013
2002
|
};
|
|
2014
2003
|
|
|
2015
|
-
// ../config-tools/dist/chunk-
|
|
2004
|
+
// ../config-tools/dist/chunk-ORVHSCSN.js
|
|
2016
2005
|
import { loadConfig as loadConfig2 } from "c12";
|
|
2017
2006
|
import defu3 from "defu";
|
|
2018
2007
|
var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
@@ -2986,7 +2975,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
2986
2975
|
// ../config/dist/schema.js
|
|
2987
2976
|
init_esm_shims();
|
|
2988
2977
|
|
|
2989
|
-
// ../config-tools/dist/chunk-
|
|
2978
|
+
// ../config-tools/dist/chunk-KVDT6KNS.js
|
|
2990
2979
|
import defu4 from "defu";
|
|
2991
2980
|
import { existsSync as existsSync7 } from "node:fs";
|
|
2992
2981
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
@@ -3087,7 +3076,7 @@ ${formatLogMessage2(config)}`,
|
|
|
3087
3076
|
return config;
|
|
3088
3077
|
};
|
|
3089
3078
|
|
|
3090
|
-
// ../config-tools/dist/chunk-
|
|
3079
|
+
// ../config-tools/dist/chunk-CZGO7WY3.js
|
|
3091
3080
|
function getConfig(workspaceRoot, skipLogs = false) {
|
|
3092
3081
|
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
3093
3082
|
}
|
|
@@ -33,12 +33,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
mod
|
|
34
34
|
));
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/assets/esm_shims.js
|
|
37
37
|
import { fileURLToPath } from "url";
|
|
38
38
|
import path from "path";
|
|
39
39
|
var getFilename, getDirname, __dirname;
|
|
40
40
|
var init_esm_shims = __esm({
|
|
41
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
41
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/assets/esm_shims.js"() {
|
|
42
42
|
"use strict";
|
|
43
43
|
getFilename = () => fileURLToPath(import.meta.url);
|
|
44
44
|
getDirname = () => path.dirname(getFilename());
|
package/dist/constants.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -33,16 +33,16 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var init_cjs_shims = __esm({
|
|
38
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
38
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/assets/cjs_shims.js"() {
|
|
39
39
|
"use strict";
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
43
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/chunk-BYH4XDRH.js
|
|
44
44
|
var require_chunk_BYH4XDRH = __commonJS({
|
|
45
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
45
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/chunk-BYH4XDRH.js"(exports2) {
|
|
46
46
|
"use strict";
|
|
47
47
|
init_cjs_shims();
|
|
48
48
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -51,9 +51,9 @@ var require_chunk_BYH4XDRH = __commonJS({
|
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
54
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/chunk-TWFEYLU4.js
|
|
55
55
|
var require_chunk_TWFEYLU4 = __commonJS({
|
|
56
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
56
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/chunk-TWFEYLU4.js"(exports2) {
|
|
57
57
|
"use strict";
|
|
58
58
|
init_cjs_shims();
|
|
59
59
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -430,9 +430,9 @@ var require_chunk_TWFEYLU4 = __commonJS({
|
|
|
430
430
|
}
|
|
431
431
|
});
|
|
432
432
|
|
|
433
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
433
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/chunk-VGC3FXLU.js
|
|
434
434
|
var require_chunk_VGC3FXLU = __commonJS({
|
|
435
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
435
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/chunk-VGC3FXLU.js"(exports2) {
|
|
436
436
|
"use strict";
|
|
437
437
|
init_cjs_shims();
|
|
438
438
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -659,9 +659,9 @@ var require_chunk_VGC3FXLU = __commonJS({
|
|
|
659
659
|
}
|
|
660
660
|
});
|
|
661
661
|
|
|
662
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
662
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/chunk-JZ25TPTY.js
|
|
663
663
|
var require_chunk_JZ25TPTY = __commonJS({
|
|
664
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
664
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/chunk-JZ25TPTY.js"(exports2) {
|
|
665
665
|
"use strict";
|
|
666
666
|
init_cjs_shims();
|
|
667
667
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -710,9 +710,9 @@ var require_chunk_JZ25TPTY = __commonJS({
|
|
|
710
710
|
}
|
|
711
711
|
});
|
|
712
712
|
|
|
713
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
713
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/commonjs-plugin.js
|
|
714
714
|
var require_commonjs_plugin = __commonJS({
|
|
715
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
715
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/commonjs-plugin.js"(exports2, module2) {
|
|
716
716
|
"use strict";
|
|
717
717
|
init_cjs_shims();
|
|
718
718
|
var __defProp2 = Object.defineProperty;
|
|
@@ -1041,9 +1041,9 @@ var require_commonjs_plugin = __commonJS({
|
|
|
1041
1041
|
}
|
|
1042
1042
|
});
|
|
1043
1043
|
|
|
1044
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
1044
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/index.js
|
|
1045
1045
|
var require_dist = __commonJS({
|
|
1046
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
1046
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/index.js"(exports2) {
|
|
1047
1047
|
"use strict";
|
|
1048
1048
|
init_cjs_shims();
|
|
1049
1049
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -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-TOMKPXJE.js
|
|
2709
2709
|
init_cjs_shims();
|
|
2710
2710
|
|
|
2711
2711
|
// ../config-tools/dist/chunk-5DQF4GNF.js
|
|
@@ -2839,10 +2839,10 @@ var CONSOLE_ICONS = {
|
|
|
2839
2839
|
[LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
|
|
2840
2840
|
};
|
|
2841
2841
|
|
|
2842
|
-
// ../config-tools/dist/chunk-
|
|
2842
|
+
// ../config-tools/dist/chunk-JZAYHDV3.js
|
|
2843
2843
|
init_cjs_shims();
|
|
2844
|
-
var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
|
|
2845
|
-
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
|
2844
|
+
var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
|
|
2845
|
+
return fullDateTime ? `${date.toLocaleDateString()} ${date.toLocaleTimeString()}` : `${date.toLocaleTimeString()}`;
|
|
2846
2846
|
};
|
|
2847
2847
|
|
|
2848
2848
|
// ../config-tools/dist/chunk-SXPH7ILL.js
|
|
@@ -2902,7 +2902,7 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
2902
2902
|
return LogLevelLabel.INFO;
|
|
2903
2903
|
};
|
|
2904
2904
|
|
|
2905
|
-
// ../config-tools/dist/chunk-
|
|
2905
|
+
// ../config-tools/dist/chunk-TOMKPXJE.js
|
|
2906
2906
|
var daysInYear = 365.2425;
|
|
2907
2907
|
var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1e3;
|
|
2908
2908
|
var minTime = -maxTime;
|
|
@@ -3587,7 +3587,12 @@ function formatDistance2(laterDate, earlierDate, options2) {
|
|
|
3587
3587
|
function formatDistanceToNow(date, options2) {
|
|
3588
3588
|
return formatDistance2(date, constructNow(date), options2);
|
|
3589
3589
|
}
|
|
3590
|
-
var getLogFn = (logLevel = LogLevel.INFO, config = {},
|
|
3590
|
+
var getLogFn = (logLevel = LogLevel.INFO, config = {}, options2 = {}) => {
|
|
3591
|
+
const {
|
|
3592
|
+
chalk: _chalk = getChalk(),
|
|
3593
|
+
fullDateTime = false,
|
|
3594
|
+
hideDateTime = false
|
|
3595
|
+
} = options2;
|
|
3591
3596
|
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;
|
|
3592
3597
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
3593
3598
|
if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
|
|
@@ -3598,9 +3603,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
|
3598
3603
|
return (message) => {
|
|
3599
3604
|
console.error(
|
|
3600
3605
|
`
|
|
3601
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
3602
|
-
colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal
|
|
3603
|
-
)(
|
|
3606
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(
|
|
3604
3607
|
`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
|
|
3605
3608
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
3606
3609
|
`
|
|
@@ -3611,9 +3614,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
3611
3614
|
return (message) => {
|
|
3612
3615
|
console.error(
|
|
3613
3616
|
`
|
|
3614
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
3615
|
-
colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger
|
|
3616
|
-
)(
|
|
3617
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(
|
|
3617
3618
|
`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
|
|
3618
3619
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
3619
3620
|
`
|
|
@@ -3624,9 +3625,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
3624
3625
|
return (message) => {
|
|
3625
3626
|
console.warn(
|
|
3626
3627
|
`
|
|
3627
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
3628
|
-
colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning
|
|
3629
|
-
)(
|
|
3628
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(
|
|
3630
3629
|
`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
|
|
3631
3630
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
3632
3631
|
`
|
|
@@ -3637,9 +3636,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
3637
3636
|
return (message) => {
|
|
3638
3637
|
console.info(
|
|
3639
3638
|
`
|
|
3640
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
3641
|
-
colors.success ?? DEFAULT_COLOR_CONFIG.dark.success
|
|
3642
|
-
)(
|
|
3639
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(
|
|
3643
3640
|
`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
|
|
3644
3641
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
3645
3642
|
`
|
|
@@ -3650,9 +3647,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
3650
3647
|
return (message) => {
|
|
3651
3648
|
console.info(
|
|
3652
3649
|
`
|
|
3653
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
3654
|
-
colors.info ?? DEFAULT_COLOR_CONFIG.dark.info
|
|
3655
|
-
)(
|
|
3650
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(
|
|
3656
3651
|
`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
|
|
3657
3652
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
3658
3653
|
`
|
|
@@ -3663,9 +3658,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
3663
3658
|
return (message) => {
|
|
3664
3659
|
console.debug(
|
|
3665
3660
|
`
|
|
3666
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
3667
|
-
colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance
|
|
3668
|
-
)(
|
|
3661
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance)(
|
|
3669
3662
|
`[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `
|
|
3670
3663
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
3671
3664
|
`
|
|
@@ -3676,9 +3669,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
3676
3669
|
return (message) => {
|
|
3677
3670
|
console.debug(
|
|
3678
3671
|
`
|
|
3679
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
3680
|
-
colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug
|
|
3681
|
-
)(
|
|
3672
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(
|
|
3682
3673
|
`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
|
|
3683
3674
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
3684
3675
|
`
|
|
@@ -3689,7 +3680,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
3689
3680
|
return (message) => {
|
|
3690
3681
|
console.debug(
|
|
3691
3682
|
`
|
|
3692
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
3683
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex("#bbbbbb")(
|
|
3693
3684
|
`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
|
|
3694
3685
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
3695
3686
|
`
|
|
@@ -3699,9 +3690,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
|
3699
3690
|
return (message) => {
|
|
3700
3691
|
console.log(
|
|
3701
3692
|
`
|
|
3702
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
3703
|
-
colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand
|
|
3704
|
-
)(
|
|
3693
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(
|
|
3705
3694
|
`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
|
|
3706
3695
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
3707
3696
|
`
|
|
@@ -3822,7 +3811,7 @@ init_cjs_shims();
|
|
|
3822
3811
|
// ../build-tools/dist/chunk-KVP3YMX6.mjs
|
|
3823
3812
|
init_cjs_shims();
|
|
3824
3813
|
|
|
3825
|
-
// ../build-tools/dist/chunk-
|
|
3814
|
+
// ../build-tools/dist/chunk-HHXTFBAS.mjs
|
|
3826
3815
|
init_cjs_shims();
|
|
3827
3816
|
|
|
3828
3817
|
// ../build-tools/dist/chunk-B4H42WDA.mjs
|
|
@@ -3835,7 +3824,7 @@ init_cjs_shims();
|
|
|
3835
3824
|
var import_node_fs = require("fs");
|
|
3836
3825
|
var import_node_path = require("path");
|
|
3837
3826
|
|
|
3838
|
-
// ../build-tools/dist/chunk-
|
|
3827
|
+
// ../build-tools/dist/chunk-47RCC4BE.mjs
|
|
3839
3828
|
init_cjs_shims();
|
|
3840
3829
|
var import_formatDistanceToNow = require("date-fns/formatDistanceToNow");
|
|
3841
3830
|
var import_chalk2 = __toESM(require("chalk"), 1);
|
|
@@ -3873,7 +3862,7 @@ var CONSOLE_ICONS2 = {
|
|
|
3873
3862
|
[LogLevelLabel2.ALL]: useIcon2("\u2709", "\u2192")
|
|
3874
3863
|
};
|
|
3875
3864
|
|
|
3876
|
-
// ../build-tools/dist/chunk-
|
|
3865
|
+
// ../build-tools/dist/chunk-HHXTFBAS.mjs
|
|
3877
3866
|
var import_c12 = require("c12");
|
|
3878
3867
|
var import_defu = __toESM(require("defu"), 1);
|
|
3879
3868
|
var z = __toESM(require("zod/v4/mini"), 1);
|
|
@@ -4467,13 +4456,13 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
4467
4456
|
init_cjs_shims();
|
|
4468
4457
|
var import_create_task_graph = require("nx/src/tasks-runner/create-task-graph");
|
|
4469
4458
|
|
|
4470
|
-
// ../build-tools/dist/chunk-
|
|
4459
|
+
// ../build-tools/dist/chunk-SPZAYXEL.mjs
|
|
4471
4460
|
init_cjs_shims();
|
|
4472
4461
|
var import_copy_assets_handler = require("@nx/js/src/utils/assets/copy-assets-handler");
|
|
4473
4462
|
var import_glob = require("glob");
|
|
4474
4463
|
var import_promises3 = require("fs/promises");
|
|
4475
4464
|
|
|
4476
|
-
// ../build-tools/dist/chunk-
|
|
4465
|
+
// ../build-tools/dist/chunk-KDULOKHB.mjs
|
|
4477
4466
|
init_cjs_shims();
|
|
4478
4467
|
var import_buildable_libs_utils = require("@nx/js/src/utils/buildable-libs-utils");
|
|
4479
4468
|
var import_glob2 = require("glob");
|
|
@@ -4481,7 +4470,7 @@ var import_node_fs5 = require("fs");
|
|
|
4481
4470
|
var import_promises4 = require("fs/promises");
|
|
4482
4471
|
var import_project_graph = require("nx/src/project-graph/project-graph");
|
|
4483
4472
|
|
|
4484
|
-
// ../build-tools/dist/chunk-
|
|
4473
|
+
// ../build-tools/dist/chunk-3QKWF2PP.mjs
|
|
4485
4474
|
init_cjs_shims();
|
|
4486
4475
|
var import_glob3 = require("glob");
|
|
4487
4476
|
|
|
@@ -4515,14 +4504,14 @@ init_cjs_shims();
|
|
|
4515
4504
|
// ../build-tools/dist/chunk-UN3B7LBV.mjs
|
|
4516
4505
|
init_cjs_shims();
|
|
4517
4506
|
|
|
4518
|
-
// ../build-tools/dist/chunk-
|
|
4507
|
+
// ../build-tools/dist/chunk-VDPPY6KF.mjs
|
|
4519
4508
|
init_cjs_shims();
|
|
4520
4509
|
|
|
4521
4510
|
// ../build-tools/dist/chunk-7YKXR5JJ.mjs
|
|
4522
4511
|
init_cjs_shims();
|
|
4523
4512
|
var import_core = require("@swc/core");
|
|
4524
4513
|
|
|
4525
|
-
// ../build-tools/dist/chunk-
|
|
4514
|
+
// ../build-tools/dist/chunk-WWMBAWAV.mjs
|
|
4526
4515
|
init_cjs_shims();
|
|
4527
4516
|
var import_node_fs6 = __toESM(require("fs"), 1);
|
|
4528
4517
|
var import_node_module = require("module");
|
|
@@ -4537,13 +4526,13 @@ var import_path = require("path");
|
|
|
4537
4526
|
// ../config-tools/dist/get-config.js
|
|
4538
4527
|
init_cjs_shims();
|
|
4539
4528
|
|
|
4540
|
-
// ../config-tools/dist/chunk-
|
|
4529
|
+
// ../config-tools/dist/chunk-CZGO7WY3.js
|
|
4541
4530
|
init_cjs_shims();
|
|
4542
4531
|
|
|
4543
|
-
// ../config-tools/dist/chunk-
|
|
4532
|
+
// ../config-tools/dist/chunk-KVDT6KNS.js
|
|
4544
4533
|
init_cjs_shims();
|
|
4545
4534
|
|
|
4546
|
-
// ../config-tools/dist/chunk-
|
|
4535
|
+
// ../config-tools/dist/chunk-ORVHSCSN.js
|
|
4547
4536
|
init_cjs_shims();
|
|
4548
4537
|
|
|
4549
4538
|
// ../config-tools/dist/chunk-LF3SAK2O.js
|
|
@@ -4769,7 +4758,7 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
|
|
|
4769
4758
|
return result;
|
|
4770
4759
|
}
|
|
4771
4760
|
|
|
4772
|
-
// ../config-tools/dist/chunk-
|
|
4761
|
+
// ../config-tools/dist/chunk-ORVHSCSN.js
|
|
4773
4762
|
var import_c122 = require("c12");
|
|
4774
4763
|
var import_defu3 = __toESM(require("defu"), 1);
|
|
4775
4764
|
var getConfigFileByName = async (fileName, filePath, options2 = {}) => {
|
|
@@ -5743,7 +5732,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
5743
5732
|
// ../config/dist/schema.js
|
|
5744
5733
|
init_cjs_shims();
|
|
5745
5734
|
|
|
5746
|
-
// ../config-tools/dist/chunk-
|
|
5735
|
+
// ../config-tools/dist/chunk-KVDT6KNS.js
|
|
5747
5736
|
var import_defu4 = __toESM(require("defu"), 1);
|
|
5748
5737
|
var import_node_fs9 = require("fs");
|
|
5749
5738
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
@@ -5844,7 +5833,7 @@ ${formatLogMessage(config)}`,
|
|
|
5844
5833
|
return config;
|
|
5845
5834
|
};
|
|
5846
5835
|
|
|
5847
|
-
// ../config-tools/dist/chunk-
|
|
5836
|
+
// ../config-tools/dist/chunk-CZGO7WY3.js
|
|
5848
5837
|
function getConfig(workspaceRoot, skipLogs = false) {
|
|
5849
5838
|
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
5850
5839
|
}
|
package/dist/index.js
CHANGED
|
@@ -2,22 +2,22 @@ import {
|
|
|
2
2
|
getStopwatch,
|
|
3
3
|
resolveOptions,
|
|
4
4
|
writeDebug
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-34L4MTJO.js";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_BUILD_OPTIONS
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-XFKER5GQ.js";
|
|
9
|
+
import "./chunk-RLJUCS34.js";
|
|
10
10
|
import {
|
|
11
11
|
__commonJS,
|
|
12
12
|
__dirname,
|
|
13
13
|
__require,
|
|
14
14
|
__toESM,
|
|
15
15
|
init_esm_shims
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WSNOMPFU.js";
|
|
17
17
|
|
|
18
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
18
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/chunk-BYH4XDRH.js
|
|
19
19
|
var require_chunk_BYH4XDRH = __commonJS({
|
|
20
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
20
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/chunk-BYH4XDRH.js"(exports) {
|
|
21
21
|
"use strict";
|
|
22
22
|
init_esm_shims();
|
|
23
23
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -26,13 +26,13 @@ var require_chunk_BYH4XDRH = __commonJS({
|
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
|
|
29
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
29
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/chunk-TWFEYLU4.js
|
|
30
30
|
import * as __import_fs from "fs";
|
|
31
31
|
import * as __import_path from "path";
|
|
32
32
|
import * as __import_resolveFrom from "resolve-from";
|
|
33
33
|
import * as __import_tinyglobby from "tinyglobby";
|
|
34
34
|
var require_chunk_TWFEYLU4 = __commonJS({
|
|
35
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
35
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/chunk-TWFEYLU4.js"(exports) {
|
|
36
36
|
"use strict";
|
|
37
37
|
init_esm_shims();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -409,7 +409,7 @@ var require_chunk_TWFEYLU4 = __commonJS({
|
|
|
409
409
|
}
|
|
410
410
|
});
|
|
411
411
|
|
|
412
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
412
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/chunk-VGC3FXLU.js
|
|
413
413
|
import * as __import_fs2 from "fs";
|
|
414
414
|
import * as __import_path2 from "path";
|
|
415
415
|
import * as __import_joycon from "joycon";
|
|
@@ -418,7 +418,7 @@ import * as __import_util from "util";
|
|
|
418
418
|
import * as __import_worker_threads from "worker_threads";
|
|
419
419
|
import * as __import_picocolors from "picocolors";
|
|
420
420
|
var require_chunk_VGC3FXLU = __commonJS({
|
|
421
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
421
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/chunk-VGC3FXLU.js"(exports) {
|
|
422
422
|
"use strict";
|
|
423
423
|
init_esm_shims();
|
|
424
424
|
var __import___chunkTWFEYLU4_js = __toESM(require_chunk_TWFEYLU4());
|
|
@@ -646,11 +646,11 @@ var require_chunk_VGC3FXLU = __commonJS({
|
|
|
646
646
|
}
|
|
647
647
|
});
|
|
648
648
|
|
|
649
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
649
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/chunk-JZ25TPTY.js
|
|
650
650
|
import * as __import_worker_threads2 from "worker_threads";
|
|
651
651
|
import * as __import_picocolors2 from "picocolors";
|
|
652
652
|
var require_chunk_JZ25TPTY = __commonJS({
|
|
653
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
653
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/chunk-JZ25TPTY.js"(exports) {
|
|
654
654
|
"use strict";
|
|
655
655
|
init_esm_shims();
|
|
656
656
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -699,11 +699,11 @@ var require_chunk_JZ25TPTY = __commonJS({
|
|
|
699
699
|
}
|
|
700
700
|
});
|
|
701
701
|
|
|
702
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
702
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/commonjs-plugin.js
|
|
703
703
|
import * as __import_fs3 from "fs";
|
|
704
704
|
import * as __import_esbuild from "esbuild";
|
|
705
705
|
var require_commonjs_plugin = __commonJS({
|
|
706
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
706
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/commonjs-plugin.js"(exports, module) {
|
|
707
707
|
"use strict";
|
|
708
708
|
init_esm_shims();
|
|
709
709
|
var __defProp = Object.defineProperty;
|
|
@@ -1032,7 +1032,7 @@ var require_commonjs_plugin = __commonJS({
|
|
|
1032
1032
|
}
|
|
1033
1033
|
});
|
|
1034
1034
|
|
|
1035
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
1035
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/index.js
|
|
1036
1036
|
import * as __import_path3 from "path";
|
|
1037
1037
|
import * as __import_fs4 from "fs";
|
|
1038
1038
|
import * as __import_worker_threads3 from "worker_threads";
|
|
@@ -1048,7 +1048,7 @@ import * as __import_rollup from "rollup";
|
|
|
1048
1048
|
import * as __import_typescript from "typescript";
|
|
1049
1049
|
import * as __import_chokidar from "chokidar";
|
|
1050
1050
|
var require_dist = __commonJS({
|
|
1051
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
1051
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/dist/index.js"(exports) {
|
|
1052
1052
|
"use strict";
|
|
1053
1053
|
init_esm_shims();
|
|
1054
1054
|
var __import___chunkBYH4XDRH_js = __toESM(require_chunk_BYH4XDRH());
|
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-47RCC4BE.mjs
|
|
42
42
|
var import_formatDistanceToNow = require("date-fns/formatDistanceToNow");
|
|
43
43
|
var import_chalk = __toESM(require("chalk"), 1);
|
|
44
44
|
var LogLevelLabel = {
|
|
@@ -75,7 +75,7 @@ var CONSOLE_ICONS = {
|
|
|
75
75
|
[LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
-
// ../build-tools/dist/chunk-
|
|
78
|
+
// ../build-tools/dist/chunk-HHXTFBAS.mjs
|
|
79
79
|
var import_c12 = require("c12");
|
|
80
80
|
var import_defu = __toESM(require("defu"), 1);
|
|
81
81
|
var z = __toESM(require("zod/v4/mini"), 1);
|
|
@@ -668,19 +668,19 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
668
668
|
// ../build-tools/dist/chunk-JCFRYUYP.mjs
|
|
669
669
|
var import_create_task_graph = require("nx/src/tasks-runner/create-task-graph");
|
|
670
670
|
|
|
671
|
-
// ../build-tools/dist/chunk-
|
|
671
|
+
// ../build-tools/dist/chunk-SPZAYXEL.mjs
|
|
672
672
|
var import_copy_assets_handler = require("@nx/js/src/utils/assets/copy-assets-handler");
|
|
673
673
|
var import_glob = require("glob");
|
|
674
674
|
var import_promises3 = require("fs/promises");
|
|
675
675
|
|
|
676
|
-
// ../build-tools/dist/chunk-
|
|
676
|
+
// ../build-tools/dist/chunk-KDULOKHB.mjs
|
|
677
677
|
var import_buildable_libs_utils = require("@nx/js/src/utils/buildable-libs-utils");
|
|
678
678
|
var import_glob2 = require("glob");
|
|
679
679
|
var import_node_fs5 = require("fs");
|
|
680
680
|
var import_promises4 = require("fs/promises");
|
|
681
681
|
var import_project_graph = require("nx/src/project-graph/project-graph");
|
|
682
682
|
|
|
683
|
-
// ../build-tools/dist/chunk-
|
|
683
|
+
// ../build-tools/dist/chunk-3QKWF2PP.mjs
|
|
684
684
|
var import_glob3 = require("glob");
|
|
685
685
|
|
|
686
686
|
// ../build-tools/dist/chunk-TJ6NHBO5.mjs
|
|
@@ -714,7 +714,7 @@ var getEnv = (builder, options) => {
|
|
|
714
714
|
// ../build-tools/dist/chunk-7YKXR5JJ.mjs
|
|
715
715
|
var import_core = require("@swc/core");
|
|
716
716
|
|
|
717
|
-
// ../build-tools/dist/chunk-
|
|
717
|
+
// ../build-tools/dist/chunk-WWMBAWAV.mjs
|
|
718
718
|
var import_node_fs6 = __toESM(require("fs"), 1);
|
|
719
719
|
var import_node_module = require("module");
|
|
720
720
|
var import_node_path3 = __toESM(require("path"), 1);
|
|
@@ -1066,9 +1066,9 @@ var CONSOLE_ICONS2 = {
|
|
|
1066
1066
|
[LogLevelLabel2.ALL]: useIcon2("\u2709", "\u2192")
|
|
1067
1067
|
};
|
|
1068
1068
|
|
|
1069
|
-
// ../config-tools/dist/chunk-
|
|
1070
|
-
var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
|
|
1071
|
-
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
|
1069
|
+
// ../config-tools/dist/chunk-JZAYHDV3.js
|
|
1070
|
+
var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
|
|
1071
|
+
return fullDateTime ? `${date.toLocaleDateString()} ${date.toLocaleTimeString()}` : `${date.toLocaleTimeString()}`;
|
|
1072
1072
|
};
|
|
1073
1073
|
|
|
1074
1074
|
// ../config-tools/dist/chunk-SXPH7ILL.js
|
|
@@ -1127,7 +1127,7 @@ var getLogLevelLabel2 = (logLevel = LogLevel2.INFO) => {
|
|
|
1127
1127
|
return LogLevelLabel2.INFO;
|
|
1128
1128
|
};
|
|
1129
1129
|
|
|
1130
|
-
// ../config-tools/dist/chunk-
|
|
1130
|
+
// ../config-tools/dist/chunk-TOMKPXJE.js
|
|
1131
1131
|
var daysInYear = 365.2425;
|
|
1132
1132
|
var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1e3;
|
|
1133
1133
|
var minTime = -maxTime;
|
|
@@ -1812,7 +1812,12 @@ function formatDistance2(laterDate, earlierDate, options) {
|
|
|
1812
1812
|
function formatDistanceToNow2(date, options) {
|
|
1813
1813
|
return formatDistance2(date, constructNow(date), options);
|
|
1814
1814
|
}
|
|
1815
|
-
var getLogFn = (logLevel = LogLevel2.INFO, config = {},
|
|
1815
|
+
var getLogFn = (logLevel = LogLevel2.INFO, config = {}, options = {}) => {
|
|
1816
|
+
const {
|
|
1817
|
+
chalk: _chalk = getChalk(),
|
|
1818
|
+
fullDateTime = false,
|
|
1819
|
+
hideDateTime = false
|
|
1820
|
+
} = options;
|
|
1816
1821
|
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;
|
|
1817
1822
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel2.INFO;
|
|
1818
1823
|
if (logLevel > getLogLevel2(configLogLevel) || logLevel <= LogLevel2.SILENT || getLogLevel2(configLogLevel) <= LogLevel2.SILENT) {
|
|
@@ -1823,9 +1828,7 @@ var getLogFn = (logLevel = LogLevel2.INFO, config = {}, _chalk = getChalk()) =>
|
|
|
1823
1828
|
return (message) => {
|
|
1824
1829
|
console.error(
|
|
1825
1830
|
`
|
|
1826
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1827
|
-
colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal
|
|
1828
|
-
)(
|
|
1831
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(
|
|
1829
1832
|
`[${CONSOLE_ICONS2[LogLevelLabel2.FATAL]} Fatal] `
|
|
1830
1833
|
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1831
1834
|
`
|
|
@@ -1836,9 +1839,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
1836
1839
|
return (message) => {
|
|
1837
1840
|
console.error(
|
|
1838
1841
|
`
|
|
1839
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1840
|
-
colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger
|
|
1841
|
-
)(
|
|
1842
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(
|
|
1842
1843
|
`[${CONSOLE_ICONS2[LogLevelLabel2.ERROR]} Error] `
|
|
1843
1844
|
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1844
1845
|
`
|
|
@@ -1849,9 +1850,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
1849
1850
|
return (message) => {
|
|
1850
1851
|
console.warn(
|
|
1851
1852
|
`
|
|
1852
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1853
|
-
colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning
|
|
1854
|
-
)(
|
|
1853
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(
|
|
1855
1854
|
`[${CONSOLE_ICONS2[LogLevelLabel2.WARN]} Warn] `
|
|
1856
1855
|
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1857
1856
|
`
|
|
@@ -1862,9 +1861,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
1862
1861
|
return (message) => {
|
|
1863
1862
|
console.info(
|
|
1864
1863
|
`
|
|
1865
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1866
|
-
colors.success ?? DEFAULT_COLOR_CONFIG.dark.success
|
|
1867
|
-
)(
|
|
1864
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(
|
|
1868
1865
|
`[${CONSOLE_ICONS2[LogLevelLabel2.SUCCESS]} Success] `
|
|
1869
1866
|
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1870
1867
|
`
|
|
@@ -1875,9 +1872,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
1875
1872
|
return (message) => {
|
|
1876
1873
|
console.info(
|
|
1877
1874
|
`
|
|
1878
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1879
|
-
colors.info ?? DEFAULT_COLOR_CONFIG.dark.info
|
|
1880
|
-
)(
|
|
1875
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(
|
|
1881
1876
|
`[${CONSOLE_ICONS2[LogLevelLabel2.INFO]} Info] `
|
|
1882
1877
|
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1883
1878
|
`
|
|
@@ -1888,9 +1883,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
1888
1883
|
return (message) => {
|
|
1889
1884
|
console.debug(
|
|
1890
1885
|
`
|
|
1891
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1892
|
-
colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance
|
|
1893
|
-
)(
|
|
1886
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance)(
|
|
1894
1887
|
`[${CONSOLE_ICONS2[LogLevelLabel2.PERFORMANCE]} Performance] `
|
|
1895
1888
|
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1896
1889
|
`
|
|
@@ -1901,9 +1894,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
1901
1894
|
return (message) => {
|
|
1902
1895
|
console.debug(
|
|
1903
1896
|
`
|
|
1904
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1905
|
-
colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug
|
|
1906
|
-
)(
|
|
1897
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(
|
|
1907
1898
|
`[${CONSOLE_ICONS2[LogLevelLabel2.DEBUG]} Debug] `
|
|
1908
1899
|
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1909
1900
|
`
|
|
@@ -1914,7 +1905,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
1914
1905
|
return (message) => {
|
|
1915
1906
|
console.debug(
|
|
1916
1907
|
`
|
|
1917
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
1908
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex("#bbbbbb")(
|
|
1918
1909
|
`[${CONSOLE_ICONS2[LogLevelLabel2.TRACE]} Trace] `
|
|
1919
1910
|
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1920
1911
|
`
|
|
@@ -1924,9 +1915,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
|
1924
1915
|
return (message) => {
|
|
1925
1916
|
console.log(
|
|
1926
1917
|
`
|
|
1927
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
1928
|
-
colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand
|
|
1929
|
-
)(
|
|
1918
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(
|
|
1930
1919
|
`[${CONSOLE_ICONS2[LogLevelLabel2.ALL]} System] `
|
|
1931
1920
|
)}${_chalk.bold.whiteBright(formatLogMessage2(message))}
|
|
1932
1921
|
`
|
|
@@ -1972,7 +1961,7 @@ var _isFunction = (value) => {
|
|
|
1972
1961
|
}
|
|
1973
1962
|
};
|
|
1974
1963
|
|
|
1975
|
-
// ../config-tools/dist/chunk-
|
|
1964
|
+
// ../config-tools/dist/chunk-ORVHSCSN.js
|
|
1976
1965
|
var import_c122 = require("c12");
|
|
1977
1966
|
var import_defu3 = __toESM(require("defu"), 1);
|
|
1978
1967
|
var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
@@ -2927,7 +2916,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
2927
2916
|
};
|
|
2928
2917
|
};
|
|
2929
2918
|
|
|
2930
|
-
// ../config-tools/dist/chunk-
|
|
2919
|
+
// ../config-tools/dist/chunk-KVDT6KNS.js
|
|
2931
2920
|
var import_defu4 = __toESM(require("defu"), 1);
|
|
2932
2921
|
var import_node_fs9 = require("fs");
|
|
2933
2922
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
@@ -3028,7 +3017,7 @@ ${formatLogMessage2(config)}`,
|
|
|
3028
3017
|
return config;
|
|
3029
3018
|
};
|
|
3030
3019
|
|
|
3031
|
-
// ../config-tools/dist/chunk-
|
|
3020
|
+
// ../config-tools/dist/chunk-CZGO7WY3.js
|
|
3032
3021
|
function getConfig(workspaceRoot, skipLogs = false) {
|
|
3033
3022
|
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
3034
3023
|
}
|
package/dist/options.js
CHANGED
package/dist/types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "./chunk-
|
|
2
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-RLJUCS34.js";
|
|
2
|
+
import "./chunk-WSNOMPFU.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/tsup",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.158",
|
|
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.
|
|
107
|
+
"@storm-software/build-tools": "^0.158.160",
|
|
108
|
+
"@storm-software/config-tools": "^1.190.0"
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
111
|
"@types/node": "^25.6.0",
|
|
@@ -115,5 +115,5 @@
|
|
|
115
115
|
},
|
|
116
116
|
"publishConfig": { "access": "public" },
|
|
117
117
|
"sideEffects": false,
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "8e54226b1485019afc0373ac57d8e56a394dad04"
|
|
119
119
|
}
|