@nx/react 23.3.0-rc.1 → 24.0.0-beta.0
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/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<p
|
|
1
|
+
<p align="center">
|
|
2
2
|
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-
|
|
4
|
-
<img alt="Nx
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo-light.svg">
|
|
4
|
+
<img alt="Nx Logo" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.svg" width="140">
|
|
5
5
|
</picture>
|
|
6
6
|
</p>
|
|
7
7
|
|
|
@@ -62,6 +62,3 @@ npx nx@latest init
|
|
|
62
62
|
- [Official Nx YouTube Channel](https://www.youtube.com/@NxDevtools)
|
|
63
63
|
- [Blog Posts About Nx](https://nx.dev/blog)
|
|
64
64
|
|
|
65
|
-
<p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg"
|
|
66
|
-
width="100%" alt="Nx - Smart Monorepos · Fast Builds"></a></p>
|
|
67
|
-
|
|
@@ -11,7 +11,6 @@ async function addFiles(tree, projectConfig, options, found) {
|
|
|
11
11
|
// when importing react
|
|
12
12
|
const { addMountDefinition, getInstalledCypressMajorVersion, } = require('@nx/cypress/internal');
|
|
13
13
|
const installedCypressMajorVersion = getInstalledCypressMajorVersion(tree);
|
|
14
|
-
// Specifically undefined to allow Remix workaround of passing an empty string
|
|
15
14
|
const actualBundler = await (0, ct_utils_1.getActualBundler)(tree, options, found);
|
|
16
15
|
if (options.bundler && options.bundler !== actualBundler) {
|
|
17
16
|
devkit_1.logger.warn(`You have specified ${options.bundler} as the bundler but this project is configured to use ${actualBundler}.
|
|
@@ -14,7 +14,6 @@ const isSpecFile = new RegExp(/(spec|test)\./);
|
|
|
14
14
|
// Resolved before the shared cypress generator runs, so the bundler reaches it.
|
|
15
15
|
async function resolveCypressCTTarget(tree, options) {
|
|
16
16
|
let found = { target: options.buildTarget, config: undefined };
|
|
17
|
-
// Specifically undefined as a workaround for Remix to pass an empty string as the buildTarget
|
|
18
17
|
if (options.buildTarget === undefined) {
|
|
19
18
|
const { findBuildConfig, } = require('@nx/cypress/internal');
|
|
20
19
|
found = await findBuildConfig(tree, {
|
|
@@ -76,7 +75,6 @@ async function getBundlerFromTarget(found, tree) {
|
|
|
76
75
|
return executor === '@nx/vite:build' ? 'vite' : 'webpack';
|
|
77
76
|
}
|
|
78
77
|
async function getActualBundler(tree, options, found) {
|
|
79
|
-
// Specifically undefined to allow Remix workaround of passing an empty string
|
|
80
78
|
const actualBundler = options.buildTarget !== undefined && options.bundler
|
|
81
79
|
? options.bundler
|
|
82
80
|
: await getBundlerFromTarget(found, tree);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/react",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "24.0.0-beta.0",
|
|
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": {
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
95
95
|
"react": ">=18.0.0 <20.0.0",
|
|
96
96
|
"react-dom": ">=18.0.0 <20.0.0",
|
|
97
|
-
"@nx/module-federation": "
|
|
97
|
+
"@nx/module-federation": "24.0.0-beta.0",
|
|
98
98
|
"express": "^4.21.2",
|
|
99
99
|
"http-proxy-middleware": "^3.0.7"
|
|
100
100
|
},
|
|
@@ -117,28 +117,28 @@
|
|
|
117
117
|
"@phenomnomnominal/tsquery": "~6.2.0",
|
|
118
118
|
"minimatch": "10.2.5",
|
|
119
119
|
"tslib": "^2.3.0",
|
|
120
|
-
"@nx/devkit": "
|
|
121
|
-
"@nx/js": "
|
|
122
|
-
"@nx/eslint": "
|
|
123
|
-
"@nx/web": "
|
|
120
|
+
"@nx/devkit": "24.0.0-beta.0",
|
|
121
|
+
"@nx/js": "24.0.0-beta.0",
|
|
122
|
+
"@nx/eslint": "24.0.0-beta.0",
|
|
123
|
+
"@nx/web": "24.0.0-beta.0",
|
|
124
124
|
"semver": "^7.6.3"
|
|
125
125
|
},
|
|
126
126
|
"devDependencies": {
|
|
127
|
-
"@nx/cypress": "
|
|
128
|
-
"@nx/module-federation": "
|
|
129
|
-
"@nx/playwright": "
|
|
130
|
-
"@nx/rollup": "
|
|
131
|
-
"@nx/rsbuild": "
|
|
132
|
-
"@nx/vite": "
|
|
133
|
-
"@nx/vitest": "
|
|
134
|
-
"@nx/webpack": "
|
|
135
|
-
"@nx/storybook": "
|
|
127
|
+
"@nx/cypress": "24.0.0-beta.0",
|
|
128
|
+
"@nx/module-federation": "24.0.0-beta.0",
|
|
129
|
+
"@nx/playwright": "24.0.0-beta.0",
|
|
130
|
+
"@nx/rollup": "24.0.0-beta.0",
|
|
131
|
+
"@nx/rsbuild": "24.0.0-beta.0",
|
|
132
|
+
"@nx/vite": "24.0.0-beta.0",
|
|
133
|
+
"@nx/vitest": "24.0.0-beta.0",
|
|
134
|
+
"@nx/webpack": "24.0.0-beta.0",
|
|
135
|
+
"@nx/storybook": "24.0.0-beta.0",
|
|
136
136
|
"express": "^4.21.2",
|
|
137
137
|
"http-proxy-middleware": "^3.0.7",
|
|
138
|
-
"nx": "
|
|
138
|
+
"nx": "24.0.0-beta.0"
|
|
139
139
|
},
|
|
140
140
|
"optionalDependencies": {
|
|
141
|
-
"@nx/vite": "
|
|
141
|
+
"@nx/vite": "24.0.0-beta.0"
|
|
142
142
|
},
|
|
143
143
|
"publishConfig": {
|
|
144
144
|
"access": "public"
|
package/readme-template.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<p
|
|
1
|
+
<p align="center">
|
|
2
2
|
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-
|
|
4
|
-
<img alt="Nx
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo-light.svg">
|
|
4
|
+
<img alt="Nx Logo" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.svg" width="140">
|
|
5
5
|
</picture>
|
|
6
6
|
</p>
|
|
7
7
|
|