File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,10 @@ import { RunOptions } from '../types.ts'
44export async function test ( options : RunOptions ) {
55 await runInRepo ( {
66 ...options ,
7- repo : 'sxzz/unplugin- vue-macros' ,
7+ repo : 'vue-macros/ vue-macros' ,
88 branch : 'main' ,
99 build : 'build' ,
1010 test : [ 'test:ecosystem' ] ,
11+ overrideVueVersion : '@^3' ,
1112 } )
1213}
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