From 6039bf047c2e27f141d776ff3180f5f108fa0847 Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Fri, 3 May 2024 16:12:15 +0800 Subject: [PATCH 1/3] fix(plugin-vite): add vite as a peer dep --- packages/plugin/vite/package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/plugin/vite/package.json b/packages/plugin/vite/package.json index c3f80b91bc..4f6788c8f0 100644 --- a/packages/plugin/vite/package.json +++ b/packages/plugin/vite/package.json @@ -34,6 +34,9 @@ "which": "^2.0.2", "xvfb-maybe": "^0.2.1" }, + "peerDependencies": { + "vite": "^5.0.0" + } "engines": { "node": ">= 16.4.0" }, From f1c2cbd8ec99afa4df663730d5d5f850c425e8d6 Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Fri, 3 May 2024 16:18:12 +0800 Subject: [PATCH 2/3] Update package.json --- packages/plugin/vite/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin/vite/package.json b/packages/plugin/vite/package.json index 4f6788c8f0..5c55a448b7 100644 --- a/packages/plugin/vite/package.json +++ b/packages/plugin/vite/package.json @@ -36,7 +36,7 @@ }, "peerDependencies": { "vite": "^5.0.0" - } + }, "engines": { "node": ">= 16.4.0" }, From 4ea5029998d24bc173f2e2eed85aaa2186c0e43b Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Fri, 3 May 2024 16:37:29 +0800 Subject: [PATCH 3/3] fix syncpack --- packages/plugin/vite/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin/vite/package.json b/packages/plugin/vite/package.json index 5c55a448b7..f8276d34cf 100644 --- a/packages/plugin/vite/package.json +++ b/packages/plugin/vite/package.json @@ -35,7 +35,7 @@ "xvfb-maybe": "^0.2.1" }, "peerDependencies": { - "vite": "^5.0.0" + "vite": "^5.0.12" }, "engines": { "node": ">= 16.4.0"