tinyglobby
tinyglobby copied to clipboard
chore: set onlyBuiltDependencies for pnpm
You have to tell the latest version of pnpm that it's allowed to run the post-install scripts for these packages or it will complain when you do pnpm install
do we really need it though? biome is definitely not needed as it only checks if it's being installed in a supported platform (in fact the script won't be there for biome 2.0). wondering about esbuild
It's going to nag if it's not there. Regardless of whether anything is broken without it, I'd add it to avoid the warning
since switching to tsdown, according to ci it looks like the only package with a postinstall script is biome, and that script was recently deleted for the upcoming biome 2.0 release. the warning should no longer be there once biome 2.0 releases
after upgrading to biome 2.0, tinyglobby now doesn't use a single package with postinstall scripts, making the warning no longer show up. as such this is probably not needed anymore