Skip to content

Commit 910b6bf

Browse files
committed
docs: fix
1 parent a1cda5d commit 910b6bf

File tree

4 files changed

+376
-388
lines changed

4 files changed

+376
-388
lines changed

docs/.vitepress/config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,16 @@ import {
1111
} from './meta'
1212
import { typedRouterFile, typedRouterFileAsModule } from './twoslash-files'
1313
import { extraFiles } from './twoslash/files'
14+
import { ModuleResolutionKind } from 'typescript'
1415

1516
export default defineConfig({
1617
markdown: {
1718
codeTransformers: [
1819
transformerTwoslash({
1920
twoslashOptions: {
21+
compilerOptions: {
22+
moduleResolution: ModuleResolutionKind.Bundler,
23+
},
2024
extraFiles: {
2125
...extraFiles,
2226
'router.ts': typedRouterFileAsModule,

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
]
165165
},
166166
"dependencies": {
167-
"@babel/types": "^7.25.7",
167+
"@babel/types": "^7.25.8",
168168
"@rollup/pluginutils": "^5.1.2",
169169
"@vue-macros/common": "^1.12.3",
170170
"ast-walker-scope": "^0.6.2",
@@ -189,7 +189,7 @@
189189
},
190190
"devDependencies": {
191191
"@pinia/colada": "^0.10.0",
192-
"@shikijs/vitepress-twoslash": "1.16.3",
192+
"@shikijs/vitepress-twoslash": "1.22.0",
193193
"@tanstack/vue-query": "^5.59.6",
194194
"@types/node": "^20.16.1",
195195
"@vitest/coverage-v8": "^2.1.2",
@@ -199,8 +199,8 @@
199199
"chalk": "^5.3.0",
200200
"conventional-changelog-cli": "^5.0.0",
201201
"enquirer": "^2.4.1",
202-
"execa": "^9.3.1",
203-
"firebase": "^10.13.1",
202+
"execa": "^9.4.0",
203+
"firebase": "^10.14.1",
204204
"happy-dom": "^15.7.4",
205205
"lint-staged": "^15.2.10",
206206
"minimist": "^1.2.8",
@@ -214,7 +214,7 @@
214214
"ts-expect": "^1.3.0",
215215
"tsup": "^8.3.0",
216216
"typescript": "^5.6.3",
217-
"unplugin-auto-import": "^0.18.2",
217+
"unplugin-auto-import": "^0.18.3",
218218
"unplugin-vue-markdown": "^0.26.2",
219219
"unplugin-vue-router": "workspace:*",
220220
"vite": "^5.4.8",
@@ -226,7 +226,7 @@
226226
"vue-router-mock": "^1.1.0",
227227
"vue-tsc": "^2.1.6",
228228
"vuefire": "^3.2.0",
229-
"webpack": "^5.94.0",
229+
"webpack": "^5.95.0",
230230
"yorkie": "^2.0.0"
231231
}
232232
}

0 commit comments

Comments
 (0)