composer.json 4.6 KB

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