-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
chore(deps): remove unused JS deps #11630
chore(deps): remove unused JS deps #11630
Conversation
- none of these are used -- note how the `yarn.lock` had no changes Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
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.
Is there anything similar to go mod tidy but for typescript?
Not built-in like that, unfortunately. The closest thing are a few external packages that try their best but can absolutely have false positives:
That being said, I have never used either and nor have I ever really needed something like that. Usually once you stop using a dep, you remove it from the |
Related, I am adding EDIT: See #11637 which adds it |
Signed-off-by: Anton Gilgur <4970083+agilgur5@users.noreply.github.com>
Motivation
None of these deps are used -- note how the
yarn.lock
had no changesModifications
json-merge-patch
andreact-moment
from depscopyfiles
,glob
, andwebfonts-generator
from devDepsVerification
yarn.lock
had no changes afteryarn install