Skip to main content

Update Drupal 8 theme via Composer

$ composer outdated drupal/*
drupal/bootstrap 3.16.0 3.17.0 Built to use Bootstrap, a sleek, intuitive, and powerful front-end frame...

$ composer update drupal/bootstrap --with-dependencies
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Dependency "drupal/core" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Updating drupal/bootstrap (3.16.0 => 3.17.0): Downloading (100%)         
Writing lock file
Generating autoload files
> DrupalProject\composer\ScriptHandler::createRequiredFiles

$ drush updb
 [success] No database updates required.

$ drush cr
[success] Cache rebuild complete.
Back to top