@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 +1 -1
- package/dist/{chunk-L52MQ6O4.js → chunk-EXGJNNGI.js} +11 -7
- package/dist/index.cjs +20 -12
- package/dist/index.js +10 -6
- package/dist/options.cjs +11 -7
- 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 -->
|
|
@@ -1638,7 +1638,9 @@ async function resolveOptions(userOptions) {
|
|
|
1638
1638
|
const workspaceConfig = await getWorkspaceConfig(true, {
|
|
1639
1639
|
workspaceRoot: workspaceRoot.dir
|
|
1640
1640
|
});
|
|
1641
|
-
|
|
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
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
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
|
-
|
|
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
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
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
|
-
|
|
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-
|
|
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
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
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
|
-
|
|
2382
|
-
|
|
2384
|
+
workspaceConfig
|
|
2385
|
+
);
|
|
2386
|
+
}
|
|
2383
2387
|
}
|
|
2384
2388
|
return resolvedOptions;
|
|
2385
2389
|
}
|
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.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.
|
|
108
|
-
"@storm-software/config-tools": "^1.188.
|
|
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": "
|
|
117
|
+
"gitHead": "feabcb14d4383826b5e1761f8593966eaad96d1c"
|
|
118
118
|
}
|