From 7f4f6053eff87d1d5907e6681444142ef8180420 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 1 Dec 2023 22:05:12 +0000 Subject: [PATCH] fix: add `@vitest/ui` to peer deps --- package.json | 5 +++++ pnpm-lock.yaml | 31 +++++++++++++++++++++++++++---- 2 files changed, 32 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 4996a751f..a876ab350 100644 --- a/package.json +++ b/package.json @@ -67,6 +67,7 @@ "@types/jsdom": "21.1.6", "@vitejs/plugin-vue": "4.5.0", "@vitejs/plugin-vue-jsx": "3.1.0", + "@vitest/ui": "0.33.0", "@vue/test-utils": "2.4.3", "changelogen": "0.5.5", "eslint": "8.54.0", @@ -90,6 +91,7 @@ "@testing-library/vue": "^7.0.0 || ^8.0.1", "@vitejs/plugin-vue": "*", "@vitejs/plugin-vue-jsx": "*", + "@vitest/ui": "0.33.0", "@vue/test-utils": "^2.4.2", "h3": "*", "happy-dom": "^9.10.9 || ^10.0.0 || ^11.0.0 || ^12.0.0", @@ -119,6 +121,9 @@ "playwright-core": { "optional": true }, + "@vitest/ui": { + "optional": true + }, "vitest": { "optional": true } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c4c89c44d..4f34604bb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -111,6 +111,9 @@ importers: '@vitejs/plugin-vue-jsx': specifier: 3.1.0 version: 3.1.0(vite@5.0.4)(vue@3.3.9) + '@vitest/ui': + specifier: 0.33.0 + version: 0.33.0(vitest@0.33.0) '@vue/test-utils': specifier: 2.4.3 version: 2.4.3(vue@3.3.9) @@ -155,7 +158,7 @@ importers: version: 5.0.4(@types/node@20.9.2) vitest: specifier: 0.33.0 - version: 0.33.0(happy-dom@12.10.3)(jsdom@22.1.0) + version: 0.33.0(@vitest/ui@0.33.0)(happy-dom@12.10.3)(jsdom@22.1.0) vue-router: specifier: 4.2.5 version: 4.2.5(vue@3.3.9) @@ -251,7 +254,7 @@ importers: version: 5.2.2 vitest: specifier: 0.33.0 - version: 0.33.0(happy-dom@12.10.3)(jsdom@22.1.0) + version: 0.33.0(@vitest/ui@0.33.0)(happy-dom@12.10.3)(jsdom@22.1.0) vue-tsc: specifier: 1.8.19 version: 1.8.19(typescript@5.2.2) @@ -285,7 +288,7 @@ importers: version: 3.8.2(eslint@8.54.0)(rollup@4.6.1)(typescript@5.2.2)(vite@5.0.4)(vue-tsc@1.8.24) vitest: specifier: 0.33.0 - version: 0.33.0(happy-dom@12.10.3)(jsdom@22.1.0) + version: 0.33.0(@vitest/ui@0.33.0)(happy-dom@12.10.3)(jsdom@22.1.0) examples/module/playground: dependencies: @@ -2992,6 +2995,21 @@ packages: tinyspy: 2.2.0 dev: true + /@vitest/ui@0.33.0(vitest@0.33.0): + resolution: {integrity: sha512-7gbAjLqt30R4bodkJAutdpy4ncv+u5IKTHYTow1c2q+FOxZUC9cKOSqMUxjwaaTwLN+EnDnmXYPtg3CoahaUzQ==} + peerDependencies: + vitest: '>=0.30.1 <1' + dependencies: + '@vitest/utils': 0.33.0 + fast-glob: 3.3.2 + fflate: 0.8.1 + flatted: 3.2.9 + pathe: 1.1.1 + picocolors: 1.0.0 + sirv: 2.0.3 + vitest: 0.33.0(@vitest/ui@0.33.0)(happy-dom@12.10.3)(jsdom@22.1.0) + dev: true + /@vitest/utils@0.33.0: resolution: {integrity: sha512-pF1w22ic965sv+EN6uoePkAOTkAPWM03Ri/jXNyMIKBb/XHLDPfhLvf/Fa9g0YECevAIz56oVYXhodLvLQ/awA==} dependencies: @@ -4983,6 +5001,10 @@ packages: bser: 2.1.1 dev: true + /fflate@0.8.1: + resolution: {integrity: sha512-/exOvEuc+/iaUm105QIiOt4LpBdMTWsXxqR0HDF35vx3fmaKzw7354gTilCh5rkzEt8WYyG//ku3h3nRmd7CHQ==} + dev: true + /file-entry-cache@6.0.1: resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} engines: {node: ^10.12.0 || >=12.0.0} @@ -9630,7 +9652,7 @@ packages: optionalDependencies: fsevents: 2.3.3 - /vitest@0.33.0(happy-dom@12.10.3)(jsdom@22.1.0): + /vitest@0.33.0(@vitest/ui@0.33.0)(happy-dom@12.10.3)(jsdom@22.1.0): resolution: {integrity: sha512-1CxaugJ50xskkQ0e969R/hW47za4YXDUfWJDxip1hwbnhUjYolpfUn2AMOulqG/Dtd9WYAtkHmM/m3yKVrEejQ==} engines: {node: '>=v14.18.0'} hasBin: true @@ -9668,6 +9690,7 @@ packages: '@vitest/runner': 0.33.0 '@vitest/snapshot': 0.33.0 '@vitest/spy': 0.33.0 + '@vitest/ui': 0.33.0(vitest@0.33.0) '@vitest/utils': 0.33.0 acorn: 8.11.2 acorn-walk: 8.3.0