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

ls: show installed but unmet peer deps #145

Merged
merged 2 commits into from
Jan 29, 2019
Merged

Conversation

larsgw
Copy link
Contributor

@larsgw larsgw commented Jan 19, 2019

Any completely missing peer deps are filled in in the package tree, but
with only a name and the version with which it is required, and some
additional, derived metadata. However, if the dep does exist, but simply
is the wrong version, it is still marked as a missing peer dep.

This patch makes it so that npm ls does not hide all "missing" peer
deps, but just the ones that are not installed in some way already.

See https://npm.community/t/4770

@larsgw larsgw requested a review from a team as a code owner January 19, 2019 23:38
@zkat zkat force-pushed the release-next branch 3 times, most recently from db63b89 to b09bc8c Compare January 23, 2019 18:36
@aeschright aeschright added the semver:minor new backwards-compatible feature label Jan 23, 2019
Copy link
Contributor

@zkat zkat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please rebase this onto the latest release-next? It looks like you picked up some changelog stuff here by accident. I'm otherwise fine with this patch! Thank you so much, as always, and we'll be including this in the next release. :)

@larsgw
Copy link
Contributor Author

larsgw commented Jan 28, 2019

Yeah I noticed you force-pushed that commit into oblivion right after I based 4-5 PRs off it lol. No problem though, I'll change it tomorrow, it's late in my timezone.

Any completely missing peer deps are filled in in the package tree, but
with only a name and the version with which it is required, and some
additional, derived metadata. However, if the dep does exist, but simply
is the wrong version, it is still marked as a missing peer dep.

This patch makes it so that `npm ls` does not hide *all* "missing" peer
deps, but just the ones that are not installed in some way already.

See https://npm.community/t/4770
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:minor new backwards-compatible feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants