Skip to content

Change licenses to license in package.json, follow the SPDX format #2331

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

Closed
mgol opened this issue May 19, 2015 · 3 comments
Closed

Change licenses to license in package.json, follow the SPDX format #2331

mgol opened this issue May 19, 2015 · 3 comments
Assignees
Labels
Milestone

Comments

@mgol
Copy link
Member

mgol commented May 19, 2015

npm 2.10.0 now warns when running npm install in the jQuery repo as the licenses field is deprecated:

$ npm i
npm WARN package.json jquery@3.0.0-pre No license field.

We should be using the license field in the SPDX format that npm has started to check recently; see: https://docs.npmjs.com/files/package.json#license

@mgol mgol self-assigned this May 19, 2015
@mgol mgol added this to the 3.0.0 milestone May 19, 2015
@mgol mgol added the Build label May 19, 2015
@mgol
Copy link
Member Author

mgol commented May 19, 2015

@timmywil are there any changes necessary apart from modifying package.json so that it works with the release script?

@timmywil
Copy link
Member

Nope, that should be sufficient. package.json is copied by the release script.

@SimenB
Copy link

SimenB commented May 19, 2015

(You have a PR for this #2330)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

4 participants