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 a script to cleanup the lib/bin and/or node_modules folders #13738

Merged
merged 1 commit into from
May 25, 2023

Conversation

MikeAlhayek
Copy link
Member

@MikeAlhayek MikeAlhayek commented May 22, 2023

Fix #13737

if you want to remove bin and lib folder from all the projects you can run

npm run cleanup

If you want to remove all node_modules folder from all the project, you can run

npm run cleanup node_modules

if you want to cleanup bin , lib and node_modules you can run

npm run cleanup all

@MikeAlhayek MikeAlhayek changed the title Add a scripe to cleanup the lib/bin and node_modules folders Add a script to cleanup the lib/bin and/or node_modules folders May 22, 2023
@Skrypt
Copy link
Contributor

Skrypt commented May 23, 2023

I generally just do git clean -xdf which should be quite equivalent.

@MikeAlhayek
Copy link
Member Author

@Skrypt good to see you active! We missed you in the weekly meetings.

The command git clean -xdf is pretty equivalent to num run clean all but different from the other two commands.

@hishamco
Copy link
Member

I generally just do git clean -xdf which should be quite equivalent.

I already mentioned that in the related issue, the good thing about git clean -xdf it cleans everything related to npm or artifacts without Node has been installed

@sebastienros
Copy link
Member

Meh. OK just because it's only adding a new one to the existing list. But I would also agree that git clean is already providing a solution, that we don't have to maintain, and won't need custom documentation. I prefer when something is not "specific" to Orchard. See shapes for instance. The less concepts, the better.

@MikeAlhayek MikeAlhayek merged commit 3fca36c into OrchardCMS:main May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a way to cleanup the lib/bin and node_modules folders from the command line.
4 participants