Writes out version information to the .info.yml files for Drupal projects.
A composer plugin for rewriting Drupal
.info.yml files to include version information that Drupal requires.
This is only required when downloading projects that aren't full releases (for instance, dev versions).
composer require drupal-composer/info-rewrite:~1.0
By default, this plugin only acts on packages of type
drupal-theme (see DrupalInfo::$packageTypes). You can add additional package types in your
composer.json file. Add to the
config array an entry with key
drupal-info-rewrite--additional-packageTypes and make its value be an array of strings which are the additional types you would like to add.