Files
AndreaSlopFotografie/aidlc-docs/features/portfolio-page/construction/build-and-test/build-instructions.md
T
SluijsensandClaude Opus 5.5 2246986d77
Continuous Integration / check (pull_request) Successful in 13m30s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 14m13s
Continuous Integration / deploy-production (pull_request) Skipped
Marks the portfolio page as built and tested
Records the build and test results (full suite, integration scenarios,
Lighthouse in CI and locally) and completes the feature.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 20:25:19 +01:00

1.1 KiB

Build Instructions — Portfolio Page

Prerequisites

  • Build tool: pnpm 12.11.2 (packageManager in web/package.json), Node 24
  • Dependencies: from web/pnpm-lock.yaml; no new dependency in this feature
  • Environment variables: none
  • System: any OS supported by Node 24; Chrome for Lighthouse

Build Steps

cd web
pnpm install --frozen-lockfile   # also runs `chakra typegen` (theme: swap duration, filterControl recipe)
pnpm build                       # tsc && vite build

Verify

  • dist/ with, among others, assets/portfolio-*.js (route, ~2.6 kB gzip), assets/Lightbox-*.js (lazy chunk, ~15.4 kB gzip), assets/index-*.js (main, ~150 kB gzip; +0.1 kB gzip versus master), 20 portfolio photos and og-portfolio.jpg
  • sitemap.xml lists /portfolio
  • Known warning: chunk size > 500 kB for the main bundle (pre-existing)

Troubleshooting

  • Type errors on Chakra tokens/recipes after a theme change: run pnpm typegen.
  • Missing photos: the assets are committed in web/src/assets/portfolio/; they were produced once with a local System.Drawing script (not part of the build).