[wp-trac] [WordPress Trac] #45149: Configure NPM to save exact versions

WordPress Trac noreply at wordpress.org
Tue Oct 23 07:11:20 UTC 2018


#45149: Configure NPM to save exact versions
------------------------------+---------------------
 Reporter:  netweb            |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  5.0
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+---------------------

Comment (by netweb):

 Patch [attachment:"45149.diff"] details:

 • There are 5 `devDependencies` versions that are bumped to the
 ''current'' latest which would match the previous semver constraint, under
 the assumption that this is what would currently be installed by a fresh
 clone anyways.

 • There are only some ''optional'' (see below) changes to the `package-
 lock.json` file as the existing versions are already used in the `package-
 lock.json` file

 ----

 After applying the [attachment:"45149.diff"] on my Mac and running `npm
 install` the `package-lock.json` changes are the inverse of the changes
 added in [43801]

 These changes can be seen in the [attachment:"45149-lock.diff"] file
 attached (do not commit this patch)

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


More information about the wp-trac mailing list