2025-04-16 18:18:17 +01:00
|
|
|
{
|
|
|
|
"name": "drupal/recommended-project",
|
|
|
|
"description": "Project template for Drupal projects with a relocated document root",
|
|
|
|
"type": "project",
|
|
|
|
"license": "GPL-2.0-or-later",
|
|
|
|
"homepage": "https://www.drupal.org/project/drupal",
|
|
|
|
"support": {
|
|
|
|
"docs": "https://www.drupal.org/docs/user_guide/en/index.html",
|
|
|
|
"chat": "https://www.drupal.org/node/314178"
|
|
|
|
},
|
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "composer",
|
|
|
|
"url": "https://packages.drupal.org/8"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
|
|
|
"composer/installers": "^2.3",
|
2025-05-29 15:57:40 +01:00
|
|
|
"cweagans/composer-patches": "^1.7",
|
2025-05-30 01:06:54 +01:00
|
|
|
"drupal/auto_entitylabel": "^3.4",
|
2025-04-16 18:18:17 +01:00
|
|
|
"drupal/core-composer-scaffold": "^11.1",
|
2025-04-16 18:18:17 +01:00
|
|
|
"drupal/core-recommended": "^11.1",
|
2025-06-15 15:17:49 +01:00
|
|
|
"drupal/drupal_cms_admin_ui": "^1.1",
|
2025-04-16 18:18:17 +01:00
|
|
|
"drupal/drupal_cms_seo_tools": "^1.1",
|
2025-05-23 08:43:26 +01:00
|
|
|
"drupal/markdown_easy": "^1.0",
|
2025-04-29 18:13:22 +01:00
|
|
|
"drupal/paragraphs": "^1.19",
|
2025-05-11 10:47:19 +01:00
|
|
|
"drupal/pathauto": "^1.13",
|
2025-06-21 22:06:57 +01:00
|
|
|
"drupal/podcast": "^1.10",
|
2025-05-25 10:11:35 +01:00
|
|
|
"drupal/redirect": "^1.11",
|
2025-05-29 15:57:40 +01:00
|
|
|
"drupal/rel_to_abs": "^2.2",
|
2025-04-16 18:18:17 +01:00
|
|
|
"drupal/tome": "^1.13",
|
2025-05-16 09:46:35 +01:00
|
|
|
"drupal/twig_tweak": "^3.4",
|
2025-05-16 00:37:24 +01:00
|
|
|
"drupal/weight": "^3.6",
|
2025-05-29 15:57:40 +01:00
|
|
|
"drush/drush": "^13.5",
|
|
|
|
"mglaman/composer-drupal-lenient": "^1.0"
|
2025-04-16 18:18:17 +01:00
|
|
|
},
|
|
|
|
"conflict": {
|
|
|
|
"drupal/drupal": "*"
|
|
|
|
},
|
|
|
|
"minimum-stability": "stable",
|
|
|
|
"prefer-stable": true,
|
|
|
|
"config": {
|
|
|
|
"allow-plugins": {
|
|
|
|
"composer/installers": true,
|
2025-05-29 15:57:40 +01:00
|
|
|
"cweagans/composer-patches": true,
|
2025-05-12 01:13:25 +01:00
|
|
|
"dealerdirect/phpcodesniffer-composer-installer": true,
|
2025-04-16 18:18:17 +01:00
|
|
|
"drupal/core-composer-scaffold": true,
|
2025-05-29 15:57:40 +01:00
|
|
|
"mglaman/composer-drupal-lenient": true,
|
2025-05-12 01:13:25 +01:00
|
|
|
"php-http/discovery": true,
|
2025-04-16 18:18:17 +01:00
|
|
|
"phpstan/extension-installer": true,
|
2025-05-12 01:13:25 +01:00
|
|
|
"tbachert/spi": true
|
2025-04-16 18:18:17 +01:00
|
|
|
},
|
|
|
|
"sort-packages": true
|
|
|
|
},
|
|
|
|
"extra": {
|
|
|
|
"drupal-scaffold": {
|
|
|
|
"locations": {
|
|
|
|
"web-root": "web/"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"installer-paths": {
|
|
|
|
"web/core": [
|
|
|
|
"type:drupal-core"
|
|
|
|
],
|
|
|
|
"web/libraries/{$name}": [
|
|
|
|
"type:drupal-library"
|
|
|
|
],
|
|
|
|
"web/modules/contrib/{$name}": [
|
|
|
|
"type:drupal-module"
|
|
|
|
],
|
|
|
|
"web/profiles/contrib/{$name}": [
|
|
|
|
"type:drupal-profile"
|
|
|
|
],
|
|
|
|
"web/themes/contrib/{$name}": [
|
|
|
|
"type:drupal-theme"
|
|
|
|
],
|
|
|
|
"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"
|
|
|
|
],
|
|
|
|
"recipes/{$name}": [
|
|
|
|
"type:drupal-recipe"
|
|
|
|
]
|
|
|
|
},
|
2025-05-29 15:57:40 +01:00
|
|
|
"drupal-lenient": {
|
|
|
|
"allowed-list": ["drupal/rel_to_abs"]
|
|
|
|
},
|
|
|
|
"patches": {
|
|
|
|
"drupal/rel_to_abs": {
|
|
|
|
"Automated Drupal 11 compatibility fixes for rel_to_abs": "https://www.drupal.org/files/issues/2024-03-24/rel_to_abs.2.2.5.rector.patch"
|
|
|
|
}
|
2025-04-16 18:18:17 +01:00
|
|
|
}
|
2025-04-17 22:13:23 +01:00
|
|
|
},
|
|
|
|
"scripts": {
|
2025-04-29 14:37:43 +01:00
|
|
|
"export": "drush tome:export --yes",
|
|
|
|
"import": "drush tome:import",
|
|
|
|
"generate": "drush tome:static --uri https://www.oliverdavies.uk",
|
2025-05-11 23:56:07 +01:00
|
|
|
"post-install-cmd": [
|
|
|
|
"@symlink"
|
|
|
|
],
|
|
|
|
"post-update-cmd": [
|
|
|
|
"@symlink"
|
|
|
|
],
|
|
|
|
"symlink": "./tools/scripts/symlink.sh",
|
2025-04-17 22:13:23 +01:00
|
|
|
"test": [
|
2025-06-09 01:44:37 +01:00
|
|
|
"composer validate --strict",
|
|
|
|
"phpstan analyze",
|
|
|
|
"phpunit --testdox"
|
2025-04-17 22:13:23 +01:00
|
|
|
]
|
2025-05-12 01:13:25 +01:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2025-06-10 20:47:23 +01:00
|
|
|
"drupal/core-dev": "^11.1",
|
|
|
|
"weitzman/drupal-test-traits": "^2.5"
|
2025-04-16 18:18:17 +01:00
|
|
|
}
|
2025-04-16 18:18:17 +01:00
|
|
|
}
|