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: '10mb',
},
reactStrictMode: true,

View File

@ -6,7 +6,7 @@
"scripts": {
"dev": "next dev -p 3001",
"build": "next build",
"start": "next start",
"start": "next start -p 3001",
"lint": "next lint",
"clean": "rimraf .next && rimraf node_modules",
"copy:pdfjs": "node ../../scripts/copy-pdfjs.cjs"
@ -21,8 +21,8 @@
"framer-motion": "^10.12.8",
"lucide-react": "^0.277.0",
"micro": "^10.0.1",
"next": "13.5.4",
"next-auth": "4.22.3",
"next": "14.0.0",
"next-auth": "4.24.3",
"next-contentlayer": "^0.3.4",
"next-plausible": "^3.10.1",
"perfect-freehand": "^1.2.0",

View File

@ -1,4 +1,4 @@
import { ImageResponse } from 'next/server';
import { ImageResponse } from 'next/og';
import { allBlogPosts } from 'contentlayer/generated';