update dependencies

update image config
This commit is contained in:
DefectingCat
2022-09-29 17:35:52 +08:00
parent 676c4b6d4d
commit 5f104f011d
3 changed files with 749 additions and 518 deletions

View File

@ -23,12 +23,10 @@ const nextConfig = {
/* config options here */
reactStrictMode: true,
output: 'standalone',
images: isExport ? { unoptimized: true } : {},
experimental: {
// runtime: 'nodejs',
// outputStandalone: true,
images: isExport
? { allowFutureImage: true, unoptimized: true }
: { allowFutureImage: true },
},
// assetPrefix: isExport ? './' : undefined,
// images:

View File

@ -14,16 +14,16 @@
"pretty": "prettier --write \"./**/*.{js,jsx,ts,tsx,json}\""
},
"dependencies": {
"@codesandbox/sandpack-react": "^1.6.0",
"@codesandbox/sandpack-react": "^1.8.6",
"@docsearch/react": "3",
"@giscus/react": "^2.2.0",
"@mapbox/rehype-prism": "^0.8.0",
"algoliasearch": "^4.14.2",
"classnames": "^2.3.1",
"classnames": "^2.3.2",
"dayjs": "^1.11.5",
"next": "12.2.5",
"next": "12.3.1",
"next-mdx-remote": "^4.1.0",
"next-themes": "^0.2.0",
"next-themes": "^0.2.1",
"octokit": "^2.0.7",
"react": "^18.2.0",
"react-dom": "^18.2.0",
@ -32,25 +32,25 @@
"rehype-slug": "^5.0.1",
"remark-frontmatter": "^4.0.1",
"remark-gfm": "^3.0.1",
"sharp": "^0.30.7"
"sharp": "^0.31.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.3.0",
"@types/jest": "^29.0.0",
"@types/node": "18.7.14",
"@types/react": "18.0.18",
"autoprefixer": "^10.4.8",
"@testing-library/react": "^13.4.0",
"@types/jest": "^29.1.0",
"@types/node": "18.7.23",
"@types/react": "18.0.21",
"autoprefixer": "^10.4.12",
"cross-env": "^7.0.3",
"dotenv": "^16.0.2",
"eslint": "8.23.0",
"eslint-config-next": "12.2.5",
"eslint": "8.24.0",
"eslint-config-next": "12.3.1",
"gray-matter": "^4.0.3",
"jest": "^29.0.1",
"jest-environment-jsdom": "^29.0.1",
"jest": "^29.1.1",
"jest-environment-jsdom": "^29.1.1",
"postcss": "^8.4.16",
"prettier": "^2.7.1",
"tailwindcss": "^3.1.8",
"typescript": "4.8.2"
"typescript": "4.8.4"
}
}

1233
yarn.lock

File diff suppressed because it is too large Load Diff