mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-16 01:01:38 +00:00
update dependencies
update image config
This commit is contained in:
@ -23,12 +23,10 @@ const nextConfig = {
|
|||||||
/* config options here */
|
/* config options here */
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
output: 'standalone',
|
output: 'standalone',
|
||||||
|
images: isExport ? { unoptimized: true } : {},
|
||||||
experimental: {
|
experimental: {
|
||||||
// runtime: 'nodejs',
|
// runtime: 'nodejs',
|
||||||
// outputStandalone: true,
|
// outputStandalone: true,
|
||||||
images: isExport
|
|
||||||
? { allowFutureImage: true, unoptimized: true }
|
|
||||||
: { allowFutureImage: true },
|
|
||||||
},
|
},
|
||||||
// assetPrefix: isExport ? './' : undefined,
|
// assetPrefix: isExport ? './' : undefined,
|
||||||
// images:
|
// images:
|
||||||
|
30
package.json
30
package.json
@ -14,16 +14,16 @@
|
|||||||
"pretty": "prettier --write \"./**/*.{js,jsx,ts,tsx,json}\""
|
"pretty": "prettier --write \"./**/*.{js,jsx,ts,tsx,json}\""
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@codesandbox/sandpack-react": "^1.6.0",
|
"@codesandbox/sandpack-react": "^1.8.6",
|
||||||
"@docsearch/react": "3",
|
"@docsearch/react": "3",
|
||||||
"@giscus/react": "^2.2.0",
|
"@giscus/react": "^2.2.0",
|
||||||
"@mapbox/rehype-prism": "^0.8.0",
|
"@mapbox/rehype-prism": "^0.8.0",
|
||||||
"algoliasearch": "^4.14.2",
|
"algoliasearch": "^4.14.2",
|
||||||
"classnames": "^2.3.1",
|
"classnames": "^2.3.2",
|
||||||
"dayjs": "^1.11.5",
|
"dayjs": "^1.11.5",
|
||||||
"next": "12.2.5",
|
"next": "12.3.1",
|
||||||
"next-mdx-remote": "^4.1.0",
|
"next-mdx-remote": "^4.1.0",
|
||||||
"next-themes": "^0.2.0",
|
"next-themes": "^0.2.1",
|
||||||
"octokit": "^2.0.7",
|
"octokit": "^2.0.7",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
@ -32,25 +32,25 @@
|
|||||||
"rehype-slug": "^5.0.1",
|
"rehype-slug": "^5.0.1",
|
||||||
"remark-frontmatter": "^4.0.1",
|
"remark-frontmatter": "^4.0.1",
|
||||||
"remark-gfm": "^3.0.1",
|
"remark-gfm": "^3.0.1",
|
||||||
"sharp": "^0.30.7"
|
"sharp": "^0.31.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@testing-library/jest-dom": "^5.16.5",
|
"@testing-library/jest-dom": "^5.16.5",
|
||||||
"@testing-library/react": "^13.3.0",
|
"@testing-library/react": "^13.4.0",
|
||||||
"@types/jest": "^29.0.0",
|
"@types/jest": "^29.1.0",
|
||||||
"@types/node": "18.7.14",
|
"@types/node": "18.7.23",
|
||||||
"@types/react": "18.0.18",
|
"@types/react": "18.0.21",
|
||||||
"autoprefixer": "^10.4.8",
|
"autoprefixer": "^10.4.12",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"dotenv": "^16.0.2",
|
"dotenv": "^16.0.2",
|
||||||
"eslint": "8.23.0",
|
"eslint": "8.24.0",
|
||||||
"eslint-config-next": "12.2.5",
|
"eslint-config-next": "12.3.1",
|
||||||
"gray-matter": "^4.0.3",
|
"gray-matter": "^4.0.3",
|
||||||
"jest": "^29.0.1",
|
"jest": "^29.1.1",
|
||||||
"jest-environment-jsdom": "^29.0.1",
|
"jest-environment-jsdom": "^29.1.1",
|
||||||
"postcss": "^8.4.16",
|
"postcss": "^8.4.16",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"tailwindcss": "^3.1.8",
|
"tailwindcss": "^3.1.8",
|
||||||
"typescript": "4.8.2"
|
"typescript": "4.8.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user