@storm-software/tsup 0.2.35 → 0.2.37

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 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
- [![Version](https://img.shields.io/badge/version-0.2.34-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.2.36-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
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-7ZALXK5F.mjs
14
+ // ../build-tools/dist/chunk-3SDDXUQM.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-R2HS3O2S.mjs
27
+ // ../build-tools/dist/chunk-WJH6QA6P.mjs
28
28
  init_esm_shims();
29
+ import { formatDistanceToNowStrict } from "date-fns/formatDistanceToNowStrict";
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-7ZALXK5F.mjs
63
+ // ../build-tools/dist/chunk-3SDDXUQM.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-7QY5Q44S.mjs
645
+ // ../build-tools/dist/chunk-WU6SIJEZ.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-3UHONU2J.mjs
651
+ // ../build-tools/dist/chunk-DCS77BRM.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-UQSQD3UC.mjs
663
+ // ../build-tools/dist/chunk-NXOE66BO.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-HDSL2EC4.mjs
710
+ // ../build-tools/dist/chunk-US35C6HW.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-LKETNGJ2.mjs
717
+ // ../build-tools/dist/chunk-JDAVSGDF.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-2F22ODPB.js";
4
+ } from "./chunk-5X7AZZ4C.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-WOLTMI7X.js
15
+ // ../config-tools/dist/chunk-WJ3XWZU5.js
16
16
  init_esm_shims();
17
17
 
18
- // ../config-tools/dist/chunk-R7MTORRG.js
18
+ // ../config-tools/dist/chunk-HG7L6PKI.js
19
19
  init_esm_shims();
20
20
 
21
- // ../config-tools/dist/chunk-RZM3NYPM.js
21
+ // ../config-tools/dist/chunk-GFSHDS73.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-7L77OWOV.js
249
+ // ../config-tools/dist/chunk-LDOSX6QH.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-7L77OWOV.js
434
+ // ../config-tools/dist/chunk-LDOSX6QH.js
435
+ import { formatDistanceToNowStrict } from "date-fns/formatDistanceToNowStrict";
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,11 @@ 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 = process.hrtime();
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 ${Math.round(
523
- end[0] * 1e3 + end[1] / 1e6
524
- )}ms to complete
522
+ > \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${formatDistanceToNowStrict(start)} to complete
525
523
  `
526
524
  );
527
525
  };
@@ -551,7 +549,7 @@ var _isFunction = (value) => {
551
549
  }
552
550
  };
553
551
 
554
- // ../config-tools/dist/chunk-RZM3NYPM.js
552
+ // ../config-tools/dist/chunk-GFSHDS73.js
555
553
  import { loadConfig } from "c12";
556
554
  import defu from "defu";
557
555
  var getConfigFileByName = async (fileName, filePath, options = {}) => {
@@ -1505,7 +1503,7 @@ var getBaseThemeColorsEnv = (prefix) => {
1505
1503
  // ../config/dist/schema.js
1506
1504
  init_esm_shims();
1507
1505
 
1508
- // ../config-tools/dist/chunk-R7MTORRG.js
1506
+ // ../config-tools/dist/chunk-HG7L6PKI.js
1509
1507
  import defu2 from "defu";
1510
1508
  import { existsSync as existsSync3 } from "node:fs";
1511
1509
  var _extension_cache = /* @__PURE__ */ new WeakMap();
@@ -1602,7 +1600,7 @@ ${formatLogMessage(config)}`,
1602
1600
  return config;
1603
1601
  };
1604
1602
 
1605
- // ../config-tools/dist/chunk-WOLTMI7X.js
1603
+ // ../config-tools/dist/chunk-WJ3XWZU5.js
1606
1604
  function getConfig(workspaceRoot, skipLogs = false) {
1607
1605
  return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
1608
1606
  }
@@ -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-R2HS3O2S.mjs
41
+ // ../build-tools/dist/chunk-WJH6QA6P.mjs
42
+ var import_formatDistanceToNowStrict = require("date-fns/formatDistanceToNowStrict");
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-7ZALXK5F.mjs
76
+ // ../build-tools/dist/chunk-3SDDXUQM.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-7QY5Q44S.mjs
654
+ // ../build-tools/dist/chunk-WU6SIJEZ.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-3UHONU2J.mjs
659
+ // ../build-tools/dist/chunk-DCS77BRM.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-UQSQD3UC.mjs
666
+ // ../build-tools/dist/chunk-NXOE66BO.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-LKETNGJ2.mjs
680
+ // ../build-tools/dist/chunk-JDAVSGDF.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
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DEFAULT_BUILD_OPTIONS
3
- } from "./chunk-2F22ODPB.js";
3
+ } from "./chunk-5X7AZZ4C.js";
4
4
  import "./chunk-XN5R4UAU.js";
5
5
  export {
6
6
  DEFAULT_BUILD_OPTIONS
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-7L77OWOV.js
2708
+ // ../config-tools/dist/chunk-LDOSX6QH.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-7L77OWOV.js
2893
+ // ../config-tools/dist/chunk-LDOSX6QH.js
2894
+ var import_formatDistanceToNowStrict = require("date-fns/formatDistanceToNowStrict");
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,11 @@ 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 = process.hrtime();
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 ${Math.round(
2982
- end[0] * 1e3 + end[1] / 1e6
2983
- )}ms to complete
2981
+ > \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${(0, import_formatDistanceToNowStrict.formatDistanceToNowStrict)(start)} to complete
2984
2982
  `
2985
2983
  );
2986
2984
  };
@@ -3022,7 +3020,7 @@ init_cjs_shims();
3022
3020
  // ../build-tools/dist/chunk-KVP3YMX6.mjs
3023
3021
  init_cjs_shims();
3024
3022
 
3025
- // ../build-tools/dist/chunk-7ZALXK5F.mjs
3023
+ // ../build-tools/dist/chunk-3SDDXUQM.mjs
3026
3024
  init_cjs_shims();
3027
3025
 
3028
3026
  // ../build-tools/dist/chunk-RPSH5IFV.mjs
@@ -3035,8 +3033,9 @@ init_cjs_shims();
3035
3033
  var import_node_fs = require("fs");
3036
3034
  var import_node_path = require("path");
3037
3035
 
3038
- // ../build-tools/dist/chunk-R2HS3O2S.mjs
3036
+ // ../build-tools/dist/chunk-WJH6QA6P.mjs
3039
3037
  init_cjs_shims();
3038
+ var import_formatDistanceToNowStrict2 = require("date-fns/formatDistanceToNowStrict");
3040
3039
  var import_chalk2 = __toESM(require("chalk"), 1);
3041
3040
  var LogLevelLabel2 = {
3042
3041
  SILENT: "silent",
@@ -3070,7 +3069,7 @@ var CONSOLE_ICONS2 = {
3070
3069
  [LogLevelLabel2.ALL]: useIcon2("\u2709", "\u2192")
3071
3070
  };
3072
3071
 
3073
- // ../build-tools/dist/chunk-7ZALXK5F.mjs
3072
+ // ../build-tools/dist/chunk-3SDDXUQM.mjs
3074
3073
  var import_c12 = require("c12");
3075
3074
  var import_defu = __toESM(require("defu"), 1);
3076
3075
  var z = __toESM(require("zod/mini"), 1);
@@ -3649,13 +3648,13 @@ schemaRegistry.add(extensionsSchema, {
3649
3648
  init_cjs_shims();
3650
3649
  var import_create_task_graph = require("nx/src/tasks-runner/create-task-graph");
3651
3650
 
3652
- // ../build-tools/dist/chunk-7QY5Q44S.mjs
3651
+ // ../build-tools/dist/chunk-WU6SIJEZ.mjs
3653
3652
  init_cjs_shims();
3654
3653
  var import_copy_assets_handler = require("@nx/js/src/utils/assets/copy-assets-handler");
3655
3654
  var import_glob = require("glob");
3656
3655
  var import_promises3 = require("fs/promises");
3657
3656
 
3658
- // ../build-tools/dist/chunk-3UHONU2J.mjs
3657
+ // ../build-tools/dist/chunk-DCS77BRM.mjs
3659
3658
  init_cjs_shims();
3660
3659
  var import_buildable_libs_utils = require("@nx/js/src/utils/buildable-libs-utils");
3661
3660
  var import_glob2 = require("glob");
@@ -3663,7 +3662,7 @@ var import_node_fs5 = require("fs");
3663
3662
  var import_promises4 = require("fs/promises");
3664
3663
  var import_project_graph = require("nx/src/project-graph/project-graph");
3665
3664
 
3666
- // ../build-tools/dist/chunk-UQSQD3UC.mjs
3665
+ // ../build-tools/dist/chunk-NXOE66BO.mjs
3667
3666
  init_cjs_shims();
3668
3667
  var import_glob3 = require("glob");
3669
3668
 
@@ -3710,14 +3709,14 @@ init_cjs_shims();
3710
3709
  // ../build-tools/dist/chunk-UN3B7LBV.mjs
3711
3710
  init_cjs_shims();
3712
3711
 
3713
- // ../build-tools/dist/chunk-HDSL2EC4.mjs
3712
+ // ../build-tools/dist/chunk-US35C6HW.mjs
3714
3713
  init_cjs_shims();
3715
3714
 
3716
3715
  // ../build-tools/dist/chunk-7YKXR5JJ.mjs
3717
3716
  init_cjs_shims();
3718
3717
  var import_core = require("@swc/core");
3719
3718
 
3720
- // ../build-tools/dist/chunk-LKETNGJ2.mjs
3719
+ // ../build-tools/dist/chunk-JDAVSGDF.mjs
3721
3720
  init_cjs_shims();
3722
3721
  var import_node_fs6 = __toESM(require("fs"), 1);
3723
3722
  var import_node_module = require("module");
@@ -3777,13 +3776,13 @@ init_cjs_shims();
3777
3776
  // ../config-tools/dist/get-config.js
3778
3777
  init_cjs_shims();
3779
3778
 
3780
- // ../config-tools/dist/chunk-WOLTMI7X.js
3779
+ // ../config-tools/dist/chunk-WJ3XWZU5.js
3781
3780
  init_cjs_shims();
3782
3781
 
3783
- // ../config-tools/dist/chunk-R7MTORRG.js
3782
+ // ../config-tools/dist/chunk-HG7L6PKI.js
3784
3783
  init_cjs_shims();
3785
3784
 
3786
- // ../config-tools/dist/chunk-RZM3NYPM.js
3785
+ // ../config-tools/dist/chunk-GFSHDS73.js
3787
3786
  init_cjs_shims();
3788
3787
 
3789
3788
  // ../config-tools/dist/chunk-4A2P7H63.js
@@ -4011,7 +4010,7 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
4011
4010
  return result;
4012
4011
  }
4013
4012
 
4014
- // ../config-tools/dist/chunk-RZM3NYPM.js
4013
+ // ../config-tools/dist/chunk-GFSHDS73.js
4015
4014
  var import_c122 = require("c12");
4016
4015
  var import_defu3 = __toESM(require("defu"), 1);
4017
4016
  var getConfigFileByName = async (fileName, filePath, options2 = {}) => {
@@ -4965,7 +4964,7 @@ var getBaseThemeColorsEnv = (prefix) => {
4965
4964
  // ../config/dist/schema.js
4966
4965
  init_cjs_shims();
4967
4966
 
4968
- // ../config-tools/dist/chunk-R7MTORRG.js
4967
+ // ../config-tools/dist/chunk-HG7L6PKI.js
4969
4968
  var import_defu4 = __toESM(require("defu"), 1);
4970
4969
  var import_node_fs9 = require("fs");
4971
4970
  var _extension_cache = /* @__PURE__ */ new WeakMap();
@@ -5062,7 +5061,7 @@ ${formatLogMessage(config)}`,
5062
5061
  return config;
5063
5062
  };
5064
5063
 
5065
- // ../config-tools/dist/chunk-WOLTMI7X.js
5064
+ // ../config-tools/dist/chunk-WJ3XWZU5.js
5066
5065
  function getConfig(workspaceRoot, skipLogs = false) {
5067
5066
  return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
5068
5067
  }
package/dist/index.js CHANGED
@@ -2,10 +2,10 @@ import {
2
2
  getStopwatch,
3
3
  resolveOptions,
4
4
  writeDebug
5
- } from "./chunk-755I6SXF.js";
5
+ } from "./chunk-U2EQDFE2.js";
6
6
  import {
7
7
  DEFAULT_BUILD_OPTIONS
8
- } from "./chunk-2F22ODPB.js";
8
+ } from "./chunk-5X7AZZ4C.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-R2HS3O2S.mjs
41
+ // ../build-tools/dist/chunk-WJH6QA6P.mjs
42
+ var import_formatDistanceToNowStrict = require("date-fns/formatDistanceToNowStrict");
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-7ZALXK5F.mjs
76
+ // ../build-tools/dist/chunk-3SDDXUQM.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-7QY5Q44S.mjs
654
+ // ../build-tools/dist/chunk-WU6SIJEZ.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-3UHONU2J.mjs
659
+ // ../build-tools/dist/chunk-DCS77BRM.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-UQSQD3UC.mjs
666
+ // ../build-tools/dist/chunk-NXOE66BO.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-LKETNGJ2.mjs
696
+ // ../build-tools/dist/chunk-JDAVSGDF.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-7L77OWOV.js
1099
+ // ../config-tools/dist/chunk-LDOSX6QH.js
1100
+ var import_formatDistanceToNowStrict2 = require("date-fns/formatDistanceToNowStrict");
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,11 @@ 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 = process.hrtime();
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 ${Math.round(
1187
- end[0] * 1e3 + end[1] / 1e6
1188
- )}ms to complete
1187
+ > \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${(0, import_formatDistanceToNowStrict2.formatDistanceToNowStrict)(start)} to complete
1189
1188
  `
1190
1189
  );
1191
1190
  };
@@ -1215,7 +1214,7 @@ var _isFunction = (value) => {
1215
1214
  }
1216
1215
  };
1217
1216
 
1218
- // ../config-tools/dist/chunk-RZM3NYPM.js
1217
+ // ../config-tools/dist/chunk-GFSHDS73.js
1219
1218
  var import_c122 = require("c12");
1220
1219
  var import_defu3 = __toESM(require("defu"), 1);
1221
1220
  var getConfigFileByName = async (fileName, filePath, options = {}) => {
@@ -2150,7 +2149,7 @@ var getBaseThemeColorsEnv = (prefix) => {
2150
2149
  };
2151
2150
  };
2152
2151
 
2153
- // ../config-tools/dist/chunk-R7MTORRG.js
2152
+ // ../config-tools/dist/chunk-HG7L6PKI.js
2154
2153
  var import_defu4 = __toESM(require("defu"), 1);
2155
2154
  var import_node_fs9 = require("fs");
2156
2155
  var _extension_cache = /* @__PURE__ */ new WeakMap();
@@ -2247,7 +2246,7 @@ ${formatLogMessage2(config)}`,
2247
2246
  return config;
2248
2247
  };
2249
2248
 
2250
- // ../config-tools/dist/chunk-WOLTMI7X.js
2249
+ // ../config-tools/dist/chunk-WJ3XWZU5.js
2251
2250
  function getConfig(workspaceRoot, skipLogs = false) {
2252
2251
  return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
2253
2252
  }
package/dist/options.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  resolveOptions
3
- } from "./chunk-755I6SXF.js";
4
- import "./chunk-2F22ODPB.js";
3
+ } from "./chunk-U2EQDFE2.js";
4
+ import "./chunk-5X7AZZ4C.js";
5
5
  import "./chunk-XN5R4UAU.js";
6
6
  export {
7
7
  resolveOptions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/tsup",
3
- "version": "0.2.35",
3
+ "version": "0.2.37",
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.37",
108
- "@storm-software/config-tools": "^1.188.37"
107
+ "@storm-software/build-tools": "^0.158.39",
108
+ "@storm-software/config-tools": "^1.188.39"
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": "821f31f66402e14fe0f80e947254a4abd8d23ccf"
117
+ "gitHead": "683b06afd59fd93e874443a9fde76c586e2fc05f"
118
118
  }