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

WordPress Trac noreply at wordpress.org
Mon Mar 13 21:33:26 UTC 2017


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

Comment (by ocean90):

 To get the right node version we have to check which `grunt-sass` version
 is installed and what its `node-sass` dependency is. For example 4.2 has
 `"grunt-sass": "~0.18.0"` and the `"node-sass": "^2.0.1"` dependency.
 Based on this version we can check https://github.com/sass/node-sass-
 binaries/tree/v2.0.1 for the latest native binding. In this case it's node
 0.12.

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


More information about the wp-trac mailing list