Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@ Follow the steps below to update your core files.
keeping all of your modifications at the beginning or end of the file is a
good strategy to keep merges easy.

### Notes about Composer Version Constraints

The `composer update` will only upgrade your packages within the "version constraints" specified in your `composer.json` file.

If you use the default version constraint for `drupal/core` used in this project (`~8.5.3`), the `composer upgrade` command will only upgrade `drupal/core` within the `8.5.x` branch (for example to `8.5.4`). It will _not_ upgrade drupal/core to `8.6.0` when it comes out, unless you change the version constraint.

If you want the `composer update` command to automatically update minor versions, like from `8.5` to `8.6` automatically, set the version of `drupal/core` and `webflo/drupal-core-require-dev` to `~8.5`.

Visit the [Composer Versions and Constraints documentation](https://getcomposer.org/doc/articles/versions.md) for more information.

## Generate composer.json from existing project

With using [the "Composer Generate" drush extension](https://www.drupal.org/project/composer_generate)
Expand Down