这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@chris-olszewski
Copy link
Contributor

@chris-olszewski chris-olszewski commented Apr 8, 2025

Description

Previously we had detected package manager, but wouldn't inform the package graph builder of our findings. This would later cause an error since the package graph builder wasn't configured to support detecting the package manager.

We now pass the initially discovered package manager in so we don't need to detect it.

This will still fail in cases of pnpm and yarn if those binaries are not installed since we cannot determine which version of the package manager the user wants to use.

Testing Instructions

Added new npm monorepo test fixture that is missing packageManager and a test that uses affectedPackages against it.

@vercel
Copy link
Contributor

vercel bot commented Apr 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2025 8:09pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2025 8:09pm
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2025 8:09pm
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2025 8:09pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2025 8:09pm
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2025 8:09pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2025 8:09pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2025 8:09pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2025 8:09pm
turbo-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2025 8:09pm

Copy link
Member

@tknickman tknickman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@chris-olszewski chris-olszewski merged commit 3d50c16 into main Apr 9, 2025
44 checks passed
@chris-olszewski chris-olszewski deleted the olszewski/fix_turbo_repository_requires_pm branch April 9, 2025 12:25
chris-olszewski added a commit that referenced this pull request Apr 14, 2025
### Description

Bump version so I can release #10314 

### Testing Instructions

<!--
  Give a quick description of steps to test your changes.
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants