From b17651835d1558a649f5a2a77e868d7fa965e043 Mon Sep 17 00:00:00 2001 From: Omar Lopesino Date: Fri, 22 Nov 2024 16:18:08 +0100 Subject: [PATCH 1/3] Issue #0: Cleanup composer binary This configuration will delete the binary as we use liborm85/composer-vendor-cleaner --- aljibe-kickstart/composer.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/aljibe-kickstart/composer.json b/aljibe-kickstart/composer.json index f82ee9d..b6f2da0 100644 --- a/aljibe-kickstart/composer.json +++ b/aljibe-kickstart/composer.json @@ -83,6 +83,11 @@ "web/profiles/custom/{$name}": ["type:drupal-custom-profile"], "web/themes/custom/{$name}": ["type:drupal-custom-theme"] }, + "dev-files": { + "bin": [ + "composer" + ] + }, "composer-exit-on-patch-failure": true, "enable-patching": true } From fca66b90af1f34abb0a62c0eca5032d1b113d7c6 Mon Sep 17 00:00:00 2001 From: Omar Lopesino Date: Fri, 22 Nov 2024 16:37:51 +0100 Subject: [PATCH 2/3] Allow composer vendor cleaner scripts --- aljibe-kickstart/composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/aljibe-kickstart/composer.json b/aljibe-kickstart/composer.json index b6f2da0..e0d1767 100644 --- a/aljibe-kickstart/composer.json +++ b/aljibe-kickstart/composer.json @@ -55,6 +55,7 @@ "composer/installers": true, "cweagans/composer-patches": true, "drupal/core-composer-scaffold": true, + "liborm85/composer-vendor-cleaner": true, "dealerdirect/phpcodesniffer-composer-installer": true, "phpstan/extension-installer": true, "phpro/grumphp": true, From a2ccb5f1b7142d4c97edd8b15ce43e24c7361888 Mon Sep 17 00:00:00 2001 From: Omar Lopesino Date: Sun, 24 Nov 2024 22:35:58 +0100 Subject: [PATCH 3/3] Fix permissions of composer vendor cleaner package --- aljibe-kickstart/composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aljibe-kickstart/composer.json b/aljibe-kickstart/composer.json index e0d1767..c009bc8 100644 --- a/aljibe-kickstart/composer.json +++ b/aljibe-kickstart/composer.json @@ -55,13 +55,13 @@ "composer/installers": true, "cweagans/composer-patches": true, "drupal/core-composer-scaffold": true, - "liborm85/composer-vendor-cleaner": true, "dealerdirect/phpcodesniffer-composer-installer": true, "phpstan/extension-installer": true, "phpro/grumphp": true, "metadrop/drupal-boilerplate-assistant": true, "metadrop/composer-comments": true, - "php-http/discovery": true + "php-http/discovery": true, + "liborm85/composer-vendor-cleaner": true } }, "scripts": {