···11+#!/bin/sh
22+set -eu
33+44+printf 'Running pre-commit checks...\n'
55+bun run check
+3
README.md
···36363737```bash
3838bun install
3939+bun run hooks:install
3940cp .env.example .env
4041bun run db:up
4142bun run prisma:migrate
···5253bun run dev
5354bun run build
5455bun run lint
5656+bun run check
5757+bun run hooks:install
5558bun run db:up
5659bun run db:down
5760bun run db:logs
+16-2
docs/development.md
···13131414```bash
1515bun install
1616+bun run hooks:install
1617cp .env.example .env
1718bun run db:up
1819bun run prisma:migrate
···77787879## Quality checks
79808080-Run lint:
8181+Run the full local verification suite used by CI:
8282+8383+```bash
8484+bun run check
8585+```
8686+8787+Run lint only:
81888289```bash
8390bun run lint
8491```
85928686-Run a production build:
9393+Run a production build only:
87948895```bash
8996bun run build
9097```
91989999+Install git hooks for this repo:
100100+101101+```bash
102102+bun run hooks:install
103103+```
104104+92105Notes:
93106107107+- The pre-commit hook runs `bun run check`, which includes formatting, linting, type-checking, and a production build.
94108- `bun run build` also validates translation resources before the Next.js build.
95109- There is currently no separate test suite command in `package.json`.
96110
+1
package.json
···2222 "format": "prettier --write .",
2323 "format:check": "prettier --check . --ignore-unknown",
2424 "check": "bun run format:check && bun run lint && bun run typecheck && bun run build",
2525+ "hooks:install": "git config core.hooksPath .githooks",
2526 "db:up": "podman-compose up -d",
2627 "db:down": "podman-compose down",
2728 "db:logs": "podman-compose logs -f postgres",