feat(ui): redesign the dashboard as a package checkpoint

Add overview, packages with quick view, package detail tabs, a merged security page, insights, system and restyled bypasses. Old vulnerable and blocked routes redirect to the matching security tab.
This commit is contained in:
2026-11-24 01:13:09 +00:00
parent 45aa4bcace
commit 671bb0625b
50 changed files with 3022 additions and 1937 deletions
+6
View File
@@ -40,3 +40,9 @@ export function displayVersion(pkg: { version: string; release_version?: string
export function withVersionPrefix(version: string): string {
return version.startsWith('v') ? version : 'v' + version
}
/** Go cache keys end in `/@v/<version>.<ext>`; the module path is what a person recognises. */
export function modulePath(name: string): string {
const at = name.indexOf('/@v/')
return at === -1 ? name : name.slice(0, at)
}