Files
botsmann/package.json
T
GandClaude Opus 4.8 7bf59b27dc ci: strict verify gate + verify SSOT script (#121)
* ci: strict verify gate + verify SSOT script

Reconciles PR #109's intent onto post-#120 main (self-hosted, no Vercel):
- add "verify" script (format:check && lint && test && build) — one
  definition of "green", run identically locally and in CI
- ci.yml runs `npm ci` then a single `npm run verify` step (no --if-present:
  a missing/renamed gate script fails loudly) instead of the old split steps
- add AGENTS.md, corrected to the real stack (Next.js 16 / React 19) and
  self-hosted Hetzner deploy referencing ci.yml — NOT the stale Vercel/Next14
  draft from #109 that would have re-added Vercel

Supersedes #109 (which conflicted on the workflow #120 renamed).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* style: prettier --write repo to make the verify gate green

The strict verify gate surfaced pre-existing format debt that main's long-red
CI (blocked-Vercel deploy step) had masked. prettier --write is mechanical and
content-preserving — the executive-docs keep their text (incl. the separate
Vercel-in-financials follow-up), only whitespace is normalised. Also excludes
the auto-generated next-env.d.ts from prettier. Build/lint/test already pass;
this clears format:check so verify is truly green (and un-reds main on merge).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* style: reformat with the repo-pinned prettier config (printWidth 100)

Prior format commit used a prettier invocation that didn't resolve .prettierrc
(fell back to printWidth 80); the pinned config (printWidth 100) rejected it.
Re-run with the repo's own prettier so format:check matches CI exactly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-28 10:10:11 +02:00

98 lines
2.8 KiB
JSON

{
"name": "botsmann",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"build:ci": "npm ci && npm run build",
"start": "next start",
"test": "jest",
"test:e2e": "NODE_ENV=test playwright test",
"test:watch": "jest --watch",
"test:db": "tsx scripts/test-db-connection.ts",
"lint": "eslint . --max-warnings 0",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"verify": "npm run format:check && npm run lint && npm run test && npm run build",
"prepare": "husky install",
"lint-staged": "lint-staged"
},
"dependencies": {
"@aws-sdk/client-ses": "^3.980.0",
"@giscus/react": "^3.1.0",
"@headlessui/react": "^2.2.0",
"@supabase/ssr": "^0.8.0",
"@supabase/supabase-js": "^2.47.10",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.16",
"@xenova/transformers": "^2.17.2",
"autoprefixer": "^10.4.17",
"date-fns": "^4.1.0",
"gray-matter": "^4.0.3",
"next": "^16.2.12",
"next-mdx-remote": "^6.0.0",
"pdf-parse": "^2.4.5",
"postcss": "^8.5.10",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-hook-form": "^7.54.2",
"react-icons": "^5.5.0",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",
"remark-gfm": "^4.0.1",
"sonner": "^2.0.7",
"tailwindcss": "^3.4.1",
"zod": "^3.24.1"
},
"overrides": {
"glob": "^10.5.0",
"fast-xml-parser": "^5.7.0",
"protobufjs": "^7.6.5",
"ws": "^8.21.1",
"handlebars": "^4.7.9",
"flatted": "^3.4.2",
"postcss": "$postcss",
"@babel/core": "^7.29.6",
"yaml": "^2.8.3",
"sharp": "^0.35.3",
"picomatch@2": "2.3.2",
"picomatch@4": "4.0.5",
"minimatch@3": "3.1.5",
"minimatch@9": "9.0.9",
"js-yaml@3": "3.15.0",
"js-yaml@4": "4.3.0"
},
"devDependencies": {
"@playwright/test": "^1.49.0",
"@testing-library/jest-dom": "^6.6.3",
"@types/jest": "^29.5.14",
"@types/node": "^20.17.17",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@typescript-eslint/eslint-plugin": "^8.65.0",
"@typescript-eslint/parser": "^8.65.0",
"daisyui": "^5.0.43",
"eslint": "^9.39.5",
"eslint-config-next": "^16.2.12",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.6",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-environment-jsdom": "^30.2.0",
"lint-staged": "^15.2.10",
"node-mocks-http": "^1.17.2",
"prettier": "^3.3.3",
"ts-jest": "^29.2.5",
"typescript": "^5.7.3"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --cache --fix",
"prettier --write"
],
"*.{json,md,css,scss,html,yml,yaml}": "prettier --write"
}
}