nx 21.0.0 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "21.0.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.0",
87
- "@nx/nx-darwin-x64": "21.0.0",
88
- "@nx/nx-freebsd-x64": "21.0.0",
89
- "@nx/nx-linux-arm-gnueabihf": "21.0.0",
90
- "@nx/nx-linux-arm64-gnu": "21.0.0",
91
- "@nx/nx-linux-arm64-musl": "21.0.0",
92
- "@nx/nx-linux-x64-gnu": "21.0.0",
93
- "@nx/nx-linux-x64-musl": "21.0.0",
94
- "@nx/nx-win32-arm64-msvc": "21.0.0",
95
- "@nx/nx-win32-x64-msvc": "21.0.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.');