[wp-trac] [WordPress Trac] #63390: Add version number tests for package-lock and composer files.
WordPress Trac
noreply at wordpress.org
Tue May 6 02:37:49 UTC 2025
#63390: Add version number tests for package-lock and composer files.
-------------------------------------------------+-------------------------
Reporter: peterwilsoncc | Owner:
| peterwilsoncc
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.8.2
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests dev- | Focuses: tests
reviewed |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"60223" 60223]:
{{{
#!CommitTicketReference repository="" revision="60223"
Build/Test Tools: Test version in additional config files.
Introduces tests to ensure the version numbers in `package-lock.json` (two
instances) and `composer.json` match the WordPress version specified in
`version.php`.
In pull requests, the `package-lock.json` file is updated automatically to
match the version in `package.json`. The new test is intended to ensure
the version numbers are correct in production branches.
Reviewed by jorbin.
Merges [60219], [60221] to the 6.8 branch.
Fixes #63390.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63390#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list