Hello Yarn 2, Goodbye node_modules
freddixx.medium.com
Hello Yarn 2, Goodbye node_modules
1–10 of 160 posts
Re: Hello Yarn 2, Goodbye node_modules
#2Kind of frustrating that this article doesn’t really describe in a nutshell how they do it, despite it being the title. It kind of assumes you already read about dropping node_modules.
Re: Hello Yarn 2, Goodbye node_modules
#3Yes excited for this. I do believe having yarn introduced was the exact push NPM needed in order to tidy up their consistent installs game at that time. Hope these additions will make the ecosystem better.
Re: Hello Yarn 2, Goodbye node_modules
#4Kind of frustrating that this article doesn’t really describe in a nutshell how they do it, despite it being the title. It kind of assumes you already read about dropping node_modules.
For anyone curious, that’s mainly described in the linked article here: https://yarnpkg.com/features/pnp
Re: Hello Yarn 2, Goodbye node_modules
#5Why cant i scroll down on that page ?
Re: Hello Yarn 2, Goodbye node_modules
#6So the cost is you add another tool (yarn) to your toolchain and this is better than NPM because your deps are all in one folder and just mapped through a header file instead of being duplicated for every project, am I understanding that right?
Re: Hello Yarn 2, Goodbye node_modules
#7So the cost is you add another tool (yarn) to your toolchain and this is better than NPM because your deps are all in one folder and just mapped through a header file instead of being duplicated for every project, am I understanding that right?
For a good while most people were better served by yarn anyway. I don't know exactly the current state of npm, but part of yarn's draw (even prior to the pnp aspect) was having deterministic builds. Even with a package lockfile, npm couldn't do that.
Re: Hello Yarn 2, Goodbye node_modules
#8Why is it that when I look at Yarn releases on GitHub it doesn't show v2?
Re: Hello Yarn 2, Goodbye node_modules
#9How can you prevent from accidentally running npm or if a script runs it?
Re: Hello Yarn 2, Goodbye node_modules
#10It’s insane that only now we have bundler