mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What? I kindly request the maintainers to review this Pull Request, which aims to migrate the `with-mongoose` example to TypeScript with total type safety. ### Why? By doing so, we enhance the overall quality and maintainability of the example, aligning it with modern best practices for type-safe codebases. ### How? I have thoroughly tested the changes to ensure they do not introduce regressions and maintain compatibility with the existing codebase. Co-authored-by: Balázs Orbán <[email protected]>
20 lines
388 B
JSON
20 lines
388 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@types/node": "^20.4.7",
|
|
"@types/react": "^18.2.18",
|
|
"@types/react-dom": "^18.2.7",
|
|
"mongoose": "^7.4.2",
|
|
"next": "latest",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"swr": "^2.2.0",
|
|
"typescript": "^5.1.6"
|
|
}
|
|
}
|