Skip to content

Commit

Permalink
Merge pull request #304 from geerlingguy/303-usage-example
Browse files Browse the repository at this point in the history
Use drupal/core instead of drupal/drupal in examples
  • Loading branch information
cweagans committed Mar 13, 2020
2 parents 9a08b4d + bd9bf1f commit d9d6127
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -24,14 +24,14 @@ Example composer.json:
{
"require": {
"cweagans/composer-patches": "~1.0",
"drupal/drupal": "~8.2"
"drupal/core-recommended": "^8.8",
},
"config": {
"preferred-install": "source"
},
"extra": {
"patches": {
"drupal/drupal": {
"drupal/core": {
"Add startup configuration for PHP server": "https://www.drupal.org/files/issues/add_a_startup-1543858-30.patch"
}
}
Expand All @@ -48,7 +48,7 @@ Instead of a patches key in your root composer.json, use a patches-file key.
{
"require": {
"cweagans/composer-patches": "~1.0",
"drupal/drupal": "~8.2"
"drupal/core-recommended": "^8.8",
},
"config": {
"preferred-install": "source"
Expand Down Expand Up @@ -100,15 +100,15 @@ There may be situations in which you want to ignore a patch supplied by a depend
{
"require": {
"cweagans/composer-patches": "~1.0",
"drupal/drupal": "~8.2",
"drupal/core-recommended": "^8.8",
"drupal/lightning": "~8.1"
},
"config": {
"preferred-install": "source"
},
"extra": {
"patches": {
"drupal/drupal": {
"drupal/core": {
"Add startup configuration for PHP server": "https://www.drupal.org/files/issues/add_a_startup-1543858-30.patch"
}
},
Expand Down

0 comments on commit d9d6127

Please sign in to comment.