feat: add package scores display #914
feat: add package scores display #914MhemedAbderrahmen wants to merge 7 commits intonpmx-dev:mainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
📝 WalkthroughWalkthroughAdds package score support: a new Vue 3 component ScoreBars displays quality, popularity and maintenance as coloured progress bars; a composable usePackageScore provides lazy fetching of NPMS scores; the package page renders the component in two locations; a server API endpoint /api/registry/score/[...pkg] fetches and caches NPMS scores and exports an NpmsScore type; i18n locales (en.json, en-GB.json, en-US.json) include scores keys; accessibility tests for the component were added. Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
43081j
left a comment
There was a problem hiding this comment.
looks good to me
i noticed the npms.io data is pretty outdated so i have raised that separately in discord FYI
Closes #875
Adds: