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

decide what to do about peerDependencies #252

Open
zkat opened this issue Apr 18, 2023 · 0 comments
Open

decide what to do about peerDependencies #252

zkat opened this issue Apr 18, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@zkat
Copy link
Member

zkat commented Apr 18, 2023

I really don't particularly want to support peerDependencies if I can get away with it, but the truth is they're out there in the wild and we probably still need to support them in some capacity.

We should come up with a plan to move forward with, in concert with #171, which is what a lot of people use peerDeps for.

The current situation out in the wild is a bit annoying:

  1. NPM 1, 2, and >7 automatically install peerDependencies and error on incompatibility
  2. NPM 3-6 warns about missing or incompatible peerDeps
  3. pnPM installs them into a fancy folder structure
  4. Yarn v1-3 just warns about them like NPM 3-6 does.
@zkat zkat added enhancement New feature or request help wanted Extra attention is needed labels Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: Backlog
Development

No branches or pull requests

1 participant