Prepare for Node hosting migration and update dependencies

- Update all dependencies to latest (Astro 7, Vite 8, Sanity 6,
  @sanity/client 8, TypeScript 6; TS 7 blocked by @astrojs/check)
- Move build-only packages to devDependencies so a production
  install only pulls the 7 runtime packages
- Add @types/node so `astro check` passes
- Add `start` script and require Node >= 22.12
- Serve homepage content through the 1-minute in-memory cache
- Remove Gitea workflow that deployed to the old Kubernetes cluster

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
JohannesandClaude Opus 5.5 committed 2026-10-09 13:28:47 +02:00
1 parent e3cdb466a3
commit 2285fe813a
4 files changed
+7096 -8360

No files matched your search

+26 -21
View File
@@ -6,33 +6,38 @@
"dev": "astro dev",
"build": "astro check && astro build",
"preview": "astro preview",
"start": "HOST=0.0.0.0 PORT=${PORT:-3000} node dist/server/entry.mjs",
"astro": "astro",
"migrate": "node --env-file=.env scripts/migrate-to-sanity.mjs"
},
"dependencies": {
"@astrojs/check": "^0.9.9",
"@astrojs/node": "^10.1.1",
"@astrojs/react": "^5.0.4",
"@lucide/astro": "^1.14.0",
"@portabletext/to-html": "^5.0.2",
"@sanity/astro": "^3.4.0",
"@sanity/client": "^7.22.0",
"@astrojs/node": "^11.1.7",
"@portabletext/to-html": "^6.0.0",
"@sanity/client": "^8.9.0",
"@sanity/image-url": "^2.1.1",
"@sanity/vision": "^3.0.0",
"@tailwindcss/vite": "^4.2.4",
"astro": "^6.2.1",
"node-addon-api": "^8.7.0",
"node-gyp": "^12.3.0",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"react-is": "^19.0.0",
"sanity": "^5.24.0",
"styled-components": "^6.1.19",
"tailwindcss": "^4.2.4",
"typescript": "^5.6.3",
"vite": "^7"
"astro": "^7.3.8",
"react": "^19.3.0",
"react-dom": "^19.3.0"
},
"devDependencies": {
"@portabletext/markdown": "^1.2.0"
"@astrojs/check": "^0.9.10",
"@astrojs/react": "^7.0.1",
"@lucide/astro": "^1.54.0",
"@portabletext/markdown": "^2.5.0",
"@sanity/astro": "^3.5.1",
"@sanity/vision": "^6.18.0",
"@tailwindcss/vite": "^4.3.3",
"@types/node": "^22.20.5",
"node-addon-api": "^8.9.2",
"node-gyp": "^13.1.0",
"react-is": "^19.3.0",
"sanity": "^6.18.0",
"styled-components": "^6.5.3",
"tailwindcss": "^4.3.3",
"typescript": "^6.0.3",
"vite": "^8.3.4"
},
"engines": {
"node": ">=22.12.0"
}
}