Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix package manager detection #735

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

filip131311
Copy link
Collaborator

This PR changes how we detect package manager used by the application, to better deal with a situation when a user has multiple lock files in their repository. A situation like that is quite common, because users sometimes accidentally run npm install before checking that the project actually uses yarn.

Solution:

  • information set up in package.json takes priority, as it is unprovable that set it up accidentally
  • in case the information is missing from package.json we still perform the old check but, we send a warning to the user if multiple lock files are detected

How Has This Been Tested:

Copy link

vercel bot commented Nov 17, 2024

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

Name Status Preview Comments Updated (UTC)
radon-ide ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 17, 2024 2:23pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant