diff --git a/apps/site/package.json b/apps/site/package.json index eb0b627..8644fac 100644 --- a/apps/site/package.json +++ b/apps/site/package.json @@ -10,7 +10,7 @@ "preview": "wrangler dev" }, "dependencies": { - "@northguild/gmt": "^1.19.0", + "@northguild/gmt": "^1.20.0", "@northguild/theme": "workspace:*", "astro": "7.2.7" }, diff --git a/apps/site/src/components/Aurora.astro b/apps/site/src/components/Aurora.astro index cae7ade..7f93999 100644 --- a/apps/site/src/components/Aurora.astro +++ b/apps/site/src/components/Aurora.astro @@ -5,6 +5,10 @@ import { compass, coords, } from "../scripts/aurora.sites"; +// The installed @northguild/gmt's version, read at build time so the footer +// follows every upgrade. The package does not export its package.json, so +// it is read by path; only the version string reaches the page. +import { version as gmtVersion } from "../../node_modules/@northguild/gmt/package.json"; ---