From 033a77e6229cf7446976fe1e7a96791c549d19af Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Tue, 26 Nov 2024 11:58:28 +0800 Subject: [PATCH] chore: add packageManager for corepack (#7081) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /area ui /kind improvement #### What this PR does / why we need it: 为 UI 项目添加 packageManager 字段,以支持 [corepack](https://nodejs.org/api/corepack.html)。 #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/6635 #### Special notes for your reviewer: #### Does this PR introduce a user-facing change? ```release-note 为 UI 项目添加 packageManager 字段,以支持 [corepack](https://nodejs.org/api/corepack.html)。 ``` --- ui/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/package.json b/ui/package.json index 913794d4b8..d51caec13b 100644 --- a/ui/package.json +++ b/ui/package.json @@ -155,5 +155,6 @@ "vite-plugin-vue-devtools": "^7.3.8", "vitest": "^0.34.1", "vue-tsc": "^2.1.6" - } + }, + "packageManager": "pnpm@9.14.2+sha512.6e2baf77d06b9362294152c851c4f278ede37ab1eba3a55fda317a4a17b209f4dbb973fb250a77abc463a341fcb1f17f17cfa24091c4eb319cda0d9b84278387" }