Full pnpm check at d12665c passed (325 tests, Lighthouse within budget)
and 19 browser checks against the production build passed. Adds the
build and test instructions and summary, marks the feature complete
and logs the session in the audit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.4 KiB
1.4 KiB
Build Instructions — soorten-fotoshoots-page
Unchanged from over-mij-page: this feature adds no dependencies, build steps or environment variables.
Prerequisites
- Node.js 24 and pnpm (version pinned in
web/package.json) - Environment variables: none for the build.
LIGHTHOUSE_PERFORMANCE=warnonly in CI.
Build steps
cd web
pnpm install # also runs `chakra typegen` (postinstall); needed after the new frame.* theme tokens
pnpm build # tsc && vite build
Verify
- Expected output:
✓ built in …and no TypeScript errors (0.9 s locally atd12665c) - Artifacts:
web/dist/. New in this feature: ten shoot photos underdist/assets/(hashed names),dist/og-soorten-fotoshoots.jpg(copied frompublic/, stable URL for the preview image) and the page's own chunksoorten-fotoshoots-*.js(the shoot texts and structured data load with it, not with the main bundle) - Accepted warning: Vite's chunk-size warning for the main bundle (known, NFR-P-01)
Troubleshooting
- Lighthouse or preview fails with "port in use": another preview on 4173 (another worktree, or a leftover
vite preview: on Windows, killing the shell does not stop its node process). Check withGet-NetTCPConnection -LocalPort 4173and coordinate via "claim 4173" with the parallel feature sessions. - A theme token is missing in types after a cherry-pick of the shoot types commit: run
pnpm typegen.