Refactor:11; Fix:6; Chore:1; Feat:7; Build:1 #49

Merged
FatttSnake merged 26 commits from FatttSnake into dev 2024-05-06 09:38:28 +08:00
4 changed files with 1841 additions and 1584 deletions
Showing only changes of commit 7f639743ec - Show all commits

3361
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -15,33 +15,33 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"@ant-design/icons": "^5.2.6", "@ant-design/icons": "^5.3.6",
"@dnd-kit/core": "^6.1.0", "@dnd-kit/core": "^6.1.0",
"@dnd-kit/sortable": "^8.0.0", "@dnd-kit/sortable": "^8.0.0",
"@dnd-kit/utilities": "^3.2.2", "@dnd-kit/utilities": "^3.2.2",
"@marsidev/react-turnstile": "^0.5.3", "@marsidev/react-turnstile": "^0.6.0",
"@monaco-editor/react": "^4.6.0", "@monaco-editor/react": "^4.6.0",
"@typescript/ata": "^0.9.4", "@typescript/ata": "^0.9.4",
"antd": "^5.13.2", "antd": "^5.16.5",
"axios": "^1.6.5", "axios": "^1.6.8",
"custom-protocol-check": "^1.4.0", "custom-protocol-check": "^1.4.0",
"dayjs": "^1.11.10", "dayjs": "^1.11.11",
"echarts": "^5.4.3", "echarts": "^5.5.0",
"esbuild-wasm": "^0.19.12", "esbuild-wasm": "^0.20.2",
"fast-deep-equal": "^3.1.3", "fast-deep-equal": "^3.1.3",
"fflate": "^0.8.1", "fflate": "^0.8.2",
"jwt-decode": "^4.0.0", "jwt-decode": "^4.0.0",
"localforage": "^1.10.0", "localforage": "^1.10.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"match-sorter": "^6.3.3", "match-sorter": "^6.3.4",
"moment": "^2.30.1", "moment": "^2.30.1",
"monaco-editor": "^0.45.0", "monaco-editor": "^0.48.0",
"monaco-jsx-syntax-highlight": "^1.2.0", "monaco-jsx-syntax-highlight": "^1.2.0",
"react": "^18.2.0", "react": "^18.3.1",
"react-dom": "^18.2.0", "react-dom": "^18.3.1",
"react-draggable": "^4.4.6", "react-draggable": "^4.4.6",
"react-router": "^6.21.3", "react-router": "^6.23.0",
"react-router-dom": "^6.21.3", "react-router-dom": "^6.23.0",
"size-sensor": "^1.0.2", "size-sensor": "^1.0.2",
"vanilla-tilt": "^1.8.1" "vanilla-tilt": "^1.8.1"
}, },
@@ -49,28 +49,28 @@
"@svgr/core": "^8.1.0", "@svgr/core": "^8.1.0",
"@svgr/plugin-jsx": "^8.1.0", "@svgr/plugin-jsx": "^8.1.0",
"@types/jsdom": "^21.1.6", "@types/jsdom": "^21.1.6",
"@types/lodash": "^4.14.202", "@types/lodash": "^4.17.0",
"@types/node": "^20.11.5", "@types/node": "^20.12.7",
"@types/react": "^18.2.48", "@types/react": "^18.3.1",
"@types/react-dom": "^18.2.18", "@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^6.19.1", "@typescript-eslint/parser": "^7.8.0",
"@vitejs/plugin-react": "^4.2.1", "@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.56.0", "eslint": "^8.57.0",
"eslint-config-love": "^47.0.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^43.0.1",
"eslint-plugin-import": "^2.29.1", "eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3", "eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1", "eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.5", "eslint-plugin-react-refresh": "^0.4.6",
"jsdom": "^24.0.0", "jsdom": "^24.0.0",
"prettier": "^3.2.4", "prettier": "^3.2.5",
"sass": "^1.70.0", "sass": "^1.76.0",
"stylelint-config-prettier": "^9.0.5", "stylelint-config-prettier": "^9.0.5",
"typescript": "^5.3.3", "typescript": "^5.4.5",
"unplugin-auto-import": "^0.17.3", "unplugin-auto-import": "^0.17.5",
"unplugin-icons": "^0.18.2", "unplugin-icons": "^0.19.0",
"vite": "^5.0.12" "vite": "^5.2.10"
} }
} }

View File

@@ -2,6 +2,6 @@ import { loader } from '@monaco-editor/react'
loader.config({ loader.config({
paths: { paths: {
vs: 'https://unpkg.com/monaco-editor@0.45.0/min/vs' vs: 'https://unpkg.com/monaco-editor@0.48.0/min/vs'
} }
}) })

View File

@@ -16,7 +16,7 @@ class Compiler {
void esbuild void esbuild
.initialize({ .initialize({
worker: true, worker: true,
wasmURL: 'https://esm.sh/esbuild-wasm@0.19.12/esbuild.wasm' wasmURL: 'https://esm.sh/esbuild-wasm@0.20.2/esbuild.wasm'
}) })
.finally(() => { .finally(() => {
this.init = true this.init = true