Make WordPress Core

Changeset 59082

Timestamp:
09/23/2024 10:15:11 PM (13 months ago)
Author:
SergeyBiryukov
Message:

Build/Test Tools: Prevent Composer lock file from being created.

Composer 1.10.0 introduced a lock config option, which, when set to false will prevent a composer.lock file from being created and will ignore it when one exists.

This is a useful option for packages like WordPress where the lock file has no meaning.

It also makes life more straightforward for contributors as they don't have to remember that for this repo they should use composer update instead of composer install. Both will now work the same.

Reference: Composer Documentation: Config: lock.

Follow-up to [51543].

Props jrf.
See #61530.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/composer.json

    r59067 r59082  
    2626        "allow-plugins": {
    2727            "dealerdirect/phpcodesniffer-composer-installer": true
    28         }
     28        },
     29        "lock": false
    2930    },
    3031    "scripts": {
Note: See TracChangeset for help on using the changeset viewer.