Skip to content

Commit cb4e5ec

Browse files
committed
feat(config.mts):optimize
1 parent e087878 commit cb4e5ec

File tree

4 files changed

+532
-551
lines changed

4 files changed

+532
-551
lines changed

.vitepress/config.mts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,6 @@ export default defineConfig({
276276

277277
},
278278
codeTransformers: [
279-
transformerTwoslash({
280-
typesCache: createFileSystemTypesCache()
281-
})
282279
]
283280
},
284281
});

.vitepress/theme/index.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,6 @@ import HomeUnderLine from './components/HomeUnderline/HomeUnderLine.vue'
3838
import ArticleMetadata from "./components/ArticleMetadata/ArticleMetadata.vue"
3939
import nodeIndex from "./components/PostList/noteIndex.vue"
4040
import list from "./components/lists/list.vue"
41-
import githubData from "./components/about_me/githubData.vue"
42-
import backEnd from "./components/about_me/backEnd.vue"
43-
import frontEnd from "./components/about_me/frontEnd.vue"
44-
import devOps from "./components/about_me/devOps.vue"
45-
import developTools from "./components/about_me/developTools.vue"
46-
import others from "./components/about_me/others.vue"
47-
import contactMe from "./components/about_me/contactMe.vue"
4841
import TagCloud from './components/PostList/TagCloud.vue'
4942
import BackToTop from './components/BackToTop/BackToTop.vue'
5043

@@ -65,13 +58,6 @@ const enhanceApp = ({ app, router }: EnhanceAppContext) => {
6558
app.component('ArticleMetadata', ArticleMetadata)
6659
app.component('nodeIndex', nodeIndex)
6760
app.component('list', list)
68-
app.component('githubData', githubData)
69-
app.component('backEnd', backEnd)
70-
app.component('frontEnd', frontEnd)
71-
app.component('devOps', devOps)
72-
app.component('developTools', developTools)
73-
app.component('others', others)
74-
app.component('contactMe', contactMe)
7561
app.component('TagCloud', TagCloud)
7662
app.component('BackToTop', BackToTop)
7763
app.component(ElBacktop.name!, ElBacktop)

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
"@nolebase/vitepress-plugin-git-changelog": "^2.17.0",
55
"@nolebase/vitepress-plugin-highlight-targeted-heading": "^2.17.0",
66
"@ryanjoy/vitepress-plugin-sidebar": "^1.0.2",
7-
"@shikijs/vitepress-twoslash": "^3.3.0",
7+
"@shikijs/vitepress-twoslash": "^3.4.0",
88
"@types/markdown-it": "14.1.2",
99
"@types/markdown-it-footnote": "^3.0.4",
10-
"@types/node": "^22.15.3",
11-
"@vitejs/plugin-vue": "^5.2.3",
10+
"@types/node": "^22.15.17",
11+
"@vitejs/plugin-vue": "^5.2.4",
1212
"@vue/compiler-sfc": "^3.5.13",
13-
"element-plus": "^2.9.9",
14-
"esbuild": "^0.25.3",
13+
"element-plus": "^2.9.10",
14+
"esbuild": "^0.25.4",
1515
"markdown-it": "14.1.0",
1616
"markdown-it-footnote": "^4.0.0",
1717
"markdown-it-task-checkbox": "^1.0.6",
18-
"shiki": "^3.3.0",
18+
"shiki": "^3.4.0",
1919
"typescript": "^5.8.3",
20-
"unplugin-auto-import": "^19.1.2",
20+
"unplugin-auto-import": "^19.2.0",
2121
"unplugin-vue-components": "^28.5.0",
2222
"vite-plugin-sitemap": "^0.7.1",
2323
"vitepress": "^1.6.3",
@@ -36,7 +36,7 @@
3636
"@iconify-json/icon-park-outline": "^1.2.2",
3737
"@iconify-json/octicon": "^1.2.5",
3838
"@nolebase/vitepress-plugin-breadcrumbs": "^2.17.0",
39-
"@rive-app/canvas": "^2.27.1",
39+
"@rive-app/canvas": "^2.27.2",
4040
"@vercel/analytics": "^1.5.0",
4141
"@vercel/speed-insights": "^1.2.0",
4242
"@vueuse/core": "^13.1.0",
@@ -52,7 +52,7 @@
5252
"thumbhash": "^0.1.1",
5353
"unlazy": "^0.12.4",
5454
"unplugin-icons": "^22.1.0",
55-
"vite": "^6.3.3",
55+
"vite": "^6.3.5",
5656
"vitepress-plugin-google-analytics": "^1.0.2",
5757
"vitepress-plugin-group-icons": "^1.5.2",
5858
"vitepress-plugin-pagefind": "^0.4.13"

0 commit comments

Comments
 (0)