Skip to content

Commit afee02f

Browse files
committed
Updating packages
1 parent 851c98f commit afee02f

File tree

4 files changed

+87
-101
lines changed

4 files changed

+87
-101
lines changed

Diff for: .babelrc

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
{
2-
"presets": ["babel-preset-expo"],
3-
"env": {
4-
"development": {
5-
"plugins": ["transform-react-jsx-source"]
6-
}
7-
}
2+
"presets": ["react-native"]
83
}

Diff for: .flowconfig

+31-39
Original file line numberDiff line numberDiff line change
@@ -2,74 +2,66 @@
22
; We fork some components by platform
33
.*/*[.]android.js
44

5-
; Ignore templates for 'react-native init'
6-
<PROJECT_ROOT>/node_modules/react-native/local-cli/templates/.*
7-
8-
; Ignore RN jest
9-
<PROJECT_ROOT>/node_modules/react-native/jest/.*
10-
11-
; Ignore RNTester
12-
<PROJECT_ROOT>/node_modules/react-native/RNTester/.*
13-
14-
; Ignore the website subdir
15-
<PROJECT_ROOT>/node_modules/react-native/website/.*
16-
17-
; Ignore the Dangerfile
18-
<PROJECT_ROOT>/node_modules/react-native/danger/dangerfile.js
19-
20-
; Ignore Fbemitter
21-
<PROJECT_ROOT>/node_modules/fbemitter/.*
22-
235
; Ignore "BUCK" generated dirs
24-
<PROJECT_ROOT>/node_modules/react-native/\.buckd/
6+
<PROJECT_ROOT>/\.buckd/
257

268
; Ignore unexpected extra "@providesModule"
279
.*/node_modules/.*/node_modules/fbjs/.*
2810

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+
.*/Libraries/react-native/React.js
15+
2916
; Ignore polyfills
30-
<PROJECT_ROOT>/node_modules/react-native/Libraries/polyfills/.*
17+
.*/Libraries/polyfills/.*
3118

32-
; Ignore various node_modules
33-
<PROJECT_ROOT>/node_modules/react-native-gesture-handler/.*
34-
<PROJECT_ROOT>/node_modules/expo/.*
35-
<PROJECT_ROOT>/node_modules/react-navigation/.*
36-
<PROJECT_ROOT>/node_modules/xdl/.*
37-
<PROJECT_ROOT>/node_modules/reqwest/.*
38-
<PROJECT_ROOT>/node_modules/metro-bundler/.*
19+
; Ignore metro
20+
.*/node_modules/metro/.*
3921

4022
[include]
4123

4224
[libs]
4325
node_modules/react-native/Libraries/react-native/react-native-interface.js
4426
node_modules/react-native/flow/
45-
node_modules/expo/flow/
27+
node_modules/react-native/flow-github/
4628

4729
[options]
4830
emoji=true
4931

5032
module.system=haste
51-
52-
module.file_ext=.js
53-
module.file_ext=.jsx
54-
module.file_ext=.json
55-
module.file_ext=.ios.js
33+
module.system.haste.use_name_reducers=true
34+
# get basename
35+
module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
36+
# strip .js or .js.flow suffix
37+
module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
38+
# strip .ios suffix
39+
module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1'
40+
module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1'
41+
module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
42+
module.system.haste.paths.blacklist=.*/__tests__/.*
43+
module.system.haste.paths.blacklist=.*/__mocks__/.*
44+
module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/Animated/src/polyfills/.*
45+
module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/Libraries/.*
5646

5747
munge_underscores=true
5848

5949
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'
6050

51+
module.file_ext=.js
52+
module.file_ext=.jsx
53+
module.file_ext=.json
54+
module.file_ext=.native.js
55+
6156
suppress_type=$FlowIssue
6257
suppress_type=$FlowFixMe
6358
suppress_type=$FlowFixMeProps
6459
suppress_type=$FlowFixMeState
65-
suppress_type=$FixMe
6660

67-
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)
68-
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)?:? #[0-9]+
61+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
62+
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
6963
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
7064
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
7165

72-
unsafe.enable_getters_and_setters=true
73-
7466
[version]
75-
^0.56.0
67+
^0.75.0

Diff for: .gitignore

+54-55
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,56 @@
1-
# See https://help.github.com/ignore-files/ for more about ignoring files.
2-
3-
# expo
4-
.expo/
5-
6-
# dependencies
7-
/node_modules
8-
9-
# misc
10-
.env.local
11-
.env.development.local
12-
.env.test.local
13-
.env.production.local
14-
15-
npm-debug.log*
16-
yarn-debug.log*
17-
yarn-error.log*
18-
19-
# Specifies intentionally untracked files to ignore when using Git
20-
# http://git-scm.com/docs/gitignore
21-
22-
*~
23-
*.sw[mnpcod]
24-
*.log
25-
*.tmp
26-
*.tmp.*
27-
log.txt
28-
*.sublime-project
29-
*.sublime-workspace
30-
.vscode/typings/
31-
npm-debug.log*
32-
33-
.idea/
34-
.sass-cache/
35-
.tmp/
36-
.versions/
37-
coverage/
38-
dist/
39-
node_modules/
40-
tmp/
41-
temp/
42-
hooks/
43-
platforms/
44-
plugins/
45-
plugins/android.json
46-
plugins/ios.json
47-
www/
48-
$RECYCLE.BIN/
49-
1+
# OSX
2+
#
503
.DS_Store
51-
Thumbs.db
52-
UserInterfaceState.xcuserstate
53-
54-
package-lock.json
55-
56-
.sourcemaps/*
574

5+
# Xcode
6+
#
7+
build/
8+
*.pbxuser
9+
!default.pbxuser
10+
*.mode1v3
11+
!default.mode1v3
12+
*.mode2v3
13+
!default.mode2v3
14+
*.perspectivev3
15+
!default.perspectivev3
16+
xcuserdata
17+
*.xccheckout
18+
*.moved-aside
19+
DerivedData
20+
*.hmap
21+
*.ipa
22+
*.xcuserstate
23+
project.xcworkspace
24+
25+
# Android/IntelliJ
26+
#
27+
build/
28+
.idea
29+
.gradle
30+
local.properties
31+
*.iml
32+
33+
# node.js
34+
#
35+
node_modules/
36+
npm-debug.log
37+
yarn-error.log
38+
39+
# BUCK
40+
buck-out/
41+
\.buckd/
42+
*.keystore
43+
44+
# fastlane
45+
#
46+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
47+
# screenshots whenever they are needed.
48+
# For more information about the recommended setup visit:
49+
# https://docs.fastlane.tools/best-practices/source-control/
50+
51+
*/fastlane/report.xml
52+
*/fastlane/Preview.html
53+
*/fastlane/screenshots
54+
55+
# Bundle artifact
56+
*.jsbundle

Diff for: .watchmanconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{}
1+
{}

0 commit comments

Comments
 (0)