Skip to content

Commit

Permalink
chore(deps): bump CLI to 9.1.3 and Metro to 0.72.3 (#34803)
Browse files Browse the repository at this point in the history
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: #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: #34803

Test Plan: CI is green

Reviewed By: dmytrorykun

Differential Revision: D39967392

Pulled By: dmytrorykun

fbshipit-source-id: 799dd745834c9ba349362f70afb4bdbd1a48260e

# Conflicts:
#	package.json
#	template/package.json
#	yarn.lock
  • Loading branch information
kelset committed Oct 3, 2022
1 parent 7b53a24 commit 2de4cf0
Show file tree
Hide file tree
Showing 4 changed files with 549 additions and 360 deletions.
16 changes: 8 additions & 8 deletions package.json
Expand Up @@ -98,9 +98,9 @@
},
"dependencies": {
"@jest/create-cache-key-function": "^27.0.1",
"@react-native-community/cli": "^9.0.0",
"@react-native-community/cli-platform-android": "^9.0.0",
"@react-native-community/cli-platform-ios": "^9.0.0",
"@react-native-community/cli": "9.1.3",
"@react-native-community/cli-platform-android": "9.1.0",
"@react-native-community/cli-platform-ios": "9.1.2",
"@react-native/assets": "1.0.0",
"@react-native/normalize-color": "2.0.0",
"@react-native/polyfills": "2.0.0",
Expand All @@ -111,9 +111,9 @@
"invariant": "^2.2.4",
"jsc-android": "^250230.2.1",
"memoize-one": "^5.0.0",
"metro-react-native-babel-transformer": "0.72.1",
"metro-runtime": "0.72.1",
"metro-source-map": "0.72.1",
"metro-react-native-babel-transformer": "0.72.3",
"metro-runtime": "0.72.3",
"metro-source-map": "0.72.3",
"mkdirp": "^0.5.1",
"nullthrows": "^1.1.1",
"pretty-format": "^26.5.2",
Expand Down Expand Up @@ -164,8 +164,8 @@
"jest": "^26.6.3",
"jest-junit": "^10.0.0",
"jscodeshift": "^0.13.1",
"metro-babel-register": "0.72.1",
"metro-memory-fs": "0.72.1",
"metro-babel-register": "0.72.3",
"metro-memory-fs": "0.72.3",
"mkdirp": "^0.5.1",
"prettier": "^2.4.1",
"shelljs": "^0.8.5",
Expand Down
4 changes: 2 additions & 2 deletions repo-config/package.json
Expand Up @@ -39,8 +39,8 @@
"jest": "^26.6.3",
"jest-junit": "^10.0.0",
"jscodeshift": "^0.13.1",
"metro-babel-register": "0.72.1",
"metro-memory-fs": "0.72.1",
"metro-babel-register": "0.72.3",
"metro-memory-fs": "0.72.3",
"mkdirp": "^0.5.1",
"prettier": "^2.4.1",
"react": "18.1.0",
Expand Down
2 changes: 1 addition & 1 deletion template/package.json
Expand Up @@ -20,7 +20,7 @@
"babel-jest": "^26.6.3",
"eslint": "^7.32.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.72.1",
"metro-react-native-babel-preset": "0.72.3",
"react-test-renderer": "18.1.0"
},
"jest": {
Expand Down

0 comments on commit 2de4cf0

Please sign in to comment.