nx 20.1.0-canary.20241025-1218502 → 20.1.0-canary.20241029-4b70d1b
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.
|
3
|
+
"version": "20.1.0-canary.20241029-4b70d1b",
|
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.
|
84
|
-
"@nx/nx-darwin-arm64": "20.1.0-canary.
|
85
|
-
"@nx/nx-linux-x64-gnu": "20.1.0-canary.
|
86
|
-
"@nx/nx-linux-x64-musl": "20.1.0-canary.
|
87
|
-
"@nx/nx-win32-x64-msvc": "20.1.0-canary.
|
88
|
-
"@nx/nx-linux-arm64-gnu": "20.1.0-canary.
|
89
|
-
"@nx/nx-linux-arm64-musl": "20.1.0-canary.
|
90
|
-
"@nx/nx-linux-arm-gnueabihf": "20.1.0-canary.
|
91
|
-
"@nx/nx-win32-arm64-msvc": "20.1.0-canary.
|
92
|
-
"@nx/nx-freebsd-x64": "20.1.0-canary.
|
83
|
+
"@nx/nx-darwin-x64": "20.1.0-canary.20241029-4b70d1b",
|
84
|
+
"@nx/nx-darwin-arm64": "20.1.0-canary.20241029-4b70d1b",
|
85
|
+
"@nx/nx-linux-x64-gnu": "20.1.0-canary.20241029-4b70d1b",
|
86
|
+
"@nx/nx-linux-x64-musl": "20.1.0-canary.20241029-4b70d1b",
|
87
|
+
"@nx/nx-win32-x64-msvc": "20.1.0-canary.20241029-4b70d1b",
|
88
|
+
"@nx/nx-linux-arm64-gnu": "20.1.0-canary.20241029-4b70d1b",
|
89
|
+
"@nx/nx-linux-arm64-musl": "20.1.0-canary.20241029-4b70d1b",
|
90
|
+
"@nx/nx-linux-arm-gnueabihf": "20.1.0-canary.20241029-4b70d1b",
|
91
|
+
"@nx/nx-win32-arm64-msvc": "20.1.0-canary.20241029-4b70d1b",
|
92
|
+
"@nx/nx-freebsd-x64": "20.1.0-canary.20241029-4b70d1b"
|
93
93
|
},
|
94
94
|
"nx-migrations": {
|
95
95
|
"migrations": "./migrations.json",
|
@@ -24,3 +24,4 @@ export { LoadedNxPlugin } from './project-graph/plugins/internal-api';
|
|
24
24
|
export * from './project-graph/error-types';
|
25
25
|
export { registerTsProject } from './plugins/js/utils/register';
|
26
26
|
export { interpolate } from './tasks-runner/utils';
|
27
|
+
export { isCI } from './utils/is-ci';
|
package/src/devkit-internals.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.interpolate = exports.registerTsProject = exports.LoadedNxPlugin = exports.retrieveProjectConfigurations = exports.findProjectForPath = exports.createProjectRootMappingsFromProjectConfigurations = exports.hashWithWorkspaceContext = exports.hashObject = exports.splitByColons = exports.readModulePackageJson = exports.stripIndent = exports.sortObjectByKeys = exports.combineOptionsForExecutor = exports.splitTarget = exports.findMatchingConfigFiles = exports.readProjectConfigurationsFromRootMap = exports.mergeTargetConfigurations = exports.retrieveProjectConfigurationsWithAngularProjects = exports.calculateDefaultProjectName = exports.readNxJsonFromDisk = exports.getExecutorInformation = exports.createTempNpmDirectory = void 0;
|
3
|
+
exports.isCI = exports.interpolate = exports.registerTsProject = exports.LoadedNxPlugin = exports.retrieveProjectConfigurations = exports.findProjectForPath = exports.createProjectRootMappingsFromProjectConfigurations = exports.hashWithWorkspaceContext = exports.hashObject = exports.splitByColons = exports.readModulePackageJson = exports.stripIndent = exports.sortObjectByKeys = exports.combineOptionsForExecutor = exports.splitTarget = exports.findMatchingConfigFiles = exports.readProjectConfigurationsFromRootMap = exports.mergeTargetConfigurations = exports.retrieveProjectConfigurationsWithAngularProjects = exports.calculateDefaultProjectName = exports.readNxJsonFromDisk = exports.getExecutorInformation = exports.createTempNpmDirectory = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
/**
|
6
6
|
* Note to developers: STOP! These exports are available via requireNx in @nx/devkit.
|
@@ -50,3 +50,5 @@ var register_1 = require("./plugins/js/utils/register");
|
|
50
50
|
Object.defineProperty(exports, "registerTsProject", { enumerable: true, get: function () { return register_1.registerTsProject; } });
|
51
51
|
var utils_1 = require("./tasks-runner/utils");
|
52
52
|
Object.defineProperty(exports, "interpolate", { enumerable: true, get: function () { return utils_1.interpolate; } });
|
53
|
+
var is_ci_1 = require("./utils/is-ci");
|
54
|
+
Object.defineProperty(exports, "isCI", { enumerable: true, get: function () { return is_ci_1.isCI; } });
|
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 &&
|
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 {
|