alanshaw / david

:eyeglasses: Node.js module that tells you when your package npm dependencies are out of date.
https://david-dm.org
MIT License
969 stars 70 forks source link

Badge URL resolving to a package.json #162

Closed achingbrain closed 4 years ago

achingbrain commented 4 years ago

It would be great if the URLs behind badges could point directly to a package.json file. This would enable supporting lerna-style monorepos.

Something like:

![Babel Dependencies](https://github.com/babel/babel/blob/master/packages/babel-cli/package.json.svg)
alanshaw commented 4 years ago

Like this? https://david-dm.org/babel/babel?path=packages/babel-cli

https://davidiswatching.tumblr.com/post/132882415144/non-root-packagejson

...probably should be documented on the site.

achingbrain commented 4 years ago

Aha, yes - that’ll do it. Thanks!