@storm-software/tsup 0.2.3 → 0.2.4

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.1-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.2-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 -->
@@ -1638,7 +1638,9 @@ async function resolveOptions(userOptions) {
1638
1638
  const workspaceConfig = await getWorkspaceConfig(true, {
1639
1639
  workspaceRoot: workspaceRoot.dir
1640
1640
  });
1641
- writeDebug(" \u2699\uFE0F Resolving build options", workspaceConfig);
1641
+ if (!userOptions.silent) {
1642
+ writeDebug(" \u2699\uFE0F Resolving build options", workspaceConfig);
1643
+ }
1642
1644
  const stopwatch = getStopwatch("Build options resolution");
1643
1645
  const projectGraph = await createProjectGraphAsync({
1644
1646
  exitOnError: true
@@ -1692,14 +1694,16 @@ async function resolveOptions(userOptions) {
1692
1694
  }, {})
1693
1695
  }
1694
1696
  };
1695
- stopwatch();
1696
- if (options.verbose) {
1697
- writeDebug(
1698
- ` \u2699\uFE0F Build options resolved:
1697
+ if (!options.silent) {
1698
+ stopwatch();
1699
+ if (options.verbose) {
1700
+ writeDebug(
1701
+ ` \u2699\uFE0F Build options resolved:
1699
1702
 
1700
1703
  ${formatLogMessage(resolvedOptions)}`,
1701
- workspaceConfig
1702
- );
1704
+ workspaceConfig
1705
+ );
1706
+ }
1703
1707
  }
1704
1708
  return resolvedOptions;
1705
1709
  }
package/dist/index.cjs CHANGED
@@ -5092,7 +5092,9 @@ async function resolveOptions(userOptions) {
5092
5092
  const workspaceConfig = await getWorkspaceConfig(true, {
5093
5093
  workspaceRoot: workspaceRoot.dir
5094
5094
  });
5095
- writeDebug(" \u2699\uFE0F Resolving build options", workspaceConfig);
5095
+ if (!userOptions.silent) {
5096
+ writeDebug(" \u2699\uFE0F Resolving build options", workspaceConfig);
5097
+ }
5096
5098
  const stopwatch = getStopwatch("Build options resolution");
5097
5099
  const projectGraph = await (0, import_devkit2.createProjectGraphAsync)({
5098
5100
  exitOnError: true
@@ -5146,27 +5148,33 @@ async function resolveOptions(userOptions) {
5146
5148
  }, {})
5147
5149
  }
5148
5150
  };
5149
- stopwatch();
5150
- if (options2.verbose) {
5151
- writeDebug(
5152
- ` \u2699\uFE0F Build options resolved:
5151
+ if (!options2.silent) {
5152
+ stopwatch();
5153
+ if (options2.verbose) {
5154
+ writeDebug(
5155
+ ` \u2699\uFE0F Build options resolved:
5153
5156
 
5154
5157
  ${formatLogMessage(resolvedOptions)}`,
5155
- workspaceConfig
5156
- );
5158
+ workspaceConfig
5159
+ );
5160
+ }
5157
5161
  }
5158
5162
  return resolvedOptions;
5159
5163
  }
5160
5164
 
5161
5165
  // src/index.ts
5162
5166
  async function build(options2) {
5163
- writeDebug(
5164
- ` \u{1F680} Running ${options2.name || "tsup"} build`,
5165
- options2.workspaceConfig
5166
- );
5167
+ if (!options2.silent) {
5168
+ writeDebug(
5169
+ ` \u{1F680} Running ${options2.name || "tsup"} build`,
5170
+ options2.workspaceConfig
5171
+ );
5172
+ }
5167
5173
  const stopwatch = getStopwatch(`${options2.name || "tsup"} build`);
5168
5174
  await (0, import_tsup.build)(options2);
5169
- stopwatch();
5175
+ if (!options2.silent) {
5176
+ stopwatch();
5177
+ }
5170
5178
  }
5171
5179
  // Annotate the CommonJS export names for ESM import in node:
5172
5180
  0 && (module.exports = {
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  getStopwatch,
3
3
  resolveOptions,
4
4
  writeDebug
5
- } from "./chunk-L52MQ6O4.js";
5
+ } from "./chunk-EXGJNNGI.js";
6
6
  import {
7
7
  DEFAULT_BUILD_OPTIONS
8
8
  } from "./chunk-MUIYLO6F.js";
@@ -2706,13 +2706,17 @@ module.exports = exports.default;
2706
2706
  init_esm_shims();
2707
2707
  var import_tsup = __toESM(require_dist(), 1);
2708
2708
  async function build(options2) {
2709
- writeDebug(
2710
- ` \u{1F680} Running ${options2.name || "tsup"} build`,
2711
- options2.workspaceConfig
2712
- );
2709
+ if (!options2.silent) {
2710
+ writeDebug(
2711
+ ` \u{1F680} Running ${options2.name || "tsup"} build`,
2712
+ options2.workspaceConfig
2713
+ );
2714
+ }
2713
2715
  const stopwatch = getStopwatch(`${options2.name || "tsup"} build`);
2714
2716
  await (0, import_tsup.build)(options2);
2715
- stopwatch();
2717
+ if (!options2.silent) {
2718
+ stopwatch();
2719
+ }
2716
2720
  }
2717
2721
  export {
2718
2722
  DEFAULT_BUILD_OPTIONS,
package/dist/options.cjs CHANGED
@@ -2318,7 +2318,9 @@ async function resolveOptions(userOptions) {
2318
2318
  const workspaceConfig = await getWorkspaceConfig(true, {
2319
2319
  workspaceRoot: workspaceRoot.dir
2320
2320
  });
2321
- writeDebug2(" \u2699\uFE0F Resolving build options", workspaceConfig);
2321
+ if (!userOptions.silent) {
2322
+ writeDebug2(" \u2699\uFE0F Resolving build options", workspaceConfig);
2323
+ }
2322
2324
  const stopwatch = getStopwatch("Build options resolution");
2323
2325
  const projectGraph = await (0, import_devkit2.createProjectGraphAsync)({
2324
2326
  exitOnError: true
@@ -2372,14 +2374,16 @@ async function resolveOptions(userOptions) {
2372
2374
  }, {})
2373
2375
  }
2374
2376
  };
2375
- stopwatch();
2376
- if (options.verbose) {
2377
- writeDebug2(
2378
- ` \u2699\uFE0F Build options resolved:
2377
+ if (!options.silent) {
2378
+ stopwatch();
2379
+ if (options.verbose) {
2380
+ writeDebug2(
2381
+ ` \u2699\uFE0F Build options resolved:
2379
2382
 
2380
2383
  ${formatLogMessage2(resolvedOptions)}`,
2381
- workspaceConfig
2382
- );
2384
+ workspaceConfig
2385
+ );
2386
+ }
2383
2387
  }
2384
2388
  return resolvedOptions;
2385
2389
  }
package/dist/options.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveOptions
3
- } from "./chunk-L52MQ6O4.js";
3
+ } from "./chunk-EXGJNNGI.js";
4
4
  import "./chunk-MUIYLO6F.js";
5
5
  import "./chunk-7BI4SQSF.js";
6
6
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/tsup",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
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.5",
108
- "@storm-software/config-tools": "^1.188.5"
107
+ "@storm-software/build-tools": "^0.158.6",
108
+ "@storm-software/config-tools": "^1.188.6"
109
109
  },
110
110
  "devDependencies": {
111
111
  "@types/node": "^22.10.2",
@@ -114,5 +114,5 @@
114
114
  },
115
115
  "publishConfig": { "access": "public" },
116
116
  "sideEffects": false,
117
- "gitHead": "963648c59da71e988de4bf5006126466f89195ed"
117
+ "gitHead": "feabcb14d4383826b5e1761f8593966eaad96d1c"
118
118
  }