Files
AstrBot/dashboard/package.json
LIghtJUNction b70aa517c8 fix(dashboard): pin pinia to 3.0.0 to avoid regression in 3.0.1+
Pinia 3.0.1-3.0.4 introduced a bug where devtoolsPlugin receives
undefined options when createOptionsStore is called, causing
"Cannot destructure property 'state' of 'options' as it is undefined"
on page load. Downgrade to 3.0.0 which is stable.
2026-03-28 14:43:29 +08:00

81 lines
2.2 KiB
JSON

{
"name": "astrbot-dashboard",
"version": "1.0.0",
"private": true,
"author": "CodedThemes",
"scripts": {
"dev": "vite --host",
"subset-icons": "node scripts/subset-mdi-font.mjs",
"build": "vite build",
"build-stage": "vite build --base=/vue/free/stage/",
"build-prod": "vite build --base=/vue/free/",
"preview": "vite preview --port 5050",
"typecheck": "vue-tsc --noEmit",
"lint": "eslint . --fix",
"postinstall": "node scripts/patch-dompurify.mjs"
},
"dependencies": {
"@guolao/vue-monaco-editor": "^1.6.0",
"@tiptap/starter-kit": "3.20.5",
"@tiptap/vue-3": "3.20.5",
"apexcharts": "5.10.4",
"axios": "1.13.6",
"axios-mock-adapter": "^2.1.0",
"chance": "1.1.13",
"d3": "^7.9.0",
"date-fns": "4.1.0",
"dompurify": "^3.3.3",
"event-source-polyfill": "^1.0.31",
"highlight.js": "^11.11.1",
"js-md5": "^0.8.3",
"katex": "^0.16.43",
"lodash": "4.17.23",
"markdown-it": "^14.1.1",
"markstream-vue": "^0.0.9",
"mermaid": "^11.13.0",
"monaco-editor": "^0.55.1",
"pinia": "3.0.0",
"pinyin-pro": "^3.28.0",
"qrcode": "^1.5.4",
"shiki": "^3.13.0",
"stream-markdown": "^0.0.14",
"vee-validate": "4.15.1",
"vite-plugin-vuetify": "2.1.3",
"vue": "3.5.31",
"vue-i18n": "^11.3.0",
"vue-router": "5.0.4",
"vue3-apexcharts": "1.11.1",
"vue3-print-nb": "0.1.4",
"vuetify": "4.0.4",
"yup": "1.7.1"
},
"devDependencies": {
"@mdi/font": "7.4.47",
"@rushstack/eslint-patch": "1.16.1",
"@types/chance": "1.1.7",
"@types/markdown-it": "^14.1.2",
"@types/node": "^25.5.0",
"@vitejs/plugin-vue": "6.0.5",
"@vue/eslint-config-prettier": "10.2.0",
"@vue/eslint-config-typescript": "14.7.0",
"@vue/tsconfig": "^0.9.1",
"eslint": "10.1.0",
"eslint-plugin-vue": "10.8.0",
"prettier": "3.8.1",
"sass": "1.98.0",
"sass-loader": "16.0.7",
"subset-font": "^2.4.0",
"typescript": "~6.0.0",
"vite": "8.0.3",
"vite-plugin-webfont-dl": "^3.12.0",
"vue-tsc": "^3.0.0"
},
"overrides": {
"flatted": "3.4.2",
"immutable": "4.3.8",
"lodash-es": "4.17.23",
"minimatch": "3.1.4",
"dompurify": "3.3.2"
}
}