composer.json 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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/admin_toolbar_content": "^1.3",
  20. "drupal/administerusersbyrole": "^3.3",
  21. "drupal/amswap": "^3.1",
  22. "drupal/audiofield": "1.x-dev@dev",
  23. "drupal/core-composer-scaffold": "^9.4",
  24. "drupal/core-project-message": "^9.4",
  25. "drupal/core-recommended": "^9.4",
  26. "drupal/flexible_permissions": "@beta",
  27. "drupal/genpass": "^1.1",
  28. "drupal/graphql": "4.x-dev@dev",
  29. "drupal/group": "3.0.x-dev@dev",
  30. "drupal/mail_login": "^2.6",
  31. "drupal/paragraphs": "^1.15",
  32. "drupal/paragraphs_modal_edit": "^1.1",
  33. "drupal/restui": "^1.21",
  34. "drupal/role_delegation": "^1.2",
  35. "drupal/structure_sync": "^2.0",
  36. "drupal/typed_data": "1.x-dev@dev",
  37. "wikimedia/composer-merge-plugin": "^2.0"
  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. "dealerdirect/phpcodesniffer-composer-installer": true,
  50. "wikimedia/composer-merge-plugin": true,
  51. "cweagans/composer-patches": true,
  52. "drupal/console-extend-plugin": 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/8/install",
  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/d8-starterkit-profile/composer.json"
  115. ],
  116. "recurse": true,
  117. "replace": false,
  118. "merge-extra": true
  119. },
  120. "disabled patches": {
  121. "drupal/core": {
  122. "Apply formatters and widgets to User base fields 'name' and 'email' https://www.drupal.org/project/drupal/issues/2227381": "https://www.drupal.org/files/issues/2022-01-28/2227381-91.patch"
  123. }
  124. },
  125. "patches": {
  126. "drupal/paragraphs": {
  127. "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"
  128. },
  129. "drupal/graphql": {
  130. "invalid translation language https://github.com/drupal-graphql/graphql/pull/1176": "./patches/graphql-fix-invalid-translation-language-dev.patch"
  131. },
  132. "drupal/email_registration": {
  133. "Allow authentication via mail and password over RPC https://www.drupal.org/project/email_registration/issues/2856542": "https://www.drupal.org/files/issues/2021-06-11/2856542-13.patch"
  134. },
  135. "drupal/group": {
  136. "Empty page when trying to create group node https://www.drupal.org/project/group/issues/2842630": "https://www.drupal.org/files/issues/2022-09-02/group-2842630-40-v3.patch"
  137. }
  138. }
  139. }
  140. }