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
  • Loading branch information
kelset authored and facebook-github-bot committed Sep 30, 2022
1 parent f3c98c5 commit f164556
Show file tree
Hide file tree
Showing 4 changed files with 253 additions and 893 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@
},
"dependencies": {
"@jest/create-cache-key-function": "^29.0.3",
"@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 @@ -120,9 +120,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
4 changes: 2 additions & 2 deletions repo-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"jest": "^29.0.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.2.0",
Expand Down
2 changes: 1 addition & 1 deletion template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"babel-jest": "^26.6.3",
"eslint": "^8.19.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.2.0"
},
"jest": {
Expand Down
Loading

0 comments on commit f164556

Please sign in to comment.