Comparing version 20.5.0-canary.20250130-10c14b6 to 20.5.0-canary.20250201-05e0679
{ | ||
"name": "nx", | ||
"version": "20.5.0-canary.20250130-10c14b6", | ||
"version": "20.5.0-canary.20250201-05e0679", | ||
"private": false, | ||
@@ -85,12 +85,12 @@ "description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.", | ||
"optionalDependencies": { | ||
"@nx/nx-darwin-arm64": "20.5.0-canary.20250130-10c14b6", | ||
"@nx/nx-darwin-x64": "20.5.0-canary.20250130-10c14b6", | ||
"@nx/nx-freebsd-x64": "20.5.0-canary.20250130-10c14b6", | ||
"@nx/nx-linux-arm-gnueabihf": "20.5.0-canary.20250130-10c14b6", | ||
"@nx/nx-linux-arm64-gnu": "20.5.0-canary.20250130-10c14b6", | ||
"@nx/nx-linux-arm64-musl": "20.5.0-canary.20250130-10c14b6", | ||
"@nx/nx-linux-x64-gnu": "20.5.0-canary.20250130-10c14b6", | ||
"@nx/nx-linux-x64-musl": "20.5.0-canary.20250130-10c14b6", | ||
"@nx/nx-win32-arm64-msvc": "20.5.0-canary.20250130-10c14b6", | ||
"@nx/nx-win32-x64-msvc": "20.5.0-canary.20250130-10c14b6" | ||
"@nx/nx-darwin-arm64": "20.5.0-canary.20250201-05e0679", | ||
"@nx/nx-darwin-x64": "20.5.0-canary.20250201-05e0679", | ||
"@nx/nx-freebsd-x64": "20.5.0-canary.20250201-05e0679", | ||
"@nx/nx-linux-arm-gnueabihf": "20.5.0-canary.20250201-05e0679", | ||
"@nx/nx-linux-arm64-gnu": "20.5.0-canary.20250201-05e0679", | ||
"@nx/nx-linux-arm64-musl": "20.5.0-canary.20250201-05e0679", | ||
"@nx/nx-linux-x64-gnu": "20.5.0-canary.20250201-05e0679", | ||
"@nx/nx-linux-x64-musl": "20.5.0-canary.20250201-05e0679", | ||
"@nx/nx-win32-arm64-msvc": "20.5.0-canary.20250201-05e0679", | ||
"@nx/nx-win32-x64-msvc": "20.5.0-canary.20250201-05e0679" | ||
}, | ||
@@ -97,0 +97,0 @@ "nx-migrations": { |
@@ -78,8 +78,8 @@ "use strict"; | ||
}; | ||
if (plugin.postTasksExecution) { | ||
this.postTasksExecution = async (context) => plugin.postTasksExecution(this.options, context); | ||
} | ||
} | ||
if (plugin.postTasksExecution) { | ||
this.postTasksExecution = async (context) => plugin.postTasksExecution(this.options, context); | ||
} | ||
} | ||
} | ||
exports.LoadedNxPlugin = LoadedNxPlugin; |
@@ -440,2 +440,3 @@ "use strict"; | ||
const baseExponent = Math.random() * 2 + 2; | ||
const baseTimeout = 15; | ||
const _try = async () => { | ||
@@ -447,3 +448,3 @@ try { | ||
catch (e) { | ||
// Max time is 5 * 4^3 = 20480ms | ||
// Max time is 15 * (4 + 4² + 4³ + 4⁴ + 4⁵) = 20460ms | ||
if (attempts === 6) { | ||
@@ -453,3 +454,3 @@ // After enough attempts, throw the error | ||
} | ||
await new Promise((res) => setTimeout(res, baseExponent ** attempts)); | ||
await new Promise((res) => setTimeout(res, baseTimeout * baseExponent ** attempts)); | ||
return await _try(); | ||
@@ -456,0 +457,0 @@ } |
Sorry, the diff of this file is not supported yet
8322326
54806