@nx/angular 21.2.0-canary.20250603-88c5196 → 21.2.0-canary.20250605-5ffd82e

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/README.md CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  # Nx: Smart Repos · Fast Builds
24
24
 
25
- Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
25
+ An AI-first build platform that connects everything from your editor to CI. Helping you deliver fast, without breaking things.
26
26
 
27
27
  This package is an [Angular plugin for Nx](https://nx.dev/nx-api/angular).
28
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/angular",
3
- "version": "21.2.0-canary.20250603-88c5196",
3
+ "version": "21.2.0-canary.20250605-5ffd82e",
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": {
@@ -58,14 +58,14 @@
58
58
  "migrations": "./migrations.json"
59
59
  },
60
60
  "dependencies": {
61
- "@nx/devkit": "21.2.0-canary.20250603-88c5196",
62
- "@nx/eslint": "21.2.0-canary.20250603-88c5196",
63
- "@nx/js": "21.2.0-canary.20250603-88c5196",
64
- "@nx/module-federation": "21.2.0-canary.20250603-88c5196",
65
- "@nx/rspack": "21.2.0-canary.20250603-88c5196",
66
- "@nx/web": "21.2.0-canary.20250603-88c5196",
67
- "@nx/webpack": "21.2.0-canary.20250603-88c5196",
68
- "@nx/workspace": "21.2.0-canary.20250603-88c5196",
61
+ "@nx/devkit": "21.2.0-canary.20250605-5ffd82e",
62
+ "@nx/eslint": "21.2.0-canary.20250605-5ffd82e",
63
+ "@nx/js": "21.2.0-canary.20250605-5ffd82e",
64
+ "@nx/module-federation": "21.2.0-canary.20250605-5ffd82e",
65
+ "@nx/rspack": "21.2.0-canary.20250605-5ffd82e",
66
+ "@nx/web": "21.2.0-canary.20250605-5ffd82e",
67
+ "@nx/webpack": "21.2.0-canary.20250605-5ffd82e",
68
+ "@nx/workspace": "21.2.0-canary.20250605-5ffd82e",
69
69
  "@phenomnomnominal/tsquery": "~5.0.1",
70
70
  "@typescript-eslint/type-utils": "^8.0.0",
71
71
  "enquirer": "~2.3.6",
@@ -46,7 +46,7 @@ function createNgEntryPoint(packageJson, ngPackageJson, basePath, secondaryData)
46
46
  directory: ensureUnixPath(secondaryDir),
47
47
  declarations: pathJoinWithDest('tmp-typings', secondaryDir, `${flatModuleFile}.d.ts`),
48
48
  // changed to use esm2022
49
- declarationsBundled: pathJoinWithDest('esm2022', secondaryDir, `${flatModuleFile}.d.ts`),
49
+ declarationsBundled: pathJoinWithDest(secondaryDir, `${flatModuleFile}.d.ts`),
50
50
  declarationsDir: pathJoinWithDest(secondaryDir),
51
51
  esm2022: pathJoinWithDest('tmp-esm2022', secondaryDir, `${flatModuleFile}.js`),
52
52
  // changed to use esm2022
@@ -47,16 +47,17 @@ const writeBundlesTransform = (_options) => {
47
47
  };
48
48
  exports.writeBundlesTransform = writeBundlesTransform;
49
49
  function normalizeEsm2022Path(path, entryPoint) {
50
+ const normalizedPath = (0, node_path_1.normalize)(path);
50
51
  if (!entryPoint.primaryDestinationPath) {
51
- return path;
52
+ return normalizedPath;
52
53
  }
53
- if (path.startsWith((0, node_path_1.join)(entryPoint.primaryDestinationPath, 'tmp-esm2022'))) {
54
- return path.replace('tmp-esm2022', 'esm2022');
54
+ if (normalizedPath.startsWith((0, node_path_1.join)(entryPoint.primaryDestinationPath, 'tmp-esm2022'))) {
55
+ return normalizedPath.replace('tmp-esm2022', 'esm2022');
55
56
  }
56
- if (path.startsWith((0, node_path_1.join)(entryPoint.primaryDestinationPath, 'tmp-typings'))) {
57
- return path.replace('tmp-typings', 'esm2022');
57
+ if (normalizedPath.startsWith((0, node_path_1.join)(entryPoint.primaryDestinationPath, 'tmp-typings'))) {
58
+ return normalizedPath.replace('tmp-typings', '');
58
59
  }
59
- return path;
60
+ return normalizedPath;
60
61
  }
61
62
  function toCustomNgEntryPoint(entryPoint) {
62
63
  return (0, entry_point_1.createNgEntryPoint)(entryPoint.packageJson, entryPoint.ngPackageJson, entryPoint.basePath,