Conversation
Thanks for opening this pull request! 🎉We really appreciate you taking the time to contribute, @fengmk2. A maintainer will take a look as soon as they can. In the meantime, please make sure that:
If anything needs adjusting we'll leave comments here. Thanks again! |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
duplicate of #2192 |
The
viteversion link onvite-plus@0.3.1returns404becausepackageRoute()treats the fullnpm:alias as a version.packageRoute()now usesparsePackageSpec()to extract the target package and version. The link opens/package/@voidzero-dev/vite-plus-core/v/0.3.1. The fix covers regular, peer, and optional dependency version links.Regression tests cover scoped and unscoped aliases, ranges, tags, and aliases without versions. All 56 focused tests, lint, formatting, and type checks pass.
Related to #2010. This draft overlaps with #2192 and limits the change to version-link routing.