composer.json 5.5 KB

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