File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -10,5 +10,6 @@ export async function test(options: RunOptions) {
1010 beforeBuild : `pnpm dedupe --registry=${ REGISTRY_ADDRESS } ` ,
1111 build : 'build' ,
1212 test : 'test' ,
13+ overrideVueVersion : '>3.5' ,
1314 } )
1415}
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ export interface RunOptions {
1313 root : string
1414 vuePath : string
1515 vueVersion : string
16+ overrideVueVersion ?: string
1617 verify ?: boolean
1718 skipGit ?: boolean
1819 release ?: string
Original file line number Diff line number Diff line change @@ -239,6 +239,7 @@ export async function runInRepo(options: RunOptions & RepoOptions) {
239239 beforeBuild,
240240 beforeTest,
241241 patchFiles,
242+ overrideVueVersion = '' ,
242243 } = options
243244 const dir = path . resolve (
244245 options . workspace ,
@@ -316,7 +317,7 @@ export async function runInRepo(options: RunOptions & RepoOptions) {
316317 } config. Use either one or the other`,
317318 )
318319 } else {
319- overrides [ pkg . name ] = version
320+ overrides [ ` ${ pkg . name } ${ overrideVueVersion } ` ] = version
320321 }
321322 }
322323 } else {
You can’t perform that action at this time.
0 commit comments