@nx/react 22.6.0-pr.34876.039ddae → 22.6.0-rc.1
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 +16 -16
- package/src/plugins/router-plugin.js +7 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/react",
|
|
3
|
-
"version": "22.6.0-
|
|
3
|
+
"version": "22.6.0-rc.1",
|
|
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": {
|
|
@@ -37,28 +37,28 @@
|
|
|
37
37
|
"minimatch": "10.2.4",
|
|
38
38
|
"picocolors": "^1.1.0",
|
|
39
39
|
"tslib": "^2.3.0",
|
|
40
|
-
"@nx/devkit": "22.6.0-
|
|
41
|
-
"@nx/js": "22.6.0-
|
|
42
|
-
"@nx/eslint": "22.6.0-
|
|
43
|
-
"@nx/web": "22.6.0-
|
|
44
|
-
"@nx/module-federation": "22.6.0-
|
|
45
|
-
"@nx/rollup": "22.6.0-
|
|
40
|
+
"@nx/devkit": "22.6.0-rc.1",
|
|
41
|
+
"@nx/js": "22.6.0-rc.1",
|
|
42
|
+
"@nx/eslint": "22.6.0-rc.1",
|
|
43
|
+
"@nx/web": "22.6.0-rc.1",
|
|
44
|
+
"@nx/module-federation": "22.6.0-rc.1",
|
|
45
|
+
"@nx/rollup": "22.6.0-rc.1",
|
|
46
46
|
"express": "^4.21.2",
|
|
47
47
|
"http-proxy-middleware": "^3.0.5",
|
|
48
48
|
"semver": "^7.6.3"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@nx/cypress": "22.6.0-
|
|
52
|
-
"@nx/playwright": "22.6.0-
|
|
53
|
-
"@nx/rsbuild": "22.6.0-
|
|
54
|
-
"@nx/vite": "22.6.0-
|
|
55
|
-
"@nx/vitest": "22.6.0-
|
|
56
|
-
"@nx/webpack": "22.6.0-
|
|
57
|
-
"@nx/storybook": "22.6.0-
|
|
58
|
-
"nx": "22.6.0-
|
|
51
|
+
"@nx/cypress": "22.6.0-rc.1",
|
|
52
|
+
"@nx/playwright": "22.6.0-rc.1",
|
|
53
|
+
"@nx/rsbuild": "22.6.0-rc.1",
|
|
54
|
+
"@nx/vite": "22.6.0-rc.1",
|
|
55
|
+
"@nx/vitest": "22.6.0-rc.1",
|
|
56
|
+
"@nx/webpack": "22.6.0-rc.1",
|
|
57
|
+
"@nx/storybook": "22.6.0-rc.1",
|
|
58
|
+
"nx": "22.6.0-rc.1"
|
|
59
59
|
},
|
|
60
60
|
"optionalDependencies": {
|
|
61
|
-
"@nx/vite": "22.6.0-
|
|
61
|
+
"@nx/vite": "22.6.0-rc.1"
|
|
62
62
|
},
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|
|
@@ -117,7 +117,7 @@ async function getBuildTargetConfig(buildTargetName, projectRoot, buildDirectory
|
|
|
117
117
|
options: { cwd: projectRoot },
|
|
118
118
|
};
|
|
119
119
|
if (isUsingTsSolutionSetup) {
|
|
120
|
-
buildTarget.syncGenerators = ['@nx/js:typescript-sync'];
|
|
120
|
+
buildTarget.syncGenerators = ['@nx/js:typescript-sync', '@nx/js:deps-sync'];
|
|
121
121
|
}
|
|
122
122
|
return buildTarget;
|
|
123
123
|
}
|
|
@@ -140,7 +140,7 @@ async function devTarget(projectRoot, isUsingTsSolutionSetup) {
|
|
|
140
140
|
options: { cwd: projectRoot },
|
|
141
141
|
};
|
|
142
142
|
if (isUsingTsSolutionSetup) {
|
|
143
|
-
devTarget.syncGenerators = ['@nx/js:typescript-sync'];
|
|
143
|
+
devTarget.syncGenerators = ['@nx/js:typescript-sync', '@nx/js:deps-sync'];
|
|
144
144
|
}
|
|
145
145
|
return devTarget;
|
|
146
146
|
}
|
|
@@ -155,7 +155,7 @@ async function startTarget(projectRoot, serverBuildPath, buildTargetName, isUsin
|
|
|
155
155
|
options: { cwd: projectRoot },
|
|
156
156
|
};
|
|
157
157
|
if (isUsingTsSolutionSetup) {
|
|
158
|
-
startTarget.syncGenerators = ['@nx/js:typescript-sync'];
|
|
158
|
+
startTarget.syncGenerators = ['@nx/js:typescript-sync', '@nx/js:deps-sync'];
|
|
159
159
|
}
|
|
160
160
|
return startTarget;
|
|
161
161
|
}
|
|
@@ -190,7 +190,10 @@ async function typecheckTarget(projectRoot, typecheckTargetName, namedInputs, si
|
|
|
190
190
|
};
|
|
191
191
|
if (isUsingTsSolutionSetup) {
|
|
192
192
|
typecheckTarget.dependsOn = [`^${typecheckTargetName}`];
|
|
193
|
-
typecheckTarget.syncGenerators = [
|
|
193
|
+
typecheckTarget.syncGenerators = [
|
|
194
|
+
'@nx/js:typescript-sync',
|
|
195
|
+
'@nx/js:deps-sync',
|
|
196
|
+
];
|
|
194
197
|
}
|
|
195
198
|
return typecheckTarget;
|
|
196
199
|
}
|