Skip to content

Commit

Permalink
docs: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Oct 10, 2024
1 parent a1cda5d commit 910b6bf
Show file tree
Hide file tree
Showing 4 changed files with 376 additions and 388 deletions.
4 changes: 4 additions & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ import {
} from './meta'
import { typedRouterFile, typedRouterFileAsModule } from './twoslash-files'
import { extraFiles } from './twoslash/files'
import { ModuleResolutionKind } from 'typescript'

export default defineConfig({
markdown: {
codeTransformers: [
transformerTwoslash({
twoslashOptions: {
compilerOptions: {
moduleResolution: ModuleResolutionKind.Bundler,
},
extraFiles: {
...extraFiles,
'router.ts': typedRouterFileAsModule,
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
]
},
"dependencies": {
"@babel/types": "^7.25.7",
"@babel/types": "^7.25.8",
"@rollup/pluginutils": "^5.1.2",
"@vue-macros/common": "^1.12.3",
"ast-walker-scope": "^0.6.2",
Expand All @@ -189,7 +189,7 @@
},
"devDependencies": {
"@pinia/colada": "^0.10.0",
"@shikijs/vitepress-twoslash": "1.16.3",
"@shikijs/vitepress-twoslash": "1.22.0",
"@tanstack/vue-query": "^5.59.6",
"@types/node": "^20.16.1",
"@vitest/coverage-v8": "^2.1.2",
Expand All @@ -199,8 +199,8 @@
"chalk": "^5.3.0",
"conventional-changelog-cli": "^5.0.0",
"enquirer": "^2.4.1",
"execa": "^9.3.1",
"firebase": "^10.13.1",
"execa": "^9.4.0",
"firebase": "^10.14.1",
"happy-dom": "^15.7.4",
"lint-staged": "^15.2.10",
"minimist": "^1.2.8",
Expand All @@ -214,7 +214,7 @@
"ts-expect": "^1.3.0",
"tsup": "^8.3.0",
"typescript": "^5.6.3",
"unplugin-auto-import": "^0.18.2",
"unplugin-auto-import": "^0.18.3",
"unplugin-vue-markdown": "^0.26.2",
"unplugin-vue-router": "workspace:*",
"vite": "^5.4.8",
Expand All @@ -226,7 +226,7 @@
"vue-router-mock": "^1.1.0",
"vue-tsc": "^2.1.6",
"vuefire": "^3.2.0",
"webpack": "^5.94.0",
"webpack": "^5.95.0",
"yorkie": "^2.0.0"
}
}
Loading

0 comments on commit 910b6bf

Please sign in to comment.