composer.json 4.7 KB

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