Use babel-core 7.5+ in new RN Apps

Summary:
We are running into some problems with the spread operator. The solution is to ask for a newer minimum babel version.

See https://github.com/babel/babel/issues/10179

Note: this doesn't actually change behavior. When creating a new app a new babel version will already be used. This simply ensures that the minimum version fulfills the requirements.

Reviewed By: axe-fb

Differential Revision: D16181111

fbshipit-source-id: f5207318b3a7bd9f092c0e64a8065d0f713012da
This commit is contained in:
Christoph Nakazawa 2019-07-10 07:09:30 -07:00 коммит произвёл Facebook Github Bot
Родитель 0b5aa39671
Коммит ba03e4e7bb
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -11,8 +11,8 @@
"react-native": "1000.0.0"
},
"devDependencies": {
"@babel/core": "^7.3.3",
"@babel/runtime": "^7.3.1",
"@babel/core": "^7.5.0",
"@babel/runtime": "^7.5.0",
"@react-native-community/eslint-config": "^0.0.3",
"babel-jest": "^24.1.0",
"jest": "^24.1.0",