@nx/angular 19.2.0-alpha.3 → 19.2.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  Nx is a build system with built-in tooling and advanced CI capabilities. It helps you maintain and scale monorepos, both locally and on CI.
26
26
 
27
- This package is an [Angular plugin for Nx](https://nx.dev/packages/angular).
27
+ This package is an [Angular plugin for Nx](https://nx.dev/nx-api/angular).
28
28
 
29
29
  ## Getting Started
30
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/angular",
3
- "version": "19.2.0-alpha.3",
3
+ "version": "19.2.0-beta.1",
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": "^5.80.0",
81
81
  "webpack-merge": "^5.8.0",
82
- "@nx/devkit": "19.2.0-alpha.3",
83
- "@nx/js": "19.2.0-alpha.3",
84
- "@nx/eslint": "19.2.0-alpha.3",
85
- "@nx/webpack": "19.2.0-alpha.3",
86
- "@nx/web": "19.2.0-alpha.3",
87
- "@nx/workspace": "19.2.0-alpha.3",
82
+ "@nx/devkit": "19.2.0-beta.1",
83
+ "@nx/js": "19.2.0-beta.1",
84
+ "@nx/eslint": "19.2.0-beta.1",
85
+ "@nx/webpack": "19.2.0-beta.1",
86
+ "@nx/web": "19.2.0-beta.1",
87
+ "@nx/workspace": "19.2.0-beta.1",
88
88
  "piscina": "^4.4.0",
89
- "@nrwl/angular": "19.2.0-alpha.3"
89
+ "@nrwl/angular": "19.2.0-beta.1"
90
90
  },
91
91
  "peerDependencies": {
92
92
  "@angular-devkit/build-angular": ">= 16.0.0 < 19.0.0",
@@ -4,7 +4,6 @@ exports.executeWebpackBrowserBuilder = void 0;
4
4
  const devkit_1 = require("@nx/devkit");
5
5
  const webpack_nx_build_coordination_plugin_1 = require("@nx/webpack/src/plugins/webpack-nx-build-coordination-plugin");
6
6
  const fs_1 = require("fs");
7
- const configuration_1 = require("nx/src/config/configuration");
8
7
  const operators_1 = require("nx/src/project-graph/operators");
9
8
  const utils_1 = require("nx/src/tasks-runner/utils");
10
9
  const path_1 = require("path");
@@ -13,12 +12,7 @@ const operators_2 = require("rxjs/operators");
13
12
  const buildable_libs_1 = require("../utilities/buildable-libs");
14
13
  const webpack_1 = require("../utilities/webpack");
15
14
  function shouldSkipInitialTargetRun(projectGraph, project, target) {
16
- const nxJson = (0, configuration_1.readNxJson)();
17
- const defaultDependencyConfigs = Object.entries(nxJson.targetDefaults ?? {}).reduce((acc, [targetName, dependencyConfig]) => {
18
- acc[targetName] = dependencyConfig.dependsOn;
19
- return acc;
20
- }, {});
21
- const projectDependencyConfigs = (0, utils_1.getDependencyConfigs)({ project, target }, defaultDependencyConfigs, projectGraph);
15
+ const projectDependencyConfigs = (0, utils_1.getDependencyConfigs)({ project, target }, {}, projectGraph);
22
16
  // if the task runner already ran the target, skip the initial run
23
17
  return projectDependencyConfigs.some((d) => d.target === target && d.projects === 'dependencies');
24
18
  }