Skip to content

Commit

Permalink
feat(rn): taro React Native 依赖由 0.55.4 升级到 0.59.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Pines-Cheng committed Jan 3, 2020
1 parent 35ba9c1 commit 17b9b31
Show file tree
Hide file tree
Showing 14 changed files with 3,092 additions and 2,617 deletions.
2 changes: 2 additions & 0 deletions docs/react-native.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ title: React Native 端开发流程
> 本篇主要讲解 Taro React Native 端 环境安装-开发-调试-打包-发布 原理及流程,React Native 开发前注意事项请看 [开发前注意](./before-dev-remind.html)
>
> 适配 RN 端可参考项目:[首个 Taro 多端统一实例 - 网易严选(小程序 + H5 + React Native) - By 趣店 FED](https://github.com/js-newbee/taro-yanxuan)
>
>Taro 从 2.0 开始,依赖的 React Native 版本由 0.55.4 升级为 0.59.9。
## 简介

Expand Down
2 changes: 1 addition & 1 deletion packages/taro-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
"jest": "^23.6.0",
"jest-react-native": "^18.0.0",
"npm-run-all": "^4.1.5",
"react-native": "^0.55.4",
"react-native": "^0.59.9",
"tslint": "^5.12.0",
"tslint-config-prettier": "^1.17.0",
"tslint-config-standard": "^8.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/taro-cli/src/rn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,8 @@ function updatePkgJson (appPath) {
"@tarojs/taro-rn": "^${version}",
"@tarojs/taro-router-rn": "^${version}",
"@tarojs/taro-redux-rn": "^${version}",
"react": "16.3.1",
"react-native": "0.55.4",
"react": "16.8.0",
"react-native": "0.59.9",
"redux": "^4.0.0",
"tslib": "^1.8.0"
}
Expand Down
12 changes: 0 additions & 12 deletions packages/taro-cli/templates/default/_editorconfig

This file was deleted.

26 changes: 0 additions & 26 deletions packages/taro-cli/templates/default/_eslintrc

This file was deleted.

6 changes: 0 additions & 6 deletions packages/taro-cli/templates/default/_gitignore

This file was deleted.

10 changes: 0 additions & 10 deletions packages/taro-cli/templates/default/_npmrc

This file was deleted.

1,965 changes: 1,104 additions & 861 deletions packages/taro-cli/yarn.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/taro-components-rn/TCRNExample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"test": "jest"
},
"dependencies": {
"react": "16.3.1",
"react-native": "0.55.4"
"react": "16.8.0",
"react-native": "0.59.9"
},
"devDependencies": {
"babel-jest": "24.7.1",
Expand Down
8 changes: 4 additions & 4 deletions packages/taro-components-rn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"utility-types": "^3.4.1"
},
"peerDependencies": {
"react": "16.3.1",
"react-native": "0.55.4"
"react": "16.8.0",
"react-native": "0.59.9"
},
"devDependencies": {
"@types/enzyme": "^3.9.1",
Expand Down Expand Up @@ -69,8 +69,8 @@
"jest-environment-node": "^23.2.0",
"jest-react-native": "^18.0.0",
"pre-commit": "^1.2.2",
"react": "16.3.1",
"react-native": "0.55.4",
"react": "16.8.0",
"react-native": "0.59.9",
"react-native-mock-render": "^0.0.25",
"react-test-renderer": "^16.2.0",
"sinon": "^6.0.0",
Expand Down
Loading

0 comments on commit 17b9b31

Please sign in to comment.