Skip to content

Commit 4f2db77

Browse files
committed
deps [nfc]: Add metro-babel-register to direct dev-deps
At present, we get this indirectly through [email protected], which is pulled in via RN. In RN v0.68, we'll get [email protected], and that drops this dependency. But we still need it -- without it, RN's `jest/preprocessor.js` fails, breaking our Jest tests. So add it in directly.
1 parent 9d4a519 commit 4f2db77

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117
"jest-expo": "^45.0.0",
118118
"jest-extended": "^3.2.0",
119119
"jetifier": "^2.0.0",
120+
"metro-babel-register": "^0.66.2",
120121
"metro-react-native-babel-preset": "^0.66.2",
121122
"prettier": "^2.6.2",
122123
"prettier-eslint": "^15.0.0",

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8516,7 +8516,7 @@ messageformat@^2.2.1:
85168516
messageformat-formatters "^2.0.1"
85178517
messageformat-parser "^4.1.2"
85188518

8519-
8519+
[email protected], metro-babel-register@^0.66.2:
85208520
version "0.66.2"
85218521
resolved "https://registry.yarnpkg.com/metro-babel-register/-/metro-babel-register-0.66.2.tgz#c6bbe36c7a77590687ccd74b425dc020d17d05af"
85228522
integrity sha512-3F+vsVubUPJYKfVMeol8/7pd8CC287Rw92QYzJD8LEmI980xcgwMUEVBZ0UIAUwlLgiJG/f4Mwhuji2EeBXrPg==

0 commit comments

Comments
 (0)