Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
chore: adjusting the pnpm peerDependencyRules position. close #90 (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjue666 authored Oct 23, 2023
1 parent 34be664 commit 2a59e36
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
10 changes: 1 addition & 9 deletions configs/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -49,4 +41,4 @@
"vite-plugin-mkcert": "1.16.0",
"vue": "3.3.4"
}
}
}
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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:*",
Expand All @@ -58,5 +66,4 @@
"node": ">=16"
},
"packageManager": "pnpm@7.1.0"
}

}

0 comments on commit 2a59e36

Please sign in to comment.