nx 21.4.0-canary.20250805-990c6f6 → 21.4.0-canary.20250807-166a050
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 +11 -11
- package/src/command-line/nx-cloud/connect/connect-to-nx-cloud.d.ts.map +1 -1
- package/src/command-line/nx-cloud/connect/connect-to-nx-cloud.js +5 -3
- package/src/core/graph/main.js +1 -1
- package/src/native/nx.wasm32-wasi.wasm +0 -0
- package/src/tasks-runner/run-command.d.ts.map +1 -1
- package/src/tasks-runner/run-command.js +1 -0
- package/src/utils/nx-cloud-utils.d.ts.map +1 -1
- package/src/utils/nx-cloud-utils.js +5 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "nx",
|
3
|
-
"version": "21.4.0-canary.
|
3
|
+
"version": "21.4.0-canary.20250807-166a050",
|
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": {
|
@@ -83,16 +83,16 @@
|
|
83
83
|
}
|
84
84
|
},
|
85
85
|
"optionalDependencies": {
|
86
|
-
"@nx/nx-darwin-arm64": "21.4.0-canary.
|
87
|
-
"@nx/nx-darwin-x64": "21.4.0-canary.
|
88
|
-
"@nx/nx-freebsd-x64": "21.4.0-canary.
|
89
|
-
"@nx/nx-linux-arm-gnueabihf": "21.4.0-canary.
|
90
|
-
"@nx/nx-linux-arm64-gnu": "21.4.0-canary.
|
91
|
-
"@nx/nx-linux-arm64-musl": "21.4.0-canary.
|
92
|
-
"@nx/nx-linux-x64-gnu": "21.4.0-canary.
|
93
|
-
"@nx/nx-linux-x64-musl": "21.4.0-canary.
|
94
|
-
"@nx/nx-win32-arm64-msvc": "21.4.0-canary.
|
95
|
-
"@nx/nx-win32-x64-msvc": "21.4.0-canary.
|
86
|
+
"@nx/nx-darwin-arm64": "21.4.0-canary.20250807-166a050",
|
87
|
+
"@nx/nx-darwin-x64": "21.4.0-canary.20250807-166a050",
|
88
|
+
"@nx/nx-freebsd-x64": "21.4.0-canary.20250807-166a050",
|
89
|
+
"@nx/nx-linux-arm-gnueabihf": "21.4.0-canary.20250807-166a050",
|
90
|
+
"@nx/nx-linux-arm64-gnu": "21.4.0-canary.20250807-166a050",
|
91
|
+
"@nx/nx-linux-arm64-musl": "21.4.0-canary.20250807-166a050",
|
92
|
+
"@nx/nx-linux-x64-gnu": "21.4.0-canary.20250807-166a050",
|
93
|
+
"@nx/nx-linux-x64-musl": "21.4.0-canary.20250807-166a050",
|
94
|
+
"@nx/nx-win32-arm64-msvc": "21.4.0-canary.20250807-166a050",
|
95
|
+
"@nx/nx-win32-x64-msvc": "21.4.0-canary.20250807-166a050"
|
96
96
|
},
|
97
97
|
"nx-migrations": {
|
98
98
|
"migrations": "./migrations.json",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"connect-to-nx-cloud.d.ts","sourceRoot":"","sources":["../../../../../../../packages/nx/src/command-line/nx-cloud/connect/connect-to-nx-cloud.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,uBAAuB,EACxB,MAAM,sEAAsE,CAAC;AAI9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EACL,UAAU,EAIX,MAAM,2BAA2B,CAAC;AAQnC,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,mBAAmB,
|
1
|
+
{"version":3,"file":"connect-to-nx-cloud.d.ts","sourceRoot":"","sources":["../../../../../../../packages/nx/src/command-line/nx-cloud/connect/connect-to-nx-cloud.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,uBAAuB,EACxB,MAAM,sEAAsE,CAAC;AAI9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EACL,UAAU,EAIX,MAAM,2BAA2B,CAAC;AAQnC,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,mBAAmB,WAiBlE;AAED,wBAAsB,iCAAiC,CACrD,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,IAAI,CAAC,CAgBf;AAED,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,uBAAuB,EAChC,SAAS,SAAgB,mBAO1B;AAED,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE;IAAE,aAAa,CAAC,EAAE,OAAO,CAAC;IAAC,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE,EAC3D,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAAC,OAAO,CAAC,CA8ElB;AAMD,wBAAsB,kCAAkC,CACtD,OAAO,SAAS,EAChB,GAAG,GAAE,UAA2B,GAC/B,OAAO,CAAC,OAAO,CAAC,CAWlB;AAED,wBAAsB,0BAA0B,CAAC,OAAO,EAAE,MAAM,iBAY/D"}
|
@@ -26,8 +26,9 @@ function onlyDefaultRunnerIsUsed(nxJson) {
|
|
26
26
|
// No tasks runner options OR no default runner defined:
|
27
27
|
// - If access token defined, uses cloud runner
|
28
28
|
// - If no access token defined, uses default
|
29
|
-
return (!(nxJson.nxCloudAccessToken ??
|
30
|
-
|
29
|
+
return (!(nxJson.nxCloudAccessToken ??
|
30
|
+
process.env.NX_CLOUD_AUTH_TOKEN ??
|
31
|
+
process.env.NX_CLOUD_ACCESS_TOKEN) && !nxJson.nxCloudId);
|
31
32
|
}
|
32
33
|
return defaultRunner === 'nx/tasks-runners/default';
|
33
34
|
}
|
@@ -72,7 +73,8 @@ async function connectToNxCloudCommand(options, command) {
|
|
72
73
|
return false;
|
73
74
|
}
|
74
75
|
if ((0, nx_cloud_utils_1.isNxCloudUsed)(nxJson)) {
|
75
|
-
const token = process.env.
|
76
|
+
const token = process.env.NX_CLOUD_AUTH_TOKEN ||
|
77
|
+
process.env.NX_CLOUD_ACCESS_TOKEN ||
|
76
78
|
nxJson.nxCloudAccessToken ||
|
77
79
|
nxJson.nxCloudId;
|
78
80
|
if (!token) {
|