[wp-trac] [WordPress Trac] #63390: Add version number tests for package-lock and composer files.
WordPress Trac
noreply at wordpress.org
Mon May 5 01:41:30 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 | Focuses: tests
--------------------------------------+----------------------------
Changes (by peterwilsoncc):
* owner: (none) => peterwilsoncc
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"60219" 60219]:
{{{
#!CommitTicketReference repository="" revision="60219"
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.
Fixes #63390.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63390#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list