@storm-software/workspace-tools 1.50.3 → 1.50.5
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/CHANGELOG.md +14 -0
- package/index.js +7 -7
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +32 -13
- package/src/executors/tsup-browser/executor.js +32 -13
- package/src/executors/tsup-neutral/executor.js +32 -13
- package/src/executors/tsup-node/executor.js +32 -13
- package/src/utils/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## 1.50.5 (2024-01-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🩹 Fixes
|
|
5
|
+
|
|
6
|
+
- **workspace-tools:** Correctly apply internal dependencies and print build ([e7d0c79a](https://github.com/storm-software/storm-ops/commit/e7d0c79a))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ❤️ Thank You
|
|
10
|
+
|
|
11
|
+
- Patrick Sullivan
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
1
15
|
## 1.50.3 (2024-01-26)
|
|
2
16
|
|
|
3
17
|
|
package/index.js
CHANGED
|
@@ -132950,7 +132950,7 @@ var build = async (options, config) => {
|
|
|
132950
132950
|
writeDebug(
|
|
132951
132951
|
config,
|
|
132952
132952
|
`\u2699\uFE0F Tsup Build options:
|
|
132953
|
-
${_isFunction2(tsupOptions) ? Object.keys(tsupOptions).map(
|
|
132953
|
+
${!_isFunction2(tsupOptions) ? Object.keys(tsupOptions).map(
|
|
132954
132954
|
(key) => `${key}: ${!tsupOptions[key] || _isPrimitive(tsupOptions[key]) ? tsupOptions[key] : _isFunction2(tsupOptions[key]) ? "<function>" : JSON.stringify(tsupOptions[key])}`
|
|
132955
132955
|
).join("\n") : "<function>"}
|
|
132956
132956
|
`
|
|
@@ -139336,7 +139336,7 @@ ${Object.keys(options).map(
|
|
|
139336
139336
|
return ret;
|
|
139337
139337
|
}, options.external);
|
|
139338
139338
|
}
|
|
139339
|
-
for (const thirdPartyDependency of
|
|
139339
|
+
for (const thirdPartyDependency of getExtraDependencies(
|
|
139340
139340
|
context.projectName,
|
|
139341
139341
|
context.projectGraph
|
|
139342
139342
|
)) {
|
|
@@ -139344,7 +139344,7 @@ ${Object.keys(options).map(
|
|
|
139344
139344
|
if (packageConfig?.packageName && config?.externalPackagePatterns?.some(
|
|
139345
139345
|
(pattern) => packageConfig.packageName.includes(pattern)
|
|
139346
139346
|
) && !externalDependencies?.some(
|
|
139347
|
-
(externalDependency) => externalDependency.name
|
|
139347
|
+
(externalDependency) => externalDependency.name === packageConfig.packageName
|
|
139348
139348
|
)) {
|
|
139349
139349
|
externalDependencies.push(thirdPartyDependency);
|
|
139350
139350
|
}
|
|
@@ -139374,6 +139374,9 @@ ${externalDependencies.map((dep) => {
|
|
|
139374
139374
|
if (options.entry) {
|
|
139375
139375
|
entryPoints.push(options.entry);
|
|
139376
139376
|
}
|
|
139377
|
+
if (options.additionalEntryPoints) {
|
|
139378
|
+
entryPoints.push(...options.additionalEntryPoints);
|
|
139379
|
+
}
|
|
139377
139380
|
if (options.emitOnAll === true) {
|
|
139378
139381
|
entryPoints = globSync((0, import_devkit4.joinPathFragments)(sourceRoot, "**/*.{ts,tsx}"), {
|
|
139379
139382
|
withFileTypes: true
|
|
@@ -139401,9 +139404,6 @@ ${externalDependencies.map((dep) => {
|
|
|
139401
139404
|
return ret;
|
|
139402
139405
|
}, entryPoints);
|
|
139403
139406
|
}
|
|
139404
|
-
if (options.additionalEntryPoints) {
|
|
139405
|
-
entryPoints.push(...options.additionalEntryPoints);
|
|
139406
|
-
}
|
|
139407
139407
|
if (options.generatePackageJson !== false) {
|
|
139408
139408
|
const projectGraph = (0, import_devkit4.readCachedProjectGraph)();
|
|
139409
139409
|
packageJson.dependencies = void 0;
|
|
@@ -139541,7 +139541,7 @@ ${(0, import_node_fs5.readFileSync)(file, "utf-8")}`,
|
|
|
139541
139541
|
)
|
|
139542
139542
|
);
|
|
139543
139543
|
}
|
|
139544
|
-
await Promise.
|
|
139544
|
+
await Promise.allSettled(
|
|
139545
139545
|
entryPoints.map(
|
|
139546
139546
|
(entryPoint) => runTsupBuild(
|
|
139547
139547
|
{
|