[Feature] Adding filters to yarn explain peer-requirements
#6597
Labels
enhancement
New feature or request
yarn explain peer-requirements
#6597
Describe the user story
As a developer, running
yarn explain peer-requirements
generates a lot of output that makes it hard to investigate missing dependencies. For example, it says a package I'm importing does not provide type stubs to another package it is importing, which does not add value to me.Describe the solution you'd like
A way to filter out the results with flags such as:
-t, --include-types
: This includes the types packages (p05130 → ✓ socks-proxy-agent@npm:8.0.3 doesn't provide @types/supports-color to debug@npm:4.3.6 [3374e]
). It should be disabled by default.-m, --only-missing
: This filters out any line with a green check mark.We should add telemetry on these flags to analyze how users are using them and then we can decide if we need to make them disabled/enabled by default, or if we can remove the flag and bake-in the filters.
Describe the drawbacks of your solution
Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: