Skip to content

Commit

Permalink
fix(taro-rn): 修复 @types/node 新版本与RN不兼容
Browse files Browse the repository at this point in the history
@types/node 在 RN 相关包内暂时锁定
  • Loading branch information
zhiqingchen authored and Chen-jj committed May 10, 2021
1 parent a88f990 commit f5a2fd9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/taro-components-rn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"react-native-webview": "^10.10.2"
},
"resolutions": {
"@types/react": "16.9.49"
"@types/react": "16.9.49",
"@types/node": "^14.14.41"
}
}
3 changes: 2 additions & 1 deletion packages/taro-rn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
"react-native-unimodules": "^0.11.0"
},
"resolutions": {
"@types/react": "16.9.49"
"@types/react": "16.9.49",
"@types/node": "^14.14.41"
}
}
3 changes: 2 additions & 1 deletion packages/taro-router-rn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"react-native-screens": "^2.11.0"
},
"resolutions": {
"@types/react": "16.9.49"
"@types/react": "16.9.49",
"@types/node": "^14.14.41"
},
"devDependencies": {
"@types/react-native": "0.63.51"
Expand Down

0 comments on commit f5a2fd9

Please sign in to comment.