-
-
Notifications
You must be signed in to change notification settings - Fork 318
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(scripts): add clean:nm to root package.json #5616
Conversation
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.
Looks good! I have found myself running that exact command as well.
Alternative solution to the "switching branches problem" would be to use git worktrees but not using them myself currently.
Performance Report✔️ no performance regression detected Full benchmark results
|
🎉 This PR is included in v1.9.0 🎉 |
Motivation
I find that when switching branches I occasionally need to delete the node_modules folder and re-run yarn. This is a helpful script I added and deleted a couple times. Figured may be helpful for others.
Description
1-line package.json script to delete the root and package
node_modules
foldersSteps to test or reproduce
from root folder