-
Notifications
You must be signed in to change notification settings - Fork 148
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
Remove rimraf dependency in favor of Node native rm #602
Conversation
@@ -1,43 +1,23 @@ | |||
import { spawn } from 'child_process' | |||
import { glob } from 'glob' |
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.
So turns out I was depending on a sub-dependency of rimraf here so when I removed it glob
disappeared as well but that lead to a nice cleanup in this script as well, utilizing the recursive option of readdir
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.
Nice cleanup indeed 🥹
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.
🔥
#601 is open because of our use of rimraf which carries with it a ton of sub dependencies. I'm hoping to be able to get rid of it in favor of the recursive option for the native
rm
function from thefs
module.