Skip to content

package.json declares MIT but the project is licensed CC0 #83

Description

@dajiaohuang

Context

package.json declares the project as MIT:

"license": "MIT",

but the repository's own LICENSE file is CC0 1.0 Universal, and README.md ("dedicated to the public domain and licensed under Creative Commons Zero") and https://typeset.lllllllllllllllll.com/ say the same. GitHub reports the repository licence as CC0-1.0.

Impact

license is a published manifest field, so the MIT declaration travels further than the repository:

  • npm and automated licence-compliance tooling record typeset as MIT.
  • package-lock.json inherits the same value for the root package.
  • The webpack banner is built from this field, so the bundle it emits is stamped with it — build/typeset.js.LICENSE.txt reads @license MIT.

CC0 and MIT impose different obligations on downstream users, so the two declarations disagree about what consumers may assume.

Solution

Set "license": "CC0-1.0" in package.json and refresh package-lock.json so the root package entry matches. No source changes are needed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions