ci(frontend): updagrade deps

This commit is contained in:
thehrz 2024-11-09 18:27:28 +08:00
parent 03cbed8c62
commit 40066d1061
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855
3 changed files with 1603 additions and 1802 deletions

View File

@ -10,35 +10,35 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"@emotion/react": "^11.11.1", "@emotion/react": "^11.13.3",
"@emotion/styled": "^11.11.0", "@emotion/styled": "^11.13.0",
"@marsidev/react-turnstile": "^0.3.1", "@marsidev/react-turnstile": "^0.3.2",
"@mui/icons-material": "^5.14.9", "@mui/icons-material": "^5.16.7",
"@mui/material": "^5.14.10", "@mui/material": "^5.16.7",
"ahooks": "^3.7.8", "ahooks": "^3.8.1",
"immer": "^10.0.2", "immer": "^10.1.1",
"jotai": "^2.4.2", "jotai": "^2.10.1",
"mui-file-input": "^3.0.2", "mui-file-input": "^3.0.2",
"react": "^18.2.0", "react": "^18.3.1",
"react-dom": "^18.2.0", "react-dom": "^18.3.1",
"react-router-dom": "^6.16.0", "react-router-dom": "^6.28.0",
"skinview3d": "^3.0.1", "skinview3d": "^3.1.0",
"tilg": "^0.1.1" "tilg": "^0.1.1"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^20.6.2", "@types/node": "^20.17.6",
"@types/react": "^18.2.15", "@types/react": "^18.3.12",
"@types/react-dom": "^18.2.7", "@types/react-dom": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.0.0", "@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react-swc": "^3.3.2",
"@vitejs/plugin-legacy": "^4.1.1", "@vitejs/plugin-legacy": "^4.1.1",
"eslint": "^8.45.0", "@vitejs/plugin-react-swc": "^3.7.1",
"eslint-config-prettier": "^9.0.0", "eslint": "^8.57.1",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-config-prettier": "^9.1.0",
"eslint-plugin-react-refresh": "^0.4.3", "eslint-plugin-react-hooks": "^4.6.2",
"terser": "^5.21.0", "eslint-plugin-react-refresh": "^0.4.14",
"typescript": "^5.0.2", "terser": "^5.36.0",
"vite": "^4.4.12" "typescript": "^5.6.3",
"vite": "^4.5.5"
} }
} }

3353
frontend/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,7 @@ export default function useTitle(title: string) {
useEffect(() => { useEffect(() => {
error && console.warn(error) error && console.warn(error)
}, [error]) }, [error])
auseTitle(title + " - " + data?.serverName ?? "", { auseTitle(title + " - " + data?.serverName, {
restoreOnUnmount: true restoreOnUnmount: true
}) })
} }