composer.json 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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/administerusersbyrole": "^3.4",
  22. "drupal/advanced_email_validation": "^1.1",
  23. "drupal/amswap": "^3.2",
  24. "drupal/autotitle": "^1.3",
  25. "drupal/conditional_fields": "^4.0@alpha",
  26. "drupal/config_pages": "^2.15",
  27. "drupal/content_as_config": "^1.0",
  28. "drupal/core-composer-scaffold": "^10.1",
  29. "drupal/core-project-message": "^10.1",
  30. "drupal/core-recommended": "^10.1",
  31. "drupal/field_permissions": "^1.3",
  32. "drupal/image_delta_formatter": "^1.2",
  33. "drupal/image_field_caption": "^2.0",
  34. "drupal/linked_field": "^1.5",
  35. "drupal/login_destination": "^2.0@beta",
  36. "drupal/mailsystem": "^4.4",
  37. "drupal/matomo": "^1.23",
  38. "drupal/menu_trail_by_path": "^2.0",
  39. "drupal/mimemail": "^1.0@alpha",
  40. "drupal/notify": "^2.0@beta",
  41. "drupal/page_manager": "^4.0@RC",
  42. "drupal/panels": "^4.7",
  43. "drupal/paragraphs": "^1.16",
  44. "drupal/phone_number": "^2.0@alpha",
  45. "drupal/quick_node_clone": "^1.18",
  46. "drupal/rules": "^3.0@alpha",
  47. "drupal/social_media_links": "^2.9",
  48. "drupal/typed_data": "^1.0@beta",
  49. "drupal/webform": "^6.2",
  50. "wikimedia/composer-merge-plugin": "^2.1"
  51. },
  52. "conflict": {
  53. "drupal/drupal": "*"
  54. },
  55. "minimum-stability": "stable",
  56. "prefer-stable": true,
  57. "config": {
  58. "allow-plugins": {
  59. "composer/installers": true,
  60. "drupal/core-composer-scaffold": true,
  61. "drupal/core-project-message": true,
  62. "phpstan/extension-installer": true,
  63. "dealerdirect/phpcodesniffer-composer-installer": true,
  64. "wikimedia/composer-merge-plugin": true,
  65. "cweagans/composer-patches": true
  66. },
  67. "sort-packages": true
  68. },
  69. "extra": {
  70. "drupal-scaffold": {
  71. "locations": {
  72. "web-root": "web/"
  73. }
  74. },
  75. "installer-paths": {
  76. "web/core": [
  77. "type:drupal-core"
  78. ],
  79. "web/libraries/{$name}": [
  80. "type:drupal-library"
  81. ],
  82. "web/modules/contrib/{$name}": [
  83. "type:drupal-module"
  84. ],
  85. "web/profiles/contrib/{$name}": [
  86. "type:drupal-profile"
  87. ],
  88. "web/themes/contrib/{$name}": [
  89. "type:drupal-theme"
  90. ],
  91. "drush/Commands/contrib/{$name}": [
  92. "type:drupal-drush"
  93. ],
  94. "web/modules/custom/{$name}": [
  95. "type:drupal-custom-module"
  96. ],
  97. "web/profiles/custom/{$name}": [
  98. "type:drupal-custom-profile"
  99. ],
  100. "web/themes/custom/{$name}": [
  101. "type:drupal-custom-theme"
  102. ]
  103. },
  104. "drupal-core-project-message": {
  105. "include-keys": [
  106. "homepage",
  107. "support"
  108. ],
  109. "post-create-project-cmd-message": [
  110. "<bg=blue;fg=white> </>",
  111. "<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>",
  112. "<bg=blue;fg=white> from the drupal/recommended-project template! </>",
  113. "<bg=blue;fg=white> </>",
  114. "",
  115. "<bg=yellow;fg=black>Next steps</>:",
  116. " * Install the site: https://www.drupal.org/docs/installing-drupal",
  117. " * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
  118. " * Get support: https://www.drupal.org/support",
  119. " * Get involved with the Drupal community:",
  120. " https://www.drupal.org/getting-involved",
  121. " * Remove the plugin that prints this message:",
  122. " composer remove drupal/core-project-message"
  123. ]
  124. },
  125. "merge-plugin": {
  126. "include": [
  127. "web/profiles/drupal-starterkit-profile/composer.json"
  128. ],
  129. "recurse": true,
  130. "replace": false,
  131. "merge-extra": true
  132. },
  133. "patches": {
  134. "drupal/social_media_links":{
  135. "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"
  136. },
  137. "drupal/nodeaccess":{
  138. "Preserve role grants when adding custom grants on node https://www.drupal.org/project/nodeaccess/issues/3144313": "https://www.drupal.org/files/issues/2024-02-08/preserve-role-grants-when-adding-custom-grants-on-node--3144313--13.patch"
  139. }
  140. }
  141. }
  142. }