I am working on an OpenSocial project and its installed via composer. I am having a folder structure as below:
- composer.json
- composer.lock
- html
(Drupal Installation.) - vendor
(Dependencies)
When creating, should I add the all files including composer.json and vendor to the Git repository, or just the html directory?
In some cases, for example in a normal Drupal 8 installation the Composer files and the vendor directory are in the same directory as the Drupal files.