@nx/angular 19.0.0-canary.20240430-458f2cc → 19.0.0-canary.20240503-dbad02a

Sign up to get free protection for your applications and to get access to all the features.
package/executors.d.ts CHANGED
@@ -11,6 +11,6 @@ export * from './src/executors/extract-i18n/extract-i18n.impl';
11
11
  import { executeDevServerBuilder } from './src/builders/dev-server/dev-server.impl';
12
12
  export {
13
13
  /**
14
- * @deprecated Use executeDevServerBuilder instead. It will be removed in Nx v19.
14
+ * @deprecated Use executeDevServerBuilder instead. It will be removed in Nx v20.
15
15
  */
16
16
  executeDevServerBuilder as executeWebpackDevServerBuilder, executeDevServerBuilder, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/angular",
3
- "version": "19.0.0-canary.20240430-458f2cc",
3
+ "version": "19.0.0-canary.20240503-dbad02a",
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": {
@@ -78,14 +78,14 @@
78
78
  "tslib": "^2.3.0",
79
79
  "webpack": "^5.80.0",
80
80
  "webpack-merge": "^5.8.0",
81
- "@nx/devkit": "19.0.0-canary.20240430-458f2cc",
82
- "@nx/js": "19.0.0-canary.20240430-458f2cc",
83
- "@nx/eslint": "19.0.0-canary.20240430-458f2cc",
84
- "@nx/webpack": "19.0.0-canary.20240430-458f2cc",
85
- "@nx/web": "19.0.0-canary.20240430-458f2cc",
86
- "@nx/workspace": "19.0.0-canary.20240430-458f2cc",
81
+ "@nx/devkit": "19.0.0-canary.20240503-dbad02a",
82
+ "@nx/js": "19.0.0-canary.20240503-dbad02a",
83
+ "@nx/eslint": "19.0.0-canary.20240503-dbad02a",
84
+ "@nx/webpack": "19.0.0-canary.20240503-dbad02a",
85
+ "@nx/web": "19.0.0-canary.20240503-dbad02a",
86
+ "@nx/workspace": "19.0.0-canary.20240503-dbad02a",
87
87
  "piscina": "^4.4.0",
88
- "@nrwl/angular": "19.0.0-canary.20240430-458f2cc"
88
+ "@nrwl/angular": "19.0.0-canary.20240503-dbad02a"
89
89
  },
90
90
  "peerDependencies": {
91
91
  "@angular-devkit/build-angular": ">= 15.0.0 < 18.0.0",
@@ -14,8 +14,8 @@ async function default_1(tree) {
14
14
  const configToUpdate = configurationName
15
15
  ? projectConfiguration.targets[targetName].configurations[configurationName]
16
16
  : projectConfiguration.targets[targetName].options;
17
- if (configToUpdate.buildOptimizer === undefined &&
18
- configToUpdate.optimization !== undefined) {
17
+ if (configToUpdate?.buildOptimizer === undefined &&
18
+ configToUpdate?.optimization !== undefined) {
19
19
  configToUpdate.buildOptimizer = !!configToUpdate.optimization;
20
20
  }
21
21
  (0, devkit_1.updateProjectConfiguration)(tree, projectName, projectConfiguration);