composer.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. {
  2. "name": "drupal/recommended-project",
  3. "description": "Project template for Drupal 9 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": "^1.9",
  19. "drupal/administerusersbyrole": "^3.0",
  20. "drupal/config_pages": "2.x-dev@dev",
  21. "drupal/core-composer-scaffold": "^9.2",
  22. "drupal/core-project-message": "^9.2",
  23. "drupal/core-recommended": "^9.2",
  24. "drupal/entity_type_clone": "^1.7",
  25. "drupal/formatter_suite": "^1.3",
  26. "drupal/image_delta_formatter": "^1.1",
  27. "drupal/image_field_caption": "^1.1",
  28. "drupal/linked_field": "^1.3",
  29. "drupal/manage_display": "1.x-dev@dev",
  30. "drupal/page_manager": "4.x-dev@dev",
  31. "drupal/panels": "^4.6",
  32. "drupal/paragraphs": "1.x-dev@dev",
  33. "drupal/role_delegation": "^1.1",
  34. "drupal/structure_sync": "^2.0",
  35. "drupal/webform": "^6.1",
  36. "wikimedia/composer-merge-plugin": "^2.0"
  37. },
  38. "conflict": {
  39. "drupal/drupal": "*"
  40. },
  41. "minimum-stability": "stable",
  42. "prefer-stable": true,
  43. "config": {
  44. "sort-packages": true
  45. },
  46. "extra": {
  47. "drupal-scaffold": {
  48. "locations": {
  49. "web-root": "web/"
  50. }
  51. },
  52. "installer-paths": {
  53. "web/core": [
  54. "type:drupal-core"
  55. ],
  56. "web/libraries/{$name}": [
  57. "type:drupal-library"
  58. ],
  59. "web/modules/contrib/{$name}": [
  60. "type:drupal-module"
  61. ],
  62. "web/profiles/contrib/{$name}": [
  63. "type:drupal-profile"
  64. ],
  65. "web/themes/contrib/{$name}": [
  66. "type:drupal-theme"
  67. ],
  68. "drush/Commands/contrib/{$name}": [
  69. "type:drupal-drush"
  70. ],
  71. "web/modules/custom/{$name}": [
  72. "type:drupal-custom-module"
  73. ],
  74. "web/profiles/custom/{$name}": [
  75. "type:drupal-custom-profile"
  76. ],
  77. "web/themes/custom/{$name}": [
  78. "type:drupal-custom-theme"
  79. ]
  80. },
  81. "drupal-core-project-message": {
  82. "include-keys": [
  83. "homepage",
  84. "support"
  85. ],
  86. "post-create-project-cmd-message": [
  87. "<bg=blue;fg=white> </>",
  88. "<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>",
  89. "<bg=blue;fg=white> from the drupal/recommended-project template! </>",
  90. "<bg=blue;fg=white> </>",
  91. "",
  92. "<bg=yellow;fg=black>Next steps</>:",
  93. " * Install the site: https://www.drupal.org/docs/8/install",
  94. " * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
  95. " * Get support: https://www.drupal.org/support",
  96. " * Get involved with the Drupal community:",
  97. " https://www.drupal.org/getting-involved",
  98. " * Remove the plugin that prints this message:",
  99. " composer remove drupal/core-project-message"
  100. ]
  101. },
  102. "merge-plugin": {
  103. "include": [
  104. "web/profiles/d8-starterkit-profile/composer.json"
  105. ],
  106. "recurse": true,
  107. "replace": false,
  108. "merge-extra": true
  109. },
  110. "patches": {
  111. "drupal/core": {
  112. "Title formatting broken due to flawed EntityViewController->buildTitle https://www.drupal.org/project/drupal/issues/2941208": "https://www.drupal.org/files/issues/2021-05-20/entity.title-2941208-133_1.patch"
  113. },
  114. "drupal/paragraphs": {
  115. "Skip saving empty paragraphs for certain types https://www.drupal.org/project/paragraphs/issues/2877695" : "https://www.drupal.org/files/issues/2021-03-31/2877695-35.patch"
  116. }
  117. }
  118. }
  119. }