diff --git a/frontend/components/PackageHit.tsx b/frontend/components/PackageHit.tsx index 7811e074..28cf3ac0 100644 --- a/frontend/components/PackageHit.tsx +++ b/frontend/components/PackageHit.tsx @@ -11,8 +11,15 @@ export function PackageHit(pkg: OramaPackageHit | Package): ListDisplayItem { content: (
-
- {`@${pkg.scope}/${pkg.name}`} +
+ + {`@${pkg.scope}/${pkg.name}`} + + {(pkg as Package).latestVersion && ( + + {`@${(pkg as Package).latestVersion}`} + + )}
{pkg.description}