News for hackers. Stuff that matters.
Re:Announcing NPM 6 by heckanoobs on Tuesday April 24, 2018 @11:36AM (#16913473)
The perf improvents are real, I recently updated our build tools from npm3 to npm5 and it shaved minutes off. npm ci is a real treat as is reliable parallelism of npm i.

IMO yarn was a protest movement when npm wasn't adding the features devs wanted. npm5 is the direct result and yarn should pat itself on the back and bow out to avoid fragmenting the community.

Re:Announcing NPM 6 by ac2u on Tuesday April 24, 2018 @12:02PM (#16913773)
You make it sound like yarn was some sort of community a fork to plug some gaps.

Why should yarn bow out? Correct me if I'm wrong, but the yarn project didn't do the following: - put a pre-release build under a tag that looks like a normal build without a pre suffix - had documentation that expressed sudo as an acceptable way to do things to end users - then had a bug which torched machines if they ran any npm command under sudo. (which you shouldn't do anyway, but see point 2) - when pushing the fix, put hashtags in the announcements with a distinct tone of blame towards the end users.

Re:Announcing NPM 6 by sebazzz on Tuesday April 24, 2018 @01:31PM (#16914674)
> then had a bug which torched machines if they ran any npm command under sudo. (which you shouldn't do anyway, but see point 2)

This was the famous "rm -Rf /" bug.

> put hashtags in the announcements with a distinct tone of blame towards the end users.

What are you referring to?

Re:Announcing NPM 6 by Murrawhip on Tuesday April 24, 2018 @01:46PM (#16914791)
> What are you referring to?

Probably this: https://blog.npmjs.org/post/171169301000/v571

Re:Announcing NPM 6 by shawndellysse on Tuesday April 24, 2018 @02:38PM (#16915356)
Wow, that's very immature.
Re:Announcing NPM 6 by manigandham on Tuesday April 24, 2018 @11:44AM (#16913557)
> bow out to avoid fragmenting the community.

No thanks. NPM caused the usability and feature problems first and there's no reason it won't happen again if there was no competition. Yarn is still better overall and I'm much rather they stick around.

Re:Announcing NPM 6 by Touche on Tuesday April 24, 2018 @12:28PM (#16914057)
Yarn feels more stable to me. I don't know how many breaking changes they've made but it sure feels like fewer (the version 1.x shows that).

Also, I think npm released it's lockfile too quickly. It didn't work for quite a while. Maybe it does now, I don't know, because any npm projects I have I have turned off package-lock due to it not working in the past. Yarn's lockfile just works, and always has.

So I'll stick with Yarn as long as they just keep it stable the way it is.