@nx/angular 20.1.0-canary.20241018-f971c1b → 20.1.0-canary.20241019-19e765f
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.1.0-canary.
|
3
|
+
"version": "20.1.0-canary.20241019-19e765f",
|
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.9",
|
83
|
-
"@nx/devkit": "20.1.0-canary.
|
84
|
-
"@nx/js": "20.1.0-canary.
|
85
|
-
"@nx/eslint": "20.1.0-canary.
|
86
|
-
"@nx/webpack": "20.1.0-canary.
|
87
|
-
"@nx/web": "20.1.0-canary.
|
88
|
-
"@nx/workspace": "20.1.0-canary.
|
83
|
+
"@nx/devkit": "20.1.0-canary.20241019-19e765f",
|
84
|
+
"@nx/js": "20.1.0-canary.20241019-19e765f",
|
85
|
+
"@nx/eslint": "20.1.0-canary.20241019-19e765f",
|
86
|
+
"@nx/webpack": "20.1.0-canary.20241019-19e765f",
|
87
|
+
"@nx/web": "20.1.0-canary.20241019-19e765f",
|
88
|
+
"@nx/workspace": "20.1.0-canary.20241019-19e765f",
|
89
89
|
"piscina": "^4.4.0"
|
90
90
|
},
|
91
91
|
"peerDependencies": {
|
@@ -67,8 +67,8 @@ async function* moduleFederationDevServerExecutor(schema, context) {
|
|
67
67
|
options.staticRemotesPort ??= remotes.staticRemotePort;
|
68
68
|
// Set NX_MF_DEV_REMOTES for the Nx Runtime Library Control Plugin
|
69
69
|
process.env.NX_MF_DEV_REMOTES = JSON.stringify([
|
70
|
-
...(remotes.devRemotes.map((r) => typeof r === 'string' ? r : r.remoteName) ?? []),
|
71
|
-
project.name,
|
70
|
+
...(remotes.devRemotes.map((r) => typeof r === 'string' ? r : r.remoteName) ?? []).map((r) => r.replace(/-/g, '_')),
|
71
|
+
project.name.replace(/-/g, '_'),
|
72
72
|
]);
|
73
73
|
const staticRemotesConfig = (0, parse_static_remotes_config_1.parseStaticRemotesConfig)([...remotes.staticRemotes, ...remotes.dynamicRemotes], context);
|
74
74
|
const mappedLocationsOfStaticRemotes = await (0, lib_1.buildStaticRemotes)(staticRemotesConfig, nxBin, context, options);
|
package/src/executors/module-federation-ssr-dev-server/module-federation-ssr-dev-server.impl.js
CHANGED
@@ -62,8 +62,8 @@ async function* moduleFederationSsrDevServerExecutor(schema, context) {
|
|
62
62
|
const mappedLocationsOfStaticRemotes = await (0, build_static_remotes_1.buildStaticRemotes)(staticRemotesConfig, nxBin, context, options);
|
63
63
|
// Set NX_MF_DEV_REMOTES for the Nx Runtime Library Control Plugin
|
64
64
|
process.env.NX_MF_DEV_REMOTES = JSON.stringify([
|
65
|
-
...(options.devRemotes ?? []),
|
66
|
-
project.name,
|
65
|
+
...(options.devRemotes.map((r) => typeof r === 'string' ? r : r.remoteName) ?? []).map((r) => r.replace(/-/g, '_')),
|
66
|
+
project.name.replace(/-/g, '_'),
|
67
67
|
]);
|
68
68
|
const devRemotes = await (0, start_dev_remotes_1.startRemotes)(remotes.devRemotes, workspaceProjects, options, context);
|
69
69
|
const staticRemotes = (0, start_static_remotes_1.startStaticRemotes)(staticRemotesConfig, context, options);
|