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

Ignore unmet npm peer dependencies #267

Merged
merged 1 commit into from
May 15, 2020
Merged

Conversation

jonabc
Copy link
Contributor

@jonabc jonabc commented May 15, 2020

closes #264

This change causes the npm source to ignore packages that have peerMissing data available, specifying that they are a peer dependency that hasn't been installed.

As a note for future followup, it looks like npm list json output includes a _shrinkwrap property which includes in a single list all of the installed dependencies. It looks like that list doesn't include the peer dependency here. It might be worth looking into whether that's usable to detect installed packages.

/cc @jasonkarns FYI

@jonabc jonabc merged commit 6c620cb into master May 15, 2020
@jonabc jonabc deleted the npm_unmet_peer_dependencies branch May 15, 2020 20:55
@jonabc jonabc mentioned this pull request May 15, 2020
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.

Unmet peer dependencies trigger failure; even when unnecessary
1 participant