Reputation: 1080
The command npm-check-update
displays mayor updates in red. This can be already seen in the first image of the documentaton.
But is there a way to exclude these breaking changes from the automatic update? I do not find a parameter for that.
Upvotes: 5
Views: 4140
Reputation: 101
It is actually in the readme file:
So, just do a ncu -t minor -u
to leave major version updates out (those that are most likely to break things).
Upvotes: 9
Reputation: 11
For my part I do :
ncu -u -x axios,eslint,eslint-plugin-prettier,eslint-plugin-vue,sass-loader,@tinymce/tinymce-vue,vue-browser-detect-plugin
All dependencies after "-x" are major upgrade for me.
Upvotes: 1