@nx/angular 16.9.0-beta.1 → 16.9.0-beta.3

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": "16.9.0-beta.1",
3
+ "version": "16.9.0-beta.3",
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, 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- Upgrading AngularJS applications \n\n- Single Component Application Modules (SCAMs) \n\n- NgRx helpers. \n\n- Utilities for automatic workspace refactoring.",
6
6
  "repository": {
@@ -67,14 +67,14 @@
67
67
  "migrations": "./migrations.json"
68
68
  },
69
69
  "dependencies": {
70
- "@nrwl/angular": "16.9.0-beta.1",
71
- "@nx/cypress": "16.9.0-beta.1",
72
- "@nx/devkit": "16.9.0-beta.1",
73
- "@nx/jest": "16.9.0-beta.1",
74
- "@nx/js": "16.9.0-beta.1",
75
- "@nx/linter": "16.9.0-beta.1",
76
- "@nx/webpack": "16.9.0-beta.1",
77
- "@nx/workspace": "16.9.0-beta.1",
70
+ "@nrwl/angular": "16.9.0-beta.3",
71
+ "@nx/cypress": "16.9.0-beta.3",
72
+ "@nx/devkit": "16.9.0-beta.3",
73
+ "@nx/jest": "16.9.0-beta.3",
74
+ "@nx/js": "16.9.0-beta.3",
75
+ "@nx/linter": "16.9.0-beta.3",
76
+ "@nx/webpack": "16.9.0-beta.3",
77
+ "@nx/workspace": "16.9.0-beta.3",
78
78
  "@phenomnomnominal/tsquery": "~5.0.1",
79
79
  "@typescript-eslint/type-utils": "^5.36.1",
80
80
  "chalk": "^4.1.0",
@@ -111,5 +111,5 @@
111
111
  "module": "fesm2022/nx-angular.mjs",
112
112
  "typings": "index.d.ts",
113
113
  "sideEffects": false,
114
- "gitHead": "5056d6cefb2949ba865019e8b71e633fba28c091"
114
+ "gitHead": "d5692528c089a75c76b21d2d1235d8cc5dbb1d26"
115
115
  }
@@ -174,7 +174,7 @@ function addPrettierIgnoreEntry(tree, entry) {
174
174
  return;
175
175
  }
176
176
  let content = tree.read('.prettierignore', 'utf-8');
177
- if (/^\.angular$/gm.test(content)) {
177
+ if (/^\.angular(\/cache)?$/gm.test(content)) {
178
178
  return;
179
179
  }
180
180
  content = `${content}\n${entry}\n`;
@@ -23,7 +23,7 @@ async function default_1(tree) {
23
23
  }
24
24
  (0, ensure_typescript_1.ensureTypescript)();
25
25
  tsquery = require('@phenomnomnominal/tsquery').tsquery;
26
- const cachedFileMap = (0, nx_deps_cache_1.readProjectFileMapCache)().projectFileMap;
26
+ const cachedFileMap = (0, nx_deps_cache_1.readFileMapCache)().fileMap.projectFileMap;
27
27
  const filesWithNxAngularImports = [];
28
28
  for (const { graphNode } of projects) {
29
29
  const files = filterFilesWithNxAngularDep(cachedFileMap[graphNode.name] || []);
@@ -70,7 +70,7 @@ async function getModuleFederationConfig(mfConfig, options = { isServer: false }
70
70
  }
71
71
  });
72
72
  const sharedDependencies = {
73
- ...sharedLibraries.getLibraries(),
73
+ ...sharedLibraries.getLibraries(projectGraph.nodes[mfConfig.name].data.root),
74
74
  ...npmPackages,
75
75
  };
76
76
  applyDefaultEagerPackages(sharedDependencies);