Update TypeScript and React dependencies; modify tsconfig and package.json for improved compatibility

This commit is contained in:
PascalR
2025-02-12 16:52:55 +01:00
parent 0d1606bd31
commit 92be33e27c
3 changed files with 4504 additions and 1416 deletions

5877
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,7 @@
"version": "0.1.5",
"private": true,
"scripts": {
"dev": "next dev",
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start",
"lint": "next lint"
@@ -30,13 +30,13 @@
"embla-carousel-react": "^8.0.0-rc21",
"light-bolt11-decoder": "^3.1.1",
"lucide-react": "^0.475.0",
"next": "14.2.20",
"next": "15.1.7",
"next-pwa": "^5.6.0",
"next-themes": "^0.2.1",
"nostr-react": "^0.7.0",
"nostr-tools": "^2.4.0",
"react": "^18",
"react-dom": "^18",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-hook-form": "^7.51.4",
"react-icons": "^5.1.0",
"tailwind-merge": "^3.0.1",
@@ -46,13 +46,17 @@
},
"devDependencies": {
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/react": "19.0.8",
"@types/react-dom": "19.0.3",
"autoprefixer": "^10.0.1",
"eslint": "^8",
"eslint-config-next": "14.1.0",
"eslint-config-next": "15.1.7",
"postcss": "^8",
"tailwindcss": "^3.3.0",
"typescript": "^5"
},
"overrides": {
"@types/react": "19.0.8",
"@types/react-dom": "19.0.3"
}
}

View File

@@ -1,6 +1,10 @@
{
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
@@ -18,9 +22,20 @@
}
],
"paths": {
"@/*": ["./*"]
}
"@/*": [
"./*"
]
},
"target": "ES2017"
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "app/page.tsx.orig"],
"exclude": ["node_modules"]
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"app/page.tsx.orig"
],
"exclude": [
"node_modules"
]
}