Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.13 KB

File metadata and controls

55 lines (37 loc) · 1.13 KB

AGENTS.md

Repository Overview

Monorepo for selvbetjeningsdialoger og fellespakker i Sykdom i familien.

Repository Structure

  • Frontend code is in apps/**, apps-intern/**, and shared packages in packages/**.
  • Backend services are in server/** and server-ungdomsytelse-veileder/**.

Tech Stack

  • TypeScript and JavaScript
  • React and Next.js apps
  • pnpm workspaces
  • Turborepo
  • Vitest

Build and Test Commands

pnpm install --frozen-lockfile
pnpm build
pnpm lint
pnpm test

For targeted work, run commands from the affected workspace where possible.

Working Rules

  • Follow existing patterns in each app or package.
  • Prefer minimal, focused changes.
  • Run relevant workspace tests before broad test runs.
  • Reuse existing lint and typecheck scripts.

Boundaries

Always

  • Keep changes scoped to the requested area.
  • Keep configuration consistent with pnpm and Turbo.

Ask First

  • New dependencies
  • Cross-workspace refactors
  • Changes to deployment workflows

Never

  • Commit secrets
  • Disable tests or lint checks to make CI pass
  • Merge pull requests (review and merge er utført av menneske)