@nx/angular 0.0.0-pr-29114-4447aa0 → 0.0.0-pr-29156-41ae81c

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": "@nx/angular",
3
- "version": "0.0.0-pr-29114-4447aa0",
3
+ "version": "0.0.0-pr-29156-41ae81c",
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,13 +78,13 @@
78
78
  "semver": "^7.5.3",
79
79
  "tslib": "^2.3.0",
80
80
  "webpack-merge": "^5.8.0",
81
- "@nx/devkit": "0.0.0-pr-29114-4447aa0",
82
- "@nx/js": "0.0.0-pr-29114-4447aa0",
83
- "@nx/eslint": "0.0.0-pr-29114-4447aa0",
84
- "@nx/webpack": "0.0.0-pr-29114-4447aa0",
85
- "@nx/module-federation": "0.0.0-pr-29114-4447aa0",
86
- "@nx/web": "0.0.0-pr-29114-4447aa0",
87
- "@nx/workspace": "0.0.0-pr-29114-4447aa0",
81
+ "@nx/devkit": "0.0.0-pr-29156-41ae81c",
82
+ "@nx/js": "0.0.0-pr-29156-41ae81c",
83
+ "@nx/eslint": "0.0.0-pr-29156-41ae81c",
84
+ "@nx/webpack": "0.0.0-pr-29156-41ae81c",
85
+ "@nx/module-federation": "0.0.0-pr-29156-41ae81c",
86
+ "@nx/web": "0.0.0-pr-29156-41ae81c",
87
+ "@nx/workspace": "0.0.0-pr-29156-41ae81c",
88
88
  "piscina": "^4.4.0"
89
89
  },
90
90
  "peerDependencies": {
@@ -24,9 +24,8 @@ function normalizeOptions(tree, options) {
24
24
  * --> If so, use that
25
25
  * --> If not, use main.ts
26
26
  */
27
- const ngModulePath = (0, devkit_1.joinPathFragments)(project.sourceRoot, 'app/app.module.ts');
28
- const parent = !isStandalone && tree.exists(ngModulePath)
29
- ? ngModulePath
27
+ const parent = !isStandalone
28
+ ? (0, devkit_1.joinPathFragments)(project.sourceRoot, 'app/app.module.ts')
30
29
  : tree.exists(appConfigPath)
31
30
  ? appConfigPath
32
31
  : appMainPath;
@@ -13,9 +13,6 @@ async function migrateMfImportsToNewPackage(tree) {
13
13
  const rootsToCheck = new Set();
14
14
  const graph = await (0, devkit_1.createProjectGraphAsync)();
15
15
  for (const [project, dependencies] of Object.entries(graph.dependencies)) {
16
- if (!graph.nodes[project]) {
17
- continue;
18
- }
19
16
  const usesNxWebpack = dependencies.some((dep) => dep.target === 'npm:@nx/webpack');
20
17
  if (usesNxWebpack) {
21
18
  const root = graph.nodes[project].data.root;