diff --git a/build-tools/packages/build-tools/src/fluidBuild/buildGraph.ts b/build-tools/packages/build-tools/src/fluidBuild/buildGraph.ts index 02d8ad6782c7..6091ed8c6918 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/buildGraph.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/buildGraph.ts @@ -219,7 +219,10 @@ export class BuildGraph { const child = this.buildPackages.get(name); if (child) { // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - if (semver.satisfies(child.pkg.version, version!)) { + const satisfied = + version!.startsWith("workspace:") || + semver.satisfies(child.pkg.version, version!); + if (satisfied) { if (depFilter(child.pkg)) { verbose( `Package dependency: ${node.pkg.nameColored} => ${child.pkg.nameColored}`, diff --git a/build-tools/packages/build-tools/src/fluidBuild/symlinkUtils.ts b/build-tools/packages/build-tools/src/fluidBuild/symlinkUtils.ts index 570ef98fe471..6836cf171104 100644 --- a/build-tools/packages/build-tools/src/fluidBuild/symlinkUtils.ts +++ b/build-tools/packages/build-tools/src/fluidBuild/symlinkUtils.ts @@ -159,7 +159,7 @@ export async function symlinkPackage( for (const { name: dep, version } of pkg.combinedDependencies) { const depBuildPackage = buildPackages.get(dep); // Check and fix link if it is a known package and version satisfy the version. - // TODO: check of extranous symlinks + // TODO: check of extraneous symlinks if (depBuildPackage) { const sameMonoRepo = MonoRepo.isSame(pkg.monoRepo, depBuildPackage.monoRepo); const satisfied =