Getting 'UNLICENSED' for custom licenses in package.json
varunsharma27 opened this issue · comments
Varun Sharma commented
So, prior to #102, you could set a custom license. Let's say: My_Private_License
in your project's package.json and allow it in license-checker. However, now you get UNLICENSED
for such cases dependencies. Is it intentional? Because the PR states:
It shouldn't be a breaking change.
johnthagen commented
I believe --excludePrivatePackages
can help with this, if you are okay excluding the private packages.
Larry Bahr commented
I had the same issue and found https://github.com/BlackDark/license-checker
Seems to work fine. This would be a great addition to this lib.