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

"npm ls --include-extraneous-dep" to output the complete dependency tree #583

Closed

Conversation

yalinhuang
Copy link

This PR implements --include-extraneous-dep for npm ls to output the complete dependency tree that includes the transitive dependencies brought in by extraneous packages; details in #576.

What / Why

Current npm ls truncates the dependencies from extraneous modules, which can provide useful information regarding software packaging hygiene. It would be great for npm ls to reveal everything it can find on disc.

Full story in #576

References

@yalinhuang yalinhuang requested a review from a team as a code owner December 10, 2019 23:38
@darcyclarke darcyclarke added this to the OSS - Sprint 1 milestone Dec 17, 2019
@mikemimik mikemimik added Enhancement new feature or improvement Release 7.x work is associated with a specific npm 7 release semver:major backwards-incompatible breaking changes labels Dec 19, 2019
@mikemimik
Copy link
Contributor

Just a little context for the labels. We’ve put a freeze on new feature work for npm@6* unless it’s a patch for security reasons. We’ll definitely look at this for npm@7 though!

@darcyclarke darcyclarke removed this from the OSS - Sprint 1 milestone Jan 14, 2020
@yalinhuang
Copy link
Author

Question: is there a timeline or road map regarding the release of npm 7?

@darcyclarke
Copy link
Contributor

darcyclarke commented Jul 31, 2020

@yalinhuang Closing as this should not be the case in npm v7. Thank you for your contribution though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement new feature or improvement Release 7.x work is associated with a specific npm 7 release semver:major backwards-incompatible breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] npm ls outputs the complete dependency tree, including subtrees under extraneous modules
3 participants