Post
And disable install scripts except the ones you really explicitly want www.npmjs.com/package/@lav...
It's good there's the option, but most people won't and don't do this. In my opinion, it's something that should be opt-in instead of opt-out in all the tools. For example, you can be hit by this while working on a project that doesn't have linting and you update a dependency.
0 reposts4 likes
Changing existing tools from opt-out to opt-in is hard. I tried some of that in conversations in npm RFC meetings back in late 2010s @pnpm.io turning off postinstall by default in v10 is the success story after the community debated it for 7 years
I love that! BTW. I tested pnpm 10 against bundled dependency tricks I know of (that www.npmjs.com/package/@lav... is preventing) and it seems that pnpm doesn't support the misfeatures of npm that I was trying to exploit.
I should look into making some sort of pnpm plugin for the top level dependency functionality of www.npmjs.com/package/@lav...
It is also available as an opt-in feature in v10: pnpm.io/settings#blo...