Skip to content

Commit 0098162

Browse files
committed
chore(theme): 升级主题vth-rc.63
1 parent bf8f0e8 commit 0098162

File tree

4 files changed

+10903
-12692
lines changed

4 files changed

+10903
-12692
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"chengyu",
55
"demi",
66
"docsearch",
7+
"echarts",
78
"evernote",
89
"giscus",
910
"iconify",

docs/.vuepress/theme.ts

Lines changed: 53 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,54 @@ export const themeOptions: ThemeOptions = {
105105
},
106106
},
107107

108+
markdown: {
109+
hint: true,
110+
111+
// image
112+
imgLazyload: true,
113+
imgMark: true,
114+
imgSize: true,
115+
116+
// math
117+
math: {
118+
type: 'mathjax',
119+
},
120+
121+
// tabs
122+
tabs: true,
123+
codeTabs: true,
124+
125+
attrs: true,
126+
gfm: true,
127+
vPre: true,
128+
align: true,
129+
sup: true,
130+
sub: true,
131+
footnote: true,
132+
mark: true,
133+
tasklist: true,
134+
include: true,
135+
echarts: true,
136+
flowchart: true,
137+
mermaid: true,
138+
demo: true,
139+
playground: {
140+
presets: ['ts', 'vue', 'unocss'],
141+
},
142+
vuePlayground: true,
143+
sandpack: true,
144+
145+
highlighter: {
146+
type: 'shiki',
147+
lineNumbers: false,
148+
themes: {
149+
light: 'one-light',
150+
dark: 'one-dark-pro',
151+
},
152+
transformers: [transformerTwoslash()],
153+
},
154+
},
155+
108156
plugins: {
109157
// backToTop: true,
110158

@@ -167,57 +215,14 @@ export const themeOptions: ThemeOptions = {
167215
// you can also use Waline
168216
comment: waline,
169217

170-
markdownHint: true,
171-
172-
markdownImage: {
173-
lazyload: true,
174-
mark: true,
175-
size: true,
176-
},
177-
178-
markdownMath: {
179-
type: 'mathjax',
180-
},
181-
182-
markdownTab: {
183-
tabs: true,
184-
codeTabs: true,
185-
},
186-
187-
mdEnhance: {
188-
attrs: true,
189-
gfm: true,
190-
vPre: true,
191-
align: true,
192-
sup: true,
193-
sub: true,
194-
footnote: true,
195-
mark: true,
196-
tasklist: true,
197-
include: true,
198-
// chart: true,
199-
echarts: true,
200-
flowchart: true,
201-
mermaid: true,
202-
demo: true,
203-
playground: {
204-
presets: ['ts', 'vue', 'unocss'],
205-
},
206-
vuePlayground: true,
207-
sandpack: true,
218+
copyCode: {
219+
ignoreSelector: ['.vp-copy-ignore'],
208220
},
209221

210-
shiki: {
211-
lineNumbers: false,
212-
themes: {
213-
light: 'one-light',
214-
dark: 'one-dark-pro',
215-
},
216-
transformers: [transformerTwoslash()],
217-
},
222+
feed: true,
218223

219-
copyCode: {
220-
ignoreSelector: ['.vp-copy-ignore'],
224+
watermark: {
225+
enabled: false,
221226
},
222227
},
223228
}

package.json

Lines changed: 38 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"sizecheck": "cross-env SIZE_CHECK=true pnpm docs:build"
3131
},
3232
"dependencies": {
33-
"@shikijs/vitepress-twoslash": "^1.22.1",
33+
"@shikijs/vitepress-twoslash": "^1.24.2",
3434
"cnchar": "^3.2.6",
3535
"cnchar-draw": "^3.2.6",
3636
"cnchar-explain": "^3.2.6",
@@ -39,93 +39,94 @@
3939
"cnchar-radical": "^3.2.6",
4040
"cnchar-voice": "^3.2.6",
4141
"cnchar-words": "^3.2.6",
42-
"vue": "^3.5.12"
42+
"vue": "^3.5.13"
4343
},
4444
"devDependencies": {
45-
"@antfu/eslint-config": "^3.8.0",
46-
"@commitlint/cli": "^19.5.0",
47-
"@commitlint/config-conventional": "^19.5.0",
45+
"@antfu/eslint-config": "^3.11.2",
46+
"@commitlint/cli": "^19.6.0",
47+
"@commitlint/config-conventional": "^19.6.0",
4848
"@commitlint/cz-commitlint": "^19.5.0",
49-
"@textlint/ast-node-types": "^14.3.0",
50-
"@textlint/types": "^14.3.0",
49+
"@textlint/ast-node-types": "^14.4.0",
50+
"@textlint/types": "^14.4.0",
5151
"@types/postcss-import": "^14.0.3",
5252
"@unocss/eslint-config": "^0.63.6",
53-
"@vitest/coverage-v8": "^2.1.3",
53+
"@vitest/coverage-v8": "^2.1.8",
5454
"@vue/repl": "^4.4.2",
5555
"@vue/test-utils": "^2.4.6",
5656
"@vuepress/bundler-vite": "2.0.0-rc.18",
5757
"@vuepress/bundler-webpack": "2.0.0-rc.18",
58-
"@vuepress/plugin-docsearch": "2.0.0-rc.57",
59-
"@vuepress/plugin-links-check": "2.0.0-rc.57",
58+
"@vuepress/plugin-docsearch": "2.0.0-rc.65",
59+
"@vuepress/plugin-feed": "2.0.0-rc.65",
60+
"@vuepress/plugin-links-check": "2.0.0-rc.65",
6061
"@vuepress/plugin-markdown-container": "2.0.0-rc.54",
61-
"@vuepress/plugin-markdown-hint": "2.0.0-rc.57",
62-
"@vuepress/plugin-markdown-image": "2.0.0-rc.57",
63-
"@vuepress/plugin-markdown-math": "2.0.0-rc.57",
64-
"@vuepress/plugin-markdown-tab": "2.0.0-rc.58",
65-
"@vuepress/plugin-pwa": "2.0.0-rc.57",
66-
"@vuepress/plugin-revealjs": "2.0.0-rc.57",
67-
"@vuepress/plugin-seo": "2.0.0-rc.57",
68-
"@vuepress/plugin-shiki": "2.0.0-rc.57",
69-
"@vuepress/plugin-sitemap": "2.0.0-rc.57",
70-
"@waline/client": "^3.3.2",
62+
"@vuepress/plugin-markdown-hint": "2.0.0-rc.65",
63+
"@vuepress/plugin-markdown-image": "2.0.0-rc.65",
64+
"@vuepress/plugin-markdown-math": "2.0.0-rc.65",
65+
"@vuepress/plugin-markdown-tab": "2.0.0-rc.65",
66+
"@vuepress/plugin-pwa": "2.0.0-rc.65",
67+
"@vuepress/plugin-revealjs": "2.0.0-rc.65",
68+
"@vuepress/plugin-seo": "2.0.0-rc.65",
69+
"@vuepress/plugin-shiki": "2.0.0-rc.65",
70+
"@vuepress/plugin-sitemap": "2.0.0-rc.65",
71+
"@waline/client": "^3.4.1",
7172
"autoprefixer": "^10.4.20",
7273
"commitizen": "^4.3.1",
7374
"critters": "^0.0.24",
7475
"cross-env": "^7.0.3",
7576
"cz-conventional-changelog": "^3.3.0",
7677
"echarts": "^5.5.1",
77-
"eslint": "^9.13.0",
78+
"eslint": "^9.16.0",
7879
"eslint-config-prettier": "^9.1.0",
7980
"eslint-plugin-cypress": "^3.6.0",
80-
"eslint-plugin-format": "^0.1.2",
81+
"eslint-plugin-format": "^0.1.3",
8182
"flowchart.ts": "^3.0.1",
82-
"husky": "^9.1.6",
83-
"katex": "^0.16.11",
84-
"lint-staged": "^15.2.10",
83+
"husky": "^9.1.7",
84+
"katex": "^0.16.15",
85+
"lint-staged": "^15.2.11",
8586
"markdown-it": "^14.1.0",
8687
"markdown-it-container": "^4.0.0",
8788
"markdown-it-link-attributes": "^4.0.1",
8889
"markdown-it-shikiji": "^0.10.2",
8990
"markdownlint": "^0.35.0",
9091
"markdownlint-cli": "^0.42.0",
9192
"mathjax-full": "^3.2.2",
92-
"mermaid": "^11.3.0",
93-
"postcss": "^8.4.47",
93+
"mermaid": "^11.4.1",
94+
"postcss": "^8.4.49",
9495
"postcss-html": "^1.7.0",
9596
"postcss-import": "^16.1.0",
9697
"postcss-scss": "^4.0.9",
97-
"prettier": "^3.3.3",
98+
"prettier": "^3.4.2",
9899
"remark-cli": "^12.0.1",
99100
"remark-gfm": "^4.0.0",
100101
"remark-github": "^12.0.0",
101102
"remark-preset-lint-consistent": "^6.0.0",
102103
"remark-preset-lint-recommended": "^7.0.0",
103104
"remark-toc": "^9.0.0",
104-
"remark-validate-links": "^13.0.1",
105+
"remark-validate-links": "^13.0.2",
105106
"reveal.js": "^5.1.0",
106107
"rollup-plugin-visualizer": "^5.12.0",
107108
"sandpack-vue3": "^3.1.12",
108-
"sass": "^1.80.4",
109+
"sass": "^1.82.0",
109110
"shikiji": "^0.10.2",
110-
"stylelint": "^16.10.0",
111+
"stylelint": "^16.11.0",
111112
"stylelint-config-html": "^1.1.0",
112113
"stylelint-config-hudochenkov": "^10.0.0",
113114
"stylelint-config-prettier-scss": "^1.0.0",
114115
"stylelint-config-standard": "^36.0.1",
115116
"stylelint-order": "^6.0.4",
116-
"stylelint-scss": "^6.8.1",
117+
"stylelint-scss": "^6.10.0",
117118
"taze": "^0.17.2",
118-
"textlint": "^14.3.0",
119+
"textlint": "^14.4.0",
119120
"textlint-rule-common-misspellings": "^1.0.1",
120121
"textlint-rule-no-todo": "^2.0.1",
121122
"textlint-rule-rousseau": "^1.4.8",
122123
"textlint-rule-unexpanded-acronym": "^1.2.4",
123-
"typescript": "^5.6.3",
124+
"typescript": "^5.7.2",
124125
"unocss": "^0.63.6",
125-
"vitest": "^2.1.3",
126-
"vue-tsc": "^2.1.8",
126+
"vitest": "^2.1.8",
127+
"vue-tsc": "^2.1.10",
127128
"vuepress": "2.0.0-rc.18",
128-
"vuepress-theme-hope": "2.0.0-rc.59"
129+
"vuepress-theme-hope": "2.0.0-rc.63"
129130
},
130131
"pnpm": {
131132
"peerDependencyRules": {

0 commit comments

Comments
 (0)