pub fn link_workspace_packages(&self, repo_root: &AbsoluteSystemPath) -> bool {
        match self {
            PackageManager::Berry => berry::link_workspace_packages(repo_root),
            PackageManager::Pnpm9 | PackageManager::Pnpm | PackageManager::Pnpm6 => {
                let pnpm_version = pnpm::PnpmVersion::try_from(self)
                    .expect("attempted to extract pnpm version from non-pnpm package manager");
                pnpm::link_workspace_packages(pnpm_version, repo_root)
            }
            PackageManager::Yarn | PackageManager::Bun | PackageManager::Npm => true,
        }
    }
Returns whether or not the package manager will select a package in the
workspace as a dependency if the `workspace:` protocol isn't used.
For example if a package in the workspace has `"lib": "1.2.3"` and
there's a package in the workspace with the name of `lib` and
version `1.2.3` if this is true, then the local `lib` package will
be used where `false` would use a `lib` package from the registry.
crates/turborepo-repository/src/package_manager/mod.rs