@storm-software/workspace-tools 1.26.1 → 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 CHANGED
@@ -1,3 +1,10 @@
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
+
1
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)
2
9
 
3
10
 
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) {