From 7f43505cfb248811be6a23f736b6e3caaa08ef5b Mon Sep 17 00:00:00 2001 From: Kael Date: Sun, 28 Jul 2024 02:27:54 +1000 Subject: [PATCH] chore: update vuetify.ts (#14) --- tests/vuetify.ts | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/tests/vuetify.ts b/tests/vuetify.ts index 010f66c..8268aeb 100644 --- a/tests/vuetify.ts +++ b/tests/vuetify.ts @@ -6,21 +6,7 @@ export async function test(options: RunOptions) { ...options, repo: 'vuetifyjs/vuetify', branch: 'master', - build: 'yarn workspace vuetify run build', - // there's also an e2e test script in vuetify, - // but it seems flaky, so I skipped it for now - test: ['yarn workspace vuetify run test:coverage -i'], - patchFiles: { - 'package.json': (content) => { - const pkg = JSON.parse(content) - // As of 2024-03-21, the version of source-map-js from vuetify isn't the same as the one from vue core. - // Therefore a "Duplicate identifier" TS error occurs when building. - // But we can't run dedupe in the vuetify repo, as the build would fail, too. - // So we need to overwrite the version to ^1.1.0 to avoid duplications of the dependency. - pkg.resolutions ??= {} - pkg.resolutions['source-map-js'] = '^1.2.0' - return JSON.stringify(pkg, null, 2) - }, - }, + build: 'vue-ecosystem-ci:build', + test: 'vue-ecosystem-ci:test', }) }