chore(landing): upgrade to Astro 6 (resolves the astro security advisory) (#260)

Bump astro ^5.8.0 -> ^6.4.7, @astrojs/sitemap ^3.3.0 -> ^3.7.3, @astrojs/check ^0.9.0 -> ^0.9.9.

The landing uses none of the Astro APIs removed in v6 (no Astro.glob, ViewTransitions, or content collections), so no code changes were required. Astro 6 runs on the repo's existing Vite 8 (the monorepo is already on Vite 8 via the shared override).

Verified: landing build (165 pages) + astro check (0 errors); full monorepo build/typecheck/lint all pass; homepage renders correctly.
This commit is contained in:
SnapOtter
2026-06-17 11:11:34 +08:00
committed by GitHub
parent 79233ff19d
commit c3d7411c67
2 changed files with 170 additions and 250 deletions
+3 -3
View File
@@ -12,13 +12,13 @@
"clean": "rm -rf dist .astro"
},
"dependencies": {
"@astrojs/sitemap": "^3.3.0",
"@astrojs/sitemap": "^3.7.3",
"@snapotter/shared": "workspace:*",
"astro": "^5.8.0",
"astro": "^6.4.7",
"lucide": "^1.18.0"
},
"devDependencies": {
"@astrojs/check": "^0.9.0",
"@astrojs/check": "^0.9.9",
"@tailwindcss/vite": "^4.3.1",
"tailwindcss": "^4.3.1",
"typescript": "^5.7.0"