nx 20.1.0-canary.20241015-1badac8 → 20.1.0-canary.20241017-c902036
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/migrations.json +6 -0
- package/package.json +11 -11
- package/schemas/nx-schema.json +4 -0
- package/src/command-line/release/plan.js +1 -1
- package/src/config/nx-json.d.ts +1 -1
- package/src/core/graph/main.js +1 -1
- package/src/hasher/file-hasher.d.ts +1 -0
- package/src/hasher/file-hasher.js +5 -0
- package/src/migrations/update-20-0-1/use-legacy-cache.d.ts +2 -0
- package/src/migrations/update-20-0-1/use-legacy-cache.js +20 -0
- package/src/native/nx.wasm32-wasi.wasm +0 -0
- package/src/utils/nx-cloud-utils.js +6 -0
package/migrations.json
CHANGED
@@ -57,6 +57,12 @@
|
|
57
57
|
"version": "20.0.0-beta.7",
|
58
58
|
"description": "Migration for v20.0.0-beta.7",
|
59
59
|
"implementation": "./src/migrations/update-20-0-0/move-use-daemon-process"
|
60
|
+
},
|
61
|
+
"use-legacy-cache": {
|
62
|
+
"version": "20.0.1",
|
63
|
+
"description": "Set `useLegacyCache` to true for migrating workspaces",
|
64
|
+
"implementation": "./src/migrations/update-20-0-1/use-legacy-cache",
|
65
|
+
"x-repair-skip": true
|
60
66
|
}
|
61
67
|
}
|
62
68
|
}
|
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.20241017-c902036",
|
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.20241017-c902036",
|
84
|
+
"@nx/nx-darwin-arm64": "20.1.0-canary.20241017-c902036",
|
85
|
+
"@nx/nx-linux-x64-gnu": "20.1.0-canary.20241017-c902036",
|
86
|
+
"@nx/nx-linux-x64-musl": "20.1.0-canary.20241017-c902036",
|
87
|
+
"@nx/nx-win32-x64-msvc": "20.1.0-canary.20241017-c902036",
|
88
|
+
"@nx/nx-linux-arm64-gnu": "20.1.0-canary.20241017-c902036",
|
89
|
+
"@nx/nx-linux-arm64-musl": "20.1.0-canary.20241017-c902036",
|
90
|
+
"@nx/nx-linux-arm-gnueabihf": "20.1.0-canary.20241017-c902036",
|
91
|
+
"@nx/nx-win32-arm64-msvc": "20.1.0-canary.20241017-c902036",
|
92
|
+
"@nx/nx-freebsd-x64": "20.1.0-canary.20241017-c902036"
|
93
93
|
},
|
94
94
|
"nx-migrations": {
|
95
95
|
"migrations": "./migrations.json",
|
package/schemas/nx-schema.json
CHANGED
@@ -89,6 +89,10 @@
|
|
89
89
|
"type": "string",
|
90
90
|
"description": "Specifies the encryption key used to encrypt artifacts data before sending it to nx cloud."
|
91
91
|
},
|
92
|
+
"neverConnectToCloud": {
|
93
|
+
"type": "boolean",
|
94
|
+
"description": "Set this to true to disable all connections to Nx Cloud."
|
95
|
+
},
|
92
96
|
"parallel": {
|
93
97
|
"type": "number",
|
94
98
|
"description": "Specifies how many tasks are ran in parallel by Nx for the default tasks runner."
|
@@ -50,7 +50,7 @@ function createAPI(overrideReleaseConfig) {
|
|
50
50
|
process.exit(1);
|
51
51
|
}
|
52
52
|
// If no release groups have version plans enabled, it doesn't make sense to use the plan command only to set yourself up for an error at release time
|
53
|
-
if (!releaseGroups.some((group) => group.versionPlans
|
53
|
+
if (!releaseGroups.some((group) => !!group.versionPlans)) {
|
54
54
|
if (releaseGroups.length === 1) {
|
55
55
|
output_1.output.warn({
|
56
56
|
title: `Version plans are not enabled in your release configuration`,
|
package/src/config/nx-json.d.ts
CHANGED
@@ -456,7 +456,7 @@ export interface NxJsonConfiguration<T = '*' | string[]> {
|
|
456
456
|
*/
|
457
457
|
useInferencePlugins?: boolean;
|
458
458
|
/**
|
459
|
-
* Set this to
|
459
|
+
* Set this to true to disable connection to Nx Cloud
|
460
460
|
*/
|
461
461
|
neverConnectToCloud?: boolean;
|
462
462
|
/**
|