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

license-checker (spdx) can't read license #2

Closed
peteruithoven opened this issue Aug 27, 2020 · 3 comments
Closed

license-checker (spdx) can't read license #2

peteruithoven opened this issue Aug 27, 2020 · 3 comments

Comments

@peteruithoven
Copy link

peteruithoven commented Aug 27, 2020

license-checker (spdx) can't read the license of this package.

We walk through the node_modules directory with the read-installed module. Once we gathered a list of modules we walk through them and look at all of their package.json's, We try to identify the license with the spdx module to see if it has a valid SPDX license attached. If that fails, we then look into the module for the following files: LICENSE, LICENCE, COPYING, & README.

If one of the those files are found (in that order) we will attempt to parse the license data from it with a list of known license texts. This will be shown with the * next to the name of the license to show that we "guessed" at it.

I think the easy fix is renaming licence.md to LICENCE.

You do state DBAD license in package.json, not sure why that's not used.

@peteruithoven
Copy link
Author

I opened an issue in the license-checker: davglass/license-checker#244.

@peteruithoven
Copy link
Author

Relevant existing discussion: https://github.com/RIAEvangelist/node-ipc/issues/133

@RIAEvangelist
Copy link
Owner

Switched to MIT

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

2 participants