[wp-trac] [WordPress Trac] #49594: Consider using the "install-changed" package

WordPress Trac noreply at wordpress.org
Tue Mar 24 01:04:57 UTC 2020


#49594: Consider using the "install-changed" package
------------------------------+---------------------
 Reporter:  azaozz            |       Owner:  azaozz
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  5.5
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+---------------------
Changes (by azaozz):

 * owner:  (none) => azaozz
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47497" 47497]:
 {{{
 #!CommitTicketReference repository="" revision="47497"
 Build/Test Tools: Introduce Install-changed. It keeps a hash of
 `package.json` and compares it when run. If it has any changes, it runs
 `npm install`.

 This keeps `node_modules` always updated and is useful not only when the
 packages have been updated, but also when the working copy has been
 "reverted" to an earlier revision.

 Fixes #49594.
 }}}

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


More information about the wp-trac mailing list