I accidentally ran npm install
in a project that uses Yarn and noticed that npm created a package-lock.json
file.
I know that Yarn spiked in popularity in part because it used a lockfile to produce more reliable and deterministic dependency installations than npm, which for a while only had a crippled shrinkwrap feature, but now I'm not sure what to make of this npm lockfile business and whether there's anything compelling about continuing to use Yarn.
So in the spirit of a previous Q and A on StackOverflow on yarn vs shrinkwrap, I ask the following:
- Are there any substantial differences between the two package managers in terms of reliability any more?
- If not, is there any compelling reason to continue using Yarn besides "More emojis. "?