A Drush plugin to compare the versions present in the composer.lock with the ones requested in composer.json.
|
|
há 8 anos atrás | |
|---|---|---|
| ComposerCheck | há 8 anos atrás | |
| bin | há 8 anos atrás | |
| .gitignore | há 8 anos atrás | |
| LICENSE.txt | há 8 anos atrás | |
| README.md | há 8 anos atrás | |
| composer.json | há 8 anos atrás | |
| composer_check.drush.inc | há 8 anos atrás | |
| phpunit.xml.dist | há 8 anos atrás |
This Drush plugin provides a composer-check (alias cck) 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 tablecckThis package is available on Packagist as fgm/composer-check, but for now the
config section of your composer.json will need "secure-http": false
because this repo is not yet available over HTTPS.
Default usage in a drupal/drupal project:
drush cck
Listing all packages in a drupal-composer/drupal-project project, in YAML format:
drush cck --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.