update dependencies

update nextjs to 14
This commit is contained in:
DefectingCat
2023-11-07 11:01:14 +08:00
parent a22d0a27d1
commit 7b05f849cc
3 changed files with 459 additions and 1770 deletions

View File

@ -14,8 +14,7 @@ const nextConfig = {
output: 'standalone',
// images: isExport ? { unoptimized: true } : {},
experimental: {
// runtime: 'experimental-edge',
appDir: true,
webpackBuildWorker: true,
},
compiler: {
removeConsole: process.env.NODE_ENV === 'production',

View File

@ -16,21 +16,21 @@
"prepare": "husky install"
},
"dependencies": {
"@codesandbox/sandpack-react": "^2.7.1",
"@codesandbox/sandpack-react": "^2.9.0",
"@docsearch/css": "^3.5.2",
"@docsearch/react": "^3.5.2",
"@giscus/react": "^2.3.0",
"@mapbox/rehype-prism": "^0.8.0",
"@mapbox/rehype-prism": "^0.9.0",
"@react-spring/three": "^9.7.3",
"@react-three/drei": "^9.83.9",
"@react-three/fiber": "^8.14.1",
"@react-three/drei": "^9.88.11",
"@react-three/fiber": "^8.15.10",
"@tweenjs/tween.js": "^21.0.0",
"algoliasearch": "^4.20.0",
"dayjs": "^1.11.9",
"next": "13.4.19",
"dayjs": "^1.11.10",
"next": "14.0.1",
"next-mdx-remote": "^4.4.1",
"next-themes": "^0.2.1",
"octokit": "^3.1.0",
"octokit": "^3.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^4.11.0",
@ -40,36 +40,36 @@
"remark-gfm": "^3.0.1",
"remark-parse": "^10.0.2",
"remark-rehype": "^10.1.0",
"sharp": "^0.32.5",
"three": "^0.156.1",
"sharp": "^0.32.6",
"three": "^0.158.0",
"unified": "^10.1.2",
"zustand": "^4.4.1"
"zustand": "^4.4.6"
},
"devDependencies": {
"@next/bundle-analyzer": "^13.4.19",
"@testing-library/jest-dom": "^6.1.3",
"@next/bundle-analyzer": "^14.0.1",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.4",
"@types/node": "20.6.0",
"@types/react": "18.2.21",
"@types/three": "^0.155.0",
"autoprefixer": "^10.4.15",
"@types/jest": "^29.5.7",
"@types/node": "20.8.10",
"@types/react": "18.2.36",
"@types/three": "^0.158.1",
"autoprefixer": "^10.4.16",
"clsx": "^2.0.0",
"cross-env": "^7.0.3",
"dotenv": "^16.3.1",
"encoding": "^0.1.13",
"eslint": "8.47.0",
"eslint-config-next": "13.4.13",
"eslint": "8.53.0",
"eslint-config-next": "14.0.1",
"file-loader": "^6.2.0",
"gray-matter": "^4.0.3",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"leva": "^0.9.35",
"postcss": "^8.4.29",
"postcss": "^8.4.31",
"prettier": "^3.0.3",
"raw-loader": "^4.0.2",
"tailwindcss": "^3.3.3",
"tailwindcss": "^3.3.5",
"typescript": "5.2.2",
"url-loader": "^4.1.1"
}

2184
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff