@nx/angular 20.0.5 → 20.0.7

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/angular",
3
- "version": "20.0.5",
3
+ "version": "20.0.7",
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": {
@@ -80,12 +80,12 @@
80
80
  "webpack-merge": "^5.8.0",
81
81
  "webpack": "^5.88.0",
82
82
  "@module-federation/enhanced": "0.6.6",
83
- "@nx/devkit": "20.0.5",
84
- "@nx/js": "20.0.5",
85
- "@nx/eslint": "20.0.5",
86
- "@nx/webpack": "20.0.5",
87
- "@nx/web": "20.0.5",
88
- "@nx/workspace": "20.0.5",
83
+ "@nx/devkit": "20.0.7",
84
+ "@nx/js": "20.0.7",
85
+ "@nx/eslint": "20.0.7",
86
+ "@nx/webpack": "20.0.7",
87
+ "@nx/web": "20.0.7",
88
+ "@nx/workspace": "20.0.7",
89
89
  "piscina": "^4.4.0"
90
90
  },
91
91
  "peerDependencies": {
@@ -24,7 +24,7 @@
24
24
  "name": {
25
25
  "type": "string",
26
26
  "description": "The name to give to the remote Angular app.",
27
- "pattern": "^[a-zA-Z][^:]*$",
27
+ "pattern": "^[a-zA-Z_$][a-zA-Z_$0-9]*$",
28
28
  "x-priority": "important"
29
29
  },
30
30
  "host": {
@@ -21,4 +21,7 @@ const config: ModuleFederationConfig = {
21
21
  },<% } %>
22
22
  };
23
23
 
24
+ /**
25
+ * Nx requires a default export of the config to allow correct resolution of the module federation graph.
26
+ **/
24
27
  export default config;
@@ -1,3 +1,6 @@
1
+ /**
2
+ * Nx requires a default export of the config to allow correct resolution of the module federation graph.
3
+ **/
1
4
  module.exports = {
2
5
  name: '<%= name %>',<% if(type === 'host') { %>
3
6
  /**