5
5
; Ignore "BUCK" generated dirs
6
6
<PROJECT_ROOT>/\.buckd/
7
7
8
- ; Ignore unexpected extra "@providesModule"
9
- .*/node_modules/.*/node_modules/fbjs/.*
10
-
11
- ; Ignore duplicate module providers
12
- ; For RN Apps installed via npm, "Libraries" folder is inside
13
- ; "node_modules/react-native" but in the source repo it is in the root
14
- node_modules/react-native/Libraries/react-native/React.js
15
-
16
8
; Ignore polyfills
17
9
node_modules/react-native/Libraries/polyfills/.*
18
10
@@ -21,11 +13,10 @@ node_modules/react-native/Libraries/polyfills/.*
21
13
node_modules/warning/.*
22
14
23
15
; Flow doesn't support platforms
24
- .*/Libraries/Utilities/HMRLoadingView .js
16
+ .*/Libraries/Utilities/LoadingView .js
25
17
26
18
[untyped]
27
19
.*/node_modules/@react-native-community/cli/.*/.*
28
- .*/node_modules/react-native/Libraries/Lists/SectionList.js
29
20
30
21
[include]
31
22
@@ -44,27 +35,11 @@ module.file_ext=.js
44
35
module.file_ext=.json
45
36
module.file_ext=.ios.js
46
37
47
- module.system=haste
48
- module.system.haste.use_name_reducers=true
49
- # get basename
50
- module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
51
- # strip .js or .js.flow suffix
52
- module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
53
- # strip .ios suffix
54
- module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1'
55
- module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1'
56
- module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
57
- module.system.haste.paths.blacklist=.*/__tests__/.*
58
- module.system.haste.paths.blacklist=.*/__mocks__/.*
59
- module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/Libraries/.*
60
- module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/RNTester/.*
61
- module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/IntegrationTests/.*
62
- module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/react-native/react-native-implementation.js
63
- module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/Animated/src/polyfills/.*
64
-
65
38
munge_underscores=true
66
39
67
- module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
40
+ module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/react-native/react-native-implementation'
41
+ module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
42
+ module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'
68
43
69
44
suppress_type=$FlowIssue
70
45
suppress_type=$FlowFixMe
0 commit comments