Build:4; Fix:1 #60

Merged
FatttSnake merged 5 commits from FatttSnake into dev 2024-06-24 17:37:27 +08:00
4 changed files with 448 additions and 594 deletions
Showing only changes of commit 637fd236c5 - Show all commits

992
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -22,15 +22,14 @@
"@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.6.0", "@marsidev/react-turnstile": "^0.7.1",
"@monaco-editor/react": "^4.6.0", "@monaco-editor/react": "^4.6.0",
"@typescript/ata": "^0.9.4", "antd": "^5.18.1",
"antd": "^5.17.0", "axios": "^1.7.2",
"axios": "^1.6.8",
"custom-protocol-check": "^1.4.0", "custom-protocol-check": "^1.4.0",
"dayjs": "^1.11.11", "dayjs": "^1.11.11",
"echarts": "^5.5.0", "echarts": "^5.5.0",
"esbuild-wasm": "^0.20.2", "esbuild-wasm": "^0.21.5",
"fast-deep-equal": "^3.1.3", "fast-deep-equal": "^3.1.3",
"fflate": "^0.8.2", "fflate": "^0.8.2",
"jwt-decode": "^4.0.0", "jwt-decode": "^4.0.0",
@@ -38,42 +37,43 @@
"lodash": "^4.17.21", "lodash": "^4.17.21",
"match-sorter": "^6.3.4", "match-sorter": "^6.3.4",
"moment": "^2.30.1", "moment": "^2.30.1",
"monaco-editor": "^0.48.0", "monaco-editor": "^0.49.0",
"monaco-jsx-syntax-highlight": "^1.2.0", "monaco-jsx-syntax-highlight": "^1.2.0",
"react": "^18.3.1", "react": "^18.3.1",
"react-dom": "^18.3.1", "react-dom": "^18.3.1",
"react-draggable": "^4.4.6", "react-draggable": "^4.4.6",
"react-router": "^6.23.0", "react-router": "^6.23.1",
"react-router-dom": "^6.23.0", "react-router-dom": "^6.23.1",
"size-sensor": "^1.0.2", "size-sensor": "^1.0.2",
"vanilla-tilt": "^1.8.1" "vanilla-tilt": "^1.8.1"
}, },
"devDependencies": { "devDependencies": {
"@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.7",
"@types/lodash": "^4.17.1", "@types/lodash": "^4.17.5",
"@types/node": "^20.12.8", "@types/node": "^20.14.2",
"@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": "^7.8.0", "@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.8.0", "@typescript-eslint/parser": "^7.13.0",
"@vitejs/plugin-react": "^4.2.1", "@typescript/ata": "^0.9.6",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"eslint-config-love": "^47.0.0", "eslint-config-love": "^52.0.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"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.2.0",
"eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.6", "eslint-plugin-react-refresh": "^0.4.7",
"jsdom": "^24.0.0", "jsdom": "^24.1.0",
"prettier": "^3.2.5", "prettier": "^3.3.2",
"sass": "^1.76.0", "sass": "^1.77.5",
"stylelint-config-prettier": "^9.0.5", "stylelint-config-prettier": "^9.0.5",
"typescript": "^5.4.5", "typescript": "^5.4.5",
"unplugin-auto-import": "^0.17.5", "unplugin-auto-import": "^0.17.6",
"unplugin-icons": "^0.19.0", "unplugin-icons": "^0.19.0",
"vite": "^5.2.11" "vite": "^5.2.13"
} }
} }

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.48.0/min/vs' vs: 'https://unpkg.com/monaco-editor@0.49.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.20.2/esbuild.wasm' wasmURL: 'https://esm.sh/esbuild-wasm@0.21.5/esbuild.wasm'
}) })
.finally(() => { .finally(() => {
this.init = true this.init = true