-
Notifications
You must be signed in to change notification settings - Fork 239
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
[RRFC] Provide possibility to reference license file #250
Comments
The license field follows a standard, SPDX. If the license type is clear, what would you need to programmatically reference the license file for? |
For starters, developers who want to use your package can be referred to the actual license. Furthermore, exceptions can exist, particularly if pieces of code are re-used. The SPDX IDs are short license identifiers. It says nothing about the syntax used in package.json. |
My go-to response for requests to change existing fields in I do see the usefulness in this proposal, but there are just too many packages in the npm ecosystem that expect a valid SPDX identifier in the Would it make sense to propose an entirely new field? |
We really can't make the If we were to do something like this, the likely approach would be to add a That said, why do this? Having a file called |
Motivation ("The Why")
Currently you have to select one of a subset of licenses, which is fine I guess. However it would be great to reference to a document that holds the license.
If you look at the author field, for example, you can add additional fields.
Example
I am aware that this is explicitly mentioned in the documentation but there’s no harm in referencing the license file as long as the license type is clear.
It would be better to state “MIT <LICENSE.md>“ then “SEE LICENSE IN <LICENSE.md>”.
The text was updated successfully, but these errors were encountered: