Update dependencies

This commit is contained in:
DefectingCat
2022-08-03 11:45:01 +08:00
parent 6acdb3fed8
commit b0e4dc8527
3 changed files with 942 additions and 750 deletions

View File

@ -21,12 +21,13 @@ const composedConfig = composePlugins([
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
{ {
reactStrictMode: true, reactStrictMode: true,
output: 'standalone',
experimental: { experimental: {
// runtime: 'nodejs', // runtime: 'nodejs',
outputStandalone: true, // outputStandalone: true,
}, },
pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'], pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],
images: {domains: ['avatars.githubusercontent.com']}, images: { domains: ['avatars.githubusercontent.com'] },
}, },
]); ]);

View File

@ -5,26 +5,27 @@
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
"build": "next build && node scripts/build-search.mjs", "build": "next build && node scripts/build-search.mjs",
"build:export": "next build && next export && node scripts/build-search.mjs",
"start": "next start", "start": "next start",
"lint": "next lint", "lint": "next lint",
"test": "jest --watch", "test": "jest --watch",
"test-ci": "jest --ci --coverage" "test-ci": "jest --ci --coverage"
}, },
"dependencies": { "dependencies": {
"@codesandbox/sandpack-react": "^1.2.1", "@codesandbox/sandpack-react": "^1.3.2",
"@docsearch/react": "3", "@docsearch/react": "3",
"@giscus/react": "^2.0.6", "@giscus/react": "^2.2.0",
"@mapbox/rehype-prism": "^0.8.0", "@mapbox/rehype-prism": "^0.8.0",
"@mdx-js/loader": "^2.1.2", "@mdx-js/loader": "^2.1.2",
"@mdx-js/react": "^2.1.2", "@mdx-js/react": "^2.1.2",
"@next/mdx": "^12.1.6", "@next/mdx": "^12.2.3",
"algoliasearch": "^4.13.1", "algoliasearch": "^4.14.2",
"classnames": "^2.3.1", "classnames": "^2.3.1",
"dayjs": "^1.11.3", "dayjs": "^1.11.4",
"next": "12.1.6", "next": "12.2.3",
"next-compose-plugins": "^2.2.1", "next-compose-plugins": "^2.2.1",
"next-themes": "^0.2.0", "next-themes": "^0.2.0",
"octokit": "^1.8.1", "octokit": "^2.0.4",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-icons": "^4.4.0", "react-icons": "^4.4.0",
@ -37,19 +38,19 @@
"devDependencies": { "devDependencies": {
"@testing-library/jest-dom": "^5.16.4", "@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0", "@testing-library/react": "^13.3.0",
"@types/jest": "^28.1.3", "@types/jest": "^28.1.6",
"@types/node": "18.0.0", "@types/node": "18.6.3",
"@types/react": "18.0.14", "@types/react": "18.0.15",
"autoprefixer": "^10.4.7", "autoprefixer": "^10.4.8",
"dotenv": "^16.0.1", "dotenv": "^16.0.1",
"eslint": "8.18.0", "eslint": "8.21.0",
"eslint-config-next": "12.1.6", "eslint-config-next": "12.2.3",
"gray-matter": "^4.0.3", "gray-matter": "^4.0.3",
"jest": "^28.1.1", "jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.1", "jest-environment-jsdom": "^28.1.3",
"nanoid": "^4.0.0", "nanoid": "^4.0.0",
"postcss": "^8.4.14", "postcss": "^8.4.14",
"tailwindcss": "^3.1.4", "tailwindcss": "^3.1.7",
"typescript": "4.7.4" "typescript": "4.7.4"
} }
} }

1654
yarn.lock

File diff suppressed because it is too large Load Diff