Skip to content

Commit

Permalink
Merge pull request #484 from hifrontendcafe/upgrade-nextjs-14
Browse files Browse the repository at this point in the history
Upgrade nextjs 14
  • Loading branch information
Santiago-j-s authored Jan 21, 2024
2 parents 8556772 + 4a62ce8 commit 4cb01e5
Show file tree
Hide file tree
Showing 11 changed files with 2,712 additions and 345 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ package-lock.json

# WebStorm
.idea

# asdf
/.tool-versions
27 changes: 18 additions & 9 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,26 @@
*/
module.exports = {
images: {
domains: [
'cdn.discordapp.com',
'pbs.twimg.com',
'cdn.sanity.io',
'flagcdn.com',
remotePatterns: [
{
hostname: 'cdn.discordapp.com',
protocol: 'https',
},
{
hostname: 'pbs.twimg.com',
protocol: 'https',
},
{
hostname: 'cdn.sanity.io',
protocol: 'https',
},
{
hostname: 'flagcdn.com',
protocol: 'https',
},
],
},
experimental: {
appDir: true,
serverActions: true,
},
experimental: {},
swcMinify: true,
transpilePackages: ['next-sanity-client'],
};
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"@sanity/vision": "^3.14.3",
"@types/react-select": "^4.0.18",
"@vercel/analytics": "^0.1.8",
"@vercel/speed-insights": "^1.0.5",
"bufferutil": "^4.0.7",
"clsx": "^1.2.1",
"date-fns": "^2.29.3",
Expand All @@ -40,7 +41,7 @@
"groq": "^3.5.0",
"jsdom": "^20.0.3",
"mui-datatables": "^4.3.0",
"next": "13.4.3",
"next": "14.1.0",
"next-auth": "^4.22.1",
"next-mdx-remote": "^3.0.8",
"next-sanity": "^5.1.2",
Expand Down Expand Up @@ -83,7 +84,7 @@
"@typescript-eslint/parser": "^5.59.6",
"autoprefixer": "^10.4.14",
"eslint": "^8.37.0",
"eslint-config-next": "^13.4.3",
"eslint-config-next": "^14.1.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.4.1",
"postcss": "^8.4.24",
Expand Down
Loading

1 comment on commit 4cb01e5

@vercel
Copy link

@vercel vercel bot commented on 4cb01e5 Jan 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.