Skip to content
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

Getting 'UNLICENSED' for custom licenses in package.json #238

Open
varunsharma27 opened this issue Apr 3, 2020 · 2 comments
Open

Getting 'UNLICENSED' for custom licenses in package.json #238

varunsharma27 opened this issue Apr 3, 2020 · 2 comments

Comments

@varunsharma27
Copy link

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
Copy link

johnthagen commented Sep 21, 2020

I believe --excludePrivatePackages can help with this, if you are okay excluding the private packages.

@larrybahr
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants