Allow fetching license info from `peerDependencies` and `optionalDependencies`
See original GitHub issuelicense-report
outputs all licenses from dependencies
and devDependencies
.
Please, add support of peerDependencies
, optionalDependencies
, and bundledDependencies
as well.
I would like to be able to retrieve the license info for the packages from these three extra dependencies.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
package.json - npm Docs
The peerDependenciesMeta field serves to provide npm more information on how your peer dependencies are to be used. Specifically, it allows peer dependencies...
Read more >yarn add --peer --dev fails to record to peerDependencies #5287
Do you want to request a feature or report a bug? Bug What is the current behavior? When you run yarn add --peer...
Read more >How do I handle optional peer dependencies when publishing ...
Let's first summarize your situation: foo and bar is your optional dependency, meaning you expect your consumer will use one of them along...
Read more >Manifest fields | Yarn - Package Manager
This field lists some extra information related to the dependencies listed in the peerDependencies field.
Read more >The Basics: Getting started with npm - NodeSource
We've written up this guide for getting a grasp on npm. ... PeerDependencies; PeerDependenciesMeta; OptionalDependencies ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the idea to make license-report more complete. I do understand the
peerDependencies
and theoptionalDependencies
.But according to the documentation of npm, packages listed in
bundledDependencies
do not contain any version info and must be also part ofdependencies
. Do you have a real live example ofbundledDependencies
?Is part of the next release (based on pr #65).