@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 +2 -1
- package/dist/{chunk-CSKND7VD.js → chunk-IZFXKRE2.js} +8 -8
- package/dist/index.cjs +8 -8
- package/dist/index.js +1 -1
- package/dist/options.cjs +8 -8
- package/dist/options.js +1 -1
- 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 -->
|
|
@@ -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:
|
|
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
|
-
|
|
1686
|
-
|
|
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 (!
|
|
1697
|
+
if (!resolvedOptions.silent) {
|
|
1698
1698
|
stopwatch();
|
|
1699
|
-
if (
|
|
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:
|
|
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
|
-
|
|
5140
|
-
|
|
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 (!
|
|
5151
|
+
if (!resolvedOptions.silent) {
|
|
5152
5152
|
stopwatch();
|
|
5153
|
-
if (
|
|
5153
|
+
if (resolvedOptions.verbose) {
|
|
5154
5154
|
writeDebug(
|
|
5155
5155
|
` \u2699\uFE0F Build options resolved:
|
|
5156
5156
|
|
package/dist/index.js
CHANGED
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:
|
|
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
|
-
|
|
2366
|
-
|
|
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 (!
|
|
2377
|
+
if (!resolvedOptions.silent) {
|
|
2378
2378
|
stopwatch();
|
|
2379
|
-
if (
|
|
2379
|
+
if (resolvedOptions.verbose) {
|
|
2380
2380
|
writeDebug2(
|
|
2381
2381
|
` \u2699\uFE0F Build options resolved:
|
|
2382
2382
|
|
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.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.
|
|
108
|
-
"@storm-software/config-tools": "^1.188.
|
|
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": "
|
|
117
|
+
"gitHead": "99cbe99b61fdfd4950fefc959a347ab232e788da"
|
|
118
118
|
}
|