mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 09:12:02 +00:00
927b356245
Summary: **Motivation** This PR fixes #12420. For the first time, the version 0.41.2 includes a change in the generator (see #12162). The [require cache busting](https://github.com/facebook/react-native/blob/master/react-native-git-upgrade/cliEntry.js#L157-L163) of `react-native-git-upgrade`, designed to face this situation , was ineffective. The entry in `require.cache` is the file path including the `.js` extension. We have to delete this entry with the same key. **Test plan** - Publish `react-native-git-upgrade` to Sinopia, - Follow the reproduction steps of #12420 - 👉 The name of the app shouldn't be changed Closes https://github.com/facebook/react-native/pull/12422 Differential Revision: D4585549 Pulled By: mkonicek fbshipit-source-id: 508ac925c17d02b7739d47f9351a5aa336589f2e
31 lines
709 B
JSON
31 lines
709 B
JSON
{
|
|
"name": "react-native-git-upgrade",
|
|
"version": "0.2.7",
|
|
"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"
|
|
}
|
|
}
|