Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#44245 closed defect (bug) (fixed)

Use npm v6.1.0

Reported by: netweb's profile netweb Owned by: azaozz's profile azaozz
Milestone: 5.0 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch commit
Focuses: Cc:

Description

We should use the latest stable release of npm, this is the v6 branch, the current version is 6.1.0

Using a standardised version of npm allows developers contributing to core to have a common local configuration eliminating potential lock file compatibilities that can occur when using npm v5 vs v6

This will also require a systems request for the build server to be updated to npm 6.1.0, currently, the build server is using npm 5.5.1, see https://make.wordpress.org/systems/2017/12/11/node-js-8-x-on-build-server/

Related: #35105 / [42461]

Attachments (1)

44245.diff (379 bytes) - added by netweb 6 years ago.

Download all attachments as: .zip

Change History (5)

@netweb
6 years ago

#1 @netweb
6 years ago

Example Systems Request: https://make.wordpress.org/systems/

Use npm 6.1.0 on build server

Hi, as per #44245-core could we please have the npm version 6.1.0 release installed on WordPress.org?

This will be needed for WordPress 5.0 & Gutenberg (once merged) for build scripts to operate.

Currently we have npm 5.5.1

#prio2

#2 @azaozz
6 years ago

  • Owner set to azaozz
  • Resolution set to fixed
  • Status changed from new to closed

In 43320:

Build tools: Use npm v6.1.0.

Props netweb.
Fixes #44245.

#4 @jorbin
6 years ago

committed to 5.0 in [43684]

Note: See TracTickets for help on using tickets.