Gulp Plugin Update

When you start a project using the Yeoman generator, say generator-gulp-webapp , you get a package.json file with all the dependencies.

Is it recommended to update all or any of these dependencies (for example: gulp-useref , gulp-ruby-sass , gulp-bower-files , etc.)? What are the consequences of this or not?

+7
npm dependencies gulp yeoman yeoman-generator
source share
1 answer

It is always necessary to update your plugins, as the syntax keeps changing, and then keep moving.

Here's what I recommend fixing:

1) npm install -g npm-check-updates

2) npm-check-updates -u

3) rm -fr node_modules

4) npm install

It basically installs npm-check-updates around the world, runs it against your package.json, and updates the dependency versions. Then you simply delete the node modules folder and reinstall.

+14
source share

All Articles