update to next.js v15

This commit is contained in:
Thomas Ruoff
2025-03-30 21:57:57 +02:00
parent 935198d938
commit 7c0c891efc
4 changed files with 1574 additions and 743 deletions

2
next-env.d.ts vendored
View File

@@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" /> /// <reference types="next/image-types/global" />
// NOTE: This file should not be edited // NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information. // see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

View File

@@ -3,7 +3,6 @@ import createMDX from '@next/mdx'
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
swcMinify: true,
// Configure `pageExtensions`` to include MDX files // Configure `pageExtensions`` to include MDX files
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'], pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
// Optionally, add any other Next.js config below // Optionally, add any other Next.js config below

2302
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,7 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev --turbopack",
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"lint": "next lint", "lint": "next lint",
@@ -14,7 +14,7 @@
"@mdx-js/loader": "^3.1.0", "@mdx-js/loader": "^3.1.0",
"@mdx-js/react": "^3.1.0", "@mdx-js/react": "^3.1.0",
"@next-auth/mongodb-adapter": "1.1.3", "@next-auth/mongodb-adapter": "1.1.3",
"@next/mdx": "^14.2.26", "@next/mdx": "15.2.4",
"@types/mdx": "^2.0.11", "@types/mdx": "^2.0.11",
"@vercel/analytics": "^1.5.0", "@vercel/analytics": "^1.5.0",
"autoprefixer": "10.4.21", "autoprefixer": "10.4.21",
@@ -24,20 +24,20 @@
"googleapis": "142.0.0", "googleapis": "142.0.0",
"ics": "3.8.1", "ics": "3.8.1",
"mongoose": "^8.13.1", "mongoose": "^8.13.1",
"next": "^14.2.26", "next": "15.2.4",
"next-auth": "4.24.11", "next-auth": "4.24.11",
"next-axiom": "^1.9.1", "next-axiom": "^1.9.1",
"nodemailer": "^6.10.0", "nodemailer": "^6.10.0",
"react": "18.3.1", "react": "19.1.0",
"react-calendar": "5.1.0", "react-calendar": "5.1.0",
"react-dom": "18.3.1", "react-dom": "19.1.0",
"uuid": "10.0.0" "uuid": "10.0.0"
}, },
"devDependencies": { "devDependencies": {
"@types/nodemailer": "^6.4.17", "@types/nodemailer": "^6.4.17",
"@types/uuid": "10.0.0", "@types/uuid": "10.0.0",
"eslint": "8.57.0", "eslint": "8.57.0",
"eslint-config-next": "^14.2.26", "eslint-config-next": "15.2.4",
"eslint-config-prettier": "9.1.0", "eslint-config-prettier": "9.1.0",
"jest": "29.7.0", "jest": "29.7.0",
"postcss": "8.4.45", "postcss": "8.4.45",