mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
f164556037
Summary: This PR bumps the dep version of Metro and the RN CLI to latest, and realigns them to avoid the issue we currently have in 0.70: https://github.com/facebook/react-native/issues/34714 (this commit will be cherry-picked there) Also, it pins it all down to precise version. See comments for reasoning. While at it, I gave a cleanup pass to the yarn.lock with [`yarn deduplicate`](https://github.com/scinos/yarn-deduplicate#readme). ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [General] [Changed] - bump CLI to 9.1.3 and Metro to 0.72.3 Pull Request resolved: https://github.com/facebook/react-native/pull/34803 Test Plan: CI is green Reviewed By: dmytrorykun Differential Revision: D39967392 Pulled By: dmytrorykun fbshipit-source-id: 799dd745834c9ba349362f70afb4bdbd1a48260e
30 lines
677 B
JSON
30 lines
677 B
JSON
{
|
|
"name": "HelloWorld",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"android": "react-native run-android",
|
|
"ios": "react-native run-ios",
|
|
"start": "react-native start",
|
|
"test": "jest",
|
|
"lint": "eslint ."
|
|
},
|
|
"dependencies": {
|
|
"react": "18.2.0",
|
|
"react-native": "1000.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.12.9",
|
|
"@babel/runtime": "^7.12.5",
|
|
"@react-native-community/eslint-config": "^3.0.0",
|
|
"babel-jest": "^26.6.3",
|
|
"eslint": "^8.19.0",
|
|
"jest": "^26.6.3",
|
|
"metro-react-native-babel-preset": "0.72.3",
|
|
"react-test-renderer": "18.2.0"
|
|
},
|
|
"jest": {
|
|
"preset": "react-native"
|
|
}
|
|
}
|