-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to ignore some dependencies #63
Comments
It will be removed (the update will be transparent for our users) once David will support this feature natively (see issue [alanshaw/david#63.
👍 |
👍 I think it would be even better if such dependencies could be specified in a file, say |
I've implemented something quick to use in our project: Here is our
We run It works fine for us, but not sure if it's good for a PR. I can make a PR, if this makes sense. |
👍 much needed improvement. We have several modules that we'd like to stick with older versions and we'd like not to see a reminder that they're out of date. |
You can now do this with v6.3.0 of david (https://github.com/alanshaw/david#ignore-dependencies). Enjoy, and let me know if you have any feedback :) |
@alanshaw I was really looking for a command-line flag, as I want to ignore some dependencies from all packages and I don't want to have to add it to every single package.json. Should I open a new issue? |
Just FYI when calling david.getUpdatedDependencies(pkg, {ignore: ['async']}, (err, deps) => console.log(deps)) ...but yes a command line arg would probably also be useful! |
Alright: #82 |
That great! Thank you! |
👍 thanks for this |
I run David on all my modules once in a while and there are some commonly used dependencies that are outdated but that I don't care about updating, like e.g. Mocha. Would be useful if David had an
ignore
option where I could ignore dependencies I don't care about.The text was updated successfully, but these errors were encountered: