-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Remove unused dependencies #38388
Remove unused dependencies #38388
Conversation
Size Change: 0 B Total Size: 1.14 MB ℹ️ View Unchanged
|
This is great. Thank you for spending time cleaning all those packages. We have ESLint rules in place that ensure all uses dependencies are listed in You need to rebase this branch before we can land it as it looks like several CHANGELOG files have conflicts after one of PRs got merged in the last 13 hours 😅 |
Should be resolved now. I used a script locally to help me find all the unused packages. I'll explore a bit later and try to make it into an action. Would be nice if the CI could pick up unused dependencies. |
That would be lovely if we could include it in this workflow: https://github.com/WordPress/gutenberg/blob/trunk/.github/workflows/static-checks.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is amazing work, that you @walbo for all the hard work that went in this PR! 👍
Description
Noticed that multiple packages have unused dependencies. This PR removes the unused dependencies.
Types of changes
Code Quality
Checklist:
*.native.js
files for terms that need renaming or removal).