This PR adds support for Drupal contributed modules.
To support the Drupal 8, a contrib module can have a version like 8.x-1.2.
Drupal packagist script converts it to semver 1.2.0 to make it compatible with composer package versions.
Right now only Drupal 8 modules can be installed using composer that is why the fix is specific to Druapl 8 version.
Drupal packages can have following endpoints:
This PR adds support for Drupal contributed modules. To support the Drupal 8, a contrib module can have a version like
8.x-1.2
. Drupal packagist script converts it to semver1.2.0
to make it compatible with composer package versions. Right now only Drupal 8 modules can be installed using composer that is why the fix is specific to Druapl 8 version.Here is the sample output: