修改npm peer dependence策略

This commit is contained in:
whyour 2022-06-08 11:19:54 +08:00
parent 78ef75bbfe
commit 33d820acdb
2 changed files with 3 additions and 6 deletions

3
.npmrc
View File

@ -1 +1,2 @@
sentrycli_cdnurl=https://cdn.npm.taobao.org/dist/sentry-cli sentrycli_cdnurl=https://cdn.npm.taobao.org/dist/sentry-cli
strict-peer-dependencies=false

View File

@ -31,11 +31,7 @@
"allowedVersions": { "allowedVersions": {
"react": "17", "react": "17",
"react-dom": "17" "react-dom": "17"
}, }
"ignoreMissing": [
"monaco-editor",
"react-router"
]
} }
}, },
"dependencies": { "dependencies": {