From db4cf1cf50f756eea4eaafc197f89267d67347e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90=20Kevin=20Deng?= Date: Thu, 7 Dec 2023 13:34:25 +0800 Subject: [PATCH] chore: upgrade vitest --- package.json | 4 +- packages/plugin-vue-jsx/package.json | 2 +- packages/plugin-vue/package.json | 2 +- .../__snapshots__/vue-sourcemap.spec.ts.snap | 42 +- pnpm-lock.yaml | 402 ++++++++++++++---- 5 files changed, 356 insertions(+), 96 deletions(-) diff --git a/package.json b/package.json index a2300f38..d46ec835 100644 --- a/package.json +++ b/package.json @@ -67,8 +67,8 @@ "tsx": "^4.6.2", "typescript": "^5.3.3", "unbuild": "2.0.0", - "vite": "^5.0.2", - "vitest": "^0.34.6", + "vite": "^5.0.6", + "vitest": "^1.0.1", "vue": "^3.3.10" }, "simple-git-hooks": { diff --git a/packages/plugin-vue-jsx/package.json b/packages/plugin-vue-jsx/package.json index 90cfe7eb..a06f0e79 100644 --- a/packages/plugin-vue-jsx/package.json +++ b/packages/plugin-vue-jsx/package.json @@ -39,7 +39,7 @@ "@vue/babel-plugin-jsx": "^1.1.5" }, "devDependencies": { - "vite": "^5.0.2" + "vite": "^5.0.6" }, "peerDependencies": { "vite": "^5.0.0", diff --git a/packages/plugin-vue/package.json b/packages/plugin-vue/package.json index 5327c170..da0b0630 100644 --- a/packages/plugin-vue/package.json +++ b/packages/plugin-vue/package.json @@ -44,7 +44,7 @@ "rollup": "^4.6.1", "slash": "^5.1.0", "source-map-js": "^1.0.2", - "vite": "^5.0.2", + "vite": "^5.0.6", "vue": "^3.3.10" } } diff --git a/playground/vue-sourcemap/__tests__/__snapshots__/vue-sourcemap.spec.ts.snap b/playground/vue-sourcemap/__tests__/__snapshots__/vue-sourcemap.spec.ts.snap index 7904c520..b4ea39bd 100644 --- a/playground/vue-sourcemap/__tests__/__snapshots__/vue-sourcemap.spec.ts.snap +++ b/playground/vue-sourcemap/__tests__/__snapshots__/vue-sourcemap.spec.ts.snap @@ -8,10 +8,10 @@ exports[`serve:vue-sourcemap > css > serve-css 1`] = ` ], "sourcesContent": [ " @@ -257,11 +257,11 @@ exports[`serve:vue-sourcemap > sass with import > serve-sass-with-import 1`] = ` color: red ", " -