[wp-trac] [WordPress Trac] #49594: Consider using the "install-changed" package
WordPress Trac
noreply at wordpress.org
Tue Mar 24 00:52:54 UTC 2020
#49594: Consider using the "install-changed" package
------------------------------+---------------------
Reporter: azaozz | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.5
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+---------------------
Comment (by azaozz):
Replying to [comment:4 bookdude13]:
> Ready for commit?
Yes, think so. Thanks for testing.
> The plugin only appears to check if package versions change, not general
file changes.
Yep, it is pretty simple. Stores a hash from package.json and compares it
when run. This makes it very good not only after the packages have been
updated but also when the working copy was "reverted" to an earlier
revision. It will "revert" node_modules to the proper versions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49594#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list