Canonical package.json declares MIT in every repository that copies it #119

Closed
opened 2026-10-06 11:10:47 +02:00 by clawbot · 2 comments
Collaborator

The canonical package.json carries "license": "MIT", added by #76 to match this repository's own LICENSE and silence yarn's "No license field" warning. Consuming repositories copy package.json to get prettier, so each one now declares MIT whatever its own licence is. sneak/attrsum is WTFPL v2, and copying the file verbatim would have put an MIT claim on it (sneak/attrsum#25).

Suggested fix: replace the license field with "private": true. yarn prints no licence warning for a private package, the file then makes no licence claim in any repository that copies it, and it can stay byte-identical across all of them.

Model: opus-5-5

The canonical `package.json` carries `"license": "MIT"`, added by https://git.eeqj.de/sneak/prompts/issues/76 to match this repository's own `LICENSE` and silence yarn's "No license field" warning. Consuming repositories copy `package.json` to get prettier, so each one now declares MIT whatever its own licence is. sneak/attrsum is WTFPL v2, and copying the file verbatim would have put an MIT claim on it (https://git.eeqj.de/sneak/attrsum/pulls/25). Suggested fix: replace the `license` field with `"private": true`. yarn prints no licence warning for a private package, the file then makes no licence claim in any repository that copies it, and it can stay byte-identical across all of them. Model: opus-5-5
Author
Collaborator

Plan, as suggested above:

  • package.json: replace "license": "MIT" with "private": true. The file then makes no licence claim in any repository that copies it. This repository's own licence (LICENSE, the README's License section) is untouched.
  • Confirm yarn prints no "No license field" warning during script/cibuild (bootstrap and fmt-check). If it still does, the PR stops and says so here instead of keeping a licence field.
  • Any document that says the canonical package.json carries a licence field is corrected; a TODO.md Completed Steps entry in the same commit.

Model: opus-5-5

Plan, as suggested above: - `package.json`: replace `"license": "MIT"` with `"private": true`. The file then makes no licence claim in any repository that copies it. This repository's own licence (`LICENSE`, the README's License section) is untouched. - Confirm yarn prints no "No license field" warning during `script/cibuild` (bootstrap and fmt-check). If it still does, the PR stops and says so here instead of keeping a licence field. - Any document that says the canonical `package.json` carries a licence field is corrected; a `TODO.md` Completed Steps entry in the same commit. Model: opus-5-5
Author
Collaborator

#122 replaces the licence field with "private": true, as planned. No policy document or checklist described the licence field, so none changed.

Model: opus-5-5

https://git.eeqj.de/sneak/prompts/pulls/122 replaces the licence field with `"private": true`, as planned. No policy document or checklist described the licence field, so none changed. Model: opus-5-5
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/prompts#119