chore: 项目依赖更新

This commit is contained in:
ZiuChen 2025-08-01 23:47:17 +08:00
parent 894f114566
commit 14435f3e6a
6 changed files with 975 additions and 1073 deletions

View File

@ -1,3 +1,4 @@
import { h } from 'vue'
import { Button, notification } from 'ant-design-vue'
let lastHashmap: any = null
@ -43,10 +44,14 @@ async function loop() {
notification.info({
message: '文档有更新',
description: '请刷新页面以获取最新文档',
btn: (
<Button type="primary" onClick={() => window.location.reload()}>
</Button>
btn: () =>
h(
Button,
{
type: 'primary',
onClick: () => window.location.reload()
},
'刷新页面'
)
})

View File

@ -1,5 +1,4 @@
import { defineConfig } from 'vite'
import vueJsx from '@vitejs/plugin-vue-jsx'
export default defineConfig(() => ({
server: {
@ -9,6 +8,5 @@ export default defineConfig(() => ({
changeOrigin: true
}
}
},
plugins: [vueJsx()]
}
}))

View File

@ -6,17 +6,16 @@
"preview": "vitepress preview docs"
},
"devDependencies": {
"@types/node": "^22.9.0",
"@vitejs/plugin-vue-jsx": "^4.1.0",
"@types/node": "^24.1.0",
"ant-design-vue": "^4.2.6",
"markdown-it-mathjax3": "^4.3.2",
"vite": "^5.4.11",
"vue": "^3.5.13"
"vite": "^7.0.6",
"vue": "^3.5.18"
},
"dependencies": {
"medium-zoom": "^1.1.0",
"swiper": "^11.1.14",
"vitepress": "1.5.0"
"swiper": "^11.2.10",
"vitepress": "1.6.3"
},
"packageManager": "pnpm@9.13.2"
"packageManager": "pnpm@10.14.0+sha512.ad27a79641b49c3e481a16a805baa71817a04bbe06a38d17e60e2eaee83f6a146c6a688125f5792e48dd5ba30e7da52a5cda4c3992b9ccf333f9ce223af84748"
}

2010
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

4
pnpm-workspace.yaml Normal file
View File

@ -0,0 +1,4 @@
onlyBuiltDependencies:
- core-js
- esbuild
- vue-demi

View File

@ -17,6 +17,6 @@
"baseUrl": "."
},
"include": ["docs/.vitepress/**/*.ts", "docs/.vitepress/**/*.tsx", "docs/vite.config.ts"],
"include": ["docs/.vitepress/**/*.ts", "docs/vite.config.ts"],
"exclude": ["node_modules", "dist"]
}