diff --git a/README.md b/README.md index 579ef2a..01842e0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Nezha-Dash-React + > [!NOTE] > 此项目为 nezha-dash 的官方实现,作为哪吒监控 V1 版本的默认前端,功能上可能与 nezha-dash 有所不同。 > https://github.com/hamster1963/nezha-dash diff --git a/bun.lockb b/bun.lockb index 5d3ebef..700decd 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 58c36f1..c0c9ace 100644 --- a/package.json +++ b/package.json @@ -19,33 +19,33 @@ "@radix-ui/react-progress": "^1.1.0", "@radix-ui/react-separator": "^1.1.0", "@radix-ui/react-slot": "^1.1.0", - "@tanstack/react-query": "^5.61.0", - "@tanstack/react-query-devtools": "^5.61.0", + "@tanstack/react-query": "^5.61.4", + "@tanstack/react-query-devtools": "^5.61.4", "@tanstack/react-table": "^8.20.5", "@types/luxon": "^3.4.2", - "class-variance-authority": "^0.7.0", + "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "country-flag-icons": "^1.5.13", "framer-motion": "^11.11.17", - "i18next": "^24.0.0", + "i18next": "^24.0.2", "lucide-react": "^0.460.0", "luxon": "^3.5.0", "react": "^18.3.1", "react-dom": "^18.3.1", - "react-i18next": "^15.1.1", - "react-router-dom": "^6.28.0", + "react-i18next": "^15.1.2", + "react-router-dom": "^7.0.1", "react-use-websocket": "^4.11.1", "recharts": "^2.13.3", "sonner": "^1.7.0", - "tailwind-merge": "^2.5.4", + "tailwind-merge": "^2.5.5", "tailwindcss-animate": "^1.0.7" }, "devDependencies": { "@eslint/js": "^9.15.0", - "@types/node": "^22.9.3", + "@types/node": "^22.10.0", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", - "@vitejs/plugin-react-swc": "^3.7.1", + "@vitejs/plugin-react-swc": "^3.7.2", "autoprefixer": "^10.4.20", "eslint": "^9.15.0", "eslint-plugin-react-hooks": "^5.0.0", @@ -54,7 +54,7 @@ "postcss": "^8.4.49", "tailwindcss": "^3.4.15", "typescript": "~5.6.3", - "typescript-eslint": "^8.15.0", - "vite": "^5.4.11" + "typescript-eslint": "^8.16.0", + "vite": "^6.0.1" } } diff --git a/src/components/ui/animated-circular-progress-bar.tsx b/src/components/ui/animated-circular-progress-bar.tsx index dd96fe8..165ca52 100644 --- a/src/components/ui/animated-circular-progress-bar.tsx +++ b/src/components/ui/animated-circular-progress-bar.tsx @@ -98,7 +98,7 @@ export default function AnimatedCircularProgressBar({ {currentPercent} diff --git a/tsconfig.app.tsbuildinfo b/tsconfig.app.tsbuildinfo index 1847453..9937362 100644 --- a/tsconfig.app.tsbuildinfo +++ b/tsconfig.app.tsbuildinfo @@ -1 +1 @@ -{"root":["./src/app.tsx","./src/main.tsx","./src/vite-env.d.ts","./src/components/footer.tsx","./src/components/header.tsx","./src/components/modetoggle.tsx","./src/components/privateroute.tsx","./src/components/profile.tsx","./src/components/themeprovider.tsx","./src/components/loading/loader.tsx","./src/components/ui/button.tsx","./src/components/ui/dropdown-menu.tsx","./src/hooks/useauth.tsx","./src/lib/nav-router.ts","./src/lib/utils.ts","./src/pages/alarm.tsx","./src/pages/intranet.tsx","./src/pages/login.tsx","./src/pages/server.tsx","./src/pages/service.tsx","./src/pages/setting.tsx","./src/pages/task.tsx","./src/pages/user.tsx"],"version":"5.6.3"} \ No newline at end of file +{"root":["./src/app.tsx","./src/main.tsx","./src/vite-env.d.ts","./src/components/footer.tsx","./src/components/groupswitch.tsx","./src/components/header.tsx","./src/components/icon.tsx","./src/components/languageswitcher.tsx","./src/components/servercard.tsx","./src/components/serverdetailchart.tsx","./src/components/serverdetailoverview.tsx","./src/components/serverflag.tsx","./src/components/serveroverview.tsx","./src/components/serverusagebar.tsx","./src/components/themeprovider.tsx","./src/components/themeswitcher.tsx","./src/components/loading/loader.tsx","./src/components/loading/serverdetailloading.tsx","./src/components/motion/framer-lazy-feature.ts","./src/components/motion/motion-provider.tsx","./src/components/ui/animated-circular-progress-bar.tsx","./src/components/ui/badge.tsx","./src/components/ui/button.tsx","./src/components/ui/card.tsx","./src/components/ui/chart.tsx","./src/components/ui/checkbox.tsx","./src/components/ui/dialog.tsx","./src/components/ui/dropdown-menu.tsx","./src/components/ui/input.tsx","./src/components/ui/label.tsx","./src/components/ui/progress.tsx","./src/components/ui/separator.tsx","./src/components/ui/skeleton.tsx","./src/components/ui/table.tsx","./src/context/websocket-context.ts","./src/context/websocket-provider.tsx","./src/hooks/use-theme.ts","./src/hooks/use-websocket-context.ts","./src/lib/logo-class.tsx","./src/lib/nav-router.ts","./src/lib/nezha-api.ts","./src/lib/nezha-model.ts","./src/lib/utils.ts","./src/pages/notfound.tsx","./src/pages/server.tsx","./src/pages/serverdetail.tsx","./src/types/nezha-api.ts"],"version":"5.6.3"} \ No newline at end of file