Files
SiMengWebSite_Notes/package.json
祀梦 f50d8ef8c2 chore: 升级 VuePress/Plume 并迁移至 collections 配置
- 将 vuepress 升至 2.0.0-rc.26、vuepress-theme-plume 升至 1.0.0-rc.192

- 用 defineCollections 替代已废弃的 blog + notes,新增 collections.ts 并删除 notes.ts

- 通过 package overrides 将 @vuepress/helper 固定为 rc.123,避免 dev 下 encodeSVG 缺失导致首页白屏

- 新增 .npmrc(legacy-peer-deps)以兼容当前 peer 依赖解析

未包含 docs/.vuepress/dist 等构建产物。

Made-with: Cursor
2026-03-29 10:01:40 +08:00

36 lines
980 B
JSON

{
"name": "si-meng-web-site-notes",
"type": "module",
"version": "1.0.0",
"description": "祀梦的笔记网站",
"license": "MIT",
"engines": {
"node": "^20.6.0 || >=22.0.0"
},
"overrides": {
"@vuepress/helper": "2.0.0-rc.123"
},
"scripts": {
"docs:dev": "vuepress dev docs",
"docs:dev-clean": "vuepress dev docs --clean-cache --clean-temp",
"docs:build": "vuepress build docs --clean-cache --clean-temp",
"docs:preview": "http-server docs/.vuepress/dist",
"vp-update": "npx vp-update"
},
"devDependencies": {
"@vuepress/bundler-vite": "2.0.0-rc.26",
"@vuepress/plugin-umami-analytics": "2.0.0-rc.112",
"artalk": "^2.9.1",
"http-server": "^14.1.1",
"typescript": "^5.9.2",
"vue": "^3.5.21",
"vuepress": "2.0.0-rc.26",
"vuepress-theme-plume": "1.0.0-rc.192"
},
"dependencies": {
"@vuepress/plugin-comment": "2.0.0-rc.123",
"@waline/client": "^3.13.0",
"mermaid": "^11.12.1"
}
}