Yarn is better anyways. The yarn.lock file is actually a proper lock file.

Reply to this note

Please Login to reply.

Discussion

Agreed, I switched back to npm after about 10 years to try it out, and... yeah

The fact npm modifies the package-lock.json file when you run npm install is frustrating. Just install the same set of packages every time.

what do you think of pnpm vs yarn?

I've not played around with it so I can't offer an opinion. My strong preference for choosing tools (especially JS) though is to pick well established, mature libraries/frameworks.