@storm-software/tsup 0.2.169 → 0.2.172
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-XDDDERLS.js → chunk-GKLMXIYG.js} +1 -1
- package/dist/{chunk-2OQJAUVM.js → chunk-HG5YW62K.js} +2 -2
- package/dist/{chunk-NCS42YBF.js → chunk-HYJJN7IQ.js} +35 -26
- package/dist/{chunk-CHK47Q3T.js → chunk-TJHBJBM5.js} +1 -1
- package/dist/constants.js +2 -2
- package/dist/index.cjs +47 -38
- package/dist/index.js +16 -16
- package/dist/options.cjs +27 -18
- package/dist/options.js +3 -3
- package/dist/types.js +2 -2
- package/package.json +5 -5
- package/dist/constants.d.cts +0 -8
- package/dist/constants.d.ts +0 -8
- package/dist/index.d.cts +0 -16
- package/dist/index.d.ts +0 -16
- package/dist/options.d.cts +0 -14
- package/dist/options.d.ts +0 -14
- package/dist/types.d.cts +0 -12
- package/dist/types.d.ts +0 -12
|
@@ -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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/node_modules/tsup/assets/esm_shims.js"() {
|
|
42
42
|
"use strict";
|
|
43
43
|
getFilename = () => fileURLToPath(import.meta.url);
|
|
44
44
|
getDirname = () => path.dirname(getFilename());
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
DEFAULT_BUILD_OPTIONS,
|
|
3
3
|
DEFAULT_ENVIRONMENT,
|
|
4
4
|
DEFAULT_ORGANIZATION
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GKLMXIYG.js";
|
|
6
6
|
import {
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HG5YW62K.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-JL5TSK3E.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-GFRBIUU6.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-JL5TSK3E.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-SI3IDR4Y.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-MZNEKMYV.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-FBGJEKIF.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-EGQOBLUI.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-YGAFXMVQ.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-TIH4RSTL.js
|
|
742
742
|
init_esm_shims();
|
|
743
743
|
|
|
744
|
-
// ../config-tools/dist/chunk-
|
|
744
|
+
// ../config-tools/dist/chunk-UWI3QVYJ.js
|
|
745
745
|
init_esm_shims();
|
|
746
746
|
|
|
747
|
-
// ../config-tools/dist/chunk-
|
|
747
|
+
// ../config-tools/dist/chunk-FXQGOFJI.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-4UFIHIMZ.js
|
|
974
974
|
init_esm_shims();
|
|
975
975
|
|
|
976
976
|
// ../config-tools/dist/chunk-5DQF4GNF.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-4UFIHIMZ.js
|
|
1171
1171
|
var daysInYear = 365.2425;
|
|
1172
1172
|
var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1e3;
|
|
1173
1173
|
var minTime = -maxTime;
|
|
@@ -1976,22 +1976,31 @@ var getStopwatch = (name) => {
|
|
|
1976
1976
|
);
|
|
1977
1977
|
};
|
|
1978
1978
|
};
|
|
1979
|
-
var MAX_DEPTH =
|
|
1979
|
+
var MAX_DEPTH = 10;
|
|
1980
1980
|
var formatLogMessage2 = (message, options = {}, depth2 = 0) => {
|
|
1981
1981
|
if (depth2 > MAX_DEPTH) {
|
|
1982
1982
|
return "<max depth>";
|
|
1983
1983
|
}
|
|
1984
|
-
const prefix = options.prefix ?? "
|
|
1984
|
+
const prefix = options.prefix ?? "";
|
|
1985
1985
|
const skip = options.skip ?? [];
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
${
|
|
1989
|
-
(
|
|
1986
|
+
const sort = options.sort ?? true;
|
|
1987
|
+
return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
|
|
1988
|
+
${message.map(
|
|
1989
|
+
(item, index) => ` ${prefix}> #${index} = ${formatLogMessage2(
|
|
1990
|
+
item,
|
|
1991
|
+
{ prefix: `${prefix}--`, skip, sort },
|
|
1992
|
+
depth2 + 1
|
|
1993
|
+
)}`
|
|
1994
|
+
).join("\n")}` : typeof message === "object" ? `
|
|
1995
|
+
${Object.keys(message).filter((key) => !skip.includes(key)).sort(sort ? (a3, b2) => a3.localeCompare(b2) : void 0).map(
|
|
1996
|
+
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
1997
|
+
(key2) => !skip.includes(key2)
|
|
1998
|
+
).length === 0 ? "{}" : formatLogMessage2(
|
|
1990
1999
|
message[key],
|
|
1991
|
-
{ prefix: `${prefix}
|
|
2000
|
+
{ prefix: `${prefix}--`, skip, sort },
|
|
1992
2001
|
depth2 + 1
|
|
1993
2002
|
) : message[key]}`
|
|
1994
|
-
).join("\n")}` : message;
|
|
2003
|
+
).join("\n")}` : String(message);
|
|
1995
2004
|
};
|
|
1996
2005
|
var _isFunction = (value) => {
|
|
1997
2006
|
try {
|
|
@@ -2001,7 +2010,7 @@ var _isFunction = (value) => {
|
|
|
2001
2010
|
}
|
|
2002
2011
|
};
|
|
2003
2012
|
|
|
2004
|
-
// ../config-tools/dist/chunk-
|
|
2013
|
+
// ../config-tools/dist/chunk-FXQGOFJI.js
|
|
2005
2014
|
import { loadConfig as loadConfig2 } from "c12";
|
|
2006
2015
|
import defu3 from "defu";
|
|
2007
2016
|
var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
@@ -2975,7 +2984,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
2975
2984
|
// ../config/dist/schema.js
|
|
2976
2985
|
init_esm_shims();
|
|
2977
2986
|
|
|
2978
|
-
// ../config-tools/dist/chunk-
|
|
2987
|
+
// ../config-tools/dist/chunk-UWI3QVYJ.js
|
|
2979
2988
|
import defu4 from "defu";
|
|
2980
2989
|
import { existsSync as existsSync7 } from "node:fs";
|
|
2981
2990
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
@@ -3076,7 +3085,7 @@ ${formatLogMessage2(config)}`,
|
|
|
3076
3085
|
return config;
|
|
3077
3086
|
};
|
|
3078
3087
|
|
|
3079
|
-
// ../config-tools/dist/chunk-
|
|
3088
|
+
// ../config-tools/dist/chunk-TIH4RSTL.js
|
|
3080
3089
|
function getConfig(workspaceRoot, skipLogs = false) {
|
|
3081
3090
|
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
3082
3091
|
}
|
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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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-4UFIHIMZ.js
|
|
2709
2709
|
init_cjs_shims();
|
|
2710
2710
|
|
|
2711
2711
|
// ../config-tools/dist/chunk-5DQF4GNF.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-4UFIHIMZ.js
|
|
2906
2906
|
var daysInYear = 365.2425;
|
|
2907
2907
|
var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1e3;
|
|
2908
2908
|
var minTime = -maxTime;
|
|
@@ -3711,22 +3711,31 @@ var getStopwatch = (name) => {
|
|
|
3711
3711
|
);
|
|
3712
3712
|
};
|
|
3713
3713
|
};
|
|
3714
|
-
var MAX_DEPTH =
|
|
3714
|
+
var MAX_DEPTH = 10;
|
|
3715
3715
|
var formatLogMessage = (message, options2 = {}, depth2 = 0) => {
|
|
3716
3716
|
if (depth2 > MAX_DEPTH) {
|
|
3717
3717
|
return "<max depth>";
|
|
3718
3718
|
}
|
|
3719
|
-
const prefix = options2.prefix ?? "
|
|
3719
|
+
const prefix = options2.prefix ?? "";
|
|
3720
3720
|
const skip = options2.skip ?? [];
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
${
|
|
3724
|
-
(
|
|
3721
|
+
const sort = options2.sort ?? true;
|
|
3722
|
+
return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
|
|
3723
|
+
${message.map(
|
|
3724
|
+
(item, index) => ` ${prefix}> #${index} = ${formatLogMessage(
|
|
3725
|
+
item,
|
|
3726
|
+
{ prefix: `${prefix}--`, skip, sort },
|
|
3727
|
+
depth2 + 1
|
|
3728
|
+
)}`
|
|
3729
|
+
).join("\n")}` : typeof message === "object" ? `
|
|
3730
|
+
${Object.keys(message).filter((key) => !skip.includes(key)).sort(sort ? (a3, b2) => a3.localeCompare(b2) : void 0).map(
|
|
3731
|
+
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
3732
|
+
(key2) => !skip.includes(key2)
|
|
3733
|
+
).length === 0 ? "{}" : formatLogMessage(
|
|
3725
3734
|
message[key],
|
|
3726
|
-
{ prefix: `${prefix}
|
|
3735
|
+
{ prefix: `${prefix}--`, skip, sort },
|
|
3727
3736
|
depth2 + 1
|
|
3728
3737
|
) : message[key]}`
|
|
3729
|
-
).join("\n")}` : message;
|
|
3738
|
+
).join("\n")}` : String(message);
|
|
3730
3739
|
};
|
|
3731
3740
|
var _isFunction = (value) => {
|
|
3732
3741
|
try {
|
|
@@ -3811,7 +3820,7 @@ init_cjs_shims();
|
|
|
3811
3820
|
// ../build-tools/dist/chunk-KVP3YMX6.mjs
|
|
3812
3821
|
init_cjs_shims();
|
|
3813
3822
|
|
|
3814
|
-
// ../build-tools/dist/chunk-
|
|
3823
|
+
// ../build-tools/dist/chunk-JL5TSK3E.mjs
|
|
3815
3824
|
init_cjs_shims();
|
|
3816
3825
|
|
|
3817
3826
|
// ../build-tools/dist/chunk-B4H42WDA.mjs
|
|
@@ -3824,7 +3833,7 @@ init_cjs_shims();
|
|
|
3824
3833
|
var import_node_fs = require("fs");
|
|
3825
3834
|
var import_node_path = require("path");
|
|
3826
3835
|
|
|
3827
|
-
// ../build-tools/dist/chunk-
|
|
3836
|
+
// ../build-tools/dist/chunk-GFRBIUU6.mjs
|
|
3828
3837
|
init_cjs_shims();
|
|
3829
3838
|
var import_formatDistanceToNow = require("date-fns/formatDistanceToNow");
|
|
3830
3839
|
var import_chalk2 = __toESM(require("chalk"), 1);
|
|
@@ -3862,7 +3871,7 @@ var CONSOLE_ICONS2 = {
|
|
|
3862
3871
|
[LogLevelLabel2.ALL]: useIcon2("\u2709", "\u2192")
|
|
3863
3872
|
};
|
|
3864
3873
|
|
|
3865
|
-
// ../build-tools/dist/chunk-
|
|
3874
|
+
// ../build-tools/dist/chunk-JL5TSK3E.mjs
|
|
3866
3875
|
var import_c12 = require("c12");
|
|
3867
3876
|
var import_defu = __toESM(require("defu"), 1);
|
|
3868
3877
|
var z = __toESM(require("zod/v4/mini"), 1);
|
|
@@ -4456,13 +4465,13 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
4456
4465
|
init_cjs_shims();
|
|
4457
4466
|
var import_create_task_graph = require("nx/src/tasks-runner/create-task-graph");
|
|
4458
4467
|
|
|
4459
|
-
// ../build-tools/dist/chunk-
|
|
4468
|
+
// ../build-tools/dist/chunk-SI3IDR4Y.mjs
|
|
4460
4469
|
init_cjs_shims();
|
|
4461
4470
|
var import_copy_assets_handler = require("@nx/js/src/utils/assets/copy-assets-handler");
|
|
4462
4471
|
var import_glob = require("glob");
|
|
4463
4472
|
var import_promises3 = require("fs/promises");
|
|
4464
4473
|
|
|
4465
|
-
// ../build-tools/dist/chunk-
|
|
4474
|
+
// ../build-tools/dist/chunk-MZNEKMYV.mjs
|
|
4466
4475
|
init_cjs_shims();
|
|
4467
4476
|
var import_buildable_libs_utils = require("@nx/js/src/utils/buildable-libs-utils");
|
|
4468
4477
|
var import_glob2 = require("glob");
|
|
@@ -4470,7 +4479,7 @@ var import_node_fs5 = require("fs");
|
|
|
4470
4479
|
var import_promises4 = require("fs/promises");
|
|
4471
4480
|
var import_project_graph = require("nx/src/project-graph/project-graph");
|
|
4472
4481
|
|
|
4473
|
-
// ../build-tools/dist/chunk-
|
|
4482
|
+
// ../build-tools/dist/chunk-FBGJEKIF.mjs
|
|
4474
4483
|
init_cjs_shims();
|
|
4475
4484
|
var import_glob3 = require("glob");
|
|
4476
4485
|
|
|
@@ -4504,14 +4513,14 @@ init_cjs_shims();
|
|
|
4504
4513
|
// ../build-tools/dist/chunk-UN3B7LBV.mjs
|
|
4505
4514
|
init_cjs_shims();
|
|
4506
4515
|
|
|
4507
|
-
// ../build-tools/dist/chunk-
|
|
4516
|
+
// ../build-tools/dist/chunk-EGQOBLUI.mjs
|
|
4508
4517
|
init_cjs_shims();
|
|
4509
4518
|
|
|
4510
4519
|
// ../build-tools/dist/chunk-7YKXR5JJ.mjs
|
|
4511
4520
|
init_cjs_shims();
|
|
4512
4521
|
var import_core = require("@swc/core");
|
|
4513
4522
|
|
|
4514
|
-
// ../build-tools/dist/chunk-
|
|
4523
|
+
// ../build-tools/dist/chunk-YGAFXMVQ.mjs
|
|
4515
4524
|
init_cjs_shims();
|
|
4516
4525
|
var import_node_fs6 = __toESM(require("fs"), 1);
|
|
4517
4526
|
var import_node_module = require("module");
|
|
@@ -4526,13 +4535,13 @@ var import_path = require("path");
|
|
|
4526
4535
|
// ../config-tools/dist/get-config.js
|
|
4527
4536
|
init_cjs_shims();
|
|
4528
4537
|
|
|
4529
|
-
// ../config-tools/dist/chunk-
|
|
4538
|
+
// ../config-tools/dist/chunk-TIH4RSTL.js
|
|
4530
4539
|
init_cjs_shims();
|
|
4531
4540
|
|
|
4532
|
-
// ../config-tools/dist/chunk-
|
|
4541
|
+
// ../config-tools/dist/chunk-UWI3QVYJ.js
|
|
4533
4542
|
init_cjs_shims();
|
|
4534
4543
|
|
|
4535
|
-
// ../config-tools/dist/chunk-
|
|
4544
|
+
// ../config-tools/dist/chunk-FXQGOFJI.js
|
|
4536
4545
|
init_cjs_shims();
|
|
4537
4546
|
|
|
4538
4547
|
// ../config-tools/dist/chunk-LF3SAK2O.js
|
|
@@ -4758,7 +4767,7 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
|
|
|
4758
4767
|
return result;
|
|
4759
4768
|
}
|
|
4760
4769
|
|
|
4761
|
-
// ../config-tools/dist/chunk-
|
|
4770
|
+
// ../config-tools/dist/chunk-FXQGOFJI.js
|
|
4762
4771
|
var import_c122 = require("c12");
|
|
4763
4772
|
var import_defu3 = __toESM(require("defu"), 1);
|
|
4764
4773
|
var getConfigFileByName = async (fileName, filePath, options2 = {}) => {
|
|
@@ -5732,7 +5741,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
5732
5741
|
// ../config/dist/schema.js
|
|
5733
5742
|
init_cjs_shims();
|
|
5734
5743
|
|
|
5735
|
-
// ../config-tools/dist/chunk-
|
|
5744
|
+
// ../config-tools/dist/chunk-UWI3QVYJ.js
|
|
5736
5745
|
var import_defu4 = __toESM(require("defu"), 1);
|
|
5737
5746
|
var import_node_fs9 = require("fs");
|
|
5738
5747
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
@@ -5833,7 +5842,7 @@ ${formatLogMessage(config)}`,
|
|
|
5833
5842
|
return config;
|
|
5834
5843
|
};
|
|
5835
5844
|
|
|
5836
|
-
// ../config-tools/dist/chunk-
|
|
5845
|
+
// ../config-tools/dist/chunk-TIH4RSTL.js
|
|
5837
5846
|
function getConfig(workspaceRoot, skipLogs = false) {
|
|
5838
5847
|
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
5839
5848
|
}
|
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-HYJJN7IQ.js";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_BUILD_OPTIONS
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-GKLMXIYG.js";
|
|
9
|
+
import "./chunk-TJHBJBM5.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-HG5YW62K.js";
|
|
17
17
|
|
|
18
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
18
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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__17f35255c9b2c5d65e514e3b165d24e6/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-GFRBIUU6.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-JL5TSK3E.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-SI3IDR4Y.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-MZNEKMYV.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-FBGJEKIF.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-YGAFXMVQ.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);
|
|
@@ -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-4UFIHIMZ.js
|
|
1131
1131
|
var daysInYear = 365.2425;
|
|
1132
1132
|
var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1e3;
|
|
1133
1133
|
var minTime = -maxTime;
|
|
@@ -1936,22 +1936,31 @@ var getStopwatch = (name) => {
|
|
|
1936
1936
|
);
|
|
1937
1937
|
};
|
|
1938
1938
|
};
|
|
1939
|
-
var MAX_DEPTH =
|
|
1939
|
+
var MAX_DEPTH = 10;
|
|
1940
1940
|
var formatLogMessage2 = (message, options = {}, depth2 = 0) => {
|
|
1941
1941
|
if (depth2 > MAX_DEPTH) {
|
|
1942
1942
|
return "<max depth>";
|
|
1943
1943
|
}
|
|
1944
|
-
const prefix = options.prefix ?? "
|
|
1944
|
+
const prefix = options.prefix ?? "";
|
|
1945
1945
|
const skip = options.skip ?? [];
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
${
|
|
1949
|
-
(
|
|
1946
|
+
const sort = options.sort ?? true;
|
|
1947
|
+
return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
|
|
1948
|
+
${message.map(
|
|
1949
|
+
(item, index) => ` ${prefix}> #${index} = ${formatLogMessage2(
|
|
1950
|
+
item,
|
|
1951
|
+
{ prefix: `${prefix}--`, skip, sort },
|
|
1952
|
+
depth2 + 1
|
|
1953
|
+
)}`
|
|
1954
|
+
).join("\n")}` : typeof message === "object" ? `
|
|
1955
|
+
${Object.keys(message).filter((key) => !skip.includes(key)).sort(sort ? (a3, b2) => a3.localeCompare(b2) : void 0).map(
|
|
1956
|
+
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
1957
|
+
(key2) => !skip.includes(key2)
|
|
1958
|
+
).length === 0 ? "{}" : formatLogMessage2(
|
|
1950
1959
|
message[key],
|
|
1951
|
-
{ prefix: `${prefix}
|
|
1960
|
+
{ prefix: `${prefix}--`, skip, sort },
|
|
1952
1961
|
depth2 + 1
|
|
1953
1962
|
) : message[key]}`
|
|
1954
|
-
).join("\n")}` : message;
|
|
1963
|
+
).join("\n")}` : String(message);
|
|
1955
1964
|
};
|
|
1956
1965
|
var _isFunction = (value) => {
|
|
1957
1966
|
try {
|
|
@@ -1961,7 +1970,7 @@ var _isFunction = (value) => {
|
|
|
1961
1970
|
}
|
|
1962
1971
|
};
|
|
1963
1972
|
|
|
1964
|
-
// ../config-tools/dist/chunk-
|
|
1973
|
+
// ../config-tools/dist/chunk-FXQGOFJI.js
|
|
1965
1974
|
var import_c122 = require("c12");
|
|
1966
1975
|
var import_defu3 = __toESM(require("defu"), 1);
|
|
1967
1976
|
var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
@@ -2916,7 +2925,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
2916
2925
|
};
|
|
2917
2926
|
};
|
|
2918
2927
|
|
|
2919
|
-
// ../config-tools/dist/chunk-
|
|
2928
|
+
// ../config-tools/dist/chunk-UWI3QVYJ.js
|
|
2920
2929
|
var import_defu4 = __toESM(require("defu"), 1);
|
|
2921
2930
|
var import_node_fs9 = require("fs");
|
|
2922
2931
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
@@ -3017,7 +3026,7 @@ ${formatLogMessage2(config)}`,
|
|
|
3017
3026
|
return config;
|
|
3018
3027
|
};
|
|
3019
3028
|
|
|
3020
|
-
// ../config-tools/dist/chunk-
|
|
3029
|
+
// ../config-tools/dist/chunk-TIH4RSTL.js
|
|
3021
3030
|
function getConfig(workspaceRoot, skipLogs = false) {
|
|
3022
3031
|
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
3023
3032
|
}
|
package/dist/options.js
CHANGED
package/dist/types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "./chunk-
|
|
2
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-TJHBJBM5.js";
|
|
2
|
+
import "./chunk-HG5YW62K.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.172",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing bundled patches for tsup.",
|
|
6
6
|
"repository": {
|
|
@@ -104,16 +104,16 @@
|
|
|
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.190.
|
|
107
|
+
"@storm-software/build-tools": "^0.158.174",
|
|
108
|
+
"@storm-software/config-tools": "^1.190.14"
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
|
-
"@types/node": "^25.
|
|
111
|
+
"@types/node": "^25.8.0",
|
|
112
112
|
"esbuild": "^0.25.12",
|
|
113
113
|
"tsup": "8.4.0",
|
|
114
114
|
"typescript": "^5.9.3"
|
|
115
115
|
},
|
|
116
116
|
"publishConfig": { "access": "public" },
|
|
117
117
|
"sideEffects": false,
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "0c334cad4cd3237b830127698face8e1f4f508fb"
|
|
119
119
|
}
|
package/dist/constants.d.cts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ResolvedBuildOptions } from './types.cjs';
|
|
2
|
-
import '@storm-software/build-tools';
|
|
3
|
-
import 'esbuild';
|
|
4
|
-
import 'tsup';
|
|
5
|
-
|
|
6
|
-
declare const DEFAULT_BUILD_OPTIONS: Required<Pick<ResolvedBuildOptions, "format" | "dts" | "platform" | "target" | "keepNames" | "metafile" | "treeshake" | "splitting" | "cjsInterop" | "shims" | "watch" | "clean" | "bundle" | "loader" | "banner">>;
|
|
7
|
-
|
|
8
|
-
export { DEFAULT_BUILD_OPTIONS };
|
package/dist/constants.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ResolvedBuildOptions } from './types.js';
|
|
2
|
-
import '@storm-software/build-tools';
|
|
3
|
-
import 'esbuild';
|
|
4
|
-
import 'tsup';
|
|
5
|
-
|
|
6
|
-
declare const DEFAULT_BUILD_OPTIONS: Required<Pick<ResolvedBuildOptions, "format" | "dts" | "platform" | "target" | "keepNames" | "metafile" | "treeshake" | "splitting" | "cjsInterop" | "shims" | "watch" | "clean" | "bundle" | "loader" | "banner">>;
|
|
7
|
-
|
|
8
|
-
export { DEFAULT_BUILD_OPTIONS };
|
package/dist/index.d.cts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Options } from 'tsup';
|
|
2
|
-
export { DEFAULT_BUILD_OPTIONS } from './constants.cjs';
|
|
3
|
-
export { resolveOptions } from './options.cjs';
|
|
4
|
-
export { BuildOptions, ResolvedBuildOptions } from './types.cjs';
|
|
5
|
-
import '@storm-software/build-tools';
|
|
6
|
-
import 'esbuild';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Execute tsup with all the configurations we pass
|
|
10
|
-
*
|
|
11
|
-
* @param context - The build context
|
|
12
|
-
* @returns The build context
|
|
13
|
-
*/
|
|
14
|
-
declare function build(options: Options): Promise<void>;
|
|
15
|
-
|
|
16
|
-
export { build };
|
package/dist/index.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Options } from 'tsup';
|
|
2
|
-
export { DEFAULT_BUILD_OPTIONS } from './constants.js';
|
|
3
|
-
export { resolveOptions } from './options.js';
|
|
4
|
-
export { BuildOptions, ResolvedBuildOptions } from './types.js';
|
|
5
|
-
import '@storm-software/build-tools';
|
|
6
|
-
import 'esbuild';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Execute tsup with all the configurations we pass
|
|
10
|
-
*
|
|
11
|
-
* @param context - The build context
|
|
12
|
-
* @returns The build context
|
|
13
|
-
*/
|
|
14
|
-
declare function build(options: Options): Promise<void>;
|
|
15
|
-
|
|
16
|
-
export { build };
|
package/dist/options.d.cts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BuildOptions, ResolvedBuildOptions } from './types.cjs';
|
|
2
|
-
import '@storm-software/build-tools';
|
|
3
|
-
import 'esbuild';
|
|
4
|
-
import 'tsup';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Apply defaults to the original build options
|
|
8
|
-
*
|
|
9
|
-
* @param userOptions - the original build options provided by the user
|
|
10
|
-
* @returns the build options with defaults applied
|
|
11
|
-
*/
|
|
12
|
-
declare function resolveOptions(userOptions: BuildOptions): Promise<ResolvedBuildOptions>;
|
|
13
|
-
|
|
14
|
-
export { resolveOptions };
|
package/dist/options.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BuildOptions, ResolvedBuildOptions } from './types.js';
|
|
2
|
-
import '@storm-software/build-tools';
|
|
3
|
-
import 'esbuild';
|
|
4
|
-
import 'tsup';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Apply defaults to the original build options
|
|
8
|
-
*
|
|
9
|
-
* @param userOptions - the original build options provided by the user
|
|
10
|
-
* @returns the build options with defaults applied
|
|
11
|
-
*/
|
|
12
|
-
declare function resolveOptions(userOptions: BuildOptions): Promise<ResolvedBuildOptions>;
|
|
13
|
-
|
|
14
|
-
export { resolveOptions };
|
package/dist/types.d.cts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TypeScriptBuildOptions } from '@storm-software/build-tools';
|
|
2
|
-
import { TsconfigRaw } from 'esbuild';
|
|
3
|
-
import { Options } from 'tsup';
|
|
4
|
-
|
|
5
|
-
type BuildOptions = Omit<Options, "outDir" | "entryPoints"> & Required<Pick<TypeScriptBuildOptions, "projectRoot">> & Pick<TypeScriptBuildOptions, "outputPath"> & {
|
|
6
|
-
tsconfig?: string | null;
|
|
7
|
-
tsconfigRaw?: TsconfigRaw;
|
|
8
|
-
verbose?: boolean;
|
|
9
|
-
};
|
|
10
|
-
type ResolvedBuildOptions = Options;
|
|
11
|
-
|
|
12
|
-
export type { BuildOptions, ResolvedBuildOptions };
|
package/dist/types.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TypeScriptBuildOptions } from '@storm-software/build-tools';
|
|
2
|
-
import { TsconfigRaw } from 'esbuild';
|
|
3
|
-
import { Options } from 'tsup';
|
|
4
|
-
|
|
5
|
-
type BuildOptions = Omit<Options, "outDir" | "entryPoints"> & Required<Pick<TypeScriptBuildOptions, "projectRoot">> & Pick<TypeScriptBuildOptions, "outputPath"> & {
|
|
6
|
-
tsconfig?: string | null;
|
|
7
|
-
tsconfigRaw?: TsconfigRaw;
|
|
8
|
-
verbose?: boolean;
|
|
9
|
-
};
|
|
10
|
-
type ResolvedBuildOptions = Options;
|
|
11
|
-
|
|
12
|
-
export type { BuildOptions, ResolvedBuildOptions };
|