Yarn – A new package manager for JavaScript
code.facebook.com
Yarn – A new package manager for JavaScript
1–10 of 486 posts
Re: Yarn – A new package manager for JavaScript
#2Practical, usable, deterministic lockfiles are wonderful and the lack of them has been the single biggest pain point in the npm ecosystem.
Re: Yarn – A new package manager for JavaScript
#3One interesting little tidbit I found from diving into the source:
https://github.com/yarnpkg/yarn/blob/master/src/constants.js#L15
https://github.com/yarnpkg/yarn/blob/master/src/registries/yarn-registry.js
It's not mentioned in the post, but looks like they're running their own registry as well...Oh! And open governance: https://github.com/yarnpkg/rfcs !
Re: Yarn – A new package manager for JavaScript
#4It looks like this addresses the biggest issues people have with npm's CLI, and it's coming from such huge names: Facebook, Google, and Tilde. Reproducible builds are a _huge_ issue, and this gives you that. Looks great! One interesting little tidbit I found from diving into the source: https://github.com/yarnpkg/yarn/blob/master/src/constants.js#L15 https://github.com/yarnpkg/yarn/blob/master/src/registries/yarn-reg…
Re: Yarn – A new package manager for JavaScript
#5Re: Yarn – A new package manager for JavaScript
#6Re: Yarn – A new package manager for JavaScript
#7It looks like this addresses the biggest issues people have with npm's CLI, and it's coming from such huge names: Facebook, Google, and Tilde. Reproducible builds are a _huge_ issue, and this gives you that. Looks great! One interesting little tidbit I found from diving into the source: https://github.com/yarnpkg/yarn/blob/master/src/constants.js#L15 https://github.com/yarnpkg/yarn/blob/master/src/registries/yarn-reg…
Re: Yarn – A new package manager for JavaScript
#8Re: Yarn – A new package manager for JavaScript
#9They should mention this at the very beginning. Multiple big players investing in this package manager means that we should maybe inspect a little bit more before chanting xkcd.com/927.
Re: Yarn – A new package manager for JavaScript
#10Stop copying stuff. Just make it global and link.
Next step is to make packages immutable and signed.
I'm happy with this step and the fact that facebook will be able to push this.