Files
vitareba/package.json
CatoandClaude Opus 5 4802fe02df chore(lint): hold warnings at zero and ban stray console.log
Three small guards, one theme: a rule the repo already follows should be
enforced rather than remembered.

- `pnpm run lint` now runs with `--max-warnings 0`, so a warning fails the
  build instead of accumulating. The one outstanding warning is fixed first:
  /api/calendar/subscribe took a `Request` it deliberately never reads (the
  whole point of that route is that nothing on the request may decide where a
  calendar token is sent), so the parameter is gone and the comment says why.
- ESLint `no-console`, allowing `warn` and `error` — those are how a degraded
  state reaches the systemd journal on the box. The two existing `console.log`
  calls are genuine operator output (email provider unconfigured; orphaned
  files deleted) and move to `console.warn`, which is where an operator looks.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KAn51JHFcTrPeCjZDGXM8
2026-09-15 11:30:47 +02:00

57 lines
1.5 KiB
JSON

{
"name": "vitareba",
"version": "0.1.0",
"engines": {
"node": ">=20"
},
"packageManager": "pnpm@11.6.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "eslint --max-warnings 0",
"typecheck": "tsc --noEmit",
"db:generate": "dotenv -e .env.local -- drizzle-kit generate",
"db:push": "dotenv -e .env.local -- drizzle-kit push",
"db:studio": "dotenv -e .env.local -- drizzle-kit studio",
"test": "vitest run",
"verify": "npm run format:check && pnpm run lint && pnpm run typecheck && pnpm run test",
"format": "prettier --write .",
"format:check": "prettier --check ."
},
"dependencies": {
"@auth/drizzle-adapter": "^1.11.3",
"@bitbaum/ai-kit": "^1.4.0",
"@bitbaum/mail-kit": "^0.1.1",
"@sentry/nextjs": "^10.73.0",
"bcryptjs": "^3.0.3",
"drizzle-orm": "^0.45.2",
"next": "16.3.4",
"next-auth": "5.0.0-beta.32",
"next-intl": "^4.14.2",
"pg": "^8.23.0",
"react": "19.2.8",
"react-dom": "19.2.8",
"recharts": "^3.10.1",
"threadkit": "^0.1.1",
"zod": "^4.5.4"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/bcryptjs": "^3.0.0",
"@types/node": "^26",
"@types/pg": "^8.23.1",
"@types/react": "^19",
"@types/react-dom": "^19",
"dotenv-cli": "^11.0.0",
"drizzle-kit": "^0.31.10",
"eslint": "^10",
"eslint-config-next": "16.3.4",
"prettier": "3.9.6",
"tailwindcss": "^4",
"typescript": "^6",
"vitest": "^5.0.0"
}
}