From 999ab06b339d2099f9aec31a1bf1f96820fbe1b7 Mon Sep 17 00:00:00 2001 From: invalid w Date: Mon, 23 Oct 2023 16:38:28 +0800 Subject: [PATCH] chore: adjusting the pnpm peerDependencyRules position. close #90 --- configs/vite/package.json | 10 +--------- package.json | 11 +++++++++-- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/configs/vite/package.json b/configs/vite/package.json index 5b31b3a1..494d03d5 100644 --- a/configs/vite/package.json +++ b/configs/vite/package.json @@ -8,14 +8,6 @@ "clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo", "prepack": "pnpm unbuild --stub" }, - "pnpm": { - "peerDependencyRules": { - "allowedVersions": { - "vite-plugin-mock>@rollup/plugin-node-resolve": "13.3.0", - "vite-plugin-mock>@rollup/pluginutils": "3.1.0" - } - } - }, "dependencies": { "@vben/utils": "workspace:*", "@vitejs/plugin-legacy": "^4.1.1", @@ -49,4 +41,4 @@ "vite-plugin-mkcert": "1.16.0", "vue": "3.3.4" } -} +} \ No newline at end of file diff --git a/package.json b/package.json index fc1481ff..6e54bc52 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,14 @@ "resolutions": { "bin-wrapper": "npm:bin-wrapper-china" }, + "pnpm": { + "peerDependencyRules": { + "allowedVersions": { + "vite-plugin-mock>@rollup/plugin-node-resolve": "13.3.0", + "vite-plugin-mock>@rollup/pluginutils": "3.1.0" + } + } + }, "devDependencies": { "@changesets/cli": "^2.26.1", "@config/lint": "workspace:*", @@ -58,5 +66,4 @@ "node": ">=16" }, "packageManager": "pnpm@7.1.0" -} - +} \ No newline at end of file