Website rebuild workspace for the DFN Australia and New Zealand Country Sites.
- Node 24 LTS
- pnpm 12.4.1
The repo enforces Node and pnpm versions through .nvmrc, package.json, and pnpm-workspace.yaml.
Node 24 is pinned in both workspace and app manifests so Vercel uses the supported runtime when the project root is apps/web.
On Vercel, set ENABLE_EXPERIMENTAL_COREPACK=1 so builds use the pinned pnpm version; see Vercel's Corepack configuration.
pnpm install
cp apps/web/.env.example apps/web/.env.local
pnpm devRun commands from the repo root:
pnpm dev
pnpm build
pnpm lint
pnpm format
pnpm check
pnpm typegen
pnpm typecheck
pnpm testRoot scripts currently target apps/web.
The frozen legacy website is preserved in dfn-au/dfn-web-legacy-reference.
apps/web: Next.js App Router app- Tailwind CSS
- Route groups for public and admin surfaces
- Embedded Sanity Studio at
/admin/studio - Biome for linting and formatting
- Vitest for unit tests
- PostHog analytics and error monitoring
Deferred slices:
- Supabase local development and operational schema
- Playwright end-to-end tests
- Vercel-specific config
- Release and changelog automation
- Component library setup