Skip to content

Commit 3afa7c1

Browse files
committed
fix: update vuetify test script in case resolutions field doesn't exist
1 parent 2da058b commit 3afa7c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/vuetify.ts

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export async function test(options: RunOptions) {
1717
// Therefore a "Duplicate identifier" TS error occurs when building.
1818
// But we can't run dedupe in the vuetify repo, as the build would fail, too.
1919
// So we need to overwrite the version to ^1.1.0 to avoid duplications of the dependency.
20+
pkg.resolutions ??= {}
2021
pkg.resolutions['source-map-js'] = '^1.2.0'
2122
return JSON.stringify(pkg, null, 2)
2223
},

0 commit comments

Comments
 (0)