@nx/angular 19.5.0-canary.20240706-4ae16b3 → 19.5.0-canary.20240710-2b7b523

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/angular",
3
- "version": "19.5.0-canary.20240706-4ae16b3",
3
+ "version": "19.5.0-canary.20240710-2b7b523",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: \n\n- Integration with libraries such as Storybook, Jest, ESLint, Tailwind CSS, Playwright and Cypress. \n\n- Generators to help scaffold code quickly (like: Micro Frontends, Libraries, both internal to your codebase and publishable to npm) \n\n- Single Component Application Modules (SCAMs) \n\n- NgRx helpers. \n\n- Utilities for automatic workspace refactoring.",
6
6
  "repository": {
@@ -79,14 +79,14 @@
79
79
  "tslib": "^2.3.0",
80
80
  "webpack-merge": "^5.8.0",
81
81
  "@module-federation/enhanced": "~0.2.3",
82
- "@nx/devkit": "19.5.0-canary.20240706-4ae16b3",
83
- "@nx/js": "19.5.0-canary.20240706-4ae16b3",
84
- "@nx/eslint": "19.5.0-canary.20240706-4ae16b3",
85
- "@nx/webpack": "19.5.0-canary.20240706-4ae16b3",
86
- "@nx/web": "19.5.0-canary.20240706-4ae16b3",
87
- "@nx/workspace": "19.5.0-canary.20240706-4ae16b3",
82
+ "@nx/devkit": "19.5.0-canary.20240710-2b7b523",
83
+ "@nx/js": "19.5.0-canary.20240710-2b7b523",
84
+ "@nx/eslint": "19.5.0-canary.20240710-2b7b523",
85
+ "@nx/webpack": "19.5.0-canary.20240710-2b7b523",
86
+ "@nx/web": "19.5.0-canary.20240710-2b7b523",
87
+ "@nx/workspace": "19.5.0-canary.20240710-2b7b523",
88
88
  "piscina": "^4.4.0",
89
- "@nrwl/angular": "19.5.0-canary.20240706-4ae16b3"
89
+ "@nrwl/angular": "19.5.0-canary.20240710-2b7b523"
90
90
  },
91
91
  "peerDependencies": {
92
92
  "@angular-devkit/build-angular": ">= 16.0.0 < 19.0.0",
@@ -12,7 +12,14 @@ const operators_2 = require("rxjs/operators");
12
12
  const buildable_libs_1 = require("../utilities/buildable-libs");
13
13
  const webpack_1 = require("../utilities/webpack");
14
14
  function shouldSkipInitialTargetRun(projectGraph, project, target) {
15
- const projectDependencyConfigs = (0, utils_1.getDependencyConfigs)({ project, target }, {}, projectGraph);
15
+ const allTargetNames = new Set();
16
+ for (const projectName in projectGraph.nodes) {
17
+ const project = projectGraph.nodes[projectName];
18
+ for (const targetName in project.data.targets ?? {}) {
19
+ allTargetNames.add(targetName);
20
+ }
21
+ }
22
+ const projectDependencyConfigs = (0, utils_1.getDependencyConfigs)({ project, target }, {}, projectGraph, Array.from(allTargetNames));
16
23
  // if the task runner already ran the target, skip the initial run
17
24
  return projectDependencyConfigs.some((d) => d.target === target && d.projects === 'dependencies');
18
25
  }