@nx/next 22.6.0-rc.1 → 22.6.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/package.json +10 -10
- package/src/plugins/plugin.js +2 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/next",
|
|
3
|
-
"version": "22.6.0
|
|
3
|
+
"version": "22.6.0",
|
|
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.6.0
|
|
38
|
+
"@nx/devkit": "22.6.0",
|
|
39
39
|
"@babel/plugin-proposal-decorators": "^7.22.7",
|
|
40
40
|
"@svgr/webpack": "^8.1.0",
|
|
41
41
|
"copy-webpack-plugin": "^14.0.0",
|
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
"semver": "^7.6.3",
|
|
44
44
|
"tslib": "^2.3.0",
|
|
45
45
|
"webpack-merge": "^5.8.0",
|
|
46
|
-
"@nx/js": "22.6.0
|
|
47
|
-
"@nx/eslint": "22.6.0
|
|
48
|
-
"@nx/react": "22.6.0
|
|
49
|
-
"@nx/web": "22.6.0
|
|
50
|
-
"@nx/webpack": "22.6.0
|
|
46
|
+
"@nx/js": "22.6.0",
|
|
47
|
+
"@nx/eslint": "22.6.0",
|
|
48
|
+
"@nx/react": "22.6.0",
|
|
49
|
+
"@nx/web": "22.6.0",
|
|
50
|
+
"@nx/webpack": "22.6.0",
|
|
51
51
|
"@phenomnomnominal/tsquery": "~6.1.4"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@nx/cypress": "22.6.0
|
|
55
|
-
"@nx/playwright": "22.6.0
|
|
56
|
-
"nx": "22.6.0
|
|
54
|
+
"@nx/cypress": "22.6.0",
|
|
55
|
+
"@nx/playwright": "22.6.0",
|
|
56
|
+
"nx": "22.6.0"
|
|
57
57
|
},
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
package/src/plugins/plugin.js
CHANGED
|
@@ -96,10 +96,7 @@ async function getBuildTargetConfig(namedInputs, projectRoot, nextConfig, isTsSo
|
|
|
96
96
|
// This doesn't actually need to be tty, but next.js has a bug, https://github.com/vercel/next.js/issues/62906, where it exits 0 when SIGINT is sent.
|
|
97
97
|
targetConfig.options.tty = false;
|
|
98
98
|
if (isTsSolutionSetup) {
|
|
99
|
-
targetConfig.syncGenerators = [
|
|
100
|
-
'@nx/js:typescript-sync',
|
|
101
|
-
'@nx/js:deps-sync',
|
|
102
|
-
];
|
|
99
|
+
targetConfig.syncGenerators = ['@nx/js:typescript-sync'];
|
|
103
100
|
}
|
|
104
101
|
return targetConfig;
|
|
105
102
|
}
|
|
@@ -112,10 +109,7 @@ function getDevTargetConfig(projectRoot, isTsSolutionSetup) {
|
|
|
112
109
|
},
|
|
113
110
|
};
|
|
114
111
|
if (isTsSolutionSetup) {
|
|
115
|
-
targetConfig.syncGenerators = [
|
|
116
|
-
'@nx/js:typescript-sync',
|
|
117
|
-
'@nx/js:deps-sync',
|
|
118
|
-
];
|
|
112
|
+
targetConfig.syncGenerators = ['@nx/js:typescript-sync'];
|
|
119
113
|
}
|
|
120
114
|
return targetConfig;
|
|
121
115
|
}
|