Problem/Motivation

NOW that Drupal.org supports composer 2.0
As listed in Drupal Association Supporting Partner Update | September 2020

#3126566: Allow Drupal to work with Composer 2
#3128631: Update dependencies composer/composer ^2 and composer/semver to ^3


#3180950: Allow Varbase to work with Composer ~2.0

Allow varbase-project template to work with Composer ~2.0 #93
https://github.com/Vardot/varbase-project/issues/93

Proposed resolution

Change the following:

    "composer/installers": "~1.0",
    "oomphinc/composer-installers-extender": "~1.0",
    "cweagans/composer-patches": "~1.0",
    "drupal/drupal-library-installer-plugin": "^0.3",

To:

    "composer/installers": "~1.0 || ~2.0",
    "oomphinc/composer-installers-extender": "~1.0 || ~2.0",
    "cweagans/composer-patches": "~1.0",

Remove drupal/drupal-library-installer-plugin

User interface changes

None

API changes

Can use both Composer ~1.0 and Composer ~2.0

Data model changes

None

Comments

RajabNatshah created an issue. See original summary.

  • RajabNatshah committed 430edc9 on 9.0.x
    Issue #3185679: Allow Vartheme BS4 theme to work with Composer ~2.0
    

  • RajabNatshah committed 628b0e3 on 8.x-6.x
    Issue #3185679: Allow Vartheme BS4 theme to work with Composer ~2.0
    
rajab natshah’s picture

rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
rajab natshah’s picture

Status: Active » Needs review
rajab natshah’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.