@storm-software/workspace-tools 1.26.0 → 1.27.0
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 +22 -1
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +22 -1
- package/src/executors/tsup/schema.json +1 -1
- package/src/executors/tsup-neutral/executor.js +22 -1
- package/src/executors/tsup-node/executor.js +22 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.26.1](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.26.0...workspace-tools-v1.26.1) (2023-12-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Set the `includeSrc` options default to true ([5e378ad](https://github.com/storm-software/storm-ops/commit/5e378ade04173b909ff8c8b4f3e4a6c73b5859a5))
|
|
7
|
+
|
|
8
|
+
# [1.26.0](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.25.0...workspace-tools-v1.26.0) (2023-12-11)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **workspace-tools:** Added the `shims` option to the tsup extractor ([108ad97](https://github.com/storm-software/storm-ops/commit/108ad973641620d06ccc2e43a2e028e78a948375))
|
|
14
|
+
|
|
1
15
|
# [1.25.0](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.24.2...workspace-tools-v1.25.0) (2023-12-11)
|
|
2
16
|
|
|
3
17
|
|
package/index.js
CHANGED
|
@@ -117534,6 +117534,27 @@ ${Object.keys(options).map(
|
|
|
117534
117534
|
options.external
|
|
117535
117535
|
);
|
|
117536
117536
|
}
|
|
117537
|
+
const implicitDependencies = context.projectsConfigurations.projects[context.projectName].implicitDependencies;
|
|
117538
|
+
if (implicitDependencies && implicitDependencies.length > 0) {
|
|
117539
|
+
options.external = implicitDependencies.reduce(
|
|
117540
|
+
(ret, key) => {
|
|
117541
|
+
if (context.projectsConfigurations.projects[key].root) {
|
|
117542
|
+
const packageJson = (0, import_devkit.readJsonFile)(
|
|
117543
|
+
(0, import_path4.join)(
|
|
117544
|
+
context.root,
|
|
117545
|
+
context.projectsConfigurations.projects[key].root,
|
|
117546
|
+
"package.json"
|
|
117547
|
+
)
|
|
117548
|
+
);
|
|
117549
|
+
if (packageJson.name && !options.external.includes(packageJson.name)) {
|
|
117550
|
+
ret.push(packageJson.name);
|
|
117551
|
+
}
|
|
117552
|
+
}
|
|
117553
|
+
return ret;
|
|
117554
|
+
},
|
|
117555
|
+
options.external
|
|
117556
|
+
);
|
|
117557
|
+
}
|
|
117537
117558
|
const externalDependencies = options.external.reduce((acc, name) => {
|
|
117538
117559
|
const externalNode = context.projectGraph.externalNodes[`npm:${name}`];
|
|
117539
117560
|
if (externalNode) {
|
|
@@ -117821,7 +117842,7 @@ var applyDefaultOptions = (options) => {
|
|
|
117821
117842
|
options.additionalEntryPoints ??= [];
|
|
117822
117843
|
options.assets ??= [];
|
|
117823
117844
|
options.plugins ??= [];
|
|
117824
|
-
options.includeSrc ??=
|
|
117845
|
+
options.includeSrc ??= true;
|
|
117825
117846
|
options.clean ??= true;
|
|
117826
117847
|
options.bundle ??= true;
|
|
117827
117848
|
options.debug ??= false;
|