📦 deps(thirdparty): update snapshots

This commit is contained in:
ci[bot]
2026-07-04 16:04:20 +00:00
parent b40381458b
commit 9dc81e18a7
194 changed files with 3039 additions and 755 deletions
@@ -7,7 +7,7 @@ const SITE_NAME = 'Antigravity Awesome Skills';
const REPOSITORY_URL = 'https://github.com/sickn33/antigravity-awesome-skills';
const HOSTED_CATALOG_URL = 'https://sickn33.github.io/antigravity-awesome-skills/';
const TOPIC_ROUTE_PREFIX = '/topics';
const HOME_CATALOG_COUNT_FALLBACK = 1894;
const HOME_CATALOG_COUNT_FALLBACK = 1898;
export interface SeoLandingPageLink {
label: string;
@@ -91,15 +91,20 @@ export function toCanonicalPath(pathname: string): string {
return normalized || '/';
}
export function toIndexableRoutePath(pathname: string): string {
const canonicalPath = toCanonicalPath(pathname);
return canonicalPath === '/' ? '/' : `${canonicalPath}/`;
}
export function getCanonicalUrl(canonicalPath: string, siteBaseUrl?: string): string {
const base = toCanonicalPath(canonicalPath);
const base = toIndexableRoutePath(canonicalPath);
const siteBase = siteBaseUrl?.trim() || window.location.origin;
const normalizedBase = siteBase.replace(/\/+$/, '');
return `${normalizedBase}${base === '/' ? '/' : base}`;
}
export function getAssetCanonicalUrl(canonicalPath: string): string {
return getAbsolutePublicAssetUrl(toCanonicalPath(canonicalPath), {
return getAbsolutePublicAssetUrl(toIndexableRoutePath(canonicalPath), {
baseUrl: import.meta.env.BASE_URL || '/',
origin: window.location.origin,
});