File tree Expand file tree Collapse file tree
pages/package/[[org]]/[name] Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ async function ensureFullDataLoaded() {
6565// ─── Derived data ─────────────────────────────────────────────────────────────
6666
6767const versionToTagsMap = computed (() => buildVersionToTagsMap (distTags .value ))
68+
6869const tagRows = computed (() => buildTaggedVersionRows (distTags .value ))
6970const latestTagRow = computed (() => tagRows .value .find (r => r .tags .includes (' latest' )) ?? null )
7071const otherTagRows = computed (() =>
Original file line number Diff line number Diff line change @@ -57,15 +57,16 @@ export function getPrereleaseChannel(version: string): string {
5757 * Unknown tags fall back to Infinity and are sorted by publish date descending.
5858 */
5959export const TAG_PRIORITY : Record < string , number > = {
60- stable : 0 ,
61- rc : 1 ,
62- beta : 2 ,
63- next : 3 ,
64- alpha : 4 ,
65- canary : 5 ,
66- nightly : 6 ,
67- experimental : 7 ,
68- legacy : 8 ,
60+ latest : 0 ,
61+ stable : 1 ,
62+ rc : 2 ,
63+ beta : 3 ,
64+ next : 4 ,
65+ alpha : 5 ,
66+ canary : 6 ,
67+ nightly : 7 ,
68+ experimental : 8 ,
69+ legacy : 9 ,
6970}
7071
7172/**
You can’t perform that action at this time.
0 commit comments