composer.json 5.4 KB

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