Skip to content

Commit bd23bd0

Browse files
committed
fix: temp fix for vue-macros vite version override
TODO: should better handle pnpm-workspace.yaml overrides in the codebase
1 parent 33e230c commit bd23bd0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/vue-macros.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ export async function test(options: RunOptions) {
1313
build: 'build',
1414
test: ['test:ecosystem'],
1515
overrideVueVersion,
16+
17+
// It's already overridden in pnpm-workspace.yaml in the original repo
18+
// but somehow it doesn't take effect when we also have overrides in package.json
19+
// So we have to override it here again
20+
// TODO: should handle such cases in the codebase rather than patching manually in each repo
21+
overrides: {
22+
vite: '^7.1.3',
23+
},
1624
patchFiles: {
1725
'pnpm-workspace.yaml': (content: string, overrides: Overrides) => {
1826
const data = YAML.parse(content)

0 commit comments

Comments
 (0)