Skip to content

Commit cf692b9

Browse files
author
公众号:Rong姐姐好可爱
authored
Merge pull request #60 from mmdapl/perf/update-version
perf: vuepress版本升级到最新,关闭站点博客功能
2 parents d22ca0c + 36b29ac commit cf692b9

File tree

4 files changed

+2721
-1061
lines changed

4 files changed

+2721
-1061
lines changed

docs/.vuepress/config/theme.config.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,18 @@ export default {
4545
// logo: "/assets/408_logo.png",
4646

4747
// 博客配置
48-
blog: {
49-
name: '测试',
50-
avatar: '',
51-
description: '',
52-
intro: '',
53-
roundAvatar: true,
54-
timeline: "时间轴的顶部文字",
55-
// articleInfo: "",
56-
medias: {
57-
"BiliBili": "https://space.bilibili.com/350937042?spm_id_from=333.1007.0.0"
58-
}
59-
},
48+
// blog: {
49+
// name: '测试',
50+
// avatar: '',
51+
// description: '',
52+
// intro: '',
53+
// roundAvatar: true,
54+
// timeline: "时间轴的顶部文字",
55+
// // articleInfo: "",
56+
// medias: {
57+
// "BiliBili": "https://space.bilibili.com/350937042?spm_id_from=333.1007.0.0"
58+
// }
59+
// },
6060
// 设置页脚
6161
displayFooter: true,
6262
footer: FOOTER_HTML_INFO,
@@ -76,7 +76,7 @@ export default {
7676
},
7777
copyright: false,
7878
// 开启博客功能
79-
blog: true,
79+
blog: false,
8080
// 代码块
8181
mdEnhance: {
8282
codetabs: true,
@@ -92,7 +92,7 @@ export default {
9292
playground: {
9393
presets: ["ts", "vue"],
9494
},
95-
presentation: ["highlight", "math", "search", "notes", "zoom"],
95+
revealjs: ["highlight", "math", "search", "notes", "zoom"],
9696
stylize: [
9797
{
9898
matcher: "Recommended",

package.json

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"prepare": "rm -f .husky/pre-commit && husky install && npx husky add .husky/pre-commit \"./scripts/lint --fix\" && chmod +x .husky/pre-commit",
1111
"dev": "vuepress dev docs",
12-
"build": "./scripts/bundle build",
12+
"build": "vuepress build docs",
1313
"build:proxy": "./scripts/bundle build_proxy",
1414
"deploy:vercel": "vercel --prod",
1515
"clean": "find . -name \"node_modules\" -type d -exec rm -rf '{}' + "
@@ -32,28 +32,30 @@
3232
"devDependencies": {
3333
"@typescript-eslint/eslint-plugin": "^5.62.0",
3434
"@typescript-eslint/parser": "^5.62.0",
35-
"@vuepress/client": "^2.0.0-beta.67",
36-
"@vuepress/utils": "^2.0.0-beta.67",
35+
"@vuepress/client": "2.0.0-beta.67",
36+
"@vuepress/plugin-register-components": "2.0.0-beta.67",
37+
"@vuepress/utils": "2.0.0-beta.67",
3738
"bumpp": "^9.2.0",
38-
"commit-and-tag-version": "11.2.3",
39-
"dayjs": "^1.11.9",
39+
"commit-and-tag-version": "^11.3.0",
4040
"enquirer": "^2.4.1",
41-
"eslint": "^8.49.0",
41+
"eslint": "^8.51.0",
4242
"eslint-config-standard": "^17.1.0",
4343
"eslint-plugin-import": "^2.28.1",
4444
"eslint-plugin-n": "^15.7.0",
4545
"eslint-plugin-promise": "^6.1.1",
4646
"eslint-plugin-vue": "^9.17.0",
47-
"fs-extra": "^11.1.1",
4847
"husky": "^8.0.3",
49-
"lodash": "^4.17.21",
48+
"markmap-cli": "^0.15.4",
5049
"shelljs": "^0.8.5",
5150
"typescript": "^3.9.10",
52-
"vercel": "^32.2.0",
51+
"vercel": "^32.4.1",
5352
"vue": "^3.3.4",
54-
"vuepress": "^2.0.0-beta.67",
55-
"vuepress-plugin-search-pro": "^2.0.0-beta.237",
56-
"vuepress-theme-hope": "^2.0.0-beta.237",
57-
"webpack": "^5.88.2"
53+
"vuepress": "2.0.0-beta.67",
54+
"vuepress-plugin-components": "2.0.0-beta.238",
55+
"vuepress-plugin-md-enhance": "2.0.0-beta.238",
56+
"vuepress-plugin-search-pro": "2.0.0-beta.238",
57+
"vuepress-theme-hope": "2.0.0-beta.238",
58+
"webpack": "^5.88.2",
59+
"xmind-embed-viewer": "^1.2.0"
5860
}
5961
}

0 commit comments

Comments
 (0)