Skip to content

chore(opencode): drop repository field from published package.json - #120

Merged
quickbeard merged 1 commit into
mainfrom
hide-repo-links
Jul 22, 2026
Merged

quickbeard merged 1 commit into
mainfrom
hide-repo-links

Conversation

@quickbeard

Copy link
Copy Markdown
Owner

Summary

The npm page for codev-code shows Repository and Homepage sidebar links pointing at this GitHub repo. Both come from the single repository field in the generated package.json — npm's publish normalization derives homepage as <repo>#readme when only repository is set. Omitting the field removes both links.

  • Removed the repository block from the package.json synthesized in packages/opencode/script/publish.ts (the platform binary packages never had one).
  • Updated the publish.ts row in DIVERGENCES.md to record the omission and the on-conflict guidance.

Takes effect on the next bun release; already-published versions keep their existing metadata.

🤖 Generated with Claude Code

npm renders `repository` as the Repository sidebar link and derives a
`<repo>#readme` Homepage from it; omitting the field keeps both off the
npm page.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@quickbeard
quickbeard merged commit 718ddb1 into main Jul 22, 2026
0 of 5 checks passed
@quickbeard
quickbeard deleted the hide-repo-links branch July 22, 2026 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant