Migrating JS from Yarn to NPM

In Ruby on Rails, the software ecosystem I predominantly work in these days, yarn has been the default package manager for the javascript side of things for a long time. (See my big write-up of the timeline & current state of frontend asset management in Rails ). When many of the apps I regularly work on were written, that was a pretty reasonable choice! Yarn had some solid advantages over npm…