A Drush plugin to compare the versions present in the composer.lock with the ones requested in composer.json.
Frederic G. MARAND 81b22502c0 Fixed composer information for packagist. | 7 years ago | |
---|---|---|
.gitignore | 7 years ago | |
LICENSE.txt | 7 years ago | |
README.md | 7 years ago | |
composer.json | 7 years ago | |
composer_check.drush.inc | 7 years ago |
This Drush plugin provides a composer-check
(alias cc
) command, which
compares the packages versions in composer.lock
with those requested in the
composer.json
file of a Drupal 8 project.
composer.lock
: Optional. The path to the lock file. Defaults to the one in
Drupal root.--all
: List all locked packages, even those not requested--yaml
: Produce YAML output instead of a tablecc
Default usage in a drupal/drupal
project:
drush cc
Listing all packages in a drupal-composer/drupal-project
project, in YAML format:
drush cc --all --yaml $PWD/composer.lock
Like any Drupal code, this plugin is licensed under the General Public License, version 2.0 or later.
For jurisdictions needing it, it is also licensed under the CeCILL 2.1 or later.