@storm-software/tsup 0.2.37 → 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-5X7AZZ4C.js → chunk-RUK3QAKZ.js} +9 -9
- package/dist/{chunk-U2EQDFE2.js → chunk-VYK5OKTF.js} +13 -11
- package/dist/constants.cjs +7 -7
- package/dist/constants.js +1 -1
- package/dist/index.cjs +21 -19
- package/dist/index.js +2 -2
- package/dist/options.cjs +15 -13
- 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,9 +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 {
|
|
29
|
+
import { formatDistanceToNow } from "date-fns/formatDistanceToNow";
|
|
30
30
|
import chalk from "chalk";
|
|
31
31
|
var LogLevelLabel = {
|
|
32
32
|
SILENT: "silent",
|
|
@@ -60,7 +60,7 @@ var CONSOLE_ICONS = {
|
|
|
60
60
|
[LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
// ../build-tools/dist/chunk-
|
|
63
|
+
// ../build-tools/dist/chunk-BAGCAJFB.mjs
|
|
64
64
|
import { loadConfig } from "c12";
|
|
65
65
|
import defu from "defu";
|
|
66
66
|
import * as z from "zod/mini";
|
|
@@ -642,13 +642,13 @@ import {
|
|
|
642
642
|
mapTargetDefaultsToDependencies
|
|
643
643
|
} from "nx/src/tasks-runner/create-task-graph";
|
|
644
644
|
|
|
645
|
-
// ../build-tools/dist/chunk-
|
|
645
|
+
// ../build-tools/dist/chunk-UCEEEQVX.mjs
|
|
646
646
|
init_esm_shims();
|
|
647
647
|
import { CopyAssetsHandler } from "@nx/js/src/utils/assets/copy-assets-handler";
|
|
648
648
|
import { glob } from "glob";
|
|
649
649
|
import { readFile as readFile3, writeFile } from "node:fs/promises";
|
|
650
650
|
|
|
651
|
-
// ../build-tools/dist/chunk-
|
|
651
|
+
// ../build-tools/dist/chunk-RVBHYVMR.mjs
|
|
652
652
|
init_esm_shims();
|
|
653
653
|
import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildable-libs-utils";
|
|
654
654
|
import { Glob } from "glob";
|
|
@@ -660,7 +660,7 @@ import {
|
|
|
660
660
|
readProjectsConfigurationFromProjectGraph
|
|
661
661
|
} from "nx/src/project-graph/project-graph";
|
|
662
662
|
|
|
663
|
-
// ../build-tools/dist/chunk-
|
|
663
|
+
// ../build-tools/dist/chunk-3E4JAUKE.mjs
|
|
664
664
|
init_esm_shims();
|
|
665
665
|
import { glob as glob2 } from "glob";
|
|
666
666
|
|
|
@@ -707,14 +707,14 @@ init_esm_shims();
|
|
|
707
707
|
// ../build-tools/dist/chunk-UN3B7LBV.mjs
|
|
708
708
|
init_esm_shims();
|
|
709
709
|
|
|
710
|
-
// ../build-tools/dist/chunk-
|
|
710
|
+
// ../build-tools/dist/chunk-XQQDAMER.mjs
|
|
711
711
|
init_esm_shims();
|
|
712
712
|
|
|
713
713
|
// ../build-tools/dist/chunk-7YKXR5JJ.mjs
|
|
714
714
|
init_esm_shims();
|
|
715
715
|
import { transform } from "@swc/core";
|
|
716
716
|
|
|
717
|
-
// ../build-tools/dist/chunk-
|
|
717
|
+
// ../build-tools/dist/chunk-JVUUAAFA.mjs
|
|
718
718
|
init_esm_shims();
|
|
719
719
|
import fs from "node:fs";
|
|
720
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,8 +431,8 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
431
431
|
return LogLevelLabel.INFO;
|
|
432
432
|
};
|
|
433
433
|
|
|
434
|
-
// ../config-tools/dist/chunk-
|
|
435
|
-
import {
|
|
434
|
+
// ../config-tools/dist/chunk-UU2P3WKA.js
|
|
435
|
+
import { formatDistanceToNow } from "date-fns/formatDistanceToNow";
|
|
436
436
|
var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
437
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;
|
|
438
438
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
@@ -519,7 +519,9 @@ var getStopwatch = (name) => {
|
|
|
519
519
|
return () => {
|
|
520
520
|
console.info(
|
|
521
521
|
`
|
|
522
|
-
> \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${
|
|
522
|
+
> \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${formatDistanceToNow(start, {
|
|
523
|
+
includeSeconds: true
|
|
524
|
+
})} to complete
|
|
523
525
|
`
|
|
524
526
|
);
|
|
525
527
|
};
|
|
@@ -549,7 +551,7 @@ var _isFunction = (value) => {
|
|
|
549
551
|
}
|
|
550
552
|
};
|
|
551
553
|
|
|
552
|
-
// ../config-tools/dist/chunk-
|
|
554
|
+
// ../config-tools/dist/chunk-QQ7JNIOJ.js
|
|
553
555
|
import { loadConfig } from "c12";
|
|
554
556
|
import defu from "defu";
|
|
555
557
|
var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
@@ -1503,7 +1505,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1503
1505
|
// ../config/dist/schema.js
|
|
1504
1506
|
init_esm_shims();
|
|
1505
1507
|
|
|
1506
|
-
// ../config-tools/dist/chunk-
|
|
1508
|
+
// ../config-tools/dist/chunk-M4FSRBO7.js
|
|
1507
1509
|
import defu2 from "defu";
|
|
1508
1510
|
import { existsSync as existsSync3 } from "node:fs";
|
|
1509
1511
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
@@ -1600,7 +1602,7 @@ ${formatLogMessage(config)}`,
|
|
|
1600
1602
|
return config;
|
|
1601
1603
|
};
|
|
1602
1604
|
|
|
1603
|
-
// ../config-tools/dist/chunk-
|
|
1605
|
+
// ../config-tools/dist/chunk-37LI2DU4.js
|
|
1604
1606
|
function getConfig(workspaceRoot, skipLogs = false) {
|
|
1605
1607
|
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
1606
1608
|
}
|
package/dist/constants.cjs
CHANGED
|
@@ -38,8 +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-
|
|
42
|
-
var
|
|
41
|
+
// ../build-tools/dist/chunk-J5M6XHOM.mjs
|
|
42
|
+
var import_formatDistanceToNow = require("date-fns/formatDistanceToNow");
|
|
43
43
|
var import_chalk = __toESM(require("chalk"), 1);
|
|
44
44
|
var LogLevelLabel = {
|
|
45
45
|
SILENT: "silent",
|
|
@@ -73,7 +73,7 @@ var CONSOLE_ICONS = {
|
|
|
73
73
|
[LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
// ../build-tools/dist/chunk-
|
|
76
|
+
// ../build-tools/dist/chunk-BAGCAJFB.mjs
|
|
77
77
|
var import_c12 = require("c12");
|
|
78
78
|
var import_defu = __toESM(require("defu"), 1);
|
|
79
79
|
var z = __toESM(require("zod/mini"), 1);
|
|
@@ -651,19 +651,19 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
651
651
|
// ../build-tools/dist/chunk-JCFRYUYP.mjs
|
|
652
652
|
var import_create_task_graph = require("nx/src/tasks-runner/create-task-graph");
|
|
653
653
|
|
|
654
|
-
// ../build-tools/dist/chunk-
|
|
654
|
+
// ../build-tools/dist/chunk-UCEEEQVX.mjs
|
|
655
655
|
var import_copy_assets_handler = require("@nx/js/src/utils/assets/copy-assets-handler");
|
|
656
656
|
var import_glob = require("glob");
|
|
657
657
|
var import_promises3 = require("fs/promises");
|
|
658
658
|
|
|
659
|
-
// ../build-tools/dist/chunk-
|
|
659
|
+
// ../build-tools/dist/chunk-RVBHYVMR.mjs
|
|
660
660
|
var import_buildable_libs_utils = require("@nx/js/src/utils/buildable-libs-utils");
|
|
661
661
|
var import_glob2 = require("glob");
|
|
662
662
|
var import_node_fs5 = require("fs");
|
|
663
663
|
var import_promises4 = require("fs/promises");
|
|
664
664
|
var import_project_graph = require("nx/src/project-graph/project-graph");
|
|
665
665
|
|
|
666
|
-
// ../build-tools/dist/chunk-
|
|
666
|
+
// ../build-tools/dist/chunk-3E4JAUKE.mjs
|
|
667
667
|
var import_glob3 = require("glob");
|
|
668
668
|
|
|
669
669
|
// ../build-tools/dist/chunk-BEMVEXMQ.mjs
|
|
@@ -677,7 +677,7 @@ var DEFAULT_COMPILED_BANNER = `/*****************************************
|
|
|
677
677
|
// ../build-tools/dist/chunk-7YKXR5JJ.mjs
|
|
678
678
|
var import_core = require("@swc/core");
|
|
679
679
|
|
|
680
|
-
// ../build-tools/dist/chunk-
|
|
680
|
+
// ../build-tools/dist/chunk-JVUUAAFA.mjs
|
|
681
681
|
var import_node_fs6 = __toESM(require("fs"), 1);
|
|
682
682
|
var import_node_module = require("module");
|
|
683
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,8 +2890,8 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
2890
2890
|
return LogLevelLabel.INFO;
|
|
2891
2891
|
};
|
|
2892
2892
|
|
|
2893
|
-
// ../config-tools/dist/chunk-
|
|
2894
|
-
var
|
|
2893
|
+
// ../config-tools/dist/chunk-UU2P3WKA.js
|
|
2894
|
+
var import_formatDistanceToNow = require("date-fns/formatDistanceToNow");
|
|
2895
2895
|
var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
2896
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;
|
|
2897
2897
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
@@ -2978,7 +2978,9 @@ var getStopwatch = (name) => {
|
|
|
2978
2978
|
return () => {
|
|
2979
2979
|
console.info(
|
|
2980
2980
|
`
|
|
2981
|
-
> \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${(0,
|
|
2981
|
+
> \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${(0, import_formatDistanceToNow.formatDistanceToNow)(start, {
|
|
2982
|
+
includeSeconds: true
|
|
2983
|
+
})} to complete
|
|
2982
2984
|
`
|
|
2983
2985
|
);
|
|
2984
2986
|
};
|
|
@@ -3020,7 +3022,7 @@ init_cjs_shims();
|
|
|
3020
3022
|
// ../build-tools/dist/chunk-KVP3YMX6.mjs
|
|
3021
3023
|
init_cjs_shims();
|
|
3022
3024
|
|
|
3023
|
-
// ../build-tools/dist/chunk-
|
|
3025
|
+
// ../build-tools/dist/chunk-BAGCAJFB.mjs
|
|
3024
3026
|
init_cjs_shims();
|
|
3025
3027
|
|
|
3026
3028
|
// ../build-tools/dist/chunk-RPSH5IFV.mjs
|
|
@@ -3033,9 +3035,9 @@ init_cjs_shims();
|
|
|
3033
3035
|
var import_node_fs = require("fs");
|
|
3034
3036
|
var import_node_path = require("path");
|
|
3035
3037
|
|
|
3036
|
-
// ../build-tools/dist/chunk-
|
|
3038
|
+
// ../build-tools/dist/chunk-J5M6XHOM.mjs
|
|
3037
3039
|
init_cjs_shims();
|
|
3038
|
-
var
|
|
3040
|
+
var import_formatDistanceToNow2 = require("date-fns/formatDistanceToNow");
|
|
3039
3041
|
var import_chalk2 = __toESM(require("chalk"), 1);
|
|
3040
3042
|
var LogLevelLabel2 = {
|
|
3041
3043
|
SILENT: "silent",
|
|
@@ -3069,7 +3071,7 @@ var CONSOLE_ICONS2 = {
|
|
|
3069
3071
|
[LogLevelLabel2.ALL]: useIcon2("\u2709", "\u2192")
|
|
3070
3072
|
};
|
|
3071
3073
|
|
|
3072
|
-
// ../build-tools/dist/chunk-
|
|
3074
|
+
// ../build-tools/dist/chunk-BAGCAJFB.mjs
|
|
3073
3075
|
var import_c12 = require("c12");
|
|
3074
3076
|
var import_defu = __toESM(require("defu"), 1);
|
|
3075
3077
|
var z = __toESM(require("zod/mini"), 1);
|
|
@@ -3648,13 +3650,13 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
3648
3650
|
init_cjs_shims();
|
|
3649
3651
|
var import_create_task_graph = require("nx/src/tasks-runner/create-task-graph");
|
|
3650
3652
|
|
|
3651
|
-
// ../build-tools/dist/chunk-
|
|
3653
|
+
// ../build-tools/dist/chunk-UCEEEQVX.mjs
|
|
3652
3654
|
init_cjs_shims();
|
|
3653
3655
|
var import_copy_assets_handler = require("@nx/js/src/utils/assets/copy-assets-handler");
|
|
3654
3656
|
var import_glob = require("glob");
|
|
3655
3657
|
var import_promises3 = require("fs/promises");
|
|
3656
3658
|
|
|
3657
|
-
// ../build-tools/dist/chunk-
|
|
3659
|
+
// ../build-tools/dist/chunk-RVBHYVMR.mjs
|
|
3658
3660
|
init_cjs_shims();
|
|
3659
3661
|
var import_buildable_libs_utils = require("@nx/js/src/utils/buildable-libs-utils");
|
|
3660
3662
|
var import_glob2 = require("glob");
|
|
@@ -3662,7 +3664,7 @@ var import_node_fs5 = require("fs");
|
|
|
3662
3664
|
var import_promises4 = require("fs/promises");
|
|
3663
3665
|
var import_project_graph = require("nx/src/project-graph/project-graph");
|
|
3664
3666
|
|
|
3665
|
-
// ../build-tools/dist/chunk-
|
|
3667
|
+
// ../build-tools/dist/chunk-3E4JAUKE.mjs
|
|
3666
3668
|
init_cjs_shims();
|
|
3667
3669
|
var import_glob3 = require("glob");
|
|
3668
3670
|
|
|
@@ -3709,14 +3711,14 @@ init_cjs_shims();
|
|
|
3709
3711
|
// ../build-tools/dist/chunk-UN3B7LBV.mjs
|
|
3710
3712
|
init_cjs_shims();
|
|
3711
3713
|
|
|
3712
|
-
// ../build-tools/dist/chunk-
|
|
3714
|
+
// ../build-tools/dist/chunk-XQQDAMER.mjs
|
|
3713
3715
|
init_cjs_shims();
|
|
3714
3716
|
|
|
3715
3717
|
// ../build-tools/dist/chunk-7YKXR5JJ.mjs
|
|
3716
3718
|
init_cjs_shims();
|
|
3717
3719
|
var import_core = require("@swc/core");
|
|
3718
3720
|
|
|
3719
|
-
// ../build-tools/dist/chunk-
|
|
3721
|
+
// ../build-tools/dist/chunk-JVUUAAFA.mjs
|
|
3720
3722
|
init_cjs_shims();
|
|
3721
3723
|
var import_node_fs6 = __toESM(require("fs"), 1);
|
|
3722
3724
|
var import_node_module = require("module");
|
|
@@ -3776,13 +3778,13 @@ init_cjs_shims();
|
|
|
3776
3778
|
// ../config-tools/dist/get-config.js
|
|
3777
3779
|
init_cjs_shims();
|
|
3778
3780
|
|
|
3779
|
-
// ../config-tools/dist/chunk-
|
|
3781
|
+
// ../config-tools/dist/chunk-37LI2DU4.js
|
|
3780
3782
|
init_cjs_shims();
|
|
3781
3783
|
|
|
3782
|
-
// ../config-tools/dist/chunk-
|
|
3784
|
+
// ../config-tools/dist/chunk-M4FSRBO7.js
|
|
3783
3785
|
init_cjs_shims();
|
|
3784
3786
|
|
|
3785
|
-
// ../config-tools/dist/chunk-
|
|
3787
|
+
// ../config-tools/dist/chunk-QQ7JNIOJ.js
|
|
3786
3788
|
init_cjs_shims();
|
|
3787
3789
|
|
|
3788
3790
|
// ../config-tools/dist/chunk-4A2P7H63.js
|
|
@@ -4010,7 +4012,7 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
|
|
|
4010
4012
|
return result;
|
|
4011
4013
|
}
|
|
4012
4014
|
|
|
4013
|
-
// ../config-tools/dist/chunk-
|
|
4015
|
+
// ../config-tools/dist/chunk-QQ7JNIOJ.js
|
|
4014
4016
|
var import_c122 = require("c12");
|
|
4015
4017
|
var import_defu3 = __toESM(require("defu"), 1);
|
|
4016
4018
|
var getConfigFileByName = async (fileName, filePath, options2 = {}) => {
|
|
@@ -4964,7 +4966,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
4964
4966
|
// ../config/dist/schema.js
|
|
4965
4967
|
init_cjs_shims();
|
|
4966
4968
|
|
|
4967
|
-
// ../config-tools/dist/chunk-
|
|
4969
|
+
// ../config-tools/dist/chunk-M4FSRBO7.js
|
|
4968
4970
|
var import_defu4 = __toESM(require("defu"), 1);
|
|
4969
4971
|
var import_node_fs9 = require("fs");
|
|
4970
4972
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
@@ -5061,7 +5063,7 @@ ${formatLogMessage(config)}`,
|
|
|
5061
5063
|
return config;
|
|
5062
5064
|
};
|
|
5063
5065
|
|
|
5064
|
-
// ../config-tools/dist/chunk-
|
|
5066
|
+
// ../config-tools/dist/chunk-37LI2DU4.js
|
|
5065
5067
|
function getConfig(workspaceRoot, skipLogs = false) {
|
|
5066
5068
|
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
5067
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,8 +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-
|
|
42
|
-
var
|
|
41
|
+
// ../build-tools/dist/chunk-J5M6XHOM.mjs
|
|
42
|
+
var import_formatDistanceToNow = require("date-fns/formatDistanceToNow");
|
|
43
43
|
var import_chalk = __toESM(require("chalk"), 1);
|
|
44
44
|
var LogLevelLabel = {
|
|
45
45
|
SILENT: "silent",
|
|
@@ -73,7 +73,7 @@ var CONSOLE_ICONS = {
|
|
|
73
73
|
[LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
// ../build-tools/dist/chunk-
|
|
76
|
+
// ../build-tools/dist/chunk-BAGCAJFB.mjs
|
|
77
77
|
var import_c12 = require("c12");
|
|
78
78
|
var import_defu = __toESM(require("defu"), 1);
|
|
79
79
|
var z = __toESM(require("zod/mini"), 1);
|
|
@@ -651,19 +651,19 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
651
651
|
// ../build-tools/dist/chunk-JCFRYUYP.mjs
|
|
652
652
|
var import_create_task_graph = require("nx/src/tasks-runner/create-task-graph");
|
|
653
653
|
|
|
654
|
-
// ../build-tools/dist/chunk-
|
|
654
|
+
// ../build-tools/dist/chunk-UCEEEQVX.mjs
|
|
655
655
|
var import_copy_assets_handler = require("@nx/js/src/utils/assets/copy-assets-handler");
|
|
656
656
|
var import_glob = require("glob");
|
|
657
657
|
var import_promises3 = require("fs/promises");
|
|
658
658
|
|
|
659
|
-
// ../build-tools/dist/chunk-
|
|
659
|
+
// ../build-tools/dist/chunk-RVBHYVMR.mjs
|
|
660
660
|
var import_buildable_libs_utils = require("@nx/js/src/utils/buildable-libs-utils");
|
|
661
661
|
var import_glob2 = require("glob");
|
|
662
662
|
var import_node_fs5 = require("fs");
|
|
663
663
|
var import_promises4 = require("fs/promises");
|
|
664
664
|
var import_project_graph = require("nx/src/project-graph/project-graph");
|
|
665
665
|
|
|
666
|
-
// ../build-tools/dist/chunk-
|
|
666
|
+
// ../build-tools/dist/chunk-3E4JAUKE.mjs
|
|
667
667
|
var import_glob3 = require("glob");
|
|
668
668
|
|
|
669
669
|
// ../build-tools/dist/chunk-BEMVEXMQ.mjs
|
|
@@ -693,7 +693,7 @@ var getEnv = (builder, options) => {
|
|
|
693
693
|
// ../build-tools/dist/chunk-7YKXR5JJ.mjs
|
|
694
694
|
var import_core = require("@swc/core");
|
|
695
695
|
|
|
696
|
-
// ../build-tools/dist/chunk-
|
|
696
|
+
// ../build-tools/dist/chunk-JVUUAAFA.mjs
|
|
697
697
|
var import_node_fs6 = __toESM(require("fs"), 1);
|
|
698
698
|
var import_node_module = require("module");
|
|
699
699
|
var import_node_path3 = __toESM(require("path"), 1);
|
|
@@ -1096,8 +1096,8 @@ var getLogLevelLabel2 = (logLevel = LogLevel2.INFO) => {
|
|
|
1096
1096
|
return LogLevelLabel2.INFO;
|
|
1097
1097
|
};
|
|
1098
1098
|
|
|
1099
|
-
// ../config-tools/dist/chunk-
|
|
1100
|
-
var
|
|
1099
|
+
// ../config-tools/dist/chunk-UU2P3WKA.js
|
|
1100
|
+
var import_formatDistanceToNow2 = require("date-fns/formatDistanceToNow");
|
|
1101
1101
|
var getLogFn = (logLevel = LogLevel2.INFO, config = {}, _chalk = getChalk()) => {
|
|
1102
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;
|
|
1103
1103
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel2.INFO;
|
|
@@ -1184,7 +1184,9 @@ var getStopwatch = (name) => {
|
|
|
1184
1184
|
return () => {
|
|
1185
1185
|
console.info(
|
|
1186
1186
|
`
|
|
1187
|
-
> \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${(0,
|
|
1187
|
+
> \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${(0, import_formatDistanceToNow2.formatDistanceToNow)(start, {
|
|
1188
|
+
includeSeconds: true
|
|
1189
|
+
})} to complete
|
|
1188
1190
|
`
|
|
1189
1191
|
);
|
|
1190
1192
|
};
|
|
@@ -1214,7 +1216,7 @@ var _isFunction = (value) => {
|
|
|
1214
1216
|
}
|
|
1215
1217
|
};
|
|
1216
1218
|
|
|
1217
|
-
// ../config-tools/dist/chunk-
|
|
1219
|
+
// ../config-tools/dist/chunk-QQ7JNIOJ.js
|
|
1218
1220
|
var import_c122 = require("c12");
|
|
1219
1221
|
var import_defu3 = __toESM(require("defu"), 1);
|
|
1220
1222
|
var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
@@ -2149,7 +2151,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
2149
2151
|
};
|
|
2150
2152
|
};
|
|
2151
2153
|
|
|
2152
|
-
// ../config-tools/dist/chunk-
|
|
2154
|
+
// ../config-tools/dist/chunk-M4FSRBO7.js
|
|
2153
2155
|
var import_defu4 = __toESM(require("defu"), 1);
|
|
2154
2156
|
var import_node_fs9 = require("fs");
|
|
2155
2157
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
@@ -2246,7 +2248,7 @@ ${formatLogMessage2(config)}`,
|
|
|
2246
2248
|
return config;
|
|
2247
2249
|
};
|
|
2248
2250
|
|
|
2249
|
-
// ../config-tools/dist/chunk-
|
|
2251
|
+
// ../config-tools/dist/chunk-37LI2DU4.js
|
|
2250
2252
|
function getConfig(workspaceRoot, skipLogs = false) {
|
|
2251
2253
|
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
2252
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
|
}
|