File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import fs from 'fs'
22import path from 'path'
33import { defineConfigWithTheme , type Plugin } from 'vitepress'
44import type { Config as ThemeConfig } from '@vue/theme'
5- // import llmstxt from 'vitepress-plugin-llms'
5+ import llmstxt from 'vitepress-plugin-llms'
66import baseConfig from '@vue/theme/config'
77import { headerPlugin } from './headerMdPlugin'
88// import { textAdPlugin } from './textAdMdPlugin'
@@ -804,6 +804,28 @@ export default defineConfigWithTheme<ThemeConfig>({
804804 stringify : true
805805 } ,
806806 plugins : [
807+ llmstxt ( {
808+ ignoreFiles : [
809+ 'about/team/**/*' ,
810+ 'about/team.md' ,
811+ 'about/privacy.md' ,
812+ 'about/coc.md' ,
813+ 'developers/**/*' ,
814+ 'ecosystem/themes.md' ,
815+ 'examples/**/*' ,
816+ 'partners/**/*' ,
817+ 'sponsor/**/*' ,
818+ 'index.md'
819+ ] ,
820+ customLLMsTxtTemplate : `\
821+ # Vue.js
822+
823+ Vue.js - The Progressive JavaScript Framework
824+
825+ ## Table of Contents
826+
827+ {toc}`
828+ } ) as unknown as Plugin ,
807829 groupIconVitePlugin ( {
808830 customIcon : {
809831 cypress : 'vscode-icons:file-type-cypress' ,
Original file line number Diff line number Diff line change 1313 --vp-code-tab-active-text-color : var (--vt-c-text-1 );
1414 --vp-code-tab-bg : var (--vt-c-black-mute );
1515 --vp-code-block-bg : var (--vt-c-black-mute );
16- }
16+ }
Original file line number Diff line number Diff line change 11[build .environment ]
2- NODE_VERSION = " 22 "
2+ NODE_VERSION = " 24 "
33
44[build ]
5- publish = " .vitepress/dist"
6- command = " pnpm run build"
5+ publish = " .vitepress/dist"
6+ command = " pnpm run build"
Original file line number Diff line number Diff line change 11{
2- "engines" : {
3- "node" : " >=18.0.0"
4- },
2+ "private" : true ,
53 "type" : " module" ,
64 "scripts" : {
75 "dev" : " vitepress" ,
119 "type" : " vue-tsc --noEmit"
1210 },
1311 "dependencies" : {
14- "@vue/repl" : " ^4.4.2 " ,
15- "@vue/theme" : " ^2.3 .0" ,
12+ "@vue/repl" : " ^4.7.1 " ,
13+ "@vue/theme" : " ^2.4 .0" ,
1614 "dynamics.js" : " ^1.1.5" ,
17- "gsap" : " ^3.12.5 " ,
18- "vitepress" : " ^1.4.3 " ,
19- "vue" : " ^3.5.12 "
15+ "gsap" : " ^3.14.2 " ,
16+ "vitepress" : " ^2.0.0-alpha.17 " ,
17+ "vue" : " ^3.5.32 "
2018 },
2119 "devDependencies" : {
2220 "@types/body-scroll-lock" : " ^3.1.2" ,
2321 "@types/markdown-it" : " ^14.1.2" ,
24- "@types/node" : " ^22.7.5" ,
25- "typescript" : " ^5.6.3" ,
26- "vitepress-plugin-group-icons" : " ^1.5.4" ,
27- "vue-tsc" : " ^2.1.6"
22+ "@types/node" : " ^25.5.2" ,
23+ "oxc-minify" : " ^0.124.0" ,
24+ "typescript" : " ^5.9.3" ,
25+ "vitepress-plugin-group-icons" : " ^1.7.3" ,
26+ "vitepress-plugin-llms" : " ^1.12.0" ,
27+ "vue-tsc" : " ^3.2.6"
28+ },
29+ "engines" : {
30+ "node" : " >=20"
2831 },
29- "packageManager" : " pnpm@9.12.1"
32+ "packageManager" : " pnpm@10.33.0" ,
33+ "pnpm" : {
34+ "overrides" : {
35+ "vitepress>vite" : " npm:vite@8.0.7"
36+ },
37+ "onlyBuiltDependencies" : [
38+ " esbuild" ,
39+ " vue-demi"
40+ ]
41+ }
3042}
You can’t perform that action at this time.
0 commit comments