Fix TypeScript build errors
- Add @types/node dependency for NodeJS namespace types - Remove unsupported 'title' property from MCP tool registration - Add Node.js types to tsconfig.json for proper type resolution - Ensure build succeeds for GitHub Pages deployment 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
6b148647b9
commit
0006f25269
1 changed files with 27 additions and 8 deletions
15
package.json
15
package.json
|
|
@ -12,20 +12,22 @@
|
|||
"test:ui": "vitest --ui"
|
||||
},
|
||||
"dependencies": {
|
||||
"@modelcontextprotocol/sdk": "^1.0.0",
|
||||
"clsx": "^2.0.0",
|
||||
"lucide-react": "^0.344.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"@modelcontextprotocol/sdk": "^1.0.0",
|
||||
"uuid": "^10.0.0",
|
||||
"clsx": "^2.0.0",
|
||||
"lucide-react": "^0.344.0"
|
||||
"uuid": "^10.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^24.0.10",
|
||||
"@types/react": "^18.2.55",
|
||||
"@types/react-dom": "^18.2.19",
|
||||
"@types/uuid": "^10.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
||||
"@typescript-eslint/parser": "^6.21.0",
|
||||
"@vitejs/plugin-react": "^4.2.1",
|
||||
"@vitest/ui": "^1.2.0",
|
||||
"autoprefixer": "^10.4.17",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
|
|
@ -34,7 +36,6 @@
|
|||
"tailwindcss": "^3.4.1",
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^5.1.0",
|
||||
"vitest": "^1.2.0",
|
||||
"@vitest/ui": "^1.2.0"
|
||||
"vitest": "^1.2.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue