An example composer project for the Drupal WxT distribution.
Note: You should consult the README.md file in the WxT repository for up-to-date information.
Normally you can simply run a composer install
but at the moment you might need to run the following:
export COMPOSER_MEMORY_LIMIT=-1 && composer install
The composer.json
file calls the following dependencies:
The Drupal WxT distribution is a web content management system which assists in building and maintaining innovative Web sites that are accessible, usable, and interoperable.
This distribution is open source software and free for use by departments and external Web communities. This distribution integrates extensively with the WET-BOEW jQuery Framework for improved accessible markup.
This composer-project was initially created by our Composer Project Template for Drupal:
The following is the command that was used for initial generation:
composer create-project drupalwxt/site-wxt:4.5.x-dev site-wxt
Note: Normally you might want to use a stable tag such as
drupalwxt/site-wxt:4.5.x-dev
.
List of common commands are as follows:
Task | Composer |
---|---|
Latest version of a contributed project | composer require drupal/PROJECT_NAME:1.* |
Specific version of a contributed project | composer require drupal/PROJECT_NAME:1.0-beta5 |
Updating all projects including Drupal Core | composer update |
Updating a single contributed project | composer update drupal/PROJECT_NAME |
Updating Drupal Core exclusively | composer update drupal/core |
Extended with code and lessons learned by the Acquia Team over at Lightning and BLT.