react-native-git-upgrade doesn't change template files, only react-upgrade command does #22538
Closed
3 tasks done
Labels
Resolution: Locked
This issue was locked by the bot.
Environment
React Native Environment Info:
System:
OS: macOS 10.14
CPU: x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 818.50 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.7.0 - ~/.nvm/versions/node/v10.7.0/bin/node
Yarn: 1.10.1 - /usr/local/bin/yarn
npm: 6.4.1 - ~/.nvm/versions/node/v10.7.0/bin/npm
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
IDEs:
Android Studio: 3.2 AI-181.5540.7.32.5056338
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.5.0 => 16.5.0
react-native: 0.57.7 => 0.57.7
npmGlobalPackages:
react-native-git-upgrade: 0.2.7
Description
Summary
react-native-git-upgrade
many of the template files are not changed even though they seem like the should be. I think they should be getting upgraded because of the diffs on https://github.com/ncuillery/rn-diff and my own manual running of thereact-native upgrade
command in a copy of my repo and looking at the git diff.small example of this is in
.flowconfig
. When I runreact-native-git-upgrade
.flowconfig
is not changed. When I run react-native upgrade these linesesproposal.optional_chaining=enable esproposal.nullish_coalescing=enable
are added.another example of this is in
build.grade
.With
react-native-git-upgrade
it doesn't touch this file. Withreact-native upgrade
many lines are added includingimplementation fileTree(dir: "libs", include: ["*.jar"]) implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" implementation "com.facebook.react:react-native:+" // From node_modules
What could be the cause of these kinds of discrepancies?
The text was updated successfully, but these errors were encountered: