From 38d513f6d6e8a58c0431a62aa19038ceea79e911 Mon Sep 17 00:00:00 2001 From: Adam Dowling Date: Sun, 25 Nov 2018 00:32:59 +0000 Subject: [PATCH] Fixing an issue since 1.6.4 of cweagans/composer-patches where Composer Patches struggles with patches that introduce new file. The solution is to upgrade to the 1.x-dev branch of Composer Patches and add some extra config to Composer.json See: - https://github.com/cweagans/composer-patches/issues/199 - https://github.com/cweagans/composer-patches/issues/43 - https://github.com/cweagans/composer-patches/pull/101 - https://github.com/rwohleb/composer-patches/pull/1 --- composer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 822f6cd..8189e2f 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ ], "require": { "composer/installers": "^1.2", - "cweagans/composer-patches": "~1.0", + "cweagans/composer-patches": "1.x-dev", "drupal-composer/drupal-scaffold": "^2.2", "drupal/components": "^1.0", "drupal/config_filter": "^1.3", @@ -97,6 +97,9 @@ "drush/drush": { "Make drush uli work with docker - stop closing pipes": "https://github.com/drush-ops/drush/commit/70fe65a5ce0b1df37c1ac841395158228e5f9be6.patch" } + }, + "patchLevel": { + "drupal/core": "-p2" } }, "config": {