composer.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. {
  2. "name": "drupal/recommended-project",
  3. "description": "Project template for Drupal projects with a relocated document root",
  4. "type": "project",
  5. "license": "GPL-2.0-or-later",
  6. "homepage": "https://www.drupal.org/project/drupal",
  7. "support": {
  8. "docs": "https://www.drupal.org/docs/user_guide/en/index.html",
  9. "chat": "https://www.drupal.org/node/314178"
  10. },
  11. "repositories": [
  12. {
  13. "type": "composer",
  14. "url": "https://packages.drupal.org/8"
  15. }
  16. ],
  17. "require": {
  18. "composer/installers": "^2.0",
  19. "drupal/address": "^1.12",
  20. "drupal/admin_theme": "^1.0",
  21. "drupal/advanced_email_validation": "^1.1",
  22. "drupal/amswap": "^3.2",
  23. "drupal/config_pages": "^2.15",
  24. "drupal/content_as_config": "^1.0",
  25. "drupal/core-composer-scaffold": "^10.1",
  26. "drupal/core-project-message": "^10.1",
  27. "drupal/core-recommended": "^10.1",
  28. "drupal/linked_field": "^1.5",
  29. "drupal/login_destination": "^2.0@beta",
  30. "drupal/mailsystem": "^4.4",
  31. "drupal/matomo": "^1.23",
  32. "drupal/mimemail": "^1.0@alpha",
  33. "drupal/notify": "^2.0@beta",
  34. "drupal/page_manager": "^4.0@RC",
  35. "drupal/panels": "^4.7",
  36. "drupal/paragraphs": "^1.16",
  37. "drupal/phone_number": "^2.0@alpha",
  38. "drupal/rules": "^3.0@alpha",
  39. "drupal/social_media_links": "^2.9",
  40. "drupal/typed_data": "^1.0@beta",
  41. "drupal/webform": "^6.2",
  42. "wikimedia/composer-merge-plugin": "^2.1"
  43. },
  44. "conflict": {
  45. "drupal/drupal": "*"
  46. },
  47. "minimum-stability": "stable",
  48. "prefer-stable": true,
  49. "config": {
  50. "allow-plugins": {
  51. "composer/installers": true,
  52. "drupal/core-composer-scaffold": true,
  53. "drupal/core-project-message": true,
  54. "phpstan/extension-installer": true,
  55. "dealerdirect/phpcodesniffer-composer-installer": true,
  56. "wikimedia/composer-merge-plugin": true,
  57. "cweagans/composer-patches": true
  58. },
  59. "sort-packages": true
  60. },
  61. "extra": {
  62. "drupal-scaffold": {
  63. "locations": {
  64. "web-root": "web/"
  65. }
  66. },
  67. "installer-paths": {
  68. "web/core": [
  69. "type:drupal-core"
  70. ],
  71. "web/libraries/{$name}": [
  72. "type:drupal-library"
  73. ],
  74. "web/modules/contrib/{$name}": [
  75. "type:drupal-module"
  76. ],
  77. "web/profiles/contrib/{$name}": [
  78. "type:drupal-profile"
  79. ],
  80. "web/themes/contrib/{$name}": [
  81. "type:drupal-theme"
  82. ],
  83. "drush/Commands/contrib/{$name}": [
  84. "type:drupal-drush"
  85. ],
  86. "web/modules/custom/{$name}": [
  87. "type:drupal-custom-module"
  88. ],
  89. "web/profiles/custom/{$name}": [
  90. "type:drupal-custom-profile"
  91. ],
  92. "web/themes/custom/{$name}": [
  93. "type:drupal-custom-theme"
  94. ]
  95. },
  96. "drupal-core-project-message": {
  97. "include-keys": [
  98. "homepage",
  99. "support"
  100. ],
  101. "post-create-project-cmd-message": [
  102. "<bg=blue;fg=white> </>",
  103. "<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>",
  104. "<bg=blue;fg=white> from the drupal/recommended-project template! </>",
  105. "<bg=blue;fg=white> </>",
  106. "",
  107. "<bg=yellow;fg=black>Next steps</>:",
  108. " * Install the site: https://www.drupal.org/docs/installing-drupal",
  109. " * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
  110. " * Get support: https://www.drupal.org/support",
  111. " * Get involved with the Drupal community:",
  112. " https://www.drupal.org/getting-involved",
  113. " * Remove the plugin that prints this message:",
  114. " composer remove drupal/core-project-message"
  115. ]
  116. },
  117. "merge-plugin": {
  118. "include": [
  119. "web/profiles/drupal-starterkit-profile/composer.json"
  120. ],
  121. "recurse": true,
  122. "replace": false,
  123. "merge-extra": true
  124. },
  125. "patches": {
  126. "drupal/social_media_links":{
  127. "Replace Twitter with X https://www.drupal.org/project/social_media_links/issues/3384469": "https://www.drupal.org/files/issues/2023-09-12/social_media_links-change_twitter_to_x-3384469-7.patch"
  128. }
  129. }
  130. }
  131. }