Comparing version 16.3.0-beta.6 to 16.3.0-beta.7
@@ -23,2 +23,3 @@ export interface DefaultTasksRunnerOptions { | ||
clientVersion?: string; | ||
experimentalDisableCleanUpHashDetails?: boolean; | ||
} |
@@ -11,3 +11,4 @@ import { RunContext, Task, TaskResult } from '../../models/run-context.model'; | ||
private readonly tasks; | ||
constructor(runContext: RunContext, cacheDirectory: string | undefined, collectTerminalOutput: boolean, cacheableOperations: string[], outputObfuscator: OutputObfuscator, tasks: TaskExecution[]); | ||
private readonly disableCleanUpHashDetails; | ||
constructor(runContext: RunContext, cacheDirectory: string | undefined, collectTerminalOutput: boolean, cacheableOperations: string[], outputObfuscator: OutputObfuscator, tasks: TaskExecution[], disableCleanUpHashDetails?: boolean); | ||
scheduleTask(task: Task): void; | ||
@@ -14,0 +15,0 @@ startTask(task: Task): void; |
@@ -7,3 +7,3 @@ "use strict"; | ||
class CloudEnabledLifeCycle { | ||
constructor(runContext, cacheDirectory, collectTerminalOutput, cacheableOperations, outputObfuscator, tasks) { | ||
constructor(runContext, cacheDirectory, collectTerminalOutput, cacheableOperations, outputObfuscator, tasks, disableCleanUpHashDetails = false) { | ||
this.runContext = runContext; | ||
@@ -15,2 +15,3 @@ this.cacheDirectory = cacheDirectory; | ||
this.tasks = tasks; | ||
this.disableCleanUpHashDetails = disableCleanUpHashDetails; | ||
} | ||
@@ -28,3 +29,5 @@ scheduleTask(task) { | ||
hash: task.hash, | ||
hashDetails: this.cleanUpHashDetails(task.hashDetails), | ||
hashDetails: this.disableCleanUpHashDetails | ||
? task.hashDetails | ||
: this.cleanUpHashDetails(task.hashDetails), | ||
params: (0, serializer_overrides_1.serializeOverrides)(task), | ||
@@ -31,0 +34,0 @@ uploadedToStorage: false, |
@@ -166,3 +166,3 @@ "use strict"; | ||
function createLifeCycle(runContext, options, outputObfuscator, tasks) { | ||
const cloudEnabledLifeCycle = new cloud_enabled_life_cycle_1.CloudEnabledLifeCycle(runContext, cacheDirectory, true, options.cacheableOperations || [], outputObfuscator, tasks); | ||
const cloudEnabledLifeCycle = new cloud_enabled_life_cycle_1.CloudEnabledLifeCycle(runContext, cacheDirectory, true, options.cacheableOperations || [], outputObfuscator, tasks, options.experimentalDisableCleanUpHashDetails); | ||
try { | ||
@@ -169,0 +169,0 @@ const { CompositeLifeCycle } = require('../../../utilities/nx-imports'); |
{ | ||
"name": "nx-cloud", | ||
"version": "16.3.0-beta.6", | ||
"version": "16.3.0-beta.7", | ||
"description": "Distributed caching and task execution for Lerna and Nx", | ||
@@ -32,4 +32,4 @@ "keywords": [ | ||
"open": "~8.4.0", | ||
"@nrwl/nx-cloud": "16.3.0-beta.6" | ||
"@nrwl/nx-cloud": "16.3.0-beta.7" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
389125
5179
+ Added@nrwl/nx-cloud@16.3.0-beta.7(transitive)
- Removed@nrwl/nx-cloud@16.3.0-beta.6(transitive)
Updated@nrwl/nx-cloud@16.3.0-beta.7