Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a647903

Browse filesBrowse files
authored
Merge pull request bonniee#20 from bonniee/rn-26
Update to React Native 0.26.3
2 parents fd9823e + 352c73e commit a647903
Copy full SHA for a647903

1,457 files changed

+17,114-2,531Lines changed: 17114 additions & 2531 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎AndroidDepends/.buckconfig‎

Copy file name to clipboard
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
[android]
3+
target = Google Inc.:Google APIs:23
4+
5+
[maven_repositories]
6+
central = https://repo1.maven.org/maven2
Collapse file

‎AndroidDepends/.flowconfig‎

Copy file name to clipboardExpand all lines: AndroidDepends/.flowconfig
+53-10Lines changed: 53 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,26 @@
77
# Some modules have their own node_modules with overlap
88
.*/node_modules/node-haste/.*
99

10-
# Ignore react-tools where there are overlaps, but don't ignore anything that
11-
# react-native relies on
12-
.*/node_modules/react-tools/src/React.js
13-
.*/node_modules/react-tools/src/renderers/shared/event/EventPropagators.js
14-
.*/node_modules/react-tools/src/renderers/shared/event/eventPlugins/ResponderEventPlugin.js
15-
.*/node_modules/react-tools/src/shared/vendor/core/ExecutionEnvironment.js
10+
# Ugh
11+
.*/node_modules/babel.*
12+
.*/node_modules/babylon.*
13+
.*/node_modules/invariant.*
14+
15+
# Ignore react and fbjs where there are overlaps, but don't ignore
16+
# anything that react-native relies on
17+
.*/node_modules/fbjs/lib/Map.js
18+
.*/node_modules/fbjs/lib/ErrorUtils.js
19+
20+
# Flow has a built-in definition for the 'react' module which we prefer to use
21+
# over the currently-untyped source
22+
.*/node_modules/react/react.js
23+
.*/node_modules/react/lib/React.js
24+
.*/node_modules/react/lib/ReactDOM.js
25+
26+
.*/__mocks__/.*
27+
.*/__tests__/.*
28+
29+
.*/commoner/test/source/widget/share.js
1630

1731
# Ignore commoner tests
1832
.*/node_modules/commoner/test/.*
@@ -26,26 +40,55 @@
2640
# Ignore Website
2741
.*/website/.*
2842

43+
# Ignore generators
44+
.*/local-cli/generator.*
45+
46+
# Ignore BUCK generated folders
47+
.*\.buckd/
48+
49+
.*/node_modules/is-my-json-valid/test/.*\.json
50+
.*/node_modules/iconv-lite/encodings/tables/.*\.json
51+
.*/node_modules/y18n/test/.*\.json
52+
.*/node_modules/spdx-license-ids/spdx-license-ids.json
53+
.*/node_modules/spdx-exceptions/index.json
54+
.*/node_modules/resolve/test/subdirs/node_modules/a/b/c/x.json
55+
.*/node_modules/resolve/lib/core.json
56+
.*/node_modules/jsonparse/samplejson/.*\.json
57+
.*/node_modules/json5/test/.*\.json
58+
.*/node_modules/ua-parser-js/test/.*\.json
59+
.*/node_modules/builtin-modules/builtin-modules.json
60+
.*/node_modules/binary-extensions/binary-extensions.json
61+
.*/node_modules/url-regex/tlds.json
62+
.*/node_modules/joi/.*\.json
63+
.*/node_modules/isemail/.*\.json
64+
.*/node_modules/tr46/.*\.json
65+
66+
2967
[include]
3068

3169
[libs]
3270
node_modules/react-native/Libraries/react-native/react-native-interface.js
71+
node_modules/react-native/flow
72+
flow/
3373

3474
[options]
3575
module.system=haste
3676

77+
esproposal.class_static_fields=enable
78+
esproposal.class_instance_fields=enable
79+
3780
munge_underscores=true
3881

3982
module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub'
40-
module.name_mapper='^[./a-zA-Z0-9$_-]+\.png$' -> 'RelativeImageStub'
83+
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'
4184

4285
suppress_type=$FlowIssue
4386
suppress_type=$FlowFixMe
4487
suppress_type=$FixMe
4588

46-
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(1[0-6]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
47-
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(1[0-6]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)? #[0-9]+
89+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-4]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
90+
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(2[0-4]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
4891
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
4992

5093
[version]
51-
0.16.0
94+
0.24.0
Collapse file

‎AndroidDepends/.gitignore‎

Copy file name to clipboardExpand all lines: AndroidDepends/.gitignore
+12Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,19 @@ DerivedData
2222
*.xcuserstate
2323
project.xcworkspace
2424

25+
# Android/IJ
26+
#
27+
.idea
28+
.gradle
29+
local.properties
30+
2531
# node.js
2632
#
2733
node_modules/
2834
npm-debug.log
35+
36+
# BUCK
37+
buck-out/
38+
\.buckd/
39+
android/app/libs
40+
android/keystores/debug.keystore
Collapse file

‎AndroidDepends/android/.gradle/2.4/taskArtifacts/cache.properties‎

Copy file name to clipboardExpand all lines: AndroidDepends/android/.gradle/2.4/taskArtifacts/cache.properties
-1Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.
Collapse file
-183 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Collapse file
-55.3 KB
Binary file not shown.
Collapse file

‎AndroidDepends/android/app/BUCK‎

Copy file name to clipboard
+66Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
import re
2+
3+
# To learn about Buck see [Docs](https://buckbuild.com/).
4+
# To run your application with Buck:
5+
# - install Buck
6+
# - `npm start` - to start the packager
7+
# - `cd android`
8+
# - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US`
9+
# - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck
10+
# - `buck install -r android/app` - compile, install and run application
11+
#
12+
13+
lib_deps = []
14+
for jarfile in glob(['libs/*.jar']):
15+
name = 'jars__' + re.sub(r'^.*/([^/]+)\.jar$', r'\1', jarfile)
16+
lib_deps.append(':' + name)
17+
prebuilt_jar(
18+
name = name,
19+
binary_jar = jarfile,
20+
)
21+
22+
for aarfile in glob(['libs/*.aar']):
23+
name = 'aars__' + re.sub(r'^.*/([^/]+)\.aar$', r'\1', aarfile)
24+
lib_deps.append(':' + name)
25+
android_prebuilt_aar(
26+
name = name,
27+
aar = aarfile,
28+
)
29+
30+
android_library(
31+
name = 'all-libs',
32+
exported_deps = lib_deps
33+
)
34+
35+
android_library(
36+
name = 'app-code',
37+
srcs = glob([
38+
'src/main/java/**/*.java',
39+
]),
40+
deps = [
41+
':all-libs',
42+
':build_config',
43+
':res',
44+
],
45+
)
46+
47+
android_build_config(
48+
name = 'build_config',
49+
package = 'com.androiddepends',
50+
)
51+
52+
android_resource(
53+
name = 'res',
54+
res = 'src/main/res',
55+
package = 'com.androiddepends',
56+
)
57+
58+
android_binary(
59+
name = 'app',
60+
package_type = 'debug',
61+
manifest = 'src/main/AndroidManifest.xml',
62+
keystore = '//android/keystores:debug',
63+
deps = [
64+
':app-code',
65+
],
66+
)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.