nx 20.5.0-canary.20250220-320536b → 20.5.0-canary.20250222-4367352

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "20.5.0-canary.20250220-320536b",
3
+ "version": "20.5.0-canary.20250222-4367352",
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": {
@@ -82,16 +82,16 @@
82
82
  }
83
83
  },
84
84
  "optionalDependencies": {
85
- "@nx/nx-darwin-arm64": "20.5.0-canary.20250220-320536b",
86
- "@nx/nx-darwin-x64": "20.5.0-canary.20250220-320536b",
87
- "@nx/nx-freebsd-x64": "20.5.0-canary.20250220-320536b",
88
- "@nx/nx-linux-arm-gnueabihf": "20.5.0-canary.20250220-320536b",
89
- "@nx/nx-linux-arm64-gnu": "20.5.0-canary.20250220-320536b",
90
- "@nx/nx-linux-arm64-musl": "20.5.0-canary.20250220-320536b",
91
- "@nx/nx-linux-x64-gnu": "20.5.0-canary.20250220-320536b",
92
- "@nx/nx-linux-x64-musl": "20.5.0-canary.20250220-320536b",
93
- "@nx/nx-win32-arm64-msvc": "20.5.0-canary.20250220-320536b",
94
- "@nx/nx-win32-x64-msvc": "20.5.0-canary.20250220-320536b"
85
+ "@nx/nx-darwin-arm64": "20.5.0-canary.20250222-4367352",
86
+ "@nx/nx-darwin-x64": "20.5.0-canary.20250222-4367352",
87
+ "@nx/nx-freebsd-x64": "20.5.0-canary.20250222-4367352",
88
+ "@nx/nx-linux-arm-gnueabihf": "20.5.0-canary.20250222-4367352",
89
+ "@nx/nx-linux-arm64-gnu": "20.5.0-canary.20250222-4367352",
90
+ "@nx/nx-linux-arm64-musl": "20.5.0-canary.20250222-4367352",
91
+ "@nx/nx-linux-x64-gnu": "20.5.0-canary.20250222-4367352",
92
+ "@nx/nx-linux-x64-musl": "20.5.0-canary.20250222-4367352",
93
+ "@nx/nx-win32-arm64-msvc": "20.5.0-canary.20250222-4367352",
94
+ "@nx/nx-win32-x64-msvc": "20.5.0-canary.20250222-4367352"
95
95
  },
96
96
  "nx-migrations": {
97
97
  "migrations": "./migrations.json",
Binary file
@@ -38,7 +38,7 @@ function buildExplicitTypeScriptDependencies(ctx, targetProjectLocator) {
38
38
  if (isVuePluginInstalled()) {
39
39
  moduleExtensions.push('.vue');
40
40
  }
41
- for (const [project, fileData] of Object.entries(ctx.fileMap.projectFileMap)) {
41
+ for (const [project, fileData] of Object.entries(ctx.filesToProcess.projectFileMap)) {
42
42
  filesToProcess[project] ??= [];
43
43
  for (const { file } of fileData) {
44
44
  if (moduleExtensions.some((ext) => file.endsWith(ext))) {
@@ -112,8 +112,8 @@ function addMatchingProjectsByName(projectNames, projects, pattern, matchedProje
112
112
  return;
113
113
  }
114
114
  if (!(0, globs_1.isGlobPattern)(pattern.value)) {
115
- // Custom regex that is basically \b without underscores, so "foo" pattern matches "foo_bar".
116
- const regex = new RegExp(`(?<![a-zA-Z0-9])${pattern.value}(?![a-zA-Z0-9])`, 'i');
115
+ // Custom regex that is basically \b but includes hyphens (-) and excludes underscores (_), so "foo" pattern matches "foo_bar" but not "foo-e2e".
116
+ const regex = new RegExp(`(?<![a-zA-Z0-9-])${pattern.value}(?![a-zA-Z0-9-])`, 'i');
117
117
  const matchingProjects = Object.keys(projects).filter((name) => regex.test(name));
118
118
  for (const projectName of matchingProjects) {
119
119
  if (pattern.exclude) {