Process

Build & release playbook

Opinionated flow for developing, testing, and shipping MPA pages with confidence.

Local loop

  • task dev: SvelteKit dev server with UnoCSS.
  • task test:watch: Vitest watch for units.
  • task test:e2e:headed: Playwright headed run for flows.

Quality gates

  • task typecheck: app-only TS checks.
  • task lint: ESLint for TS/Svelte.
  • task test: Vitest + Playwright (requires server).

Structure

  • Pages: `src/routes/*/+page.svelte` (MPA entries).
  • Lib: reusable components/utilities live in `src/lib`.
  • E2E: `e2e/` holds Playwright specs only.

Release

  • task build: prerenders to `build/` via adapter-static.
  • task preview: serve the static output locally.
  • Docker: `task docker:build` for container image.