News for hackers. Stuff that matters.
Re:NPM Is Joining GitHub by pkilgore on Monday March 16, 2020 @04:21PM (#22597197)
The maintainer released Yarn 2. Yarn 2 is pretty foundationaly different than Yarn 1, and can and does break a lot of products/projects if used. Some folks are not happy about it, although Yarn 1 will probably continue to be maintained by the community for a while.

This seems to be pretty fair about the whole thing: https://shift.infinite.red/yarn-1-vs-yarn-2-vs-npm-a69ccf022...

Re:NPM Is Joining GitHub by cjbassi on Monday March 16, 2020 @04:56PM (#22597647)
Note that yarn is also no longer under the control of Facebook and the primary maintainer who has been developing yarn 2 no longer works there.

https://yarnpkg.com/advanced/qa#is-yarn-operated-by-facebook

Re:NPM Is Joining GitHub by jrochkind1 on Monday March 16, 2020 @07:54PM (#22599675)
What happened to yarn is they released a v2 with some backwards incompatibilities... and for this reason we should be glad facebook didn't buy npm? (Also facebook doesn't actually own yarn). Well I'm confused.
Re:NPM Is Joining GitHub by pkilgore on Monday March 16, 2020 @09:37PM (#22600568)
I'm not OP, but I the inference I draw from the comment is that with Yarn declining in quality the probability is higher than NPM will once again become the de-facto standard, thus, it is ideal that any company responsible for its stewardship serve not as further consolidation of power in the industry (which currently leans Alphabet/Facebook).

IMO its crazy we're here, growing up in the IE days, but Microsoft acquiring influence over the JS ecosystem in this day and age is at least arguably, as OP stated, a distribution of power.

Re:NPM Is Joining GitHub by hinkley on Tuesday March 17, 2020 @01:44AM (#22602073)
some backward incompatibilities? You apparently can’t run node directly. That’s kind of a problem for all but the most obvious of use cases.
Re:NPM Is Joining GitHub by halkcyon on Monday March 23, 2020 @11:25AM (#22664977)
Yes you can, it just requires extra configuration and defeats the purpose of using v2 at all.
Re:NPM Is Joining GitHub by unityByFreedom on Tuesday March 17, 2020 @06:25AM (#22603507)
The review you cite compares yarn 1 to npm and declares yarn 1 the winner. They did not evaluate yarn 2 because they say it does not yet support react native without a plugin.
Re:NPM Is Joining GitHub by paulddraper on Tuesday March 17, 2020 @01:29AM (#22602007)
One of the big additions in Yarn 2 is Plug N' Play, which allows for more flexible module resolution.

Support is middling, but once you get it working, you have near-instance near-zero size installs.