@nx/next 22.1.0-canary.20251023-59cf495 → 22.1.0-canary.20251027-29467da
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.0-canary.
|
|
3
|
+
"version": "22.1.0-canary.20251027-29467da",
|
|
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"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@nx/devkit": "22.1.0-canary.
|
|
38
|
+
"@nx/devkit": "22.1.0-canary.20251027-29467da",
|
|
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.5.3",
|
|
45
45
|
"tslib": "^2.3.0",
|
|
46
46
|
"webpack-merge": "^5.8.0",
|
|
47
|
-
"@nx/js": "22.1.0-canary.
|
|
48
|
-
"@nx/eslint": "22.1.0-canary.
|
|
49
|
-
"@nx/react": "22.1.0-canary.
|
|
50
|
-
"@nx/web": "22.1.0-canary.
|
|
51
|
-
"@nx/webpack": "22.1.0-canary.
|
|
47
|
+
"@nx/js": "22.1.0-canary.20251027-29467da",
|
|
48
|
+
"@nx/eslint": "22.1.0-canary.20251027-29467da",
|
|
49
|
+
"@nx/react": "22.1.0-canary.20251027-29467da",
|
|
50
|
+
"@nx/web": "22.1.0-canary.20251027-29467da",
|
|
51
|
+
"@nx/webpack": "22.1.0-canary.20251027-29467da",
|
|
52
52
|
"@phenomnomnominal/tsquery": "~5.0.1"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@nx/cypress": "22.1.0-canary.
|
|
56
|
-
"@nx/playwright": "22.1.0-canary.
|
|
57
|
-
"nx": "22.1.0-canary.
|
|
55
|
+
"@nx/cypress": "22.1.0-canary.20251027-29467da",
|
|
56
|
+
"@nx/playwright": "22.1.0-canary.20251027-29467da",
|
|
57
|
+
"nx": "22.1.0-canary.20251027-29467da"
|
|
58
58
|
},
|
|
59
59
|
"publishConfig": {
|
|
60
60
|
"access": "public"
|
|
@@ -13,7 +13,7 @@ const create_next_config_file_1 = require("./lib/create-next-config-file");
|
|
|
13
13
|
const check_project_1 = require("./lib/check-project");
|
|
14
14
|
const child_process_1 = require("child_process");
|
|
15
15
|
const create_cli_options_1 = require("../../utils/create-cli-options");
|
|
16
|
-
const
|
|
16
|
+
const internal_1 = require("@nx/devkit/internal");
|
|
17
17
|
let childProcess;
|
|
18
18
|
async function buildExecutor(options, context) {
|
|
19
19
|
// Cast to any to overwrite NODE_ENV
|
|
@@ -108,15 +108,17 @@ function runCliBuild(workspaceRoot, projectRoot, options) {
|
|
|
108
108
|
// Ensure the child process is killed when the parent exits
|
|
109
109
|
process.on('exit', () => childProcess.kill());
|
|
110
110
|
process.on('SIGTERM', (signal) => {
|
|
111
|
-
reject({ code: (0,
|
|
111
|
+
reject({ code: (0, internal_1.signalToCode)(signal), signal });
|
|
112
112
|
});
|
|
113
113
|
process.on('SIGINT', (signal) => {
|
|
114
|
-
reject({ code: (0,
|
|
114
|
+
reject({ code: (0, internal_1.signalToCode)(signal), signal });
|
|
115
115
|
});
|
|
116
116
|
childProcess.on('error', (err) => {
|
|
117
117
|
reject({ error: err });
|
|
118
118
|
});
|
|
119
119
|
childProcess.on('exit', (code, signal) => {
|
|
120
|
+
if (code === null)
|
|
121
|
+
code = (0, internal_1.signalToCode)(signal);
|
|
120
122
|
if (code === 0) {
|
|
121
123
|
resolve({ code, signal });
|
|
122
124
|
}
|