cypht
cypht copied to clipboard
Decide if composer.lock should be tracked in Git (or stay with composer.lock in .gitignore)
https://stackoverflow.com/questions/12896780/should-composer-lock-be-committed-to-version-control
https://search.brave.com/search?q=composer.lock
composer.lock is now in https://github.com/jasonmunro/cypht/blob/master/.gitignore
Related: https://github.com/jasonmunro/cypht/issues/311
Related chat thread on Gitter: https://gitter.im/cypht-org/community?at=62fa629511a6a83d040e77fb
Removing composer.lock has caused an issue with install. As composer.json contains the pre install and pre update commands composer check-platform-reqs
, composer install
expects a lockfile to be present.
I'm a neophyte with composer and stuff, so I worked around this by replacing the commands in pre-install and pre-update with echo hi
and then composer install
correctly generated the lockfile.
Removing composer.lock has caused an issue with install. As composer.json contains the pre install and pre update commands
composer check-platform-reqs
,composer install
expects a lockfile to be present.
I'm having this same issue when trying to update.
Related: https://github.com/jasonmunro/cypht/pull/632/files