Skip to content

Commit

Permalink
Change composer namespaces from islandora to drupal. (#62)
Browse files Browse the repository at this point in the history
* Change composer namespaces from islandora to drupal.

* include composer replace for old namespace.
  • Loading branch information
rosiel committed Sep 4, 2024
1 parent 9cf8e18 commit d43a1bc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-2.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
cd $DRUPAL_DIR
composer config repositories.local path "$GITHUB_WORKSPACE/build_dir"
composer config minimum-stability dev
composer require "islandora/openseadragon:dev-github-testing as dev-2.x"
composer require "drupal/openseadragon:dev-github-testing as dev-2.x"
- name: Install modules
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Drupal FieldFormatter to display an image or generic file using a IIIF Image ser
## Installation

This module can be installed via composer and enabled via Drush, like:
1. `composer require islandora/openseadragon:^2.0`
1. `composer require drupal/openseadragon:^2.0`
1. `drush pm-en openseadragon`

Downloading/deploying the openseadragon library itself is not neccessary, as it is referenced externally via a CDN.
Expand Down
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "islandora/openseadragon",
"name": "drupal/openseadragon",
"description": "OpenSeadragon",
"type": "drupal-module",
"minimum-stability": "dev",
Expand All @@ -10,6 +10,9 @@
"support": {
"issues": "https://github.com/Islandora/documentation/issues"
},
"replace": {
"islandora/openseadragon": "self.version"
},
"require": {
"drupal/token": "^1.3"
},
Expand Down

0 comments on commit d43a1bc

Please sign in to comment.