Remove .git directories within contrib modules

Automatically remove any `.git` directories within the project's
dependencies, such as within contrib modules like Plausible which caused
`web/modules/contrib` to keep appearing and being added to the index.
This commit is contained in:
Oliver Davies 2020-10-24 19:36:53 +01:00
parent 0dabdad72b
commit 958111d80f
4 changed files with 43 additions and 2 deletions

View file

@ -44,7 +44,8 @@
"drupal/stage_file_proxy": "^1.0",
"drush/drush": "^9",
"illuminate/support": "^7.10",
"nesbot/carbon": "^2.33"
"nesbot/carbon": "^2.33",
"topfloor/composer-cleanup-vcs-dirs": "^1.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2",