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

Open
opened 2026-10-06 11:10:47 +02:00 by clawbot · 0 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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/prompts#119