[wp-trac] [WordPress Trac] #38603: Explore adding Yarn and a `yarn.lock` file for NPM module management

WordPress Trac noreply at wordpress.org
Wed May 3 22:55:08 UTC 2017


#38603: Explore adding Yarn and a `yarn.lock` file for NPM module management
------------------------------+-----------------------------
 Reporter:  netweb            |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Future Release
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+-----------------------------

Comment (by netweb):

 A couple of things, NPM 5 is due out tomorrow, it purportedly has a
 massive performance increase comparable to Yarn,
 https://github.com/npm/npm/pull/16244

 Yarn also includes a yet to be
 [https://github.com/yarnpkg/website/issues/378 undocumented] `--frozen-
 lockfile` option, this sounds as if (further research required) it might
 be a good way in keeping `package.json`,  `yarn.lock` and `npm-
 shrinkwrap.json` in sync with each other.

 Npm vs Yarn Performance stats:
 https://github.com/npm/npm/pull/16244#issuecomment-297190219

 ''It'll be interesting in the coming days to run some performance tests
 here for our use case''

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38603#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list