nx 20.5.0-rc.2 → 20.5.0-rc.4

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.
Binary file
@@ -86,6 +86,9 @@ function createNodeFromPackageJson(pkgJsonPath, workspaceRoot, cache, isInPackag
86
86
  ...json,
87
87
  root: projectRoot,
88
88
  isInPackageManagerWorkspaces,
89
+ // change this to bust the cache when making changes that result in different
90
+ // results for the same hash
91
+ bust: 1,
89
92
  });
90
93
  const cached = cache[hash];
91
94
  if (cached) {
@@ -126,7 +129,6 @@ function buildProjectConfigurationFromPackageJson(packageJson, workspaceRoot, pa
126
129
  let name = packageJson.name ?? (0, to_project_name_1.toProjectName)(normalizedPath);
127
130
  const projectConfiguration = {
128
131
  root: projectRoot,
129
- sourceRoot: projectRoot,
130
132
  name,
131
133
  ...packageJson.nx,
132
134
  targets: (0, package_json_1.readTargetsFromPackageJson)(packageJson, nxJson),