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:
Jerome 2025-07-03 11:47:45 +01:00
commit 0006f25269
No known key found for this signature in database

View file

@ -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"
}
}
}