[wp-trac] [WordPress Trac] #35105: Specifiy minimum node and npm version in package.json

WordPress Trac noreply at wordpress.org
Wed Mar 23 06:47:39 UTC 2016


#35105: Specifiy minimum node and npm version in package.json
------------------------------+-----------------------------
 Reporter:  jorbin            |       Owner:  jorbin
     Type:  task (blessed)    |      Status:  assigned
 Priority:  normal            |   Milestone:  Future Release
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+-----------------------------

Comment (by netweb):

 Replying to [comment:10 netweb]:
 > NPM Roadmap https://github.com/npm/npm/wiki/Roadmap#tactical-roadmap
 >
 > > ''npm is currently supporting two release series. npm at 3 is the current
 stable release series, and is included with Node.js 5. npm at 2 is the legacy
 / long-term support release series, and will be supported for the Node.js
 0.10, 0.12 and 4 LTS releases.''

 Currently we overwrite the default Travis NPM installed version of NPM
 with `npm install -g npm` in our `.travis.yml`
 [https://core.trac.wordpress.org/browser/trunk/.travis.yml#L50 here], this
 installs the latest version which is the NPM v3 branch, this has been the
 case for quite some time, so we can either lock down v2 of NPM or continue
 to use v3. I think sticking to the v2 LTS branch might be the best option,
 less chance of it coming back to haunt us.

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


More information about the wp-trac mailing list