nx 19.8.6 → 19.8.7
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": "19.8.
|
3
|
+
"version": "19.8.7",
|
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": {
|
@@ -67,7 +67,7 @@
|
|
67
67
|
"yargs-parser": "21.1.1",
|
68
68
|
"node-machine-id": "1.1.12",
|
69
69
|
"ora": "5.3.0",
|
70
|
-
"@nrwl/tao": "19.8.
|
70
|
+
"@nrwl/tao": "19.8.7"
|
71
71
|
},
|
72
72
|
"peerDependencies": {
|
73
73
|
"@swc-node/register": "^1.8.0",
|
@@ -82,16 +82,16 @@
|
|
82
82
|
}
|
83
83
|
},
|
84
84
|
"optionalDependencies": {
|
85
|
-
"@nx/nx-darwin-x64": "19.8.
|
86
|
-
"@nx/nx-darwin-arm64": "19.8.
|
87
|
-
"@nx/nx-linux-x64-gnu": "19.8.
|
88
|
-
"@nx/nx-linux-x64-musl": "19.8.
|
89
|
-
"@nx/nx-win32-x64-msvc": "19.8.
|
90
|
-
"@nx/nx-linux-arm64-gnu": "19.8.
|
91
|
-
"@nx/nx-linux-arm64-musl": "19.8.
|
92
|
-
"@nx/nx-linux-arm-gnueabihf": "19.8.
|
93
|
-
"@nx/nx-win32-arm64-msvc": "19.8.
|
94
|
-
"@nx/nx-freebsd-x64": "19.8.
|
85
|
+
"@nx/nx-darwin-x64": "19.8.7",
|
86
|
+
"@nx/nx-darwin-arm64": "19.8.7",
|
87
|
+
"@nx/nx-linux-x64-gnu": "19.8.7",
|
88
|
+
"@nx/nx-linux-x64-musl": "19.8.7",
|
89
|
+
"@nx/nx-win32-x64-msvc": "19.8.7",
|
90
|
+
"@nx/nx-linux-arm64-gnu": "19.8.7",
|
91
|
+
"@nx/nx-linux-arm64-musl": "19.8.7",
|
92
|
+
"@nx/nx-linux-arm-gnueabihf": "19.8.7",
|
93
|
+
"@nx/nx-win32-arm64-msvc": "19.8.7",
|
94
|
+
"@nx/nx-freebsd-x64": "19.8.7"
|
95
95
|
},
|
96
96
|
"nx-migrations": {
|
97
97
|
"migrations": "./migrations.json",
|
package/src/hasher/hash-task.js
CHANGED
@@ -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 &&
|
package/src/native/index.d.ts
CHANGED
@@ -28,7 +28,7 @@ export declare class ImportResult {
|
|
28
28
|
|
29
29
|
export declare class NxCache {
|
30
30
|
cacheDirectory: string
|
31
|
-
constructor(workspaceRoot: string, cachePath: string, dbConnection: ExternalObject<
|
31
|
+
constructor(workspaceRoot: string, cachePath: string, dbConnection: ExternalObject<NxDbConnection>, linkTaskDetails?: boolean | undefined | null)
|
32
32
|
get(hash: string): CachedResult | null
|
33
33
|
put(hash: string, terminalOutput: string, outputs: Array<string>, code: number): void
|
34
34
|
applyRemoteCacheResults(hash: string, result: CachedResult): void
|
@@ -39,7 +39,7 @@ export declare class NxCache {
|
|
39
39
|
}
|
40
40
|
|
41
41
|
export declare class NxTaskHistory {
|
42
|
-
constructor(db: ExternalObject<
|
42
|
+
constructor(db: ExternalObject<NxDbConnection>)
|
43
43
|
recordTaskRuns(taskRuns: Array<TaskRun>): void
|
44
44
|
getFlakyTasks(hashes: Array<string>): Array<string>
|
45
45
|
getEstimatedTaskTimings(targets: Array<TaskTarget>): Record<string, number>
|
@@ -56,7 +56,7 @@ export declare class RustPseudoTerminal {
|
|
56
56
|
}
|
57
57
|
|
58
58
|
export declare class TaskDetails {
|
59
|
-
constructor(db: ExternalObject<
|
59
|
+
constructor(db: ExternalObject<NxDbConnection>)
|
60
60
|
recordTaskDetails(tasks: Array<HashedTask>): void
|
61
61
|
}
|
62
62
|
|
@@ -97,7 +97,7 @@ export interface CachedResult {
|
|
97
97
|
outputsPath: string
|
98
98
|
}
|
99
99
|
|
100
|
-
export declare export function connectToNxDb(cacheDir: string, nxVersion: string, dbName?: string | undefined | null): ExternalObject<
|
100
|
+
export declare export function connectToNxDb(cacheDir: string, nxVersion: string, dbName?: string | undefined | null): ExternalObject<NxDbConnection>
|
101
101
|
|
102
102
|
export declare export function copy(src: string, dest: string): void
|
103
103
|
|
Binary file
|
@@ -38,6 +38,7 @@ class DbCache {
|
|
38
38
|
constructor(options) {
|
39
39
|
this.options = options;
|
40
40
|
this.cache = new native_1.NxCache(workspace_root_1.workspaceRoot, cache_directory_1.cacheDir, (0, db_connection_1.getDbConnection)());
|
41
|
+
this.isVerbose = process.env.NX_VERBOSE_LOGGING === 'true';
|
41
42
|
}
|
42
43
|
async init() {
|
43
44
|
// This should be cheap because we've already loaded
|