@nx/react 20.1.0-canary.20241026-f84b6e5 → 20.1.0-canary.20241030-62f58eb

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.
Files changed (17) hide show
  1. package/package.json +6 -6
  2. package/src/generators/host/files/rspack-module-federation/module-federation.config.js__tmpl__ +4 -1
  3. package/src/generators/host/files/rspack-module-federation-ssr/module-federation.server.config.js__tmpl__ +3 -0
  4. package/src/generators/host/files/rspack-module-federation-ssr-ts/module-federation.server.config.ts__tmpl__ +3 -0
  5. package/src/generators/host/files/rspack-module-federation-ts/module-federation.config.ts__tmpl__ +3 -0
  6. package/src/generators/host/files/webpack-module-federation/module-federation.config.js__tmpl__ +4 -1
  7. package/src/generators/host/files/webpack-module-federation-ssr/module-federation.server.config.js__tmpl__ +3 -0
  8. package/src/generators/host/files/webpack-module-federation-ssr-ts/module-federation.server.config.ts__tmpl__ +3 -0
  9. package/src/generators/host/files/webpack-module-federation-ts/module-federation.config.ts__tmpl__ +3 -0
  10. package/src/generators/remote/files/rspack-module-federation/module-federation.config.js__tmpl__ +3 -0
  11. package/src/generators/remote/files/rspack-module-federation-ssr/module-federation.server.config.js__tmpl__ +3 -0
  12. package/src/generators/remote/files/rspack-module-federation-ssr-ts/module-federation.server.config.ts__tmpl__ +3 -0
  13. package/src/generators/remote/files/rspack-module-federation-ts/module-federation.config.ts__tmpl__ +3 -0
  14. package/src/generators/remote/files/webpack-module-federation/module-federation.config.js__tmpl__ +3 -0
  15. package/src/generators/remote/files/webpack-module-federation-ssr/module-federation.server.config.js__tmpl__ +3 -0
  16. package/src/generators/remote/files/webpack-module-federation-ssr-ts/module-federation.server.config.ts__tmpl__ +3 -0
  17. package/src/generators/remote/files/webpack-module-federation-ts/module-federation.config.ts__tmpl__ +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/react",
3
- "version": "20.1.0-canary.20241026-f84b6e5",
3
+ "version": "20.1.0-canary.20241030-62f58eb",
4
4
  "private": false,
5
5
  "description": "The React plugin for Nx contains executors and generators for managing React applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Vitest, Playwright, Cypress, and Storybook.\n\n- Generators for applications, libraries, components, hooks, and more.\n\n- Library build support for publishing packages to npm or other registries.\n\n- Utilities for automatic workspace refactoring.",
6
6
  "repository": {
@@ -39,12 +39,12 @@
39
39
  "picocolors": "^1.1.0",
40
40
  "tslib": "^2.3.0",
41
41
  "@module-federation/enhanced": "0.6.9",
42
- "@nx/devkit": "20.1.0-canary.20241026-f84b6e5",
43
- "@nx/js": "20.1.0-canary.20241026-f84b6e5",
44
- "@nx/eslint": "20.1.0-canary.20241026-f84b6e5",
45
- "@nx/web": "20.1.0-canary.20241026-f84b6e5",
42
+ "@nx/devkit": "20.1.0-canary.20241030-62f58eb",
43
+ "@nx/js": "20.1.0-canary.20241030-62f58eb",
44
+ "@nx/eslint": "20.1.0-canary.20241030-62f58eb",
45
+ "@nx/web": "20.1.0-canary.20241030-62f58eb",
46
46
  "express": "^4.19.2",
47
- "http-proxy-middleware": "^3.0.0"
47
+ "http-proxy-middleware": "^3.0.3"
48
48
  },
49
49
  "publishConfig": {
50
50
  "access": "public"
@@ -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: '<%= projectName %>',
3
6
  /**
@@ -18,4 +21,4 @@ module.exports = {
18
21
  }
19
22
  %>
20
23
  ],
21
- };
24
+ };
@@ -13,4 +13,7 @@ const moduleFederationConfig = {
13
13
  ],
14
14
  };
15
15
 
16
+ /**
17
+ * Nx requires a default export of the config to allow correct resolution of the module federation graph.
18
+ **/
16
19
  module.exports = moduleFederationConfig;
@@ -10,4 +10,7 @@ const config: ModuleFederationConfig = {
10
10
  ],
11
11
  };
12
12
 
13
+ /**
14
+ * Nx requires a default export of the config to allow correct resolution of the module federation graph.
15
+ **/
13
16
  export default config;
@@ -22,4 +22,7 @@ const config: ModuleFederationConfig = {
22
22
  ],
23
23
  };
24
24
 
25
+ /**
26
+ * Nx requires a default export of the config to allow correct resolution of the module federation graph.
27
+ **/
25
28
  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: '<%= projectName %>',
3
6
  /**
@@ -18,4 +21,4 @@ module.exports = {
18
21
  }
19
22
  %>
20
23
  ],
21
- };
24
+ };
@@ -13,4 +13,7 @@ const moduleFederationConfig = {
13
13
  ],
14
14
  };
15
15
 
16
+ /**
17
+ * Nx requires a default export of the config to allow correct resolution of the module federation graph.
18
+ **/
16
19
  module.exports = moduleFederationConfig;
@@ -10,4 +10,7 @@ const config: ModuleFederationConfig = {
10
10
  ],
11
11
  };
12
12
 
13
+ /**
14
+ * Nx requires a default export of the config to allow correct resolution of the module federation graph.
15
+ **/
13
16
  export default config;
@@ -22,4 +22,7 @@ const config: ModuleFederationConfig = {
22
22
  ],
23
23
  };
24
24
 
25
+ /**
26
+ * Nx requires a default export of the config to allow correct resolution of the module federation graph.
27
+ **/
25
28
  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: '<%= projectName %>',
3
6
  <% if (dynamic) { %>
@@ -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: '<%= projectName %>',
3
6
  exposes: {
@@ -7,4 +7,7 @@ const config: ModuleFederationConfig = {
7
7
  },
8
8
  };
9
9
 
10
+ /**
11
+ * Nx requires a default export of the config to allow correct resolution of the module federation graph.
12
+ **/
10
13
  export default config;
@@ -10,4 +10,7 @@ const config: ModuleFederationConfig = {
10
10
  },
11
11
  };
12
12
 
13
+ /**
14
+ * Nx requires a default export of the config to allow correct resolution of the module federation graph.
15
+ **/
13
16
  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: '<%= projectName %>',
3
6
  <% if (dynamic) { %>
@@ -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: '<%= projectName %>',
3
6
  exposes: {
@@ -7,4 +7,7 @@ const config: ModuleFederationConfig = {
7
7
  },
8
8
  };
9
9
 
10
+ /**
11
+ * Nx requires a default export of the config to allow correct resolution of the module federation graph.
12
+ **/
10
13
  export default config;
@@ -10,4 +10,7 @@ const config: ModuleFederationConfig = {
10
10
  },
11
11
  };
12
12
 
13
+ /**
14
+ * Nx requires a default export of the config to allow correct resolution of the module federation graph.
15
+ **/
13
16
  export default config;