nx 19.5.8 → 19.5.9

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "19.5.8",
3
+ "version": "19.5.9",
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": {
@@ -71,7 +71,7 @@
71
71
  "yargs-parser": "21.1.1",
72
72
  "node-machine-id": "1.1.12",
73
73
  "ora": "5.3.0",
74
- "@nrwl/tao": "19.5.8"
74
+ "@nrwl/tao": "19.5.9"
75
75
  },
76
76
  "peerDependencies": {
77
77
  "@swc-node/register": "^1.8.0",
@@ -86,16 +86,16 @@
86
86
  }
87
87
  },
88
88
  "optionalDependencies": {
89
- "@nx/nx-darwin-x64": "19.5.8",
90
- "@nx/nx-darwin-arm64": "19.5.8",
91
- "@nx/nx-linux-x64-gnu": "19.5.8",
92
- "@nx/nx-linux-x64-musl": "19.5.8",
93
- "@nx/nx-win32-x64-msvc": "19.5.8",
94
- "@nx/nx-linux-arm64-gnu": "19.5.8",
95
- "@nx/nx-linux-arm64-musl": "19.5.8",
96
- "@nx/nx-linux-arm-gnueabihf": "19.5.8",
97
- "@nx/nx-win32-arm64-msvc": "19.5.8",
98
- "@nx/nx-freebsd-x64": "19.5.8"
89
+ "@nx/nx-darwin-x64": "19.5.9",
90
+ "@nx/nx-darwin-arm64": "19.5.9",
91
+ "@nx/nx-linux-x64-gnu": "19.5.9",
92
+ "@nx/nx-linux-x64-musl": "19.5.9",
93
+ "@nx/nx-win32-x64-msvc": "19.5.9",
94
+ "@nx/nx-linux-arm64-gnu": "19.5.9",
95
+ "@nx/nx-linux-arm64-musl": "19.5.9",
96
+ "@nx/nx-linux-arm-gnueabihf": "19.5.9",
97
+ "@nx/nx-win32-arm64-msvc": "19.5.9",
98
+ "@nx/nx-freebsd-x64": "19.5.9"
99
99
  },
100
100
  "nx-migrations": {
101
101
  "migrations": "./migrations.json",
Binary file
@@ -54,10 +54,10 @@ class ProcessTasks {
54
54
  }
55
55
  }
56
56
  this.filterDummyTasks();
57
- for (const projectName of Object.keys(this.dependencies)) {
58
- if (this.dependencies[projectName].length > 1) {
59
- this.dependencies[projectName] = [
60
- ...new Set(this.dependencies[projectName]).values(),
57
+ for (const taskId of Object.keys(this.dependencies)) {
58
+ if (this.dependencies[taskId].length > 0) {
59
+ this.dependencies[taskId] = [
60
+ ...new Set(this.dependencies[taskId].filter((d) => d !== taskId)).values(),
61
61
  ];
62
62
  }
63
63
  }