File tree Expand file tree Collapse file tree 3 files changed +855
-1054
lines changed Expand file tree Collapse file tree 3 files changed +855
-1054
lines changed Original file line number Diff line number Diff line change 6
6
*/
7
7
8
8
const path = require ( 'path' ) ;
9
- const blacklist = require ( 'metro-config/src/defaults/blacklist' ) ;
10
9
11
10
const reactNativeLib = path . resolve ( __dirname , '../..' ) ;
12
11
13
12
module . exports = {
14
13
watchFolders : [ reactNativeLib ] ,
15
14
resolver : {
16
- blacklistRE : blacklist ( [
15
+ blockList : [
17
16
new RegExp ( `${ reactNativeLib } /node_modules/react-native/.*` ) ,
18
17
new RegExp ( `${ reactNativeLib } /detox\/((?!rn-0\.64).).*` ) ,
19
18
new RegExp ( path . resolve ( __dirname , 'ios/.*' ) ) ,
20
- ] ) ,
19
+ ] ,
21
20
extraNodeModules : {
22
21
'react-native' : path . resolve ( __dirname , 'node_modules/react-native' ) ,
23
22
} ,
Original file line number Diff line number Diff line change 44
44
"ora" : " ^5.3.0" ,
45
45
"prepend-file" : " ^1.3.1" ,
46
46
"prettier" : " ^2.0.5" ,
47
- "react" : " 16.13.1 " ,
48
- "react-native" : " 0.63.4 " ,
47
+ "react" : " 17.0.2 " ,
48
+ "react-native" : " 0.64.0 " ,
49
49
"rmfr" : " ^2.0.0" ,
50
50
"source-map-explorer" : " ^2.4.2" ,
51
51
"tmp" : " ^0.2.1" ,
You can’t perform that action at this time.
0 commit comments