Loading...
 
Skip to main content

History: How to update composer lock

Source of version: 10 (current)

Copy to clipboard
! How to update composer.lock
This is to update Tiki source code to use the latest available code from composer.json, for each branch
* https://gitlab.com/tikiwiki/tiki/-/blob/master/vendor_bundled/composer.json
* https://gitlab.com/tikiwiki/tiki/-/blob/25.x/vendor_bundled/composer.json
* https://gitlab.com/tikiwiki/tiki/-/blob/24.x/vendor_bundled/composer.json
* https://gitlab.com/tikiwiki/tiki/-/blob/21.x/vendor_bundled/composer.json

!!# Update composer.lock
In your branch or main/trunk/master
{CODE(caption="From your tiki root", colors="shell")}./temp/composer.phar update --prefer-dist --working-dir="vendor_bundled" --no-dev{CODE}
-+--no-dev+- indicates to NOT get the developer packages, as this is for the standard Tiki checkout for users.

!!# Contribute
Check changes (git diff) and commit the updated -+vendor_bundled/composer.lock+- (along with __related__ changes to -+vendor_bundled/composer.json+-, __if any__). Push to your fork. Then ((Git Workflow|make a merge request)).

!! Related links
* ((Composer))
* ((How to upgrade Cypht within Tiki via Composer))
* https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
Show PHP error messages