composer.json 5.4 KB

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