drupal-scaffold icon indicating copy to clipboard operation
drupal-scaffold copied to clipboard

Compatibility with Composer 2

Open Eduardo-Morales-Alberti opened this issue 5 years ago • 3 comments

This plugin is currently not compatible with Composer 2:

The "drupal-composer/drupal-scaffold" plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.

Here is what needs to be changed: https://github.com/composer/composer/blob/2.0.0-alpha1/UPGRADE-2.0.md#for-integrators-and-plugin-authors

Eduardo-Morales-Alberti avatar Jun 30 '20 08:06 Eduardo-Morales-Alberti

This project is deprecated. Please upgrade to drupal/core-composer-scaffold for Composer 2 compatibility.

I updated the README to advise that this project is deprecated.

greg-1-anderson avatar Sep 17 '20 20:09 greg-1-anderson

@greg-1-anderson what are the update steps for an existing project?

wundo avatar Apr 22 '21 01:04 wundo

Take a look at the drupal-scaffold section inside of extras in your project's composer.json file, and compare with the drupal/recommended-project template.

greg-1-anderson avatar Apr 22 '21 01:04 greg-1-anderson