drupal-composer / info-rewrite
Writes out version information to the .info.yml files for Drupal projects.
Installs: 13 522
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 8
Forks: 3
Open Issues: 6
Type:composer-plugin
Requires
- composer-plugin-api: ^1.1 || ^2.0
Requires (Dev)
- composer/composer: ~1.0
- mikey179/vfsstream: ~1.2
- php-parallel-lint/php-parallel-lint: ^1.3
- phpspec/prophecy-phpunit: ^2.0
- phpunit/phpunit: ^9
- squizlabs/php_codesniffer: ^3.0
This package is auto-updated.
Last update: 2024-11-21 01:59:53 UTC
README
A composer plugin for rewriting Drupal .info
/.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).
Installation
composer require drupal-composer/info-rewrite:~1.0
Configuration
By default, this plugin only acts on packages of type drupal-core
, drupal-module
, drupal-profile
, and 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.