|
1 | 1 | {
|
2 |
| - "name": "islandora/drupal-project", |
3 |
| - "description": "Project template for Drupal 8 projects with composer", |
| 2 | + "name": "danny/profile_test", |
4 | 3 | "type": "project",
|
5 |
| - "license": "GPL-2.0-or-later", |
6 |
| - "authors": [ |
| 4 | + "repositories" : [ |
| 5 | + { |
| 6 | + "type": "composer", |
| 7 | + "url": "https://packages.drupal.org/8" |
| 8 | + }, |
| 9 | + { |
| 10 | + "type": "composer", |
| 11 | + "url": "https://asset-packagist.org" |
| 12 | + }, |
| 13 | + { |
| 14 | + "type": "package", |
| 15 | + "package": { |
| 16 | + "name": "mjordan/islandora_workbench_integration", |
| 17 | + "version": "1.0", |
| 18 | + "type": "drupal-module", |
| 19 | + "source": { |
| 20 | + "url": "https://github.com/mjordan/islandora_workbench_integration.git", |
| 21 | + "type": "git", |
| 22 | + "reference": "main" |
| 23 | + } |
| 24 | + } |
| 25 | + }, |
| 26 | + { |
| 27 | + "type": "package", |
| 28 | + "package": { |
| 29 | + "name": "library/openseadragon", |
| 30 | + "version": "2.4.2", |
| 31 | + "type": "drupal-library", |
| 32 | + "dist": { |
| 33 | + "url": "https://github.com/openseadragon/openseadragon/releases/download/v2.4.2/openseadragon-bin-2.4.2.zip", |
| 34 | + "type": "zip" |
| 35 | + } |
| 36 | + } |
| 37 | + }, |
7 | 38 | {
|
8 |
| - "name": "Islandora Foundation", |
9 |
| - "role": "Owner", |
10 |
| - |
| 39 | + "type": "package", |
| 40 | + "package": { |
| 41 | + "name": "library/pdf.js", |
| 42 | + "version": "2.4.456", |
| 43 | + "type": "drupal-library", |
| 44 | + "dist": { |
| 45 | + "url": "https://github.com/mozilla/pdf.js/releases/download/v2.4.456/pdfjs-2.4.456-dist.zip", |
| 46 | + "type": "zip" |
| 47 | + } |
| 48 | + } |
11 | 49 | }
|
12 | 50 | ],
|
13 |
| - "repositories": [ |
| 51 | + "authors": [ |
14 | 52 | {
|
15 |
| - "type": "composer", |
16 |
| - "url": "https://packages.drupal.org/8" |
| 53 | + "name": "dannylamb", |
| 54 | + |
17 | 55 | }
|
18 | 56 | ],
|
19 | 57 | "require": {
|
20 |
| - "composer/installers": "^1.9", |
21 |
| - "cweagans/composer-patches": "^1.7", |
22 |
| - "drupal/admin_toolbar": "^1.27", |
23 |
| - "drupal/auto_entitylabel": "2.1.0-beta1", |
24 |
| - "drupal/bootstrap": "^3.19", |
25 |
| - "drupal/config_inspector": "^1.3", |
26 |
| - "drupal/content_browser": "^1.0@alpha", |
27 |
| - "drupal/core": "^8.9", |
28 |
| - "drupal/core-composer-scaffold": "^8.9", |
29 |
| - "drupal/devel": "^2.0", |
30 |
| - "drupal/facets": "^1.3", |
31 |
| - "drupal/libraries": "^3.0@alpha", |
32 |
| - "drupal/matomo": "^1.7", |
33 |
| - "drupal/name": "^1.0@RC", |
34 |
| - "drupal/pdf": "1.x-dev", |
35 |
| - "drupal/rdfui": "^1.0-beta1", |
36 |
| - "drupal/rest_oai_pmh": "^1.0", |
37 |
| - "drupal/restui": "^1.16", |
38 |
| - "drupal/search_api_solr": "^2.0", |
39 |
| - "drupal/solid": "^1.1", |
40 |
| - "drupal/uikit": "^3.15", |
41 |
| - "drupal/views_bulk_edit": "^2.3", |
42 |
| - "drupal/views_bulk_operations": "^3.9", |
43 |
| - "drupal/views_slideshow": "^4.6", |
44 |
| - "drush/drush": "^9.0.0", |
45 |
| - "islandora-rdm/islandora_fits": "dev-master", |
46 |
| - "islandora/carapace": "3.0.0", |
47 |
| - "islandora/islandora_defaults": "dev-8.x-1.x", |
48 |
| - "islandora/openseadragon": "dev-8.x-1.x", |
49 |
| - "vlucas/phpdotenv": "^2.4", |
50 |
| - "webflo/drupal-finder": "^1.2", |
51 |
| - "webmozart/path-util": "^2.3", |
52 |
| - "zaporylie/composer-drupal-optimizations": "^1.2" |
| 58 | + "islandora/islandora_install_profile_demo": "dev-main" |
53 | 59 | },
|
54 | 60 | "require-dev": {
|
55 |
| - "drupal/core-dev": "^8.8.1" |
| 61 | + "drupal/core-dev": "^8.9", |
| 62 | + "drupal/twig_xdebug": "^1.2" |
56 | 63 | },
|
57 | 64 | "conflict": {
|
58 | 65 | "drupal/drupal": "*"
|
59 | 66 | },
|
60 | 67 | "minimum-stability": "dev",
|
61 | 68 | "prefer-stable": true,
|
62 | 69 | "config": {
|
63 |
| - "discard-changes": true, |
64 |
| - "sort-packages": true |
| 70 | + "sort-packages": true, |
| 71 | + "discard-changes": true |
65 | 72 | },
|
66 | 73 | "autoload": {
|
67 | 74 | "classmap": [
|
68 | 75 | "scripts/composer/ScriptHandler.php"
|
69 | 76 | ],
|
70 |
| - "files": ["load.environment.php"] |
| 77 | + "files": [ |
| 78 | + "load.environment.php" |
| 79 | + ] |
71 | 80 | },
|
72 | 81 | "scripts": {
|
73 | 82 | "pre-install-cmd": [
|
|
78 | 87 | ],
|
79 | 88 | "post-install-cmd": [
|
80 | 89 | "@composer drupal:scaffold",
|
| 90 | + "@create-symlinks", |
81 | 91 | "DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
|
82 | 92 | ],
|
83 | 93 | "post-update-cmd": [
|
84 | 94 | "@composer drupal:scaffold",
|
| 95 | + "@create-symlinks", |
85 | 96 | "DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
|
| 97 | + ], |
| 98 | + "create-symlinks": [ |
| 99 | + "mkdir -p web/sites/all/assets/vendor && ln -sf /var/www/drupal/web/libraries/openseadragon web/sites/all/assets/vendor/", |
| 100 | + "mkdir -p web/sites/default/files/library-definitions", |
| 101 | + "cp web/modules/contrib/openseadragon/openseadragon.json web/sites/default/files/library-definitions" |
86 | 102 | ]
|
87 | 103 | },
|
88 | 104 | "extra": {
|
89 |
| - "drupal-scaffold": { |
90 |
| - "locations": { |
91 |
| - "web-root": "web/" |
92 |
| - } |
93 |
| - }, |
94 |
| - "installer-paths": { |
95 |
| - "web/core": ["type:drupal-core"], |
96 |
| - "web/libraries/{$name}": ["type:drupal-library"], |
97 |
| - "web/modules/contrib/{$name}": ["type:drupal-module"], |
98 |
| - "web/profiles/contrib/{$name}": ["type:drupal-profile"], |
99 |
| - "web/themes/contrib/{$name}": ["type:drupal-theme"], |
100 |
| - "drush/Commands/contrib/{$name}": ["type:drupal-drush"] |
101 |
| - }, |
102 | 105 | "composer-exit-on-patch-failure": true,
|
103 | 106 | "patchLevel": {
|
104 |
| - "drupal/core": "-p2" |
| 107 | + "drupal/core": "-p2", |
| 108 | + "islandora/islandora": "-p2", |
| 109 | + "islandora/islandora_defaults": "-p2" |
105 | 110 | },
|
106 | 111 | "patches": {
|
| 112 | + "drupal/term_reference_tree": { |
| 113 | + "Fixes toURL on null error": "https://www.drupal.org/files/issues/2019-07-30/term_reference_tree-3071428-2.patch" |
| 114 | + }, |
| 115 | + "drupal/features" : { |
| 116 | + "Prevent WSOD when loading an invalid feature": "./assets/patches/tasks_24551412_-_fixed_features_wsod.patch" |
| 117 | + }, |
| 118 | + "drupal/core" : { |
| 119 | + "Fix the issue where COLOR settings are seemingly reverted with deploys": "https://www.drupal.org/files/issues/2021-02-28/2995825-52.patch" |
| 120 | + } |
| 121 | + }, |
| 122 | + "merge-plugin": { |
| 123 | + "recurse": true, |
| 124 | + "merge-dev": true, |
| 125 | + "include": [ |
| 126 | + "web/modules/contrib/masonry/composer.libraries.json", |
| 127 | + "web/modules/contrib/select2/select2.libraries.json" |
| 128 | + ] |
| 129 | + }, |
| 130 | + "installer-types": ["bower-asset", "npm-asset"], |
| 131 | + "installer-paths": { |
| 132 | + "web/core": [ |
| 133 | + "type:drupal-core" |
| 134 | + ], |
| 135 | + "web/libraries/{$name}": [ |
| 136 | + "type:drupal-library", |
| 137 | + "type:bower-asset", |
| 138 | + "type:npm-asset" |
| 139 | + ], |
| 140 | + "web/modules/contrib/{$name}": [ |
| 141 | + "type:drupal-module" |
| 142 | + ], |
| 143 | + "web/modules/custom/{$name}": [ |
| 144 | + "type:drupal-module-custom" |
| 145 | + ], |
| 146 | + "web/modules/bd/{$name}": [ |
| 147 | + "type:drupal-module-bd" |
| 148 | + ], |
| 149 | + "web/profiles/contrib/{$name}": [ |
| 150 | + "type:drupal-profile" |
| 151 | + ], |
| 152 | + "web/themes/contrib/{$name}": [ |
| 153 | + "type:drupal-theme" |
| 154 | + ], |
| 155 | + "web/themes/custom/{$name}": [ |
| 156 | + "type:drupal-theme-custom" |
| 157 | + ], |
| 158 | + "drush/Commands/contrib/{$name}": [ |
| 159 | + "type:drupal-drush" |
| 160 | + ], |
| 161 | + "web/profiles/{$name}": [ |
| 162 | + "type:drupal-profile-custom" |
| 163 | + ] |
107 | 164 | }
|
108 | 165 | }
|
109 | 166 | }
|
0 commit comments