Skip to content

Commit 237eab9

Browse files
ericyangpanclaude
andcommitted
chore: upgrade next from 15.5.9 to 16.1.2
- Remove deprecated eslint config from next.config.ts - Fix revalidateTag type signature for Next.js 16 Co-Authored-By: Claude <noreply@anthropic.com>
1 parent c03a41c commit 237eab9

File tree

4 files changed

+54
-50
lines changed

4 files changed

+54
-50
lines changed

next.config.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,6 @@ const nextConfig: NextConfig = {
9191
ignoreBuildErrors: false,
9292
},
9393

94-
// ESLint configuration
95-
eslint: {
96-
// Set to true only if you want to skip linting during build
97-
ignoreDuringBuilds: false,
98-
},
99-
10094
// Redirects configuration
10195
async redirects() {
10296
return [

package-lock.json

Lines changed: 52 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@opennextjs/cloudflare": "^1.15.1",
4949
"cmdk": "^1.1.1",
5050
"lucide-react": "^0.563.0",
51-
"next": "^15.5.9",
51+
"next": "^16.1.4",
5252
"next-intl": "^4.7.0",
5353
"react": "^19.2.1",
5454
"react-dom": "^19.2.1",

src/app/api/revalidate/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export async function POST(request: NextRequest) {
131131
})
132132
} else if (tag) {
133133
// Revalidate by tag
134-
revalidateTag(tag)
134+
revalidateTag(tag, 'layout')
135135
return NextResponse.json({
136136
revalidated: true,
137137
type: 'tag',

0 commit comments

Comments
 (0)