composer.json 4.8 KB

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