|
|
|
|
|
by notpushkin
882 days ago
|
|
Maybe give bsx a try instead? (disclaimer: I'm the maintainer) pnpm add --dev bsx
{
"scripts": {"cleanup": "bsx rm -rf some-cache"}
}
https://npm.im/bsxThis would use busybox-w32 on Windows, and regular shell on other platforms. You do have your usual footguns like some *nixes not having some tools installed out of the box, but for the 95% cases this should be fine and it's only 536 kB (vs 1.5M for shx)! |
|