Update Node to 26 and dependencies to their latest versions

- Node 20 is end-of-life; use the current LTS in the Docker image
- Major updates: @sanity/client 8, @sanity/image-url 2,
  @portabletext/react 8, eslint-config-next 16
- Unpin React and update to 19.3
- ESLint stays on 9 and TypeScript on 6.0, since eslint-config-next's
  plugins and typescript-eslint don't support newer majors yet
- Use the native flat config from eslint-config-next 16
- Use useSyncExternalStore for WebGL detection to satisfy the new
  react-hooks lint rule

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
leanderandClaude Opus 5.5 committed 2026-10-30 22:01:56 +01:00
1 parent a1729494b4
commit aca584791e
6 files changed
+1049 -533

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:20-alpine
FROM node:26-alpine
WORKDIR /app