News for hackers. Stuff that matters.
Re:NPM v4.0.0 by scrollaway on Sunday October 23, 2016 @01:44AM (#12772152)
I'm super excited to use yarn but, just a heads up, we hit this pretty severe issue when setting it up for our projects: https://github.com/yarnpkg/yarn/issues/761
Re:NPM v4.0.0 by po1nter on Sunday October 23, 2016 @05:52AM (#12772782)
And if you are using npm & bower in the same project then this other issue is a show stopper https://github.com/yarnpkg/yarn/issues/616
Re:NPM v4.0.0 by ceejayoz on Sunday October 23, 2016 @12:09PM (#12774073)
Out of curiosity, why use npm and bower in the same project?
Re:NPM v4.0.0 by joshstrange on Sunday October 23, 2016 @12:51PM (#12774265)
Not op but I'll chime in. My team uses npm for our build tools and bower for our frontend libraries (moment, chats, lodash, etc). Our re-write only uses npm but at the time (and possibly even now) there were frontend libraries that only provide bower packages and bower seemed like the right tool for the job anyways.
Re:NPM v4.0.0 by gotofritz on Sunday October 23, 2016 @06:34PM (#12775757)
It doesn't sound ideal having two tools that do pretty much the same thing, you are just adding a potential extra point of failure. Migrating from bower to npm is incredibly easy.
Re:NPM v4.0.0 by ferentchak on Monday October 24, 2016 @03:48PM (#12782193)
I remember wondering this same thing myself when Bower was the the new hotness.

"Don't I already have a tool that does exactly this?"

Re:NPM v4.0.0 by Sacho on Sunday October 23, 2016 @11:53PM (#12776696)
How would you migrate libraries that are only on bower, not npm?
Re:NPM v4.0.0 by ceejayoz on Monday October 24, 2016 @08:34AM (#12778216)
How many of those are a) left and b) still maintained?
Re:NPM v4.0.0 by gotofritz on Tuesday October 25, 2016 @05:06AM (#12786385)
If there are still any in 2016 it's a good sign they are not begin actively maintained
Re:NPM v4.0.0 by octref on Sunday October 23, 2016 @01:50AM (#12772170)
Yeah I wouldn't use it in production until it becomes more stable. However the team behind it seems to iterate really fast. Look at the issues fixed between public release and 0.16[0], which is only 7 days.

[0]: https://github.com/yarnpkg/yarn/releases/tag/v0.16.0

Re:NPM v4.0.0 by amasad on Sunday October 23, 2016 @02:04AM (#12772216)
I've been using it in production for a large app for the past week and it's been great. CI is faster, deploying is faster and dev is faster.
Re:NPM v4.0.0 by Etheryte on Sunday October 23, 2016 @05:09AM (#12772680)
Likewise, can't wait for yarn to finish its growing pains, until then it's still npm.
Re:NPM v4.0.0 by vonklaus on Sunday October 23, 2016 @09:13AM (#12773413)
It looks like they want to just eat bower. Tbh, if webpack or browserify can eat a tooling & dev stack, and yarn can eat bower and do package management, it would be a nice workflow.

I wouldn't want 1 tool to rule them all, but a single tooling/dev/task kit and a single dependency/pckg manager would be nice.

Re:NPM v4.0.0 by cel1ne on Sunday October 23, 2016 @05:57AM (#12772799)
It seem to ignore shrinkwrapped packages as well: https://medium.com/@boennemann/avoid-yarn-for-packages-and-f...