Yarn command to check for unused dependencies #2718
benatshippabo
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
you should make a feature request. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be nice if Yarn 2+ had some method to find unused dependencies listed in
package.json
s. Similar todepcheck
, but also analyzing the executables run by npm scripts and peer dependencies.I feel like this may easily fit within
@yarnpkg/doctor
, since the package already figures out the list of all required dependencies and performs some form of analysis on thepackage.json
Beta Was this translation helpful? Give feedback.
All reactions