nx 21.0.0-rc.4 → 21.0.1
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 +11 -11
- package/src/command-line/release/release.js +6 -1
- package/src/core/graph/main.js +1 -1
- package/src/core/graph/styles.js +1 -1
- package/src/executors/run-commands/running-tasks.js +1 -1
- package/src/native/nx.wasm32-wasi.wasm +0 -0
- package/src/tasks-runner/forked-process-task-runner.d.ts +1 -0
- package/src/tasks-runner/forked-process-task-runner.js +14 -11
- package/src/tasks-runner/task-orchestrator.js +1 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "nx",
|
3
|
-
"version": "21.0.
|
3
|
+
"version": "21.0.1",
|
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": {
|
@@ -83,16 +83,16 @@
|
|
83
83
|
}
|
84
84
|
},
|
85
85
|
"optionalDependencies": {
|
86
|
-
"@nx/nx-darwin-arm64": "21.0.
|
87
|
-
"@nx/nx-darwin-x64": "21.0.
|
88
|
-
"@nx/nx-freebsd-x64": "21.0.
|
89
|
-
"@nx/nx-linux-arm-gnueabihf": "21.0.
|
90
|
-
"@nx/nx-linux-arm64-gnu": "21.0.
|
91
|
-
"@nx/nx-linux-arm64-musl": "21.0.
|
92
|
-
"@nx/nx-linux-x64-gnu": "21.0.
|
93
|
-
"@nx/nx-linux-x64-musl": "21.0.
|
94
|
-
"@nx/nx-win32-arm64-msvc": "21.0.
|
95
|
-
"@nx/nx-win32-x64-msvc": "21.0.
|
86
|
+
"@nx/nx-darwin-arm64": "21.0.1",
|
87
|
+
"@nx/nx-darwin-x64": "21.0.1",
|
88
|
+
"@nx/nx-freebsd-x64": "21.0.1",
|
89
|
+
"@nx/nx-linux-arm-gnueabihf": "21.0.1",
|
90
|
+
"@nx/nx-linux-arm64-gnu": "21.0.1",
|
91
|
+
"@nx/nx-linux-arm64-musl": "21.0.1",
|
92
|
+
"@nx/nx-linux-x64-gnu": "21.0.1",
|
93
|
+
"@nx/nx-linux-x64-musl": "21.0.1",
|
94
|
+
"@nx/nx-win32-arm64-msvc": "21.0.1",
|
95
|
+
"@nx/nx-win32-x64-msvc": "21.0.1"
|
96
96
|
},
|
97
97
|
"nx-migrations": {
|
98
98
|
"migrations": "./migrations.json",
|
@@ -233,7 +233,12 @@ function createAPI(overrideReleaseConfig) {
|
|
233
233
|
shouldPublish = await promptForPublish();
|
234
234
|
}
|
235
235
|
if (shouldPublish) {
|
236
|
-
await releasePublish(args);
|
236
|
+
const publishResults = await releasePublish(args);
|
237
|
+
const allExitOk = Object.values(publishResults).every((result) => result.code === 0);
|
238
|
+
if (!allExitOk) {
|
239
|
+
// When a publish target fails, we want to fail the nx release CLI
|
240
|
+
process.exit(1);
|
241
|
+
}
|
237
242
|
}
|
238
243
|
else {
|
239
244
|
output_1.output.logSingleLine('Skipped publishing packages.');
|