mirror of
https://github.com/status-im/react-native.git
synced 2025-02-22 14:18:23 +00:00
Summary: `react-native-git-upgrade` doesn't handle the binary files. An error is thrown if the user has changed the default Android icons. See #11402 With this PR, the upgrader would also be ready for the assets optimization: #10408 by GantMan - Publish `react-native-git-upgrade` to sinopia - `npm install -g react-native-git-upgrade` - Init a new project with an old version: `react-native init MyApp --version=0.40.0` - Replace an Android icon (i.e. `MyApp/android/app/src/main/res/mipmap-hdpi/ic_launcher.png`) by any other image file. - Change the content of a text file. - Run `react-native-git-upgrade` 👉 The project is upgraded successfully. 👉 The replaced image file is still here. 👉 The text change is still here. - Replace an Android icon in the RN sources (i.e. https://github.com/facebook/react-native/blob/master/local-cli/templates/HelloWorld/android/app/src/mai Closes https://github.com/facebook/react-native/pull/12201 Differential Revision: D4543190 Pulled By: mkonicek fbshipit-source-id: f1df32ee064557220deed717a129c3e175a6e9e2
31 lines
709 B
JSON
31 lines
709 B
JSON
{
|
|
"name": "react-native-git-upgrade",
|
|
"version": "0.2.6",
|
|
"license": "BSD-3-Clause",
|
|
"description": "The React Native upgrade tool",
|
|
"main": "cli.js",
|
|
"bin": {
|
|
"react-native-git-upgrade": "index.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=4"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/facebook/react-native.git"
|
|
},
|
|
"dependencies": {
|
|
"babel-core": "^6.18.0",
|
|
"babel-preset-es2015-node": "^6.1.1",
|
|
"babel-preset-stage-3": "^6.17.0",
|
|
"babel-register": "^6.18.0",
|
|
"minimist": "^1.2.0",
|
|
"npmlog": "^4.0.0",
|
|
"promise": "^7.1.1",
|
|
"rimraf": "^2.5.4",
|
|
"semver": "^5.0.3",
|
|
"shelljs": "^0.7.5",
|
|
"yeoman-environment": "1.5.3"
|
|
}
|
|
}
|