Skip to content

Invalid license identifier #449

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

Open
Kaspik opened this issue Apr 8, 2025 · 3 comments
Open

Invalid license identifier #449

Kaspik opened this issue Apr 8, 2025 · 3 comments

Comments

@Kaspik
Copy link

Kaspik commented Apr 8, 2025

License in package.json seems invalid - currently plugins (like rollup-plugin-license) that make sure you use only license you should check license filed, and it includes "SEE LICENSE IN LICENSE" value right now. I think it should be specific license like Custom MIT or some identifier because it's impossible to parse this license as a valid identifier right now.

@parfeon
Copy link
Contributor

parfeon commented Apr 8, 2025

Thank you for reaching us out.

Current license field value follow specs for package.json file:

If you are using a license that hasn't been assigned an SPDX identifier, or if you are using a custom license, use a string value like this one:

{
  "license": "SEE LICENSE IN <filename>"
}

@Kaspik
Copy link
Author

Kaspik commented Apr 8, 2025

Thank you for the response, interesting. Is there a plan to get an identifier?

@parfeon
Copy link
Contributor

parfeon commented Apr 22, 2025

This is custom license has been provided by our legal department and I didn't heard any information about attempt to acquire SPDX identifier for it.

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