v2-hub icon indicating copy to clipboard operation
v2-hub copied to clipboard

Composer v2 support

Open FrittenKeeZ opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. Running composer install with v2 will cause these errors:

➜  cms git:(master) composer install -d statamic
The "kylekatarnls/update-helper" plugin was skipped because it requires a Plugin API version ("^1.1.0") that does not match your Composer installation ("2.1.0"). You may need to run composer update with the "--no-plugins" option._______________________________________________________________________The "funkjedi/composer-include-files" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.1.0"). You may need to run composer update with the "--no-plugins" option.____________________________________________________________________Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - funkjedi/composer-include-files is locked to version 1.0.0 and an update of this package was not requested.
    - funkjedi/composer-include-files 1.0.0 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
  Problem 2
    - kylekatarnls/update-helper is locked to version 1.1.1 and an update of this package was not requested.
    - kylekatarnls/update-helper 1.1.1 requires composer-plugin-api ^1.1.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
  Problem 3
    - kylekatarnls/update-helper 1.1.1 requires composer-plugin-api ^1.1.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
    - nesbot/carbon 1.39.0 requires kylekatarnls/update-helper ^1.1 -> satisfiable by kylekatarnls/update-helper[1.1.1].
    - nesbot/carbon is locked to version 1.39.0 and an update of this package was not requested.

Describe the solution you'd like Run composer update --with-all-dependencies

Describe alternatives you've considered Ran the update myself.

FrittenKeeZ avatar Aug 26 '21 10:08 FrittenKeeZ