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 git or just add the content of html directory?
Note In some cases, for example in a normal D8 installation the composer files and vendor directories are in the same directory as Drupal installation.