chore: upgrade deps

This commit is contained in:
Paul Pan 2024-06-24 15:31:28 +08:00
parent 6eb3ccfdd0
commit e248bf26b4
5 changed files with 5448 additions and 4380 deletions

View File

@ -17,25 +17,25 @@
"dependencies": { "dependencies": {
"@chakra-ui/icons": "^2.1.1", "@chakra-ui/icons": "^2.1.1",
"@chakra-ui/react": "^2.8.2", "@chakra-ui/react": "^2.8.2",
"@dicebear/collection": "^7.1.2", "@dicebear/collection": "^7.1.3",
"@dicebear/core": "^7.1.2", "@dicebear/core": "^7.1.3",
"@emotion/react": "^11.11.4", "@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5", "@emotion/styled": "^11.11.5",
"@reduxjs/toolkit": "^2.2.3", "@reduxjs/toolkit": "^2.2.5",
"@sentry/react": "^7.112.2", "@sentry/react": "^7.118.0",
"@sentry/vite-plugin": "^2.16.1", "@sentry/vite-plugin": "^2.19.0",
"@tanstack/react-table": "^8.16.0", "@tanstack/react-table": "^8.17.3",
"ace-builds": "^1.33.1", "ace-builds": "^1.35.0",
"framer-motion": "^11.1.7", "framer-motion": "^11.2.11",
"github-markdown-css": "^5.5.1", "github-markdown-css": "^5.6.1",
"prism-react-renderer": "^2.3.1", "prism-react-renderer": "^2.3.1",
"react": "^18.3.1", "react": "^18.3.1",
"react-ace": "^10.1.0", "react-ace": "^10.1.0",
"react-dom": "^18.3.1", "react-dom": "^18.3.1",
"react-icons": "^5.1.0", "react-icons": "^5.2.1",
"react-markdown": "^9.0.1", "react-markdown": "^9.0.1",
"react-redux": "^9.1.1", "react-redux": "^9.1.2",
"react-router-dom": "^6.23.0", "react-router-dom": "^6.23.1",
"react-timer-hook": "^3.0.7", "react-timer-hook": "^3.0.7",
"rehype-mathjax": "^6.0.0", "rehype-mathjax": "^6.0.0",
"rehype-raw": "^7.0.0", "rehype-raw": "^7.0.0",
@ -45,25 +45,25 @@
"universal-cookie": "^7.1.4" "universal-cookie": "^7.1.4"
}, },
"devDependencies": { "devDependencies": {
"@types/react": "^18.3.1", "@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0", "@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/eslint-plugin": "^6.21.0",
"@vitejs/plugin-react": "^4.2.1", "@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1", "eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1", "eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-prettier": "^5.1.3", "eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1", "eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-react-hooks": "^4.6.2",
"husky": "^9.0.11", "husky": "^9.0.11",
"jsdom": "^23.2.0", "jsdom": "^23.2.0",
"lint-staged": "^15.2.2", "lint-staged": "^15.2.7",
"postcss-load-config": "^5.0.3", "postcss-load-config": "^5.1.0",
"prettier": "^3.2.5", "prettier": "^3.3.2",
"typescript": "^5.4.5", "typescript": "^5.5.2",
"vite": "^5.2.10", "vite": "^5.3.1",
"vite-tsconfig-paths": "^4.3.2" "vite-tsconfig-paths": "^4.3.2"
}, },
"lint-staged": { "lint-staged": {

File diff suppressed because it is too large Load Diff

27
tsconfig.app.json Normal file
View File

@ -0,0 +1,27 @@
{
"compilerOptions": {
"composite": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"moduleDetection": "force",
"noEmit": true,
"jsx": "react-jsx",
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["src"]
}

View File

@ -1,21 +1,9 @@
{ {
"compilerOptions": { "files": [],
"target": "ESNext",
"useDefineForClassFields": true,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,
"module": "ESNext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
},
"references": [ "references": [
{
"path": "./tsconfig.app.json"
},
{ {
"path": "./tsconfig.node.json" "path": "./tsconfig.node.json"
} }

View File

@ -1,9 +1,13 @@
{ {
"compilerOptions": { "compilerOptions": {
"composite": true, "composite": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
"skipLibCheck": true,
"module": "ESNext", "module": "ESNext",
"moduleResolution": "bundler", "moduleResolution": "bundler",
"allowSyntheticDefaultImports": true "allowSyntheticDefaultImports": true,
"strict": true,
"noEmit": true
}, },
"include": ["vite.config.ts"] "include": ["vite.config.ts"]
} }