fix: disable pnpm 7 strict peer deps

This commit is contained in:
Innei
2022-05-07 19:35:09 +08:00
parent bbfedea29c
commit 75cc9f56cf
2 changed files with 5 additions and 0 deletions

2
.npmrc
View File

@@ -4,3 +4,5 @@ public-hoist-pattern[]=*eslint*
public-hoist-pattern[]=*webpack*
registry=https://registry.npmjs.org
strict-peer-dependencies=false

View File

@@ -54,6 +54,9 @@
},
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"class-transformer": "0.5.1"
},
"ignoreMissing": [
"webpack"
]