nx 20.1.0-canary.20241024-0bea5b2 → 20.1.0-canary.20241026-f84b6e5

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": "20.1.0-canary.20241024-0bea5b2",
3
+ "version": "20.1.0-canary.20241026-f84b6e5",
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": {
@@ -80,16 +80,16 @@
80
80
  }
81
81
  },
82
82
  "optionalDependencies": {
83
- "@nx/nx-darwin-x64": "20.1.0-canary.20241024-0bea5b2",
84
- "@nx/nx-darwin-arm64": "20.1.0-canary.20241024-0bea5b2",
85
- "@nx/nx-linux-x64-gnu": "20.1.0-canary.20241024-0bea5b2",
86
- "@nx/nx-linux-x64-musl": "20.1.0-canary.20241024-0bea5b2",
87
- "@nx/nx-win32-x64-msvc": "20.1.0-canary.20241024-0bea5b2",
88
- "@nx/nx-linux-arm64-gnu": "20.1.0-canary.20241024-0bea5b2",
89
- "@nx/nx-linux-arm64-musl": "20.1.0-canary.20241024-0bea5b2",
90
- "@nx/nx-linux-arm-gnueabihf": "20.1.0-canary.20241024-0bea5b2",
91
- "@nx/nx-win32-arm64-msvc": "20.1.0-canary.20241024-0bea5b2",
92
- "@nx/nx-freebsd-x64": "20.1.0-canary.20241024-0bea5b2"
83
+ "@nx/nx-darwin-x64": "20.1.0-canary.20241026-f84b6e5",
84
+ "@nx/nx-darwin-arm64": "20.1.0-canary.20241026-f84b6e5",
85
+ "@nx/nx-linux-x64-gnu": "20.1.0-canary.20241026-f84b6e5",
86
+ "@nx/nx-linux-x64-musl": "20.1.0-canary.20241026-f84b6e5",
87
+ "@nx/nx-win32-x64-msvc": "20.1.0-canary.20241026-f84b6e5",
88
+ "@nx/nx-linux-arm64-gnu": "20.1.0-canary.20241026-f84b6e5",
89
+ "@nx/nx-linux-arm64-musl": "20.1.0-canary.20241026-f84b6e5",
90
+ "@nx/nx-linux-arm-gnueabihf": "20.1.0-canary.20241026-f84b6e5",
91
+ "@nx/nx-win32-arm64-msvc": "20.1.0-canary.20241026-f84b6e5",
92
+ "@nx/nx-freebsd-x64": "20.1.0-canary.20241026-f84b6e5"
93
93
  },
94
94
  "nx-migrations": {
95
95
  "migrations": "./migrations.json",
@@ -30,7 +30,7 @@ async function hashTasksThatDoNotDependOnOutputsOfOtherTasks(hasher, projectGrap
30
30
  const tasksToHash = tasksWithHashers
31
31
  .filter(({ task, customHasher }) => {
32
32
  // If a task has a custom hasher, it might depend on the outputs of other tasks
33
- if (customHasher) {
33
+ if (customHasher && customHasher.name !== 'eslint-hasher') {
34
34
  return false;
35
35
  }
36
36
  return !(taskGraph.dependencies[task.id].length > 0 &&
Binary file
@@ -33,6 +33,8 @@ export declare class DbCache {
33
33
  private _getRemoteCache;
34
34
  private getPowerpackS3Cache;
35
35
  private getPowerpackSharedCache;
36
+ private getPowerpackGcsCache;
37
+ private getPowerpackAzureCache;
36
38
  private getPowerpackCache;
37
39
  private resolvePackage;
38
40
  private assertCacheIsValid;
@@ -118,6 +118,8 @@ class DbCache {
118
118
  else {
119
119
  return ((await this.getPowerpackS3Cache()) ??
120
120
  (await this.getPowerpackSharedCache()) ??
121
+ (await this.getPowerpackGcsCache()) ??
122
+ (await this.getPowerpackAzureCache()) ??
121
123
  null);
122
124
  }
123
125
  }
@@ -127,6 +129,12 @@ class DbCache {
127
129
  getPowerpackSharedCache() {
128
130
  return this.getPowerpackCache('@nx/powerpack-shared-fs-cache');
129
131
  }
132
+ getPowerpackGcsCache() {
133
+ return this.getPowerpackCache('@nx/powerpack-gcs-cache');
134
+ }
135
+ getPowerpackAzureCache() {
136
+ return this.getPowerpackCache('@nx/powerpack-azure-cache');
137
+ }
130
138
  async getPowerpackCache(pkg) {
131
139
  let getRemoteCache = null;
132
140
  try {