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

package.json license array format is deprecated and problematic for tool usage #52

Open
bbarry opened this issue Nov 29, 2019 · 0 comments

Comments

@bbarry
Copy link

bbarry commented Nov 29, 2019

package.json currently lists the projects licenses in an array which is deprecated by npmjs:

Some old packages used license objects or a “licenses” property containing an array of license objects:
...

Those styles are now deprecated. Instead, use SPDX expressions

Projects like https://github.com/microsoft/license-checker-webpack-plugin pick up the license here as either MIT or SIL (generating an incorrect SPDX expression of "(MIT OR OFL-1.1)").

The following changes should be made to this repository:

  1. remove package.json/licenses member
  2. add package.json/license member with value "(MIT AND OFL-1.1)"
  3. rename ICON-LICENSE as LICENSE.MIT
  4. rename FONT-LICENSE as LICENSE.OFL-1.1
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

1 participant