composer.json 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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/base_field_override_ui": "^1.1",
  24. "drupal/core-composer-scaffold": "^9.4",
  25. "drupal/core-project-message": "^9.4",
  26. "drupal/core-recommended": "^9.4",
  27. "drupal/flexible_permissions": "@beta",
  28. "drupal/genpass": "^1.1",
  29. "drupal/graphql": "4.x-dev@dev",
  30. "drupal/group": "3.0.x-dev@dev",
  31. "drupal/mail_login": "^2.6",
  32. "drupal/paragraphs": "^1.15",
  33. "drupal/paragraphs_modal_edit": "^1.1",
  34. "drupal/regcode": "^1.1",
  35. "drupal/restui": "^1.21",
  36. "drupal/role_delegation": "^1.2",
  37. "drupal/structure_sync": "^2.0",
  38. "drupal/typed_data": "1.x-dev@dev",
  39. "wikimedia/composer-merge-plugin": "^2.0"
  40. },
  41. "conflict": {
  42. "drupal/drupal": "*"
  43. },
  44. "minimum-stability": "stable",
  45. "prefer-stable": true,
  46. "config": {
  47. "allow-plugins": {
  48. "composer/installers": true,
  49. "drupal/core-composer-scaffold": true,
  50. "drupal/core-project-message": true,
  51. "dealerdirect/phpcodesniffer-composer-installer": true,
  52. "wikimedia/composer-merge-plugin": true,
  53. "cweagans/composer-patches": true,
  54. "drupal/console-extend-plugin": true
  55. },
  56. "sort-packages": true
  57. },
  58. "extra": {
  59. "drupal-scaffold": {
  60. "locations": {
  61. "web-root": "web/"
  62. }
  63. },
  64. "installer-paths": {
  65. "web/core": [
  66. "type:drupal-core"
  67. ],
  68. "web/libraries/{$name}": [
  69. "type:drupal-library"
  70. ],
  71. "web/modules/contrib/{$name}": [
  72. "type:drupal-module"
  73. ],
  74. "web/profiles/contrib/{$name}": [
  75. "type:drupal-profile"
  76. ],
  77. "web/themes/contrib/{$name}": [
  78. "type:drupal-theme"
  79. ],
  80. "drush/Commands/contrib/{$name}": [
  81. "type:drupal-drush"
  82. ],
  83. "web/modules/custom/{$name}": [
  84. "type:drupal-custom-module"
  85. ],
  86. "web/profiles/custom/{$name}": [
  87. "type:drupal-custom-profile"
  88. ],
  89. "web/themes/custom/{$name}": [
  90. "type:drupal-custom-theme"
  91. ]
  92. },
  93. "drupal-core-project-message": {
  94. "include-keys": [
  95. "homepage",
  96. "support"
  97. ],
  98. "post-create-project-cmd-message": [
  99. "<bg=blue;fg=white> </>",
  100. "<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>",
  101. "<bg=blue;fg=white> from the drupal/recommended-project template! </>",
  102. "<bg=blue;fg=white> </>",
  103. "",
  104. "<bg=yellow;fg=black>Next steps</>:",
  105. " * Install the site: https://www.drupal.org/docs/8/install",
  106. " * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
  107. " * Get support: https://www.drupal.org/support",
  108. " * Get involved with the Drupal community:",
  109. " https://www.drupal.org/getting-involved",
  110. " * Remove the plugin that prints this message:",
  111. " composer remove drupal/core-project-message"
  112. ]
  113. },
  114. "merge-plugin": {
  115. "include": [
  116. "web/profiles/d8-starterkit-profile/composer.json"
  117. ],
  118. "recurse": true,
  119. "replace": false,
  120. "merge-extra": true
  121. },
  122. "disabled patches": {
  123. "drupal/core": {
  124. "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"
  125. }
  126. },
  127. "patches": {
  128. "drupal/paragraphs": {
  129. "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"
  130. },
  131. "drupal/graphql": {
  132. "invalid translation language https://github.com/drupal-graphql/graphql/pull/1176": "./patches/graphql-fix-invalid-translation-language-dev.patch"
  133. },
  134. "drupal/email_registration": {
  135. "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"
  136. },
  137. "drupal/group": {
  138. "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"
  139. }
  140. }
  141. }
  142. }