mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-04 17:58:10 +01:00
TypeScript ^5.7.3 -> ^6.0.3 (fleet TypeScript-6 sweep). TS 7.0.2 is blocked fleet-wide: typescript-eslint hard-errors "does not support TS 7.0" (canaried 2026-08-31). 6.0.3 is the blessed major, proven in-fleet with Next 16. One TS-6 fix: drop the deprecated "baseUrl" from tsconfig.json (TS5101 hard-errors on it under 6.0). The "@/*" paths mapping resolves relative to the tsconfig dir without it. Full verify (format, lint, typecheck, selfhost check, tests, build) green. Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
101 lines
2.9 KiB
JSON
101 lines
2.9 KiB
JSON
{
|
|
"name": "botsmann",
|
|
"version": "1.0.0",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"build:ci": "npm ci && npm run build",
|
|
"start": "next start",
|
|
"test": "vitest run",
|
|
"test:e2e": "NODE_ENV=test playwright test",
|
|
"test:watch": "vitest run --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 .",
|
|
"typecheck": "tsc --noEmit",
|
|
"check:selfhost": "bash scripts/ci/no-hosted-supabase.sh",
|
|
"verify": "npm run format:check && npm run lint && npm run typecheck && npm run check:selfhost && 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.11",
|
|
"@tailwindcss/postcss": "^4.3.3",
|
|
"@tailwindcss/typography": "^0.5.20",
|
|
"@xenova/transformers": "^2.17.2",
|
|
"ai-kit": "github:bitbaum/ai-kit#v0.6.2",
|
|
"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": "^4.3.3",
|
|
"zod": "^4.5.4"
|
|
},
|
|
"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/node": "^26.4.0",
|
|
"@types/react": "^19.2.17",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@typescript-eslint/eslint-plugin": "^8.65.0",
|
|
"@typescript-eslint/parser": "^8.65.0",
|
|
"eslint": "^10.9.1",
|
|
"eslint-config-next": "^16.2.12",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-prettier": "^5.5.6",
|
|
"husky": "^9.1.6",
|
|
"jsdom": "^25.0.1",
|
|
"lint-staged": "^17.3.0",
|
|
"node-mocks-http": "^1.17.2",
|
|
"prettier": "^3.3.3",
|
|
"typescript": "^6.0.3",
|
|
"vitest": "^4.1.11"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"eslint --cache --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.{json,md,css,scss,html,yml,yaml}": "prettier --write"
|
|
}
|
|
}
|