astro check restored: tsconfig excludes public/ (the 2 MB vendored CMS bundle was what exhausted the heap) and extends tsconfigs/strict; type annotations in template scripts, z from astro/zod; exact version pins; compressHTML true (lossless whitespace, no words glued to links) and explicit trailingSlash/build.format; README: upgrading section

This commit is contained in:
2026-09-06 15:12:56 +02:00
parent e8b47ac888
commit bd95bacfc5
10 changed files with 53 additions and 25 deletions
+2 -1
View File
@@ -29,4 +29,5 @@ presentation. Pages are `.astro` templates (plain HTML).
(astro.config.mjs) — the default minifier breaks `animation-timeline`.
- `--header-h` drives the sticky-header offsets (anchors, TOC rail, reading
progress); change the header height only through the token.
- Deterministic gate before pushing: `npm run check` (build + link check).
- Deterministic gate before pushing: `npm run check` (types + build + link
check, a few seconds).