@storm-software/tsup 0.2.36 → 0.2.38
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-2F22ODPB.js → chunk-RUK3QAKZ.js} +9 -8
- package/dist/{chunk-755I6SXF.js → chunk-VYK5OKTF.js} +14 -14
- package/dist/constants.cjs +7 -6
- package/dist/constants.js +1 -1
- package/dist/index.cjs +22 -21
- package/dist/index.js +2 -2
- package/dist/options.cjs +16 -15
- package/dist/options.js +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -11,7 +11,7 @@ init_esm_shims();
|
|
|
11
11
|
// ../build-tools/dist/chunk-KVP3YMX6.mjs
|
|
12
12
|
init_esm_shims();
|
|
13
13
|
|
|
14
|
-
// ../build-tools/dist/chunk-
|
|
14
|
+
// ../build-tools/dist/chunk-BAGCAJFB.mjs
|
|
15
15
|
init_esm_shims();
|
|
16
16
|
|
|
17
17
|
// ../build-tools/dist/chunk-RPSH5IFV.mjs
|
|
@@ -24,8 +24,9 @@ init_esm_shims();
|
|
|
24
24
|
import { existsSync } from "node:fs";
|
|
25
25
|
import { join } from "node:path";
|
|
26
26
|
|
|
27
|
-
// ../build-tools/dist/chunk-
|
|
27
|
+
// ../build-tools/dist/chunk-J5M6XHOM.mjs
|
|
28
28
|
init_esm_shims();
|
|
29
|
+
import { formatDistanceToNow } from "date-fns/formatDistanceToNow";
|
|
29
30
|
import chalk from "chalk";
|
|
30
31
|
var LogLevelLabel = {
|
|
31
32
|
SILENT: "silent",
|
|
@@ -59,7 +60,7 @@ var CONSOLE_ICONS = {
|
|
|
59
60
|
[LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
|
|
60
61
|
};
|
|
61
62
|
|
|
62
|
-
// ../build-tools/dist/chunk-
|
|
63
|
+
// ../build-tools/dist/chunk-BAGCAJFB.mjs
|
|
63
64
|
import { loadConfig } from "c12";
|
|
64
65
|
import defu from "defu";
|
|
65
66
|
import * as z from "zod/mini";
|
|
@@ -641,13 +642,13 @@ import {
|
|
|
641
642
|
mapTargetDefaultsToDependencies
|
|
642
643
|
} from "nx/src/tasks-runner/create-task-graph";
|
|
643
644
|
|
|
644
|
-
// ../build-tools/dist/chunk-
|
|
645
|
+
// ../build-tools/dist/chunk-UCEEEQVX.mjs
|
|
645
646
|
init_esm_shims();
|
|
646
647
|
import { CopyAssetsHandler } from "@nx/js/src/utils/assets/copy-assets-handler";
|
|
647
648
|
import { glob } from "glob";
|
|
648
649
|
import { readFile as readFile3, writeFile } from "node:fs/promises";
|
|
649
650
|
|
|
650
|
-
// ../build-tools/dist/chunk-
|
|
651
|
+
// ../build-tools/dist/chunk-RVBHYVMR.mjs
|
|
651
652
|
init_esm_shims();
|
|
652
653
|
import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildable-libs-utils";
|
|
653
654
|
import { Glob } from "glob";
|
|
@@ -659,7 +660,7 @@ import {
|
|
|
659
660
|
readProjectsConfigurationFromProjectGraph
|
|
660
661
|
} from "nx/src/project-graph/project-graph";
|
|
661
662
|
|
|
662
|
-
// ../build-tools/dist/chunk-
|
|
663
|
+
// ../build-tools/dist/chunk-3E4JAUKE.mjs
|
|
663
664
|
init_esm_shims();
|
|
664
665
|
import { glob as glob2 } from "glob";
|
|
665
666
|
|
|
@@ -706,14 +707,14 @@ init_esm_shims();
|
|
|
706
707
|
// ../build-tools/dist/chunk-UN3B7LBV.mjs
|
|
707
708
|
init_esm_shims();
|
|
708
709
|
|
|
709
|
-
// ../build-tools/dist/chunk-
|
|
710
|
+
// ../build-tools/dist/chunk-XQQDAMER.mjs
|
|
710
711
|
init_esm_shims();
|
|
711
712
|
|
|
712
713
|
// ../build-tools/dist/chunk-7YKXR5JJ.mjs
|
|
713
714
|
init_esm_shims();
|
|
714
715
|
import { transform } from "@swc/core";
|
|
715
716
|
|
|
716
|
-
// ../build-tools/dist/chunk-
|
|
717
|
+
// ../build-tools/dist/chunk-JVUUAAFA.mjs
|
|
717
718
|
init_esm_shims();
|
|
718
719
|
import fs from "node:fs";
|
|
719
720
|
import { builtinModules } from "node:module";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_BUILD_OPTIONS,
|
|
3
3
|
getEnv
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RUK3QAKZ.js";
|
|
5
5
|
import {
|
|
6
6
|
init_esm_shims
|
|
7
7
|
} from "./chunk-XN5R4UAU.js";
|
|
@@ -12,13 +12,13 @@ init_esm_shims();
|
|
|
12
12
|
// ../config-tools/dist/get-config.js
|
|
13
13
|
init_esm_shims();
|
|
14
14
|
|
|
15
|
-
// ../config-tools/dist/chunk-
|
|
15
|
+
// ../config-tools/dist/chunk-37LI2DU4.js
|
|
16
16
|
init_esm_shims();
|
|
17
17
|
|
|
18
|
-
// ../config-tools/dist/chunk-
|
|
18
|
+
// ../config-tools/dist/chunk-M4FSRBO7.js
|
|
19
19
|
init_esm_shims();
|
|
20
20
|
|
|
21
|
-
// ../config-tools/dist/chunk-
|
|
21
|
+
// ../config-tools/dist/chunk-QQ7JNIOJ.js
|
|
22
22
|
init_esm_shims();
|
|
23
23
|
|
|
24
24
|
// ../config-tools/dist/chunk-4A2P7H63.js
|
|
@@ -246,7 +246,7 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
|
|
|
246
246
|
return result;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
// ../config-tools/dist/chunk-
|
|
249
|
+
// ../config-tools/dist/chunk-UU2P3WKA.js
|
|
250
250
|
init_esm_shims();
|
|
251
251
|
|
|
252
252
|
// ../config-tools/dist/chunk-LA3S35UI.js
|
|
@@ -431,7 +431,8 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
431
431
|
return LogLevelLabel.INFO;
|
|
432
432
|
};
|
|
433
433
|
|
|
434
|
-
// ../config-tools/dist/chunk-
|
|
434
|
+
// ../config-tools/dist/chunk-UU2P3WKA.js
|
|
435
|
+
import { formatDistanceToNow } from "date-fns/formatDistanceToNow";
|
|
435
436
|
var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
436
437
|
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;
|
|
437
438
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
@@ -514,14 +515,13 @@ var writeWarning = (message, config) => getLogFn(LogLevel.WARN, config)(message)
|
|
|
514
515
|
var writeDebug = (message, config) => getLogFn(LogLevel.DEBUG, config)(message);
|
|
515
516
|
var writeTrace = (message, config) => getLogFn(LogLevel.TRACE, config)(message);
|
|
516
517
|
var getStopwatch = (name) => {
|
|
517
|
-
const start =
|
|
518
|
+
const start = /* @__PURE__ */ new Date();
|
|
518
519
|
return () => {
|
|
519
|
-
const end = process.hrtime(start);
|
|
520
520
|
console.info(
|
|
521
521
|
`
|
|
522
|
-
> \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${
|
|
523
|
-
|
|
524
|
-
)}
|
|
522
|
+
> \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${formatDistanceToNow(start, {
|
|
523
|
+
includeSeconds: true
|
|
524
|
+
})} to complete
|
|
525
525
|
`
|
|
526
526
|
);
|
|
527
527
|
};
|
|
@@ -551,7 +551,7 @@ var _isFunction = (value) => {
|
|
|
551
551
|
}
|
|
552
552
|
};
|
|
553
553
|
|
|
554
|
-
// ../config-tools/dist/chunk-
|
|
554
|
+
// ../config-tools/dist/chunk-QQ7JNIOJ.js
|
|
555
555
|
import { loadConfig } from "c12";
|
|
556
556
|
import defu from "defu";
|
|
557
557
|
var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
@@ -1505,7 +1505,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1505
1505
|
// ../config/dist/schema.js
|
|
1506
1506
|
init_esm_shims();
|
|
1507
1507
|
|
|
1508
|
-
// ../config-tools/dist/chunk-
|
|
1508
|
+
// ../config-tools/dist/chunk-M4FSRBO7.js
|
|
1509
1509
|
import defu2 from "defu";
|
|
1510
1510
|
import { existsSync as existsSync3 } from "node:fs";
|
|
1511
1511
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
@@ -1602,7 +1602,7 @@ ${formatLogMessage(config)}`,
|
|
|
1602
1602
|
return config;
|
|
1603
1603
|
};
|
|
1604
1604
|
|
|
1605
|
-
// ../config-tools/dist/chunk-
|
|
1605
|
+
// ../config-tools/dist/chunk-37LI2DU4.js
|
|
1606
1606
|
function getConfig(workspaceRoot, skipLogs = false) {
|
|
1607
1607
|
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
1608
1608
|
}
|
package/dist/constants.cjs
CHANGED
|
@@ -38,7 +38,8 @@ module.exports = __toCommonJS(constants_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-J5M6XHOM.mjs
|
|
42
|
+
var import_formatDistanceToNow = require("date-fns/formatDistanceToNow");
|
|
42
43
|
var import_chalk = __toESM(require("chalk"), 1);
|
|
43
44
|
var LogLevelLabel = {
|
|
44
45
|
SILENT: "silent",
|
|
@@ -72,7 +73,7 @@ var CONSOLE_ICONS = {
|
|
|
72
73
|
[LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
|
|
73
74
|
};
|
|
74
75
|
|
|
75
|
-
// ../build-tools/dist/chunk-
|
|
76
|
+
// ../build-tools/dist/chunk-BAGCAJFB.mjs
|
|
76
77
|
var import_c12 = require("c12");
|
|
77
78
|
var import_defu = __toESM(require("defu"), 1);
|
|
78
79
|
var z = __toESM(require("zod/mini"), 1);
|
|
@@ -650,19 +651,19 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
650
651
|
// ../build-tools/dist/chunk-JCFRYUYP.mjs
|
|
651
652
|
var import_create_task_graph = require("nx/src/tasks-runner/create-task-graph");
|
|
652
653
|
|
|
653
|
-
// ../build-tools/dist/chunk-
|
|
654
|
+
// ../build-tools/dist/chunk-UCEEEQVX.mjs
|
|
654
655
|
var import_copy_assets_handler = require("@nx/js/src/utils/assets/copy-assets-handler");
|
|
655
656
|
var import_glob = require("glob");
|
|
656
657
|
var import_promises3 = require("fs/promises");
|
|
657
658
|
|
|
658
|
-
// ../build-tools/dist/chunk-
|
|
659
|
+
// ../build-tools/dist/chunk-RVBHYVMR.mjs
|
|
659
660
|
var import_buildable_libs_utils = require("@nx/js/src/utils/buildable-libs-utils");
|
|
660
661
|
var import_glob2 = require("glob");
|
|
661
662
|
var import_node_fs5 = require("fs");
|
|
662
663
|
var import_promises4 = require("fs/promises");
|
|
663
664
|
var import_project_graph = require("nx/src/project-graph/project-graph");
|
|
664
665
|
|
|
665
|
-
// ../build-tools/dist/chunk-
|
|
666
|
+
// ../build-tools/dist/chunk-3E4JAUKE.mjs
|
|
666
667
|
var import_glob3 = require("glob");
|
|
667
668
|
|
|
668
669
|
// ../build-tools/dist/chunk-BEMVEXMQ.mjs
|
|
@@ -676,7 +677,7 @@ var DEFAULT_COMPILED_BANNER = `/*****************************************
|
|
|
676
677
|
// ../build-tools/dist/chunk-7YKXR5JJ.mjs
|
|
677
678
|
var import_core = require("@swc/core");
|
|
678
679
|
|
|
679
|
-
// ../build-tools/dist/chunk-
|
|
680
|
+
// ../build-tools/dist/chunk-JVUUAAFA.mjs
|
|
680
681
|
var import_node_fs6 = __toESM(require("fs"), 1);
|
|
681
682
|
var import_node_module = require("module");
|
|
682
683
|
var import_node_path3 = __toESM(require("path"), 1);
|
package/dist/constants.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -2705,7 +2705,7 @@ init_cjs_shims();
|
|
|
2705
2705
|
// ../config-tools/dist/logger/console.js
|
|
2706
2706
|
init_cjs_shims();
|
|
2707
2707
|
|
|
2708
|
-
// ../config-tools/dist/chunk-
|
|
2708
|
+
// ../config-tools/dist/chunk-UU2P3WKA.js
|
|
2709
2709
|
init_cjs_shims();
|
|
2710
2710
|
|
|
2711
2711
|
// ../config-tools/dist/chunk-LA3S35UI.js
|
|
@@ -2890,7 +2890,8 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
2890
2890
|
return LogLevelLabel.INFO;
|
|
2891
2891
|
};
|
|
2892
2892
|
|
|
2893
|
-
// ../config-tools/dist/chunk-
|
|
2893
|
+
// ../config-tools/dist/chunk-UU2P3WKA.js
|
|
2894
|
+
var import_formatDistanceToNow = require("date-fns/formatDistanceToNow");
|
|
2894
2895
|
var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
2895
2896
|
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;
|
|
2896
2897
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
@@ -2973,14 +2974,13 @@ var writeWarning = (message, config) => getLogFn(LogLevel.WARN, config)(message)
|
|
|
2973
2974
|
var writeDebug = (message, config) => getLogFn(LogLevel.DEBUG, config)(message);
|
|
2974
2975
|
var writeTrace = (message, config) => getLogFn(LogLevel.TRACE, config)(message);
|
|
2975
2976
|
var getStopwatch = (name) => {
|
|
2976
|
-
const start =
|
|
2977
|
+
const start = /* @__PURE__ */ new Date();
|
|
2977
2978
|
return () => {
|
|
2978
|
-
const end = process.hrtime(start);
|
|
2979
2979
|
console.info(
|
|
2980
2980
|
`
|
|
2981
|
-
> \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${
|
|
2982
|
-
|
|
2983
|
-
)}
|
|
2981
|
+
> \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${(0, import_formatDistanceToNow.formatDistanceToNow)(start, {
|
|
2982
|
+
includeSeconds: true
|
|
2983
|
+
})} to complete
|
|
2984
2984
|
`
|
|
2985
2985
|
);
|
|
2986
2986
|
};
|
|
@@ -3022,7 +3022,7 @@ init_cjs_shims();
|
|
|
3022
3022
|
// ../build-tools/dist/chunk-KVP3YMX6.mjs
|
|
3023
3023
|
init_cjs_shims();
|
|
3024
3024
|
|
|
3025
|
-
// ../build-tools/dist/chunk-
|
|
3025
|
+
// ../build-tools/dist/chunk-BAGCAJFB.mjs
|
|
3026
3026
|
init_cjs_shims();
|
|
3027
3027
|
|
|
3028
3028
|
// ../build-tools/dist/chunk-RPSH5IFV.mjs
|
|
@@ -3035,8 +3035,9 @@ init_cjs_shims();
|
|
|
3035
3035
|
var import_node_fs = require("fs");
|
|
3036
3036
|
var import_node_path = require("path");
|
|
3037
3037
|
|
|
3038
|
-
// ../build-tools/dist/chunk-
|
|
3038
|
+
// ../build-tools/dist/chunk-J5M6XHOM.mjs
|
|
3039
3039
|
init_cjs_shims();
|
|
3040
|
+
var import_formatDistanceToNow2 = require("date-fns/formatDistanceToNow");
|
|
3040
3041
|
var import_chalk2 = __toESM(require("chalk"), 1);
|
|
3041
3042
|
var LogLevelLabel2 = {
|
|
3042
3043
|
SILENT: "silent",
|
|
@@ -3070,7 +3071,7 @@ var CONSOLE_ICONS2 = {
|
|
|
3070
3071
|
[LogLevelLabel2.ALL]: useIcon2("\u2709", "\u2192")
|
|
3071
3072
|
};
|
|
3072
3073
|
|
|
3073
|
-
// ../build-tools/dist/chunk-
|
|
3074
|
+
// ../build-tools/dist/chunk-BAGCAJFB.mjs
|
|
3074
3075
|
var import_c12 = require("c12");
|
|
3075
3076
|
var import_defu = __toESM(require("defu"), 1);
|
|
3076
3077
|
var z = __toESM(require("zod/mini"), 1);
|
|
@@ -3649,13 +3650,13 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
3649
3650
|
init_cjs_shims();
|
|
3650
3651
|
var import_create_task_graph = require("nx/src/tasks-runner/create-task-graph");
|
|
3651
3652
|
|
|
3652
|
-
// ../build-tools/dist/chunk-
|
|
3653
|
+
// ../build-tools/dist/chunk-UCEEEQVX.mjs
|
|
3653
3654
|
init_cjs_shims();
|
|
3654
3655
|
var import_copy_assets_handler = require("@nx/js/src/utils/assets/copy-assets-handler");
|
|
3655
3656
|
var import_glob = require("glob");
|
|
3656
3657
|
var import_promises3 = require("fs/promises");
|
|
3657
3658
|
|
|
3658
|
-
// ../build-tools/dist/chunk-
|
|
3659
|
+
// ../build-tools/dist/chunk-RVBHYVMR.mjs
|
|
3659
3660
|
init_cjs_shims();
|
|
3660
3661
|
var import_buildable_libs_utils = require("@nx/js/src/utils/buildable-libs-utils");
|
|
3661
3662
|
var import_glob2 = require("glob");
|
|
@@ -3663,7 +3664,7 @@ var import_node_fs5 = require("fs");
|
|
|
3663
3664
|
var import_promises4 = require("fs/promises");
|
|
3664
3665
|
var import_project_graph = require("nx/src/project-graph/project-graph");
|
|
3665
3666
|
|
|
3666
|
-
// ../build-tools/dist/chunk-
|
|
3667
|
+
// ../build-tools/dist/chunk-3E4JAUKE.mjs
|
|
3667
3668
|
init_cjs_shims();
|
|
3668
3669
|
var import_glob3 = require("glob");
|
|
3669
3670
|
|
|
@@ -3710,14 +3711,14 @@ init_cjs_shims();
|
|
|
3710
3711
|
// ../build-tools/dist/chunk-UN3B7LBV.mjs
|
|
3711
3712
|
init_cjs_shims();
|
|
3712
3713
|
|
|
3713
|
-
// ../build-tools/dist/chunk-
|
|
3714
|
+
// ../build-tools/dist/chunk-XQQDAMER.mjs
|
|
3714
3715
|
init_cjs_shims();
|
|
3715
3716
|
|
|
3716
3717
|
// ../build-tools/dist/chunk-7YKXR5JJ.mjs
|
|
3717
3718
|
init_cjs_shims();
|
|
3718
3719
|
var import_core = require("@swc/core");
|
|
3719
3720
|
|
|
3720
|
-
// ../build-tools/dist/chunk-
|
|
3721
|
+
// ../build-tools/dist/chunk-JVUUAAFA.mjs
|
|
3721
3722
|
init_cjs_shims();
|
|
3722
3723
|
var import_node_fs6 = __toESM(require("fs"), 1);
|
|
3723
3724
|
var import_node_module = require("module");
|
|
@@ -3777,13 +3778,13 @@ init_cjs_shims();
|
|
|
3777
3778
|
// ../config-tools/dist/get-config.js
|
|
3778
3779
|
init_cjs_shims();
|
|
3779
3780
|
|
|
3780
|
-
// ../config-tools/dist/chunk-
|
|
3781
|
+
// ../config-tools/dist/chunk-37LI2DU4.js
|
|
3781
3782
|
init_cjs_shims();
|
|
3782
3783
|
|
|
3783
|
-
// ../config-tools/dist/chunk-
|
|
3784
|
+
// ../config-tools/dist/chunk-M4FSRBO7.js
|
|
3784
3785
|
init_cjs_shims();
|
|
3785
3786
|
|
|
3786
|
-
// ../config-tools/dist/chunk-
|
|
3787
|
+
// ../config-tools/dist/chunk-QQ7JNIOJ.js
|
|
3787
3788
|
init_cjs_shims();
|
|
3788
3789
|
|
|
3789
3790
|
// ../config-tools/dist/chunk-4A2P7H63.js
|
|
@@ -4011,7 +4012,7 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
|
|
|
4011
4012
|
return result;
|
|
4012
4013
|
}
|
|
4013
4014
|
|
|
4014
|
-
// ../config-tools/dist/chunk-
|
|
4015
|
+
// ../config-tools/dist/chunk-QQ7JNIOJ.js
|
|
4015
4016
|
var import_c122 = require("c12");
|
|
4016
4017
|
var import_defu3 = __toESM(require("defu"), 1);
|
|
4017
4018
|
var getConfigFileByName = async (fileName, filePath, options2 = {}) => {
|
|
@@ -4965,7 +4966,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
4965
4966
|
// ../config/dist/schema.js
|
|
4966
4967
|
init_cjs_shims();
|
|
4967
4968
|
|
|
4968
|
-
// ../config-tools/dist/chunk-
|
|
4969
|
+
// ../config-tools/dist/chunk-M4FSRBO7.js
|
|
4969
4970
|
var import_defu4 = __toESM(require("defu"), 1);
|
|
4970
4971
|
var import_node_fs9 = require("fs");
|
|
4971
4972
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
@@ -5062,7 +5063,7 @@ ${formatLogMessage(config)}`,
|
|
|
5062
5063
|
return config;
|
|
5063
5064
|
};
|
|
5064
5065
|
|
|
5065
|
-
// ../config-tools/dist/chunk-
|
|
5066
|
+
// ../config-tools/dist/chunk-37LI2DU4.js
|
|
5066
5067
|
function getConfig(workspaceRoot, skipLogs = false) {
|
|
5067
5068
|
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
5068
5069
|
}
|
package/dist/index.js
CHANGED
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getStopwatch,
|
|
3
3
|
resolveOptions,
|
|
4
4
|
writeDebug
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VYK5OKTF.js";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_BUILD_OPTIONS
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RUK3QAKZ.js";
|
|
9
9
|
import "./chunk-P7URJ6FF.js";
|
|
10
10
|
import {
|
|
11
11
|
__commonJS,
|
package/dist/options.cjs
CHANGED
|
@@ -38,7 +38,8 @@ 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-J5M6XHOM.mjs
|
|
42
|
+
var import_formatDistanceToNow = require("date-fns/formatDistanceToNow");
|
|
42
43
|
var import_chalk = __toESM(require("chalk"), 1);
|
|
43
44
|
var LogLevelLabel = {
|
|
44
45
|
SILENT: "silent",
|
|
@@ -72,7 +73,7 @@ var CONSOLE_ICONS = {
|
|
|
72
73
|
[LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
|
|
73
74
|
};
|
|
74
75
|
|
|
75
|
-
// ../build-tools/dist/chunk-
|
|
76
|
+
// ../build-tools/dist/chunk-BAGCAJFB.mjs
|
|
76
77
|
var import_c12 = require("c12");
|
|
77
78
|
var import_defu = __toESM(require("defu"), 1);
|
|
78
79
|
var z = __toESM(require("zod/mini"), 1);
|
|
@@ -650,19 +651,19 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
650
651
|
// ../build-tools/dist/chunk-JCFRYUYP.mjs
|
|
651
652
|
var import_create_task_graph = require("nx/src/tasks-runner/create-task-graph");
|
|
652
653
|
|
|
653
|
-
// ../build-tools/dist/chunk-
|
|
654
|
+
// ../build-tools/dist/chunk-UCEEEQVX.mjs
|
|
654
655
|
var import_copy_assets_handler = require("@nx/js/src/utils/assets/copy-assets-handler");
|
|
655
656
|
var import_glob = require("glob");
|
|
656
657
|
var import_promises3 = require("fs/promises");
|
|
657
658
|
|
|
658
|
-
// ../build-tools/dist/chunk-
|
|
659
|
+
// ../build-tools/dist/chunk-RVBHYVMR.mjs
|
|
659
660
|
var import_buildable_libs_utils = require("@nx/js/src/utils/buildable-libs-utils");
|
|
660
661
|
var import_glob2 = require("glob");
|
|
661
662
|
var import_node_fs5 = require("fs");
|
|
662
663
|
var import_promises4 = require("fs/promises");
|
|
663
664
|
var import_project_graph = require("nx/src/project-graph/project-graph");
|
|
664
665
|
|
|
665
|
-
// ../build-tools/dist/chunk-
|
|
666
|
+
// ../build-tools/dist/chunk-3E4JAUKE.mjs
|
|
666
667
|
var import_glob3 = require("glob");
|
|
667
668
|
|
|
668
669
|
// ../build-tools/dist/chunk-BEMVEXMQ.mjs
|
|
@@ -692,7 +693,7 @@ var getEnv = (builder, options) => {
|
|
|
692
693
|
// ../build-tools/dist/chunk-7YKXR5JJ.mjs
|
|
693
694
|
var import_core = require("@swc/core");
|
|
694
695
|
|
|
695
|
-
// ../build-tools/dist/chunk-
|
|
696
|
+
// ../build-tools/dist/chunk-JVUUAAFA.mjs
|
|
696
697
|
var import_node_fs6 = __toESM(require("fs"), 1);
|
|
697
698
|
var import_node_module = require("module");
|
|
698
699
|
var import_node_path3 = __toESM(require("path"), 1);
|
|
@@ -1095,7 +1096,8 @@ var getLogLevelLabel2 = (logLevel = LogLevel2.INFO) => {
|
|
|
1095
1096
|
return LogLevelLabel2.INFO;
|
|
1096
1097
|
};
|
|
1097
1098
|
|
|
1098
|
-
// ../config-tools/dist/chunk-
|
|
1099
|
+
// ../config-tools/dist/chunk-UU2P3WKA.js
|
|
1100
|
+
var import_formatDistanceToNow2 = require("date-fns/formatDistanceToNow");
|
|
1099
1101
|
var getLogFn = (logLevel = LogLevel2.INFO, config = {}, _chalk = getChalk()) => {
|
|
1100
1102
|
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;
|
|
1101
1103
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel2.INFO;
|
|
@@ -1178,14 +1180,13 @@ var writeWarning2 = (message, config) => getLogFn(LogLevel2.WARN, config)(messag
|
|
|
1178
1180
|
var writeDebug2 = (message, config) => getLogFn(LogLevel2.DEBUG, config)(message);
|
|
1179
1181
|
var writeTrace2 = (message, config) => getLogFn(LogLevel2.TRACE, config)(message);
|
|
1180
1182
|
var getStopwatch = (name) => {
|
|
1181
|
-
const start =
|
|
1183
|
+
const start = /* @__PURE__ */ new Date();
|
|
1182
1184
|
return () => {
|
|
1183
|
-
const end = process.hrtime(start);
|
|
1184
1185
|
console.info(
|
|
1185
1186
|
`
|
|
1186
|
-
> \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${
|
|
1187
|
-
|
|
1188
|
-
)}
|
|
1187
|
+
> \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${(0, import_formatDistanceToNow2.formatDistanceToNow)(start, {
|
|
1188
|
+
includeSeconds: true
|
|
1189
|
+
})} to complete
|
|
1189
1190
|
`
|
|
1190
1191
|
);
|
|
1191
1192
|
};
|
|
@@ -1215,7 +1216,7 @@ var _isFunction = (value) => {
|
|
|
1215
1216
|
}
|
|
1216
1217
|
};
|
|
1217
1218
|
|
|
1218
|
-
// ../config-tools/dist/chunk-
|
|
1219
|
+
// ../config-tools/dist/chunk-QQ7JNIOJ.js
|
|
1219
1220
|
var import_c122 = require("c12");
|
|
1220
1221
|
var import_defu3 = __toESM(require("defu"), 1);
|
|
1221
1222
|
var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
@@ -2150,7 +2151,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
2150
2151
|
};
|
|
2151
2152
|
};
|
|
2152
2153
|
|
|
2153
|
-
// ../config-tools/dist/chunk-
|
|
2154
|
+
// ../config-tools/dist/chunk-M4FSRBO7.js
|
|
2154
2155
|
var import_defu4 = __toESM(require("defu"), 1);
|
|
2155
2156
|
var import_node_fs9 = require("fs");
|
|
2156
2157
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
@@ -2247,7 +2248,7 @@ ${formatLogMessage2(config)}`,
|
|
|
2247
2248
|
return config;
|
|
2248
2249
|
};
|
|
2249
2250
|
|
|
2250
|
-
// ../config-tools/dist/chunk-
|
|
2251
|
+
// ../config-tools/dist/chunk-37LI2DU4.js
|
|
2251
2252
|
function getConfig(workspaceRoot, skipLogs = false) {
|
|
2252
2253
|
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
2253
2254
|
}
|
package/dist/options.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/tsup",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.38",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing bundled patches for tsup.",
|
|
6
6
|
"repository": {
|
|
@@ -104,8 +104,8 @@
|
|
|
104
104
|
"files": ["assets/**/*", "dist/**/*"],
|
|
105
105
|
"keywords": ["tsup", "storm", "storm-ops", "storm-software"],
|
|
106
106
|
"dependencies": {
|
|
107
|
-
"@storm-software/build-tools": "^0.158.
|
|
108
|
-
"@storm-software/config-tools": "^1.188.
|
|
107
|
+
"@storm-software/build-tools": "^0.158.40",
|
|
108
|
+
"@storm-software/config-tools": "^1.188.40"
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
111
|
"@types/node": "^22.19.1",
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
},
|
|
115
115
|
"publishConfig": { "access": "public" },
|
|
116
116
|
"sideEffects": false,
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "9fb6aab8303c116047d19f12823505c5bd071a55"
|
|
118
118
|
}
|