composer.json 5.3 KB

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