@nx/next 22.1.0 → 22.1.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/next",
|
|
3
|
-
"version": "22.1.
|
|
3
|
+
"version": "22.1.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Next.js plugin for Nx contains executors and generators for managing Next.js applications and libraries within an Nx workspace. It provides:\n\n\n- Scaffolding for creating, building, serving, linting, and testing Next.js applications.\n\n- Integration with building, serving, and exporting a Next.js application.\n\n- Integration with React libraries within the workspace. \n\nWhen using Next.js in Nx, you get the out-of-the-box support for TypeScript, Playwright, Cypress, and Jest. No need to configure anything: watch mode, source maps, and typings just work.",
|
|
6
6
|
"repository": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"next": ">=14.0.0 <17.0.0"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@nx/devkit": "22.1.
|
|
38
|
+
"@nx/devkit": "22.1.2",
|
|
39
39
|
"@babel/plugin-proposal-decorators": "^7.22.7",
|
|
40
40
|
"@svgr/webpack": "^8.1.0",
|
|
41
41
|
"copy-webpack-plugin": "^10.2.4",
|
|
@@ -44,17 +44,17 @@
|
|
|
44
44
|
"semver": "^7.6.3",
|
|
45
45
|
"tslib": "^2.3.0",
|
|
46
46
|
"webpack-merge": "^5.8.0",
|
|
47
|
-
"@nx/js": "22.1.
|
|
48
|
-
"@nx/eslint": "22.1.
|
|
49
|
-
"@nx/react": "22.1.
|
|
50
|
-
"@nx/web": "22.1.
|
|
51
|
-
"@nx/webpack": "22.1.
|
|
47
|
+
"@nx/js": "22.1.2",
|
|
48
|
+
"@nx/eslint": "22.1.2",
|
|
49
|
+
"@nx/react": "22.1.2",
|
|
50
|
+
"@nx/web": "22.1.2",
|
|
51
|
+
"@nx/webpack": "22.1.2",
|
|
52
52
|
"@phenomnomnominal/tsquery": "~5.0.1"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@nx/cypress": "22.1.
|
|
56
|
-
"@nx/playwright": "22.1.
|
|
57
|
-
"nx": "22.1.
|
|
55
|
+
"@nx/cypress": "22.1.2",
|
|
56
|
+
"@nx/playwright": "22.1.2",
|
|
57
|
+
"nx": "22.1.2"
|
|
58
58
|
},
|
|
59
59
|
"publishConfig": {
|
|
60
60
|
"access": "public"
|
|
@@ -72,8 +72,8 @@ export async function HelloServer() {
|
|
|
72
72
|
}
|
|
73
73
|
// Configure Vite and package.json for server entry point when using Vite bundler
|
|
74
74
|
if (options.bundler === 'vite') {
|
|
75
|
-
// Update vite.config.
|
|
76
|
-
const viteConfigPath = (0, devkit_1.joinPathFragments)(options.projectRoot, 'vite.config.
|
|
75
|
+
// Update vite.config.mts to support multiple entry points
|
|
76
|
+
const viteConfigPath = (0, devkit_1.joinPathFragments)(options.projectRoot, 'vite.config.mts');
|
|
77
77
|
(0, update_vite_config_1.updateViteConfigForServerEntry)(host, viteConfigPath);
|
|
78
78
|
// Update package.json to include server export
|
|
79
79
|
const packageJsonPath = (0, devkit_1.joinPathFragments)(options.projectRoot, 'package.json');
|