@nx/react 22.1.0-beta.0 → 22.1.0-beta.2
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": "22.1.0-beta.
|
|
3
|
+
"version": "22.1.0-beta.2",
|
|
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,26 +38,26 @@
|
|
|
38
38
|
"minimatch": "9.0.3",
|
|
39
39
|
"picocolors": "^1.1.0",
|
|
40
40
|
"tslib": "^2.3.0",
|
|
41
|
-
"@nx/devkit": "22.1.0-beta.
|
|
42
|
-
"@nx/js": "22.1.0-beta.
|
|
43
|
-
"@nx/eslint": "22.1.0-beta.
|
|
44
|
-
"@nx/web": "22.1.0-beta.
|
|
45
|
-
"@nx/module-federation": "22.1.0-beta.
|
|
46
|
-
"@nx/rollup": "22.1.0-beta.
|
|
41
|
+
"@nx/devkit": "22.1.0-beta.2",
|
|
42
|
+
"@nx/js": "22.1.0-beta.2",
|
|
43
|
+
"@nx/eslint": "22.1.0-beta.2",
|
|
44
|
+
"@nx/web": "22.1.0-beta.2",
|
|
45
|
+
"@nx/module-federation": "22.1.0-beta.2",
|
|
46
|
+
"@nx/rollup": "22.1.0-beta.2",
|
|
47
47
|
"express": "^4.21.2",
|
|
48
48
|
"http-proxy-middleware": "^3.0.5",
|
|
49
49
|
"semver": "^7.6.3"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@nx/cypress": "22.1.0-beta.
|
|
53
|
-
"@nx/playwright": "22.1.0-beta.
|
|
54
|
-
"@nx/rsbuild": "22.1.0-beta.
|
|
55
|
-
"@nx/vite": "22.1.0-beta.
|
|
56
|
-
"@nx/webpack": "22.1.0-beta.
|
|
57
|
-
"nx": "22.1.0-beta.
|
|
52
|
+
"@nx/cypress": "22.1.0-beta.2",
|
|
53
|
+
"@nx/playwright": "22.1.0-beta.2",
|
|
54
|
+
"@nx/rsbuild": "22.1.0-beta.2",
|
|
55
|
+
"@nx/vite": "22.1.0-beta.2",
|
|
56
|
+
"@nx/webpack": "22.1.0-beta.2",
|
|
57
|
+
"nx": "22.1.0-beta.2"
|
|
58
58
|
},
|
|
59
59
|
"optionalDependencies": {
|
|
60
|
-
"@nx/vite": "22.1.0-beta.
|
|
60
|
+
"@nx/vite": "22.1.0-beta.2"
|
|
61
61
|
},
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"access": "public"
|
|
@@ -7,7 +7,7 @@ const versions_1 = require("../../../../utils/versions");
|
|
|
7
7
|
async function setupViteConfiguration(tree, options, tasks) {
|
|
8
8
|
const { createOrEditViteConfig, viteConfigurationGenerator } = (0, devkit_1.ensurePackage)('@nx/vite', versions_1.nxVersion);
|
|
9
9
|
// We recommend users use `import.meta.env.MODE` and other variables in their code to differentiate between production and development.
|
|
10
|
-
// See: https://
|
|
10
|
+
// See: https://vite.dev/guide/env-and-mode.html
|
|
11
11
|
if (tree.exists((0, devkit_1.joinPathFragments)(options.appProjectRoot, 'src/environments'))) {
|
|
12
12
|
tree.delete((0, devkit_1.joinPathFragments)(options.appProjectRoot, 'src/environments'));
|
|
13
13
|
}
|