WICG / inert

Polyfill for the inert attribute and property.
Other
924 stars 81 forks source link

Specify license in package.json #171

Closed nertzy closed 2 years ago

nertzy commented 3 years ago

Set the license field in package.json to the correct SPDX identifier.

https://docs.npmjs.com/cli/v6/configuring-npm/package-json#license

https://spdx.org/licenses/

robdodson commented 2 years ago

@marcoscaceres do you know which license we should use? I noticed the starter-kit is using CC0-1.0 and other repos have a LICENSE.md that looks like this.

benlangfeld commented 2 years ago

@robdodson The current license for this project according to LICENSE.md is the 2015 W3C Software & Document License which is the one specified in this diff using the appropriate SPDX identifier. This license decision was made by you in 2017. This PR simply exposes that information in the structured manner appropriate to NPM projects.

I believe the most appropriate course of action is to merge this PR and to debate any possible license changes separately. Since the work in the repo as it stands cannot be "unreleased" and will forever be available via W3C-20150513, there is no harm in declaring that fact and great utility in it. Any license change would only apply to future releases anyway.

marcoscaceres commented 2 years ago

Oops, sorry I missed this... @benlangfeld is correct, you want to W3C software and document licenses (W3C-20150513).

I noticed the starter-kit is using CC0-1.0 and other repos have a LICENSE.md that looks like this.

Yeah, as it's just software I made it CC0-1.0.

However, I think Inert includes spec text, so the W3C software and document licenses would be appropriate here.

nertzy commented 2 years ago

I don't have a strong preference on which license is used. I just want all future releases to specify a version in their package.json so that my automated tooling can pick it up instead of me having to hand-check each dependency.

nertzy commented 2 years ago

Thanks 🚀