chore: upgrade to next 14.0.0

This commit is contained in:
Mythie
2023-10-27 15:14:04 +11:00
parent 4f99b58795
commit 7fa61c6bb6
11 changed files with 196 additions and 401 deletions

View File

@ -13,7 +13,6 @@ ENV_FILES.forEach((file) => {
/** @type {import('next').NextConfig} */
const config = {
experimental: {
serverActions: true,
serverActionsBodySizeLimit: '50mb',
},
reactStrictMode: true,

View File

@ -25,8 +25,8 @@
"lucide-react": "^0.277.0",
"luxon": "^3.4.0",
"micro": "^10.0.1",
"next": "13.5.4",
"next-auth": "4.22.3",
"next": "14.0.0",
"next-auth": "4.24.3",
"next-plausible": "^3.10.1",
"next-themes": "^0.2.1",
"perfect-freehand": "^1.2.0",

View File

@ -1,4 +1,5 @@
import { ImageResponse, NextResponse } from 'next/server';
import { ImageResponse } from 'next/og';
import { NextResponse } from 'next/server';
import { P, match } from 'ts-pattern';