nx 20.4.0-canary.20250123-7524356 → 20.4.0-canary.20250125-15fc599
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",
|
3
|
-
"version": "20.4.0-canary.
|
3
|
+
"version": "20.4.0-canary.20250125-15fc599",
|
4
4
|
"private": false,
|
5
5
|
"description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
|
6
6
|
"repository": {
|
@@ -82,16 +82,16 @@
|
|
82
82
|
}
|
83
83
|
},
|
84
84
|
"optionalDependencies": {
|
85
|
-
"@nx/nx-darwin-arm64": "20.4.0-canary.
|
86
|
-
"@nx/nx-darwin-x64": "20.4.0-canary.
|
87
|
-
"@nx/nx-freebsd-x64": "20.4.0-canary.
|
88
|
-
"@nx/nx-linux-arm-gnueabihf": "20.4.0-canary.
|
89
|
-
"@nx/nx-linux-arm64-gnu": "20.4.0-canary.
|
90
|
-
"@nx/nx-linux-arm64-musl": "20.4.0-canary.
|
91
|
-
"@nx/nx-linux-x64-gnu": "20.4.0-canary.
|
92
|
-
"@nx/nx-linux-x64-musl": "20.4.0-canary.
|
93
|
-
"@nx/nx-win32-arm64-msvc": "20.4.0-canary.
|
94
|
-
"@nx/nx-win32-x64-msvc": "20.4.0-canary.
|
85
|
+
"@nx/nx-darwin-arm64": "20.4.0-canary.20250125-15fc599",
|
86
|
+
"@nx/nx-darwin-x64": "20.4.0-canary.20250125-15fc599",
|
87
|
+
"@nx/nx-freebsd-x64": "20.4.0-canary.20250125-15fc599",
|
88
|
+
"@nx/nx-linux-arm-gnueabihf": "20.4.0-canary.20250125-15fc599",
|
89
|
+
"@nx/nx-linux-arm64-gnu": "20.4.0-canary.20250125-15fc599",
|
90
|
+
"@nx/nx-linux-arm64-musl": "20.4.0-canary.20250125-15fc599",
|
91
|
+
"@nx/nx-linux-x64-gnu": "20.4.0-canary.20250125-15fc599",
|
92
|
+
"@nx/nx-linux-x64-musl": "20.4.0-canary.20250125-15fc599",
|
93
|
+
"@nx/nx-win32-arm64-msvc": "20.4.0-canary.20250125-15fc599",
|
94
|
+
"@nx/nx-win32-x64-msvc": "20.4.0-canary.20250125-15fc599"
|
95
95
|
},
|
96
96
|
"nx-migrations": {
|
97
97
|
"migrations": "./migrations.json",
|
@@ -292,7 +292,12 @@ function parseCommits(commits) {
|
|
292
292
|
function parseConventionalCommitsMessage(message) {
|
293
293
|
const match = message.match(ConventionalCommitRegex);
|
294
294
|
if (!match) {
|
295
|
-
return
|
295
|
+
return {
|
296
|
+
type: '__INVALID__',
|
297
|
+
scope: '',
|
298
|
+
description: message,
|
299
|
+
breaking: false,
|
300
|
+
};
|
296
301
|
}
|
297
302
|
return {
|
298
303
|
type: match.groups.type || '',
|
Binary file
|
@@ -220,46 +220,24 @@ class ForkedProcessTaskRunner {
|
|
220
220
|
}
|
221
221
|
}
|
222
222
|
let outWithErr = [];
|
223
|
-
let exitCode;
|
224
|
-
let stdoutHasEnded = false;
|
225
|
-
let stderrHasEnded = false;
|
226
|
-
let processHasExited = false;
|
227
|
-
const handleProcessEnd = () => {
|
228
|
-
// ensure process has exited and both stdout and stderr have ended before we pass along the logs
|
229
|
-
// if we only wait for the process to exit, we might miss some logs as stdout and stderr might still be streaming
|
230
|
-
if (stdoutHasEnded && stderrHasEnded && processHasExited) {
|
231
|
-
// we didn't print any output as we were running the command
|
232
|
-
// print all the collected output|
|
233
|
-
const terminalOutput = outWithErr.join('');
|
234
|
-
const code = exitCode;
|
235
|
-
if (!streamOutput) {
|
236
|
-
this.options.lifeCycle.printTaskTerminalOutput(task, code === 0 ? 'success' : 'failure', terminalOutput);
|
237
|
-
}
|
238
|
-
this.writeTerminalOutput(temporaryOutputPath, terminalOutput);
|
239
|
-
res({ code, terminalOutput });
|
240
|
-
}
|
241
|
-
};
|
242
223
|
p.stdout.on('data', (chunk) => {
|
243
224
|
outWithErr.push(chunk.toString());
|
244
225
|
});
|
245
|
-
p.stdout.on('end', () => {
|
246
|
-
stdoutHasEnded = true;
|
247
|
-
handleProcessEnd();
|
248
|
-
});
|
249
226
|
p.stderr.on('data', (chunk) => {
|
250
227
|
outWithErr.push(chunk.toString());
|
251
228
|
});
|
252
|
-
p.stderr.on('end', () => {
|
253
|
-
stderrHasEnded = true;
|
254
|
-
handleProcessEnd();
|
255
|
-
});
|
256
229
|
p.on('exit', (code, signal) => {
|
257
230
|
this.processes.delete(p);
|
258
231
|
if (code === null)
|
259
232
|
code = (0, exit_codes_1.signalToCode)(signal);
|
260
|
-
|
261
|
-
|
262
|
-
|
233
|
+
// we didn't print any output as we were running the command
|
234
|
+
// print all the collected output|
|
235
|
+
const terminalOutput = outWithErr.join('');
|
236
|
+
if (!streamOutput) {
|
237
|
+
this.options.lifeCycle.printTaskTerminalOutput(task, code === 0 ? 'success' : 'failure', terminalOutput);
|
238
|
+
}
|
239
|
+
this.writeTerminalOutput(temporaryOutputPath, terminalOutput);
|
240
|
+
res({ code, terminalOutput });
|
263
241
|
});
|
264
242
|
}
|
265
243
|
catch (e) {
|