@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.26.1",
3
+ "version": "1.27.0",
4
4
  "private": false,
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "keywords": [
@@ -117341,6 +117341,27 @@ ${Object.keys(options).map(
117341
117341
  options.external
117342
117342
  );
117343
117343
  }
117344
+ const implicitDependencies = context.projectsConfigurations.projects[context.projectName].implicitDependencies;
117345
+ if (implicitDependencies && implicitDependencies.length > 0) {
117346
+ options.external = implicitDependencies.reduce(
117347
+ (ret, key) => {
117348
+ if (context.projectsConfigurations.projects[key].root) {
117349
+ const packageJson = (0, import_devkit.readJsonFile)(
117350
+ (0, import_path4.join)(
117351
+ context.root,
117352
+ context.projectsConfigurations.projects[key].root,
117353
+ "package.json"
117354
+ )
117355
+ );
117356
+ if (packageJson.name && !options.external.includes(packageJson.name)) {
117357
+ ret.push(packageJson.name);
117358
+ }
117359
+ }
117360
+ return ret;
117361
+ },
117362
+ options.external
117363
+ );
117364
+ }
117344
117365
  const externalDependencies = options.external.reduce((acc, name) => {
117345
117366
  const externalNode = context.projectGraph.externalNodes[`npm:${name}`];
117346
117367
  if (externalNode) {
@@ -117372,6 +117372,27 @@ ${Object.keys(options).map(
117372
117372
  options.external
117373
117373
  );
117374
117374
  }
117375
+ const implicitDependencies = context.projectsConfigurations.projects[context.projectName].implicitDependencies;
117376
+ if (implicitDependencies && implicitDependencies.length > 0) {
117377
+ options.external = implicitDependencies.reduce(
117378
+ (ret, key) => {
117379
+ if (context.projectsConfigurations.projects[key].root) {
117380
+ const packageJson = (0, import_devkit.readJsonFile)(
117381
+ (0, import_path4.join)(
117382
+ context.root,
117383
+ context.projectsConfigurations.projects[key].root,
117384
+ "package.json"
117385
+ )
117386
+ );
117387
+ if (packageJson.name && !options.external.includes(packageJson.name)) {
117388
+ ret.push(packageJson.name);
117389
+ }
117390
+ }
117391
+ return ret;
117392
+ },
117393
+ options.external
117394
+ );
117395
+ }
117375
117396
  const externalDependencies = options.external.reduce((acc, name) => {
117376
117397
  const externalNode = context.projectGraph.externalNodes[`npm:${name}`];
117377
117398
  if (externalNode) {
@@ -117372,6 +117372,27 @@ ${Object.keys(options).map(
117372
117372
  options.external
117373
117373
  );
117374
117374
  }
117375
+ const implicitDependencies = context.projectsConfigurations.projects[context.projectName].implicitDependencies;
117376
+ if (implicitDependencies && implicitDependencies.length > 0) {
117377
+ options.external = implicitDependencies.reduce(
117378
+ (ret, key) => {
117379
+ if (context.projectsConfigurations.projects[key].root) {
117380
+ const packageJson = (0, import_devkit.readJsonFile)(
117381
+ (0, import_path4.join)(
117382
+ context.root,
117383
+ context.projectsConfigurations.projects[key].root,
117384
+ "package.json"
117385
+ )
117386
+ );
117387
+ if (packageJson.name && !options.external.includes(packageJson.name)) {
117388
+ ret.push(packageJson.name);
117389
+ }
117390
+ }
117391
+ return ret;
117392
+ },
117393
+ options.external
117394
+ );
117395
+ }
117375
117396
  const externalDependencies = options.external.reduce((acc, name) => {
117376
117397
  const externalNode = context.projectGraph.externalNodes[`npm:${name}`];
117377
117398
  if (externalNode) {