diff --git a/src/components/package-table.astro b/src/components/package-table.astro index be39314..f8c363e 100755 --- a/src/components/package-table.astro +++ b/src/components/package-table.astro @@ -9,6 +9,8 @@ type Package = { version: string; category: string; description: string; + installed_size: string; + upstream_url: string; createdAt: string; updatedAt: string; publishedAt: string; @@ -66,6 +68,16 @@ let totalPackages = apiResponse.meta.pagination.total; class="px-3 py-3.5 text-left text-sm font-semibold text-gray-900 dark:text-gray-100" >Description + Installed Size + URL @@ -84,6 +96,12 @@ let totalPackages = apiResponse.meta.pagination.total; {p.description} + + {p.installed_size} + + + {p.upstream_url} + )) } @@ -144,6 +162,12 @@ let totalPackages = apiResponse.meta.pagination.total; ${p.description} + + ${p.installed_size} + + + ${p.upstream_url} + `; dataRows.appendChild(tr); });