Skip to content

Commit

Permalink
feat: Upgrade expo-template-tabs to metro@0.76 (#22105)
Browse files Browse the repository at this point in the history
# Why

Preemptively upgrades the `expo-template-tabs` example to `metro@0.76`. 

Expo Router has experimental features that require `metro@0.76` that we
would like users to start testing. However the documentation around
upgrading Metro within a project is lacking
(facebook/metro#940). We are upgrading just
this template for better user adoption.

These resolutions will be removed when Expo SDK supports
`react-native@0.72`
  • Loading branch information
marklawlor committed Apr 13, 2023
1 parent 226d759 commit e95e483
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions templates/expo-template-tabs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,48 @@
"react-native-screens": "~3.19.0",
"react-native-web": "~0.18.10"
},
"overrides": {
"metro": "0.76.1",
"metro-babel-transformer": "0.76.1",
"metro-cache": "0.76.1",
"metro-file-map": "0.76.1",
"metro-hermes-compiler": "0.76.1",
"metro-inspector-proxy": "0.76.1",
"metro-react-native-babel-transformer": "0.76.1",
"metro-resolver": "0.76.1",
"metro-runtime": "0.76.1",
"metro-source-map": "0.76.1",
"metro-symbolicate": "0.76.1",
"metro-transform-plugins": "0.76.1",
"metro-transform-worker": "0.76.1",
"metro-cache-key": "0.76.1",
"metro-config": "0.76.1",
"metro-core": "0.76.1",
"metro-minify-terser": "0.76.1",
"metro-minify-uglify": "0.76.1",
"metro-react-native-babel-preset": "0.76.1"
},
"resolutions": {
"metro": "0.76.1",
"metro-babel-transformer": "0.76.1",
"metro-cache": "0.76.1",
"metro-file-map": "0.76.1",
"metro-hermes-compiler": "0.76.1",
"metro-inspector-proxy": "0.76.1",
"metro-react-native-babel-transformer": "0.76.1",
"metro-resolver": "0.76.1",
"metro-runtime": "0.76.1",
"metro-source-map": "0.76.1",
"metro-symbolicate": "0.76.1",
"metro-transform-plugins": "0.76.1",
"metro-transform-worker": "0.76.1",
"metro-cache-key": "0.76.1",
"metro-config": "0.76.1",
"metro-core": "0.76.1",
"metro-minify-terser": "0.76.1",
"metro-minify-uglify": "0.76.1",
"metro-react-native-babel-preset": "0.76.1"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@types/react": "~18.0.14",
Expand Down

0 comments on commit e95e483

Please sign in to comment.