pivvenit / acf-composer-bridge

Provides a static composer repository that references all Advanced Custom Fields Pro versions
MIT License
47 stars 8 forks source link

Support composer/installers 2.0 #17

Closed slackday closed 2 years ago

slackday commented 2 years ago

Any way to support composer/installers ^2.0?

Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires advanced-custom-fields/advanced-custom-fields-pro ^5.11 -> satisfiable by advanced-custom-fields/advanced-custom-fields-pro[5.11-RC1, ..., 5.12-RC1].
    - advanced-custom-fields/advanced-custom-fields-pro[5.11-RC1, ..., 5.12-RC1] require composer/installers ~1.0 -> found composer/installers[v1.0.0, ..., 1.x-dev] but it conflicts with your root composer.json require (^2.0).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

I changed my composer.json to "composer/installers": "^1.0|^2.0",

Qrious commented 2 years ago

We will add support for composer/installers 2 shortly, I expect this change to be released on next monday (28 feb 2022)

Qrious commented 2 years ago

We've just updated the V3 registry to support composer/installers ^1.0 || ^2.0.

If you still encounter any issues, please reply to this issue, and mention me :)