From 7e5027498d84687f52ab13114cf29e6047ff4879 Mon Sep 17 00:00:00 2001 From: Craigory Coppola Date: Tue, 29 Aug 2023 17:35:06 -0500 Subject: [PATCH] fix(core): merge implicit project dependencies only if found on new and matching projects (#18896) --- .../nx/src/project-graph/utils/project-configuration-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nx/src/project-graph/utils/project-configuration-utils.ts b/packages/nx/src/project-graph/utils/project-configuration-utils.ts index 9da24d9a492c6..5c1a6996ac032 100644 --- a/packages/nx/src/project-graph/utils/project-configuration-utils.ts +++ b/packages/nx/src/project-graph/utils/project-configuration-utils.ts @@ -51,7 +51,7 @@ export function mergeProjectConfigurationIntoRootMap( ); } - if (project.implicitDependencies && matchingProject.tags) { + if (project.implicitDependencies && matchingProject.implicitDependencies) { updatedProjectConfiguration.implicitDependencies = matchingProject.implicitDependencies.concat(project.implicitDependencies); }