So I installed Drupal with
composer create-project drupal/drupal <...>
It works fine, but now I'm trying to update core from 8.4.1 to 8.4.4
What's the right way to do that? composer update
only updates the modules, not core.
How do I update core? I don't know that much about composer, but if I edit the composer.json and remove
"replace": {
"drupal/core": "^8.4"
},
and add
"require": {
"drupal/core": "^8.4",
...
}
it seems to work. Is this the right way to do this? If so, why is this not in the default composer.json, that comes with the project?