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

+2 -2
View File
@@ -3,7 +3,7 @@ import BaseLayout from '../layouts/BaseLayout.astro';
import AnchorNav from '../components/AnchorNav.astro';
import TheaterSection from '../components/TheaterSection.astro';
import PhotoGallery from '../components/PhotoGallery.astro';
import { sanityClient } from '../sanity/client';
import { fetchWithCache } from '../sanity/client';
import { renderPortableText } from '../sanity/portableText';
import { urlFor } from '../sanity/imageUrl';
import { theaterHomepageQuery } from '../sanity/queries';
@@ -11,7 +11,7 @@ import { MapPin } from '@lucide/astro';
export const prerender = false
const content = await sanityClient.fetch(theaterHomepageQuery) ?? {};
const content: any = await fetchWithCache(theaterHomepageQuery) ?? {};
---
<BaseLayout title={content.title || 'Freilichttheater Ziefen 2028'}>