Skip to content

mikef438/gulp-bower-update-all

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-bower-update-all

Force updates to the latest version of your bower dependencies. It does this synchronously to allow for updates to complete before executing dependent gulp tasks.

Adapted from brunocartier's bower-update-all to be used with gulp tasks.

Important note, I wrote this to fit a need I had locally and this module probably could use to be extended. I did not intend to cover numerous use cases.

Usage

sudo npm install gulp-bower-update-all --save-dev
var bowerUpdate = require('gulp-bower-update-all');

gulp.task('gulp-bower-update-all', function () {
    return gulp.src('bower.json')
      .pipe(bowerUpdate(true))
      .on('error', function (e) {
         gulpUtil.log(e);
       });
});

After this, the dependencies in the provided bower.json file will be updated to their latest possible version.

Parameters

isGitOnly        Check only for dependencies that point to a .git location
isSave			 Saves to bower.json file. Default false to always get the latest version.

About

Force updates to the latest version of your bower dependencies using gulp.

Resources

License

Stars

Watchers

Forks

Packages

No packages published