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

Add script to remove all node_modules across the entire workspace #523

Closed
wonkyDD opened this issue Jun 20, 2024 · 2 comments · Fixed by #581
Closed

Add script to remove all node_modules across the entire workspace #523

wonkyDD opened this issue Jun 20, 2024 · 2 comments · Fixed by #581
Assignees
Labels
enhancement New feature or request

Comments

@wonkyDD
Copy link
Contributor

wonkyDD commented Jun 20, 2024

It would be great adding a script to remove node_modules across the entire workspace. For example:

{
  "scripts": {
    "clean:node_modules": "rimraf node_modules && pnpm -r exec rimraf node_modules"
  }
}
@wonkyDD wonkyDD added the enhancement New feature or request label Jun 20, 2024
@Jonghakseo
Copy link
Owner

Is there a specific use case or reason for needing this script?

@PatrykKuniczak
Copy link
Collaborator

Is there a specific use case or reason for needing this script?

Maybe if you want to bump some packages or change sth with it.

For more confidence it's good to remove all node_modules and then start new build.

I'm doing it often :)

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
3 participants