[tools] java = "temurin-21" maven = "3.9.9" node = "22" lefthook = "1.11.12" gitleaks = "8.26.0" [tasks.setup] description = "Install deps and git hooks" run = """ #!/bin/bash set -e npm --prefix frontend install lefthook install cp -n .env.example .env 2>/dev/null || true """ [tasks.check] description = "Format-check, lint, and test" run = """ #!/bin/bash set -e mvn -f backend/pom.xml spotless:check -q (cd frontend && npx biome check src) mvn -f backend/pom.xml test -q (cd frontend && npx vitest run) """