From f2559484863aba3c7522fad766c2725e0abc503f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20L=C3=B3pez?= Date: Wed, 11 Dec 2024 13:35:40 +0100 Subject: [PATCH] Recipes on Drupal 11 installation too. --- .../patches/drupal-core-3315694-1.patch | 0 .../patches/drupal-core-3416735-1.patch | 0 kickstart/d11/composer.json | 22 +++++++++++++++++-- 3 files changed, 20 insertions(+), 2 deletions(-) rename {aljibe-kickstart => kickstart/common}/patches/drupal-core-3315694-1.patch (100%) rename {aljibe-kickstart => kickstart/common}/patches/drupal-core-3416735-1.patch (100%) diff --git a/aljibe-kickstart/patches/drupal-core-3315694-1.patch b/kickstart/common/patches/drupal-core-3315694-1.patch similarity index 100% rename from aljibe-kickstart/patches/drupal-core-3315694-1.patch rename to kickstart/common/patches/drupal-core-3315694-1.patch diff --git a/aljibe-kickstart/patches/drupal-core-3416735-1.patch b/kickstart/common/patches/drupal-core-3416735-1.patch similarity index 100% rename from aljibe-kickstart/patches/drupal-core-3416735-1.patch rename to kickstart/common/patches/drupal-core-3416735-1.patch diff --git a/kickstart/d11/composer.json b/kickstart/d11/composer.json index 7fadc3b..9836dc6 100644 --- a/kickstart/d11/composer.json +++ b/kickstart/d11/composer.json @@ -11,6 +11,10 @@ } ], "repositories": [ + { + "type": "vcs", + "url": "https://github.com/woredeyonas/Drupal-Recipe-Unpack.git" + }, { "type": "composer", "url": "https://packages.drupal.org/8" @@ -28,7 +32,8 @@ "metadrop/drupal-artifact-builder": "^1.4" }, "require-dev": { - "metadrop/drupal-dev": "^2.0.0" + "metadrop/drupal-dev": "^2.6.0", + "ewcomposer/unpack": "dev-master" }, "conflict": { "drupal/drupal": "*" @@ -50,6 +55,7 @@ "metadrop/composer-comments": true, "php-http/discovery": true, "tbachert/spi": true, + "ewcomposer/unpack": true, "mxr576/ddqg-composer-audit": true } }, @@ -57,11 +63,20 @@ "drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold" }, "extra": { + "patches": { + "drupal/core": { + "Stream wrappers not registered when installing module's default config - https://www.drupal.org/project/drupal/issues/3416735": "https://git.drupalcode.org/project/drupal/-/merge_requests/10421.diff", + "Allow recipe command to write to the container ensuring that cache does not be cleared after a recipe installs a module - https://www.drupal.org/project/drupal/issues/3315694": "patches/drupal-core-3315694-1.patch" + } + }, "drupal-scaffold": { "locations": { "web-root": "./web" } }, + "installer-types": [ + "drupal-recipe" + ], "installer-paths": { "web/core": ["type:drupal-core"], "web/libraries/{$name}": ["type:drupal-library"], @@ -71,7 +86,10 @@ "drush/Commands/contrib/{$name}": ["type:drupal-drush"], "web/modules/custom/{$name}": ["type:drupal-custom-module"], "web/profiles/custom/{$name}": ["type:drupal-custom-profile"], - "web/themes/custom/{$name}": ["type:drupal-custom-theme"] + "web/themes/custom/{$name}": ["type:drupal-custom-theme"], + "web/recipes/{$name}": [ + "type:drupal-recipe" + ] }, "dev-files": { "bin": [