Core: Update to Next.js 14.1.0

This commit is contained in:
Fuma Nama
2024-03-06 16:47:40 +08:00
parent aeb834769b
commit c9b776303c
3 changed files with 7 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'fumadocs-core': patch
---
Update to Next.js 14.1.0
+1 -1
View File
@@ -148,7 +148,7 @@
"unified": "^11.0.4"
},
"peerDependencies": {
"next": ">= 13.4",
"next": ">= 14.1.0",
"react": ">= 18",
"react-dom": ">= 18"
},
+1 -2
View File
@@ -1,6 +1,5 @@
import { Document } from 'flexsearch';
import { NextRequest, NextResponse } from 'next/server';
import { type NextRequest as NextRequestType, type NextResponse as NextResponseType } from 'next/server';
import { type NextRequest, NextResponse } from 'next/server';
import type { StructuredData } from '@/mdx-plugins/remark-structure';
import type { SortedResult } from './shared';