composer.lock shall be removed from .gitignore
Hello, I've followed the instructions for installing sylius standard in development mode. It suggests to clone this repo (or creating your own based on this template).
When you are working with docker, the lifecycle will not consider creating a project using composer, like:
php composer.phar create-project sylius/sylius-standard project
Instead,the first command a developer would run is (considering some ad-hoc modifications considering developers operating system to docker-compose):
docker-compose up
Without composer workflow, post-create-project-cmd will never be called, and composer.lock will be always ignored. Issue #665 and PR 855 fixes this problem when working with composer, but I think removing line 19 of .gitignore would be a better approach.
I would like to create a PR, but first I would like to know If there is any reason to keep this file ignored in this repo as it is not a composer library, and composer itself recommends to version composer.lock file.
Thanks in advance
Isn't this also true for those lines?
/yarn.lock
/package-lock.json
Git-based deployment cannot work without those files 😉
Isn't this also true for those lines?
/yarn.lock /package-lock.json
Git-based deployment cannot work without those files 😉
I'd agree. Just ran into this issue while making a CI pipeline for our developers. No yarn/npm lock file included in the repo because of this. It's not part of Webpack Encore's default ignore rules.