Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#38554

@public
Upgrades React Native, Relay, and Metro to use `[email protected]`.

This also changes the repository's Jest configuration to now use `hermes-parser`.

Changelog:
[Internal]

Reviewed By: SamChou19815

Differential Revision: D47522140

fbshipit-source-id: 207ccd0c4e4489d486731d0c847d8089abc1cc72
  • Loading branch information
yungsters authored and facebook-github-bot committed Jul 24, 2023
1 parent d3c28d2 commit a7805bb
Show file tree
Hide file tree
Showing 5 changed files with 237 additions and 346 deletions.
1 change: 1 addition & 0 deletions jest/preprocessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ module.exports = {
enableBabelRuntime: false,
experimentalImportSupport: false,
globalPrefix: '',
hermesParser: true,
hot: false,
inlineRequires: true,
minify: false,
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@
"jest": "^29.2.1",
"jest-junit": "^10.0.0",
"jscodeshift": "^0.14.0",
"metro-babel-register": "0.76.2",
"metro-memory-fs": "0.76.2",
"metro-react-native-babel-transformer": "0.76.2",
"metro-babel-register": "0.77.0",
"metro-memory-fs": "0.77.0",
"metro-react-native-babel-transformer": "0.77.0",
"mkdirp": "^0.5.1",
"mock-fs": "^5.1.4",
"prettier": "2.8.8",
"prettier-plugin-hermes-parser": "0.12.1",
"prettier-plugin-hermes-parser": "0.14.0",
"react": "18.2.0",
"react-test-renderer": "18.2.0",
"shelljs": "^0.8.5",
Expand Down
6 changes: 3 additions & 3 deletions packages/metro-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"exports": "./index.js",
"dependencies": {
"@react-native/js-polyfills": "^0.73.0",
"metro-config": "0.76.7",
"metro-react-native-babel-transformer": "0.76.7",
"metro-runtime": "0.76.7"
"metro-config": "0.77.0",
"metro-react-native-babel-transformer": "0.77.0",
"metro-runtime": "0.77.0"
}
}
6 changes: 3 additions & 3 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@
},
"dependencies": {
"@jest/create-cache-key-function": "^29.2.1",
"@react-native-community/cli": "12.0.0-alpha.6",
"@react-native-community/cli-platform-android": "12.0.0-alpha.6",
"@react-native-community/cli-platform-ios": "12.0.0-alpha.6",
"@react-native-community/cli": "12.0.0-alpha.7",
"@react-native-community/cli-platform-android": "12.0.0-alpha.7",
"@react-native-community/cli-platform-ios": "12.0.0-alpha.7",
"@react-native/assets-registry": "^0.73.0",
"@react-native/codegen": "^0.73.0",
"@react-native/gradle-plugin": "^0.73.0",
Expand Down
Loading

0 comments on commit a7805bb

Please sign in to comment.