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

chore: [#1213] Replaces rm rf with a windows compatible script when building #1213

Merged
merged 3 commits into from
Aug 30, 2024

Conversation

btea
Copy link
Contributor

@btea btea commented Jan 15, 2024

No description provided.

Copy link
Owner

@capricorn86 capricorn86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"rimraf" should be added as a dev dependency.

@btea btea force-pushed the task/use-rimraf-to-replace-rm-rf branch from e74f384 to ba307e6 Compare March 4, 2024 00:21
@benmccann
Copy link

rimraf pulls in 27 dependencies, so is generally nice to avoid: https://npmgraph.js.org/?q=rimraf

you can do this as a nicer alternative:

node -e "fs.rmSync('./cjs', { recursive: true, force: true })"

@btea btea closed this Aug 10, 2024
@btea btea force-pushed the task/use-rimraf-to-replace-rm-rf branch from ba307e6 to 52487a2 Compare August 10, 2024 09:15
@btea btea reopened this Aug 10, 2024
@btea
Copy link
Contributor Author

btea commented Aug 10, 2024

rimraf pulls in 27 dependencies, so is generally nice to avoid: https://npmgraph.js.org/?q=rimraf

you can do this as a nicer alternative:

node -e "fs.rmSync('./cjs', { recursive: true, force: true })"

Thanks for the solution, it looks great. 👍

@btea btea changed the title #0@trivial: Use rimraf to replace rm -rf. #0@trivial: replace rm rf Aug 10, 2024
Copy link
Owner

@capricorn86 capricorn86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution @btea! 🌟

Sorry that you had to wait for such a long time to get this in.

@btea
Copy link
Contributor Author

btea commented Aug 30, 2024

Thank you for all your hard work. 👍

@capricorn86 capricorn86 changed the title #0@trivial: replace rm rf chore: [#1213] Replaces rm rf with a windows compatible script when building Aug 30, 2024
@capricorn86 capricorn86 merged commit 2c52052 into capricorn86:master Aug 30, 2024
3 checks passed
@btea btea deleted the task/use-rimraf-to-replace-rm-rf branch August 30, 2024 13:23
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.

3 participants