composer.json 4.4 KB

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