Skip to content

Commit

Permalink
chore: update nextjs to 14 (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuiiBz authored Dec 20, 2023
1 parent 4c89167 commit c697a30
Show file tree
Hide file tree
Showing 6 changed files with 476 additions and 112 deletions.
6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@vercel/analytics": "^1.1.1",
"next": "^13.5.6",
"next": "^14.0.4",
"nextra": "^2.13.2",
"nextra-theme-docs": "^2.13.2",
"react": "^18.2.0",
Expand All @@ -19,9 +19,9 @@
"devDependencies": {
"@svgr/webpack": "^8.1.0",
"@types/node": "^20.8.7",
"@types/react": "^18.2.31",
"@types/react": "^18.2.45",
"eslint": "^8.52.0",
"eslint-config-next": "^13.5.6",
"typescript": "^5.2.2"
}
}
}
6 changes: 3 additions & 3 deletions examples/next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
"lint": "next lint"
},
"dependencies": {
"next": "^13.5.6",
"next": "^14.0.4",
"next-international": "workspace:*",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/node": "^20.8.7",
"@types/react": "^18.2.31",
"@types/react": "^18.2.45",
"eslint": "^8.52.0",
"eslint-config-next": "^13.5.6",
"typescript": "^5.2.2"
}
}
}
6 changes: 3 additions & 3 deletions examples/next-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
"lint": "next lint"
},
"dependencies": {
"next": "^13.5.6",
"next": "^14.0.4",
"next-international": "workspace:*",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/node": "^20.8.7",
"@types/react": "^18.2.31",
"@types/react": "^18.2.45",
"eslint": "^8.52.0",
"eslint-config-next": "^13.5.6",
"typescript": "^5.2.2"
}
}
}
6 changes: 3 additions & 3 deletions packages/next-international/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
"watch": "pnpm build --watch"
},
"devDependencies": {
"@types/react": "^18.2.31",
"next": "^13.5.6",
"@types/react": "^18.2.45",
"next": "^14.0.4",
"react": "^18.2.0",
"tsup": "^7.2.0"
"tsup": "^8.0.1"
},
"dependencies": {
"client-only": "^0.0.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { cookies, headers } from 'next/headers';
// @ts-expect-error - no types
import { cache } from 'react';
import { LOCALE_COOKIE, LOCALE_HEADER } from '../../common/constants';
import { notFound } from 'next/navigation';
Expand Down
Loading

0 comments on commit c697a30

Please sign in to comment.