upgrade to next 14.0.3 and pliny 0.0.6

This commit is contained in:
Timothy Lin 2023-11-21 10:00:16 +08:00
parent e4b6438dca
commit f79d8cecb6
3 changed files with 1994 additions and 2106 deletions

View File

@ -66,7 +66,12 @@ module.exports = () => {
dirs: ['app', 'components', 'layouts', 'scripts'],
},
images: {
domains: ['picsum.photos'],
remotePatterns: [
{
protocol: 'https',
hostname: 'picsum.photos',
},
],
},
async headers() {
return [

View File

@ -11,7 +11,7 @@
"lint": "next lint --fix --dir pages --dir app --dir components --dir lib --dir layouts --dir scripts"
},
"dependencies": {
"@next/bundle-analyzer": "13.5.6",
"@next/bundle-analyzer": "14.0.3",
"@tailwindcss/forms": "^0.5.4",
"@tailwindcss/typography": "^0.5.9",
"autoprefixer": "^10.4.13",
@ -20,10 +20,10 @@
"github-slugger": "^1.4.0",
"gray-matter": "^4.0.2",
"image-size": "1.0.0",
"next": "13.5.6",
"next": "14.0.3",
"next-contentlayer": "0.3.4",
"next-themes": "^0.2.1",
"pliny": "0.1.4",
"pliny": "0.1.6",
"postcss": "^8.4.24",
"react": "18.2.0",
"react-dom": "18.2.0",
@ -48,7 +48,7 @@
"@typescript-eslint/parser": "^6.1.0",
"cross-env": "^7.0.3",
"eslint": "^8.45.0",
"eslint-config-next": "13.5.6",
"eslint-config-next": "14.0.3",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.0",

4085
yarn.lock

File diff suppressed because it is too large Load Diff