Npm-check-updates: Option to exclude/ignore package update

Created on 23 Jul 2015  路  4Comments  路  Source: raineorshine/npm-check-updates

If I have major update that breaks my app, I don't want at this moment update it. I think, ability to run ncu -u --exclude browserify will be very useful.

faq

Most helpful comment

with recent versions > 2 you can use something like:

ncu -x 'pattern'

All 4 comments

This can be done! It's a little awkward-looking but it's just a regex filter.

In v1.5.1:

ncu -f '/^(?!browserify)$/'

In upcoming v2 (usable now via npm install -g npm-check-updates@unstable):

ncu '/^(?!browserify)$/'

Great, thanks!

+1 for the original request because regex.

with recent versions > 2 you can use something like:

ncu -x 'pattern'

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vayurobins picture vayurobins  路  5Comments

fatso83 picture fatso83  路  3Comments

nicksarafa picture nicksarafa  路  6Comments

brettz9 picture brettz9  路  7Comments

benface picture benface  路  7Comments