From 98ca5dfeb5060ccd19860139901be315e6df87aa Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 12 Feb 2020 10:30:32 +0000 Subject: [PATCH] Exclude unneeded files from Drupal Scaffold Fixes #12 --- composer.json | 8 ++++++++ composer.lock | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 70bc3ce..cc1927d 100644 --- a/composer.json +++ b/composer.json @@ -38,6 +38,14 @@ }, "extra": { "drupal-scaffold": { + "file-mapping": { + "[web-root]/.htaccess": false, + "[web-root]/sites/README.txt": false, + "[web-root]/modules/README.txt": false, + "[web-root]/profiles/README.txt": false, + "[web-root]/themes/README.txt": false, + "[web-root]/web.config": false + }, "locations": { "web-root": "web/" } diff --git a/composer.lock b/composer.lock index 19d3c30..5965609 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ce0c7f4df7de7476333a503afb60c251", + "content-hash": "4d609b8ccbc804f2740116b67cad46fb", "packages": [ { "name": "asm89/stack-cors",