Skip to content

Commit 97bf258

Browse files
authored
chore: upgrade VitePress and pin patched transitive deps (#190)
Bump VitePress to 2.0.0-alpha.19 with Vite 8, pin postcss/nanoid/esbuild, and raise the local-search chunk warning limit for this large doc set.
1 parent 3facefb commit 97bf258

4 files changed

Lines changed: 463 additions & 655 deletions

File tree

docs/.vitepress/config.mts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,5 +515,10 @@ export default defineConfig({
515515
socialLinks: [
516516
{ icon: 'github', link: 'https://github.com/doocs/source-code-hunter' }
517517
],
518-
}
518+
},
519+
vite: {
520+
build: {
521+
chunkSizeWarningLimit: 2000,
522+
},
523+
},
519524
})

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"version": "1.0.0",
44
"private": true,
55
"packageManager": "pnpm@11.9.0",
6+
"engines": {
7+
"node": "^20.19.0 || >=22.12.0"
8+
},
69
"scripts": {
710
"docs:dev": "vitepress dev docs",
811
"docs:build": "vitepress build docs",
@@ -12,6 +15,6 @@
1215
"vitepress-plugin-comment-with-giscus": "^1.1.15"
1316
},
1417
"devDependencies": {
15-
"vitepress": "2.0.0-alpha.17"
18+
"vitepress": "2.0.0-alpha.19"
1619
}
1720
}

0 commit comments

Comments
 (0)