Skip to content
Snippets Groups Projects

Set related packages to same version.

Files
3
+ 7
0
@@ -50,3 +50,10 @@ Additional information on the patch file can be found in the [Composer Patches d
The templates will favor the `drupal/core-recommended` package when installing Drupal, which does NOT include a `composer.lock` file. This is expected and is the recommended usage for most cases.
If your module relies on specific versions of certain packages from core you need to update your module's `composer.json` to declare this.
The `composer` jobs in the templates set the expected Drupal core version, ignoring by default any possible core constraint set in the `composer.json` file. If you want this constraint to be considered, you need to do the following:
```
composer:
variables:
IGNORE_PROJECT_DRUPAL_CORE_VERSION: 0
```
Loading