File tree Expand file tree Collapse file tree 6 files changed +184
-166
lines changed
Expand file tree Collapse file tree 6 files changed +184
-166
lines changed Original file line number Diff line number Diff line change 2121 "typescript" : " ~5.9.3" ,
2222 "vite" : " ^7.3.0" ,
2323 "vite-plugin-vue-devtools" : " ^8.0.5" ,
24- "vue-tsc" : " ^3.2.2 "
24+ "vue-tsc" : " ^3.2.4 "
2525 }
2626}
Original file line number Diff line number Diff line change 2121 "unplugin-auto-import" : " ^21.0.0" ,
2222 "vite" : " ^7.3.0" ,
2323 "vite-plugin-vue-devtools" : " ^8.0.5" ,
24- "vue-tsc" : " ^3.2.2 "
24+ "vue-tsc" : " ^3.2.4 "
2525 }
2626}
Original file line number Diff line number Diff line change 1919 "@vue/tsconfig" : " ^0.8.1" ,
2020 "vite" : " ^7.3.0" ,
2121 "vue-router" : " workspace:*" ,
22- "vue-tsc" : " ^3.2.2 "
22+ "vue-tsc" : " ^3.2.4 "
2323 }
2424}
Original file line number Diff line number Diff line change 184184 "@vue/server-renderer" : " 3.6.0-beta.2" ,
185185 "@vue/test-utils" : " ^2.4.6" ,
186186 "browserstack-local" : " ^1.5.8" ,
187- "chromedriver" : " ^143 .0.3 " ,
187+ "chromedriver" : " ^144 .0.0 " ,
188188 "connect-history-api-fallback" : " ^2.0.0" ,
189189 "dotenv" : " ^17.2.3" ,
190190 "faked-promise" : " ^2.2.2" ,
198198 "rollup-plugin-typescript2" : " ^0.36.0" ,
199199 "tsdown" : " 0.20.0-beta.3" ,
200200 "tsup" : " ^8.5.1" ,
201- "vite" : " ^7.3.1 " ,
201+ "vite" : " ^7.3.0 " ,
202202 "vue" : " 3.6.0-beta.2"
203203 },
204204 "peerDependencies" : {
Original file line number Diff line number Diff line change @@ -14,15 +14,13 @@ import type ts from 'typescript'
1414 - (low priority) Enhance typing of `to` route in `beforeEnter` route guards defined in `definePage`
1515*/
1616
17- const plugin : VueLanguagePlugin = ( {
17+ const plugin : VueLanguagePlugin < { rootDir ?: string } > = ( {
1818 compilerOptions,
1919 modules : { typescript : ts } ,
20- ... options
20+ config ,
2121} ) => {
22- // rootDir comes from plugin options (vuejs/language-tools#5678)
23- const optionsRootDir = ( options as { rootDir ?: string } ) . rootDir
2422 // Prioritize plugin options over tsconfig
25- const rootDir = optionsRootDir ?? compilerOptions . rootDir
23+ const rootDir = config ?. rootDir ?? compilerOptions . rootDir
2624
2725 // Warn if no rootDir specified
2826 if ( ! rootDir ) {
You can’t perform that action at this time.
0 commit comments