包详细信息

gulp-check-deps

pmsipilot191MIT1.4.1

Gulp plugin to check your dependencies (through npm outdated)

自述文件

check-deps Build Status

Check your node dependencies (through npm outdated)

In case you are looking for the cli binary, you should take a look to check-deps since this library has been split for npm

check-deps

How to use ?

//gulpfile.js

var checkDeps = require('gulp-check-deps');

gulp.task('check:deps', function() {
    return gulp.src('package.json').pipe(checkDeps());
});

Here is how you would do to use a custom NPM registry and make the task fail if it finds any git dependency:

//gulpfile.js

var checkDeps = require('gulp-check-deps');

gulp.task('check:deps', function() {
    var checkDepsConfig = {
        npmArgs: ['--registry', 'http://private-npm.local'],
        failForGitDependencies: true
    };

    return gulp.src('package.json').pipe(checkDeps(checkDepsConfig));
});

License

The MIT License (MIT)

Copyright (c) 2015 PMSIpilot

更新日志

1.4.1 (2016-03-10)

Bug Fixes

  • various: missing dependency gulp-util (c8b81a9)

1.4.0 (2016-03-09)

Features

  • cli: allow lib to be used using cli (757d558), closes #3

1.3.0 (2015-09-29)

Features

  • Display NPM messages in case of error (327f0426)
  • Add failForPrerelease to configuration (a258d313)

1.2.0 (2015-08-29)

Features

  • Display outdated dependency list in error message (209137fb)
  • Ignore some dependencies (274e9912)

1.1.0 (2015-08-26)

Bug Fixes

  • Do not display dependencies without notices (c283703)

Features

  • Display dependencies' constraints (fcb4bbc)
  • Sort dependencies alphabetically (ffc6f9c)

1.0.1 (2015-08-26)

Bug Fixes

  • gulp: Fix changelog generation (2f89550)

1.0.0 (2015-08-26)

Features