diff --git a/next.config.mjs b/next.config.mjs index 71f53ee..7ad4ea5 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -4,7 +4,7 @@ const isProd = process.env.NODE_ENV === 'production'; const nextConfig = { reactStrictMode: true, experimental: { - optimizePackageImports: ['@icons-pack/react-simple-icons', '@lobehub/ui'], + optimizePackageImports: ['@icons-pack/react-simple-icons', '@lobehub/ui', 'shiki'], webVitalsAttribution: ['CLS', 'LCP'], }, images: { diff --git a/package.json b/package.json index ac3d011..4276e3f 100644 --- a/package.json +++ b/package.json @@ -42,54 +42,54 @@ ] }, "dependencies": { - "@lobehub/chat-plugin-sdk": "^1", - "@lobehub/chat-plugins-gateway": "^1", - "@lobehub/i18n-cli": "^1", - "@lobehub/icons": "^1", - "@lobehub/ui": "^1", - "@vercel/analytics": "^1", - "ahooks": "^3", - "antd": "^5", - "antd-style": "^3", - "dayjs": "^1", - "fast-deep-equal": "^3", - "i18next": "^23.7.16", - "i18next-browser-languagedetector": "^7", - "i18next-resources-to-backend": "^1", - "immer": "^10.0.3", + "@lobehub/chat-plugin-sdk": "^1.32.3", + "@lobehub/chat-plugins-gateway": "^1.9.0", + "@lobehub/i18n-cli": "^1.18.1", + "@lobehub/icons": "^1.22.1", + "@lobehub/ui": "^1.141.3", + "@vercel/analytics": "^1.3.1", + "ahooks": "^3.8.0", + "antd": "^5.17.4", + "antd-style": "^3.6.2", + "dayjs": "^1.11.11", + "fast-deep-equal": "^3.1.3", + "i18next": "^23.11.5", + "i18next-browser-languagedetector": "^7.2.1", + "i18next-resources-to-backend": "^1.2.1", + "immer": "^10.1.1", "lucide-react": "latest", - "next": "^14.1", - "polished": "^4", - "qs": "^6", - "react": "^18", - "react-dom": "^18", - "react-i18next": "^14", - "react-layout-kit": "^1", - "rtl-detect": "^1", - "swr": "^2", - "url-join": "^5", - "zustand": "^4.4.7" + "next": "^14.2.3", + "polished": "^4.3.1", + "qs": "^6.12.1", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "react-i18next": "^14.1.2", + "react-layout-kit": "^1.9.0", + "rtl-detect": "^1.1.2", + "swr": "^2.2.5", + "url-join": "^5.0.0", + "zustand": "^4.5.2" }, "devDependencies": { - "@commitlint/cli": "^19.0.0", + "@commitlint/cli": "^19.3.0", "@lobehub/lint": "latest", - "@next/eslint-plugin-next": "^14.1", - "@types/qs": "^6.9.11", - "@types/react": "18", + "@next/eslint-plugin-next": "^14.2.3", + "@types/qs": "^6.9.15", + "@types/react": "^18.3.3", "@types/rtl-detect": "^1.0.3", - "@vercel/node": "^3", - "@vitest/coverage-v8": "^1", - "commitlint": "^19.0.0", - "cross-env": "^7", - "eslint": "^8", - "husky": "^8", - "lint-staged": "^15", - "prettier": "^3", - "remark": "^14", - "remark-cli": "^11", - "semantic-release": "^21", - "stylelint": "^15", - "typescript": "^5", - "vitest": "^1" + "@vercel/node": "^3.1.5", + "@vitest/coverage-v8": "^1.6.0", + "commitlint": "^19.3.0", + "cross-env": "^7.0.3", + "eslint": "^8.57.0", + "husky": "^8.0.3", + "lint-staged": "^15.2.5", + "prettier": "^3.2.5", + "remark": "^14.0.3", + "remark-cli": "^11.0.0", + "semantic-release": "^21.1.2", + "stylelint": "^15.11.0", + "typescript": "^5.4.5", + "vitest": "^1.6.0" } }