From b85f318f043ffcdd4c4d4bade12c4fa478be932b Mon Sep 17 00:00:00 2001 From: Rosie Le Faive Date: Wed, 4 Sep 2024 14:18:53 -0300 Subject: [PATCH] Prefer drupal namespace in Composer. (#1020) * Prefer drupal namespace in Composer. * Update ci to use drupal namespace. * Update composer.json Co-authored-by: Adam <607975+adam-vessey@users.noreply.github.com> --------- Co-authored-by: Adam <607975+adam-vessey@users.noreply.github.com> --- .github/workflows/build-2.x.yml | 2 +- composer.json | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-2.x.yml b/.github/workflows/build-2.x.yml index 529aeff02..94a917fba 100644 --- a/.github/workflows/build-2.x.yml +++ b/.github/workflows/build-2.x.yml @@ -89,7 +89,7 @@ jobs: cd $DRUPAL_DIR composer config repositories.local path "$GITHUB_WORKSPACE/build_dir" composer config minimum-stability dev - composer require "islandora/islandora:dev-github-testing as dev-2.x" + composer require "drupal/islandora:dev-github-testing as dev-2.x" - name: Install modules run: | diff --git a/composer.json b/composer.json index 9a3c693e8..ac785cc60 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "islandora/islandora", + "name": "drupal/islandora", "description": "Core Islandora module", "type": "drupal-module", "keywords": ["Drupal", "Islandora"], @@ -7,6 +7,9 @@ "support": { "issues": "https://github.com/Islandora/documentation/issues" }, + "replace": { + "islandora/islandora": "self.version" + }, "repositories": [ { "type": "composer",