File tree Expand file tree Collapse file tree 8 files changed +703
-471
lines changed Expand file tree Collapse file tree 8 files changed +703
-471
lines changed Original file line number Diff line number Diff line change 4242 "p-series" : " ^3.0.0" ,
4343 "prettier" : " ^2.8.8" ,
4444 "semver" : " ^7.6.3" ,
45- "typedoc" : " ^0.25.13 " ,
46- "typedoc-plugin-markdown" : " ^3.17.1 " ,
47- "typescript" : " ~5.3 .3" ,
45+ "typedoc" : " ^0.26.11 " ,
46+ "typedoc-plugin-markdown" : " ^4.2.10 " ,
47+ "typescript" : " ~5.6 .3" ,
4848 "vitest" : " ^2.1.5" ,
4949 "yorkie" : " ^2.0.0"
5050 },
Original file line number Diff line number Diff line change 1414 },
1515 "dependencies" : {
1616 "simple-git" : " ^3.27.0" ,
17- "vitepress" : " 1.2.3 " ,
17+ "vitepress" : " 1.5.0 " ,
1818 "vitepress-translation-helper" : " ^0.2.1" ,
1919 "vue-router" : " workspace:*"
2020 }
Original file line number Diff line number Diff line change @@ -6,10 +6,9 @@ const __dirname = path.dirname(new URL(import.meta.url).pathname)
66createTypeDocApp ( {
77 name : 'API Documentation' ,
88 tsconfig : path . resolve ( __dirname , './typedoc.tsconfig.json' ) ,
9- // entryPointStrategy: 'packages',
109 categorizeByGroup : true ,
1110 githubPages : false ,
12- disableSources : true ,
11+ disableSources : true , // some links are in node_modules and it's ugly
1312 plugin : [ 'typedoc-plugin-markdown' ] ,
1413 entryPoints : [ path . resolve ( __dirname , '../router/src/index.ts' ) ] ,
1514} ) . then ( app => app . build ( ) )
Original file line number Diff line number Diff line change 11// @ts -check
22import fs from 'node:fs/promises'
33import path from 'node:path'
4- import { Application , TSConfigReader , PageEvent } from 'typedoc'
4+ import { Application , PageEvent , TSConfigReader } from 'typedoc'
55
66const __dirname = path . dirname ( new URL ( import . meta. url ) . pathname )
77
@@ -11,9 +11,8 @@ const DEFAULT_OPTIONS = {
1111 excludeInternal : false ,
1212 readme : 'none' ,
1313 out : path . resolve ( __dirname , './api' ) ,
14- entryDocument : 'index.md' ,
14+ entryFileName : 'index.md' ,
1515 hideBreadcrumbs : false ,
16- hideInPageTOC : true ,
1716 preserveAnchorCasing : true ,
1817}
1918
@@ -108,7 +107,7 @@ async function exists(path) {
108107 */
109108function prependYAML ( contents , vars ) {
110109 return contents
111- . replace ( / ^ / , toYAML ( vars ) + ' \n\n' )
110+ . replace ( / ^ / , ` ${ toYAML ( vars ) } \n\n` )
112111 . replace ( / [ \r \n ] { 3 , } / g, '\n\n' )
113112}
114113
Original file line number Diff line number Diff line change 99 "preview" : " vite preview --port 4173"
1010 },
1111 "dependencies" : {
12- "vue" : " ~3.4.38 "
12+ "vue" : " ~3.5.13 "
1313 },
1414 "devDependencies" : {
1515 "@types/node" : " ^20.17.7" ,
1616 "@vitejs/plugin-vue" : " ^5.2.0" ,
17- "@vue/compiler-sfc" : " ~3.4.38" ,
18- "@vue/tsconfig" : " ^0.5.1" ,
19- "typescript" : " ~5.3.3" ,
17+ "@vue/compiler-sfc" : " ~3.5.13" ,
18+ "@vue/tsconfig" : " ^0.6.0" ,
2019 "vite" : " ^5.4.11" ,
2120 "vue-router" : " workspace:*" ,
2221 "vue-tsc" : " ^2.1.10"
Original file line number Diff line number Diff line change 126126 "@types/jsdom" : " ^21.1.7" ,
127127 "@types/nightwatch" : " ^2.3.32" ,
128128 "@vitejs/plugin-vue" : " ^5.2.0" ,
129- "@vue/compiler-sfc" : " ~3.4.38 " ,
130- "@vue/server-renderer" : " ~3.4.38 " ,
129+ "@vue/compiler-sfc" : " ~3.5.13 " ,
130+ "@vue/server-renderer" : " ~3.5.13 " ,
131131 "@vue/test-utils" : " ^2.4.6" ,
132132 "browserstack-local" : " ^1.5.5" ,
133133 "chromedriver" : " ^131.0.1" ,
143143 "rollup" : " ^3.29.5" ,
144144 "rollup-plugin-analyzer" : " ^4.0.0" ,
145145 "rollup-plugin-typescript2" : " ^0.36.0" ,
146- "typescript" : " ~5.6.3" ,
147146 "vite" : " ^5.4.11" ,
148- "vue" : " ~3.4.38 "
147+ "vue" : " ~3.5.13 "
149148 }
150149}
Original file line number Diff line number Diff line change @@ -234,7 +234,6 @@ export function useLink<Name extends keyof RouteMap = keyof RouteMap>(
234234 typeof document !== 'undefined' &&
235235 'startViewTransition' in document
236236 ) {
237- // @ts -ignore: this fails with Vitest, FIXME: remove it
238237 document . startViewTransition ( ( ) => p )
239238 }
240239 return p
You can’t perform that action at this time.
0 commit comments