openeuropa / drupal-module-template

European Union Public License 1.2
10 stars 6 forks source link

Apply "patchLevel" to drupal/core in composer.json #26

Open vever001 opened 5 years ago

vever001 commented 5 years ago

I noticed that I had the following files generated by the drupal/core patches from the openeuropa/drupal-core-require-dev:

Applying the "patchlevel" seems to fix the issue. It might be a good thing to do it for all OE projects and templates repos. See cweagans/composer-patches#43 and drupal-composer/drupal-project#418.

"extra": {
    ...
    "patchLevel": {
        "drupal/core": "-p2"
    },
    ...
}