nx 20.1.0-beta.4 → 20.1.0-beta.5

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": "20.1.0-beta.4",
3
+ "version": "20.1.0-beta.5",
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-beta.4",
84
- "@nx/nx-darwin-arm64": "20.1.0-beta.4",
85
- "@nx/nx-linux-x64-gnu": "20.1.0-beta.4",
86
- "@nx/nx-linux-x64-musl": "20.1.0-beta.4",
87
- "@nx/nx-win32-x64-msvc": "20.1.0-beta.4",
88
- "@nx/nx-linux-arm64-gnu": "20.1.0-beta.4",
89
- "@nx/nx-linux-arm64-musl": "20.1.0-beta.4",
90
- "@nx/nx-linux-arm-gnueabihf": "20.1.0-beta.4",
91
- "@nx/nx-win32-arm64-msvc": "20.1.0-beta.4",
92
- "@nx/nx-freebsd-x64": "20.1.0-beta.4"
83
+ "@nx/nx-darwin-x64": "20.1.0-beta.5",
84
+ "@nx/nx-darwin-arm64": "20.1.0-beta.5",
85
+ "@nx/nx-linux-x64-gnu": "20.1.0-beta.5",
86
+ "@nx/nx-linux-x64-musl": "20.1.0-beta.5",
87
+ "@nx/nx-win32-x64-msvc": "20.1.0-beta.5",
88
+ "@nx/nx-linux-arm64-gnu": "20.1.0-beta.5",
89
+ "@nx/nx-linux-arm64-musl": "20.1.0-beta.5",
90
+ "@nx/nx-linux-arm-gnueabihf": "20.1.0-beta.5",
91
+ "@nx/nx-win32-arm64-msvc": "20.1.0-beta.5",
92
+ "@nx/nx-freebsd-x64": "20.1.0-beta.5"
93
93
  },
94
94
  "nx-migrations": {
95
95
  "migrations": "./migrations.json",
Binary file
@@ -75,6 +75,10 @@ function detectAndSetInvalidProjectGlobValues(map, sourceName, desiredImplicitDe
75
75
  const projectName = implicit.startsWith('!')
76
76
  ? implicit.substring(1)
77
77
  : implicit;
78
+ // Do not error on cross-workspace implicit dependency references
79
+ if (projectName.startsWith('nx-cloud:')) {
80
+ return false;
81
+ }
78
82
  return !(projectConfigurations[projectName] ||
79
83
  (0, find_matching_projects_1.findMatchingProjects)([implicit], projects).length);
80
84
  });
@@ -33,7 +33,8 @@ function findMatchingProjects(patterns = [], projects) {
33
33
  patterns.unshift('*');
34
34
  }
35
35
  for (const stringPattern of patterns) {
36
- if (!stringPattern.length) {
36
+ // Do not waste time attempting to look up cross-workspace references which will never match
37
+ if (!stringPattern.length || stringPattern.startsWith('nx-cloud:')) {
37
38
  continue;
38
39
  }
39
40
  const pattern = parseStringPattern(stringPattern, projects);