Skip to content

fix(core): detect packageManager field in manifest #3587

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

Merged
merged 6 commits into from
Oct 20, 2021

Conversation

andreialecu
Copy link
Contributor

What's the problem this PR addresses?

When packing git dependencies, yarn wouldn't take the packageManager property in the manifest into consideration.

Discussed on Discord at https://discord.com/channels/226791405589233664/654372321225605128/899598848731799572

How did you fix it?

Updated detectPackageManager function to check the manifest.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@andreialecu andreialecu requested a review from arcanis as a code owner October 18, 2021 13:37
@andreialecu andreialecu force-pushed the feat-detectpmmanifest branch from 9b0c48f to bc2ecef Compare October 18, 2021 13:38
@andreialecu andreialecu force-pushed the feat-detectpmmanifest branch 2 times, most recently from 17f8b1e to 8af083c Compare October 18, 2021 13:53
@andreialecu andreialecu requested a review from merceyz October 18, 2021 13:53
@andreialecu andreialecu force-pushed the feat-detectpmmanifest branch from 8af083c to e1ae16d Compare October 18, 2021 13:54
paul-soporan
paul-soporan previously approved these changes Oct 18, 2021
@arcanis arcanis merged commit 67cb61e into yarnpkg:master Oct 20, 2021
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.

4 participants