nx 19.8.0-canary.20240913-5bbaffb → 19.8.0-canary.20240917-5b34ea5

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": "19.8.0-canary.20240913-5bbaffb",
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.20240913-5bbaffb"
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.20240913-5bbaffb",
90
- "@nx/nx-darwin-arm64": "19.8.0-canary.20240913-5bbaffb",
91
- "@nx/nx-linux-x64-gnu": "19.8.0-canary.20240913-5bbaffb",
92
- "@nx/nx-linux-x64-musl": "19.8.0-canary.20240913-5bbaffb",
93
- "@nx/nx-win32-x64-msvc": "19.8.0-canary.20240913-5bbaffb",
94
- "@nx/nx-linux-arm64-gnu": "19.8.0-canary.20240913-5bbaffb",
95
- "@nx/nx-linux-arm64-musl": "19.8.0-canary.20240913-5bbaffb",
96
- "@nx/nx-linux-arm-gnueabihf": "19.8.0-canary.20240913-5bbaffb",
97
- "@nx/nx-win32-arm64-msvc": "19.8.0-canary.20240913-5bbaffb",
98
- "@nx/nx-freebsd-x64": "19.8.0-canary.20240913-5bbaffb"
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
- if ((0, fs_1.existsSync)('gradlew') || (0, fs_1.existsSync)('gradlew.bat')) {
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 {