Tiara Bower Manager

Categories

Component ID

2594481

Component name

Tiara Bower Manager

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Manages frontend dependencies with Bower.

It provides 2 commands

drush tiara-bower-json-rebuild
Scans all the modules and merges their bower.json files to the master one. It should scan themes and profiles too, just haven't thought of that :). The location of the master file is stored in a config variable, the default is public://bower. It also creates .bowerrc with the directory property pointing to sites/all/libraries. This could be a config variable too.
drush tiara-bower-manager
Runs Bower. It uses the master bower.json file and installs stuff into sites/all/libraries.

This only works as a drush command. But it would be easy to refactor it so it can be used from the module itself. Then create a UI for it.