Repository navigation
fix: link each package's CHANGELOG.md from its README - #18
Merged
Merged
Conversation
Use an absolute GitHub URL so the link also works on npmjs.com: npm resolves relative README links against the package.json `repository` URL, which is the repo root (no CHANGELOG.md there), and the published tarball doesn't include CHANGELOG.md either. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018R6dHTpDgRjmv4dRcUhhKe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018R6dHTpDgRjmv4dRcUhhKe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
Changelog:line to each package's README (elysia,express,fastify,h3,hono,srvx), between the existingDocs:andSource code:lines:Why an absolute URL
A relative
[CHANGELOG.md](CHANGELOG.md)link would work on GitHub but not on npmjs.com:repositoryURL. Here that's the repo root, with nodirectory, and the root has noCHANGELOG.md(/blob/main/CHANGELOG.mdand/blob/HEAD/CHANGELOG.mdboth return 404).CHANGELOG.mdeither (files: ["dist"]; checked@vikejs/hono@0.4.0and@vikejs/express@0.4.0, which contain onlyLICENSE,README.md,dist/,package.json).The absolute GitHub URL works in both places and matches the existing absolute
Source code:link.Verification
<br>from the trailing two spaces, the same line break theDocs:line already uses).npm shows the README from the published tarball, so the new link appears on npmjs.com when each package is next released. This PR doesn't add a changeset.
🤖 Generated with Claude Code
https://claude.ai/code/session_018R6dHTpDgRjmv4dRcUhhKe
Generated by Claude Code