[wp-trac] [WordPress Trac] #44246: Add `check-node-version` to check required Node.js and npm versions are installed

WordPress Trac noreply at wordpress.org
Sun May 27 12:16:11 UTC 2018


#44246: Add `check-node-version` to check required Node.js and npm versions are
installed
------------------------------+------------------------------
 Reporter:  netweb            |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  5.0
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:  has-patch commit
  Focuses:                    |
------------------------------+------------------------------
 This change adds a npm script to the `preinstall` task of `npm install` to
 check that the required npm and Node.js versions are installed and being
 used in the current terminal shell instance. If the Node.js version is not
 `8.9.3` or npm version is not greater than `6.1.0` a warning will be
 displayed notifying the user to update the respective build tooling.

 The attached patch depends on #44245 being committed first

 Related: #44245, #43731

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44246>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list