@nx/react 0.0.0-pr-30457-6a22ba8 → 0.0.0-pr-30516-94d09ba
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/react",
|
|
3
|
-
"version": "0.0.0-pr-
|
|
3
|
+
"version": "0.0.0-pr-30516-94d09ba",
|
|
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": {
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"minimatch": "9.0.3",
|
|
39
39
|
"picocolors": "^1.1.0",
|
|
40
40
|
"tslib": "^2.3.0",
|
|
41
|
-
"@nx/devkit": "0.0.0-pr-
|
|
42
|
-
"@nx/js": "0.0.0-pr-
|
|
43
|
-
"@nx/eslint": "0.0.0-pr-
|
|
44
|
-
"@nx/web": "0.0.0-pr-
|
|
45
|
-
"@nx/module-federation": "0.0.0-pr-
|
|
41
|
+
"@nx/devkit": "0.0.0-pr-30516-94d09ba",
|
|
42
|
+
"@nx/js": "0.0.0-pr-30516-94d09ba",
|
|
43
|
+
"@nx/eslint": "0.0.0-pr-30516-94d09ba",
|
|
44
|
+
"@nx/web": "0.0.0-pr-30516-94d09ba",
|
|
45
|
+
"@nx/module-federation": "0.0.0-pr-30516-94d09ba",
|
|
46
46
|
"express": "^4.21.2",
|
|
47
47
|
"http-proxy-middleware": "^3.0.3",
|
|
48
48
|
"semver": "^7.6.3"
|
|
@@ -126,6 +126,13 @@ async function remoteGenerator(host, schema) {
|
|
|
126
126
|
if (!options.setParserOptionsProject) {
|
|
127
127
|
host.delete((0, devkit_1.joinPathFragments)(options.appProjectRoot, 'tsconfig.lint.json'));
|
|
128
128
|
}
|
|
129
|
+
if (options.host && options.bundler === 'rspack') {
|
|
130
|
+
const projectConfig = (0, devkit_1.readProjectConfiguration)(host, options.projectName);
|
|
131
|
+
projectConfig.targets.serve ??= {};
|
|
132
|
+
projectConfig.targets.serve.dependsOn ??= [];
|
|
133
|
+
projectConfig.targets.serve.dependsOn.push(`${options.host}:serve`);
|
|
134
|
+
(0, devkit_1.updateProjectConfiguration)(host, options.projectName, projectConfig);
|
|
135
|
+
}
|
|
129
136
|
if (options.host && options.dynamic) {
|
|
130
137
|
const hostConfig = (0, devkit_1.readProjectConfiguration)(host, schema.host);
|
|
131
138
|
const pathToMFManifest = (0, devkit_1.joinPathFragments)(hostConfig.sourceRoot, 'assets/module-federation.manifest.json');
|