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

Count of transitive dependencies that would be required to add when removing an unused dependency #1145

Open
ajohnsonz opened this issue Mar 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ajohnsonz
Copy link

ajohnsonz commented Mar 8, 2024

Is your feature request related to a problem? Please describe.

When looking at the buildHealth report, there are a number of unused dependencies that can be removed, and a number of transitive dependencies that are suggested to add directly. For many of our internal libraries that are relatively lightweight, the transitive dependencies are okay to be included in a transparent way, if it means we add a single internal library instead of 15 other dependencies.

Describe the solution you'd like

For each suggested unused dependency to remove, I would like it to include a count of how many transitives from that dependency are used. If the count is zero, then that dependency can be removed no questions asked. If it's 10+, we'd probably just leave it for conciseness of the build file.

Describe alternatives you've considered

I think I saw an issue asking for the "reason" report to include all dependencies in one go - this would also be useful. Running the reason on every dependency one at a time isn't really practical for us.

@autonomousapps autonomousapps added the enhancement New feature or request label Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants