mgol / check-dependencies

Checks if currently installed npm dependencies are installed in the exact same versions that are specified in package.json
MIT License
115 stars 30 forks source link

cli tool #13

Closed sonicoder86 closed 9 years ago

sonicoder86 commented 9 years ago

is it possible to include a command line interface for it? like install it globally and run it from project root as in npm-check-updates package

mgol commented 9 years ago

I guess it should be possible, parameters may be mapped using yargs or minimist.

I don't have time for this now but a PR would be welcome!

elicwhite commented 9 years ago

I'm going to jump in on this. PR incoming.

mgol commented 9 years ago

FYI: @TheSavior won't be able to finish his PR #19 soon so others are welcome to pick it up.

mgol commented 9 years ago

I've published a beta version with the fix, install with npm -g i check-dependencies@beta. I'll publish a final version soon, I'd just want some feedback here first. If you could check that the proposed API is OK that'd be great, I'd rather not change it after the final release (in particular, check how --scope-list option works).

BTW, out of curiosity - do you all still need Node.js 0.10 support or would 0.12+ be enough?

mgol commented 9 years ago

You can read how to use it here: https://github.com/mzgol/check-dependencies#cli

mgol commented 9 years ago

0.10.0 (final) published.