@storm-software/tsup 0.2.12 → 0.2.13

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.10-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.11-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 -->
@@ -40,6 +40,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
40
40
 
41
41
  <!-- START doctoc -->
42
42
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
43
+
43
44
  ## Table of Contents
44
45
 
45
46
  - [Storm tsup build package](#storm-tsup-build-package)
@@ -1643,7 +1643,7 @@ async function resolveOptions(userOptions) {
1643
1643
  }
1644
1644
  const stopwatch = getStopwatch("Build options resolution");
1645
1645
  const projectGraph = await createProjectGraphAsync({
1646
- exitOnError: true
1646
+ exitOnError: false
1647
1647
  });
1648
1648
  const projectJsonPath = joinPaths(
1649
1649
  workspaceRoot.dir,
@@ -1681,10 +1681,9 @@ async function resolveOptions(userOptions) {
1681
1681
  ...options,
1682
1682
  outDir: options.outputPath || joinPaths(workspaceConfig.workspaceRoot, "dist", options.projectRoot),
1683
1683
  tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : joinPaths(workspaceRoot.dir, projectRoot, "tsconfig.json"),
1684
- env,
1685
- define: {
1686
- ...Object.keys(define).filter((key) => define[key] !== void 0).reduce((res, key) => {
1687
- const value = JSON.stringify(define[key]);
1684
+ env: {
1685
+ ...Object.keys(env).filter((key) => env[key] !== void 0).reduce((res, key) => {
1686
+ const value = JSON.stringify(env[key]);
1688
1687
  const safeKey = key.replaceAll("(", "").replaceAll(")", "");
1689
1688
  return {
1690
1689
  ...res,
@@ -1692,11 +1691,12 @@ async function resolveOptions(userOptions) {
1692
1691
  [`import.meta.env.${safeKey}`]: value
1693
1692
  };
1694
1693
  }, {})
1695
- }
1694
+ },
1695
+ define
1696
1696
  };
1697
- if (!options.silent) {
1697
+ if (!resolvedOptions.silent) {
1698
1698
  stopwatch();
1699
- if (options.verbose) {
1699
+ if (resolvedOptions.verbose) {
1700
1700
  writeDebug(
1701
1701
  ` \u2699\uFE0F Build options resolved:
1702
1702
 
package/dist/index.cjs CHANGED
@@ -5097,7 +5097,7 @@ async function resolveOptions(userOptions) {
5097
5097
  }
5098
5098
  const stopwatch = getStopwatch("Build options resolution");
5099
5099
  const projectGraph = await (0, import_devkit2.createProjectGraphAsync)({
5100
- exitOnError: true
5100
+ exitOnError: false
5101
5101
  });
5102
5102
  const projectJsonPath = joinPaths2(
5103
5103
  workspaceRoot.dir,
@@ -5135,10 +5135,9 @@ async function resolveOptions(userOptions) {
5135
5135
  ...options2,
5136
5136
  outDir: options2.outputPath || joinPaths2(workspaceConfig.workspaceRoot, "dist", options2.projectRoot),
5137
5137
  tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : joinPaths2(workspaceRoot.dir, projectRoot, "tsconfig.json"),
5138
- env,
5139
- define: {
5140
- ...Object.keys(define).filter((key) => define[key] !== void 0).reduce((res, key) => {
5141
- const value = JSON.stringify(define[key]);
5138
+ env: {
5139
+ ...Object.keys(env).filter((key) => env[key] !== void 0).reduce((res, key) => {
5140
+ const value = JSON.stringify(env[key]);
5142
5141
  const safeKey = key.replaceAll("(", "").replaceAll(")", "");
5143
5142
  return {
5144
5143
  ...res,
@@ -5146,11 +5145,12 @@ async function resolveOptions(userOptions) {
5146
5145
  [`import.meta.env.${safeKey}`]: value
5147
5146
  };
5148
5147
  }, {})
5149
- }
5148
+ },
5149
+ define
5150
5150
  };
5151
- if (!options2.silent) {
5151
+ if (!resolvedOptions.silent) {
5152
5152
  stopwatch();
5153
- if (options2.verbose) {
5153
+ if (resolvedOptions.verbose) {
5154
5154
  writeDebug(
5155
5155
  ` \u2699\uFE0F Build options resolved:
5156
5156
 
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  getStopwatch,
3
3
  resolveOptions,
4
4
  writeDebug
5
- } from "./chunk-CSKND7VD.js";
5
+ } from "./chunk-IZFXKRE2.js";
6
6
  import {
7
7
  DEFAULT_BUILD_OPTIONS
8
8
  } from "./chunk-ZEHMJYA6.js";
package/dist/options.cjs CHANGED
@@ -2323,7 +2323,7 @@ async function resolveOptions(userOptions) {
2323
2323
  }
2324
2324
  const stopwatch = getStopwatch("Build options resolution");
2325
2325
  const projectGraph = await (0, import_devkit2.createProjectGraphAsync)({
2326
- exitOnError: true
2326
+ exitOnError: false
2327
2327
  });
2328
2328
  const projectJsonPath = joinPaths2(
2329
2329
  workspaceRoot.dir,
@@ -2361,10 +2361,9 @@ async function resolveOptions(userOptions) {
2361
2361
  ...options,
2362
2362
  outDir: options.outputPath || joinPaths2(workspaceConfig.workspaceRoot, "dist", options.projectRoot),
2363
2363
  tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : joinPaths2(workspaceRoot.dir, projectRoot, "tsconfig.json"),
2364
- env,
2365
- define: {
2366
- ...Object.keys(define).filter((key) => define[key] !== void 0).reduce((res, key) => {
2367
- const value = JSON.stringify(define[key]);
2364
+ env: {
2365
+ ...Object.keys(env).filter((key) => env[key] !== void 0).reduce((res, key) => {
2366
+ const value = JSON.stringify(env[key]);
2368
2367
  const safeKey = key.replaceAll("(", "").replaceAll(")", "");
2369
2368
  return {
2370
2369
  ...res,
@@ -2372,11 +2371,12 @@ async function resolveOptions(userOptions) {
2372
2371
  [`import.meta.env.${safeKey}`]: value
2373
2372
  };
2374
2373
  }, {})
2375
- }
2374
+ },
2375
+ define
2376
2376
  };
2377
- if (!options.silent) {
2377
+ if (!resolvedOptions.silent) {
2378
2378
  stopwatch();
2379
- if (options.verbose) {
2379
+ if (resolvedOptions.verbose) {
2380
2380
  writeDebug2(
2381
2381
  ` \u2699\uFE0F Build options resolved:
2382
2382
 
package/dist/options.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveOptions
3
- } from "./chunk-CSKND7VD.js";
3
+ } from "./chunk-IZFXKRE2.js";
4
4
  import "./chunk-ZEHMJYA6.js";
5
5
  import "./chunk-5522FPAL.js";
6
6
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/tsup",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
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.14",
108
- "@storm-software/config-tools": "^1.188.14"
107
+ "@storm-software/build-tools": "^0.158.15",
108
+ "@storm-software/config-tools": "^1.188.15"
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": "a51dd1ca06b750b49fb67496f39ae084f988ca4f"
117
+ "gitHead": "99cbe99b61fdfd4950fefc959a347ab232e788da"
118
118
  }