升级:vitepress 1.0.0-alpha.47 => 1.0.0-alpha.52

This commit is contained in:
2023-03-12 11:23:37 +08:00
parent 57e1051a01
commit 955fcaa0b7
4 changed files with 12 additions and 12 deletions

View File

@@ -9,6 +9,7 @@ export const head: HeadConfig[] = [
['meta', { name: 'HandheldFriendly', content: 'True' }],
['meta', { name: 'MobileOptimized', content: '320' }],
['meta', { name: 'theme-color', content: '#3c8772' }],
['meta', { name: 'baidu_union_verify', content: '19bd8ed3f02a91e23043efdf1d823107' }],
['meta', { property: 'og:type', content: 'website' }],
['meta', { property: 'og:locale', content: metaData.locale }],

View File

@@ -11,7 +11,6 @@ export const themeConfig: DefaultTheme.Config = {
level: 'deep', // 右侧大纲标题层级
label: '目录', // 右侧大纲标题文本配置
},
outlineBadges: false, // 是否在大纲中显示 Badge 文本
darkModeSwitchLabel: '切换日光/暗黑模式',
sidebarMenuLabel: '文章',
returnToTopLabel: '返回顶部',

View File

@@ -18,7 +18,7 @@
"mermaid": "9.3.0",
"unplugin-vue-components": "^0.24.0",
"vite": "^4.1.4",
"vitepress": "1.0.0-alpha.47",
"vitepress": "1.0.0-alpha.52",
"vitepress-plugin-mermaid": "2.0.8",
"vitepress-plugin-search": "1.0.4-alpha.19",
"vue": "^3.2.47"

20
pnpm-lock.yaml generated
View File

@@ -21,7 +21,7 @@ specifiers:
mermaid: 9.3.0
unplugin-vue-components: ^0.24.0
vite: ^4.1.4
vitepress: 1.0.0-alpha.47
vitepress: 1.0.0-alpha.52
vitepress-plugin-mermaid: 2.0.8
vitepress-plugin-search: 1.0.4-alpha.19
vue: ^3.2.47
@@ -45,9 +45,9 @@ devDependencies:
mermaid: 9.3.0
unplugin-vue-components: 0.24.0_vue@3.2.47
vite: 4.1.4
vitepress: 1.0.0-alpha.47
vitepress-plugin-mermaid: 2.0.8_s6r3kze5joptw7dhjuerwrlwiu
vitepress-plugin-search: 1.0.4-alpha.19_nsnkndx4jnohuye2co4uwrkeei
vitepress: 1.0.0-alpha.52
vitepress-plugin-mermaid: 2.0.8_hcgkxrewxlnmekpxhe6fcdq47i
vitepress-plugin-search: 1.0.4-alpha.19_wg32uep3w35pmjh2annxmfqbny
vue: 3.2.47
packages:
@@ -3471,7 +3471,7 @@ packages:
fsevents: 2.3.2
dev: true
/vitepress-plugin-mermaid/2.0.8_s6r3kze5joptw7dhjuerwrlwiu:
/vitepress-plugin-mermaid/2.0.8_hcgkxrewxlnmekpxhe6fcdq47i:
resolution: {integrity: sha512-ywWxTeg9kMv7ZPf/igCBF4ZHhWZAyRtbPnA12ICQuNK2AMp7r5IHOfnuX1EJQf8gNdsh8bcvvSvm8Ll92fdOTw==}
peerDependencies:
mermaid: ^8.0.0 || ^9.0.0
@@ -3479,10 +3479,10 @@ packages:
vitepress: ^0.21.6 || ^1.0.0 || ^1.0.0-alpha
dependencies:
mermaid: 9.3.0
vitepress: 1.0.0-alpha.47
vitepress: 1.0.0-alpha.52
dev: true
/vitepress-plugin-search/1.0.4-alpha.19_nsnkndx4jnohuye2co4uwrkeei:
/vitepress-plugin-search/1.0.4-alpha.19_wg32uep3w35pmjh2annxmfqbny:
resolution: {integrity: sha512-WFOPn5dStyMINd+rVjNxbEmGa7U+qGHLxLnda56EG+ATil1i0yOauGhJEh5LPMvuCUVIA9tInJnFXklOBb39dA==}
engines: {node: ^14.13.1 || ^16.7.0 || >=18}
peerDependencies:
@@ -3494,12 +3494,12 @@ packages:
'@types/markdown-it': 12.2.3
flexsearch: 0.7.31
markdown-it: 13.0.1
vitepress: 1.0.0-alpha.47
vitepress: 1.0.0-alpha.52
vue: 3.2.47
dev: true
/vitepress/1.0.0-alpha.47:
resolution: {integrity: sha512-vj+LOY0WJtKSk98HV4qqG6p4MofmF+C8yrWHiiw+GCMfr6C+610U5D7oD2OruroIafsON6F4nBDWGK8ZyGIpXQ==}
/vitepress/1.0.0-alpha.52:
resolution: {integrity: sha512-DAaO5/yGXCVHXXwVJO/T1wS03curMgOhYnh1LVDTZAf0s1qr282id5j45IYEWthWcUZRD6ST9EAIZNsXHo4O7g==}
hasBin: true
dependencies:
'@docsearch/css': 3.3.3