Commit b7b78be7 by Xianquan Committed by GitHub

chore: upgrade next version to 16.3.0 (#7455)

parent f88b51b5
...@@ -67,7 +67,7 @@ catalog: ...@@ -67,7 +67,7 @@ catalog:
mongodb-memory-server: ^10.1.4 mongodb-memory-server: ^10.1.4
mongoose: ^8.22.1 mongoose: ^8.22.1
nanoid: ^5.1.3 nanoid: ^5.1.3
next: 16.2.6 next: 16.3.0
next-i18next: 15.4.2 next-i18next: 15.4.2
proxy-addr: 2.0.7 proxy-addr: 2.0.7
proxy-agent: ^6 proxy-agent: ^6
...@@ -89,13 +89,15 @@ catalog: ...@@ -89,13 +89,15 @@ catalog:
vitest: ^4.1.5 vitest: ^4.1.5
zod: ^4 zod: ^4
postcss: ^8.5.12 postcss: ^8.5.12
marked: ^18.0.9
mermaid: ^11.16.1
catalogMode: prefer catalogMode: prefer
catalogs: catalogs:
lint: lint:
eslint: ^9 eslint: ^9
eslint-config-next: 16.2.6 eslint-config-next: 16.3.0
lint-staged: ^16.4.0 lint-staged: ^16.4.0
prettier: 3.8.3 prettier: 3.8.3
textlint: 12.6.1 textlint: 12.6.1
...@@ -118,6 +120,7 @@ onlyBuiltDependencies: ...@@ -118,6 +120,7 @@ onlyBuiltDependencies:
- vue-demi - vue-demi
overrides: overrides:
'@swc/helpers': ^0.5.23
'@types/react': ^18 '@types/react': ^18
'@types/react-dom': ^18 '@types/react-dom': ^18
react: ^18 react: ^18
......
Subproject commit a9977faf4ea2af995e1ac399515684f79162d05d Subproject commit 32502707492881421637c8f63cfcbc94378d444a
...@@ -82,8 +82,6 @@ const nextConfig: NextConfig = { ...@@ -82,8 +82,6 @@ const nextConfig: NextConfig = {
// 优化大库的 barrel exports tree-shaking // 优化大库的 barrel exports tree-shaking
experimental: { experimental: {
optimizePackageImports: optimizedPackageImports, optimizePackageImports: optimizedPackageImports,
// 按页面拆分 CSS chunk,减少首屏 CSS 体积
cssChunking: 'strict',
// 减少内存占用 // 减少内存占用
memoryBasedWorkersCount: true, memoryBasedWorkersCount: true,
......
...@@ -74,8 +74,8 @@ ...@@ -74,8 +74,8 @@
"jszip": "^3.10.1", "jszip": "^3.10.1",
"katex": "0.16.22", "katex": "0.16.22",
"lodash-es": "catalog:", "lodash-es": "catalog:",
"marked": "^17.0.6", "marked": "catalog:",
"mermaid": "^10.9.6", "mermaid": "catalog:",
"mime": "catalog:", "mime": "catalog:",
"minio": "catalog:", "minio": "catalog:",
"mongoose": "catalog:", "mongoose": "catalog:",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment