nx 19.8.0-canary.20240913-5bbaffb → 19.8.0-canary.20240917-5b34ea5
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 +12 -12
- package/src/command-line/init/init-v2.js +5 -1
- package/src/command-line/release/config/config.js +2 -1
- package/src/core/graph/main.js +1 -1
- package/src/core/graph/styles.css +1 -1
- package/src/hasher/hash-task.js +2 -2
- package/src/native/nx.wasi-browser.js +42 -54
- package/src/native/nx.wasi.cjs +42 -54
- package/src/native/nx.wasm32-wasi.wasm +0 -0
- package/src/tasks-runner/cache.js +2 -1
- package/src/tasks-runner/run-command.js +3 -1
- package/src/tasks-runner/tasks-schedule.js +6 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "nx",
|
3
|
-
"version": "19.8.0-canary.
|
3
|
+
"version": "19.8.0-canary.20240917-5b34ea5",
|
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": {
|
@@ -71,7 +71,7 @@
|
|
71
71
|
"yargs-parser": "21.1.1",
|
72
72
|
"node-machine-id": "1.1.12",
|
73
73
|
"ora": "5.3.0",
|
74
|
-
"@nrwl/tao": "19.8.0-canary.
|
74
|
+
"@nrwl/tao": "19.8.0-canary.20240917-5b34ea5"
|
75
75
|
},
|
76
76
|
"peerDependencies": {
|
77
77
|
"@swc-node/register": "^1.8.0",
|
@@ -86,16 +86,16 @@
|
|
86
86
|
}
|
87
87
|
},
|
88
88
|
"optionalDependencies": {
|
89
|
-
"@nx/nx-darwin-x64": "19.8.0-canary.
|
90
|
-
"@nx/nx-darwin-arm64": "19.8.0-canary.
|
91
|
-
"@nx/nx-linux-x64-gnu": "19.8.0-canary.
|
92
|
-
"@nx/nx-linux-x64-musl": "19.8.0-canary.
|
93
|
-
"@nx/nx-win32-x64-msvc": "19.8.0-canary.
|
94
|
-
"@nx/nx-linux-arm64-gnu": "19.8.0-canary.
|
95
|
-
"@nx/nx-linux-arm64-musl": "19.8.0-canary.
|
96
|
-
"@nx/nx-linux-arm-gnueabihf": "19.8.0-canary.
|
97
|
-
"@nx/nx-win32-arm64-msvc": "19.8.0-canary.
|
98
|
-
"@nx/nx-freebsd-x64": "19.8.0-canary.
|
89
|
+
"@nx/nx-darwin-x64": "19.8.0-canary.20240917-5b34ea5",
|
90
|
+
"@nx/nx-darwin-arm64": "19.8.0-canary.20240917-5b34ea5",
|
91
|
+
"@nx/nx-linux-x64-gnu": "19.8.0-canary.20240917-5b34ea5",
|
92
|
+
"@nx/nx-linux-x64-musl": "19.8.0-canary.20240917-5b34ea5",
|
93
|
+
"@nx/nx-win32-x64-msvc": "19.8.0-canary.20240917-5b34ea5",
|
94
|
+
"@nx/nx-linux-arm64-gnu": "19.8.0-canary.20240917-5b34ea5",
|
95
|
+
"@nx/nx-linux-arm64-musl": "19.8.0-canary.20240917-5b34ea5",
|
96
|
+
"@nx/nx-linux-arm-gnueabihf": "19.8.0-canary.20240917-5b34ea5",
|
97
|
+
"@nx/nx-win32-arm64-msvc": "19.8.0-canary.20240917-5b34ea5",
|
98
|
+
"@nx/nx-freebsd-x64": "19.8.0-canary.20240917-5b34ea5"
|
99
99
|
},
|
100
100
|
"nx-migrations": {
|
101
101
|
"migrations": "./migrations.json",
|
@@ -155,7 +155,11 @@ async function detectPlugins(nxJson, interactive) {
|
|
155
155
|
}
|
156
156
|
}
|
157
157
|
}
|
158
|
-
|
158
|
+
let gradlewFiles = ['gradlew', 'gradlew.bat'].concat(await (0, workspace_context_1.globWithWorkspaceContext)(process.cwd(), [
|
159
|
+
'**/gradlew',
|
160
|
+
'**/gradlew.bat',
|
161
|
+
]));
|
162
|
+
if (gradlewFiles.some((f) => (0, fs_1.existsSync)(f))) {
|
159
163
|
detectedPlugins.add('@nx/gradle');
|
160
164
|
}
|
161
165
|
// Remove existing plugins
|
@@ -21,6 +21,7 @@ const fileutils_1 = require("../../../utils/fileutils");
|
|
21
21
|
const find_matching_projects_1 = require("../../../utils/find-matching-projects");
|
22
22
|
const output_1 = require("../../../utils/output");
|
23
23
|
const workspace_root_1 = require("../../../utils/workspace-root");
|
24
|
+
const path_1 = require("../../../utils/path");
|
24
25
|
const resolve_changelog_renderer_1 = require("../utils/resolve-changelog-renderer");
|
25
26
|
const resolve_nx_json_error_message_1 = require("../utils/resolve-nx-json-error-message");
|
26
27
|
const conventional_commits_1 = require("./conventional-commits");
|
@@ -657,7 +658,7 @@ async function getDefaultProjects(projectGraph, projectFileMap) {
|
|
657
658
|
function isProjectPublic(project, projectGraph, projectFileMap) {
|
658
659
|
const projectNode = projectGraph.nodes[project];
|
659
660
|
const packageJsonPath = (0, node_path_1.join)(projectNode.data.root, 'package.json');
|
660
|
-
if (!projectFileMap[project]?.find((f) => f.file === packageJsonPath)) {
|
661
|
+
if (!projectFileMap[project]?.find((f) => f.file === (0, path_1.normalizePath)(packageJsonPath))) {
|
661
662
|
return false;
|
662
663
|
}
|
663
664
|
try {
|