chore: update dependencies with compatibility fixes

- Update all packages to latest versions via pnpm update --latest
- Downgrade Prisma 7 to 6 (v7 requires schema migration)
- Downgrade Tailwind CSS 4 to 3 (v4 requires PostCSS migration)
- Downgrade Storybook 10 to 8 (addons not available in v10)
- Pin cheerio to 1.0.0-rc.12 via pnpm override (type exports changed)
- Fix AI SDK tool definitions: parameters -> inputSchema
- Fix cheerio types in extract-meta and table-extract tools
- Add explicit type annotations to tool execute functions
- Migrate biome config to v2.3.11 schema

All type-checks, tests, and builds pass.
This commit is contained in:
Ajax Davis 2026-01-09 22:49:41 +10:00
parent cb157611df
commit 5c9f1a1d0a
195 changed files with 5893 additions and 4845 deletions

View file

@ -12,7 +12,15 @@
"bugs": {
"url": "https://github.com/tpmjs/tpmjs/issues"
},
"keywords": ["tpmjs", "ai", "agents", "tools", "mcp", "typescript", "npm"],
"keywords": [
"tpmjs",
"ai",
"agents",
"tools",
"mcp",
"typescript",
"npm"
],
"private": true,
"type": "module",
"engines": {
@ -40,21 +48,28 @@
"prepare": "node -e \"if (!process.env.CI && !process.env.VERCEL && require('fs').existsSync('.git')) { require('child_process').execSync('lefthook install', {stdio: 'inherit'}) }\""
},
"pnpm": {
"onlyBuiltDependencies": ["better-sqlite3", "esbuild"]
"onlyBuiltDependencies": [
"better-sqlite3",
"esbuild"
],
"overrides": {
"cheerio": "1.0.0-rc.12",
"tailwindcss": "3.4.17"
}
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@blocksai/cli": "^0.2.1",
"@blocksai/validators": "^1.1.1",
"@changesets/cli": "^2.27.10",
"@biomejs/biome": "^2.3.11",
"@blocksai/cli": "^0.3.0",
"@blocksai/validators": "^1.2.0",
"@changesets/cli": "^2.29.8",
"@total-typescript/ts-reset": "^0.6.1",
"@types/node": "^22.10.2",
"dependency-cruiser": "^17.3.1",
"knip": "^5.70.2",
"lefthook": "^1.10.1",
"openai": "^6.9.1",
"@types/node": "^25.0.3",
"dependency-cruiser": "^17.3.6",
"knip": "^5.80.2",
"lefthook": "^2.0.13",
"openai": "^6.15.0",
"tsx": "^4.21.0",
"turbo": "^2.6.1",
"turbo": "^2.7.3",
"type-coverage": "^2.29.7",
"typescript": "^5.9.3"
}