Skip to content

feat: auto install peer dependencies #4776

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 10 commits into from
May 22, 2022
Merged

feat: auto install peer dependencies #4776

merged 10 commits into from
May 22, 2022

Conversation

zkochan
Copy link
Member

@zkochan zkochan commented May 21, 2022

  • the package entries that were added with peer dependencies autoinstalled should have the same location format as those that have peers resolved from parent deps (<pkg_id>_<peer_deps_hash>)
  • when the same package has appeared twice in the dep tree. Once it doesn't have its peer resolved but once it has. In this case, when the peer may be resolved from the parent packages, do resolve it from there.

related discussion: #3995
close #4684

@zkochan zkochan marked this pull request as ready for review May 21, 2022 20:17
@zkochan zkochan added this to the v7.1 milestone May 21, 2022
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.

ERR_PNPM_PEER_DEP_ISSUES  Unmet peer dependencies and The command '/bin/sh -c pnpm install' returned a non-zero code: 1
1 participant