Skip to content

Commit 6aed160

Browse files
committed
Initial upgrade
1 parent 7a666f2 commit 6aed160

File tree

9 files changed

+180
-436
lines changed

9 files changed

+180
-436
lines changed

.eslintcache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"/Users/morant84/Work/react-native-nested-listview/example/index.android.js":{"size":178,"mtime":1506461733000,"hashOfConfig":"18q17kc","results":{"filePath":"/Users/morant84/Work/react-native-nested-listview/example/index.android.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0}},"/Users/morant84/Work/react-native-nested-listview/example/index.ios.js":{"size":178,"mtime":1506461736000,"hashOfConfig":"18q17kc","results":{"filePath":"/Users/morant84/Work/react-native-nested-listview/example/index.ios.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0}},"/Users/morant84/Work/react-native-nested-listview/example/ExampleApp.js":{"size":2151,"mtime":1507097693000,"hashOfConfig":"18q17kc","results":{"filePath":"/Users/morant84/Work/react-native-nested-listview/example/ExampleApp.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0}},"/Users/morant84/Work/react-native-nested-listview/index.js":{"size":1963,"mtime":1507071227000,"hashOfConfig":"18q17kc","results":{"filePath":"/Users/morant84/Work/react-native-nested-listview/index.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0}},"/Users/morant84/Work/react-native-nested-listview/index.test.js":{"size":3703,"mtime":1507012094000,"hashOfConfig":"18q17kc","results":{"filePath":"/Users/morant84/Work/react-native-nested-listview/index.test.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0}},"/Users/morant84/Work/react-native-nested-listview/NodeView.js":{"size":1790,"mtime":1507071227000,"hashOfConfig":"18q17kc","results":{"filePath":"/Users/morant84/Work/react-native-nested-listview/NodeView.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0}}}
1+
{"/Users/morant84/Work/react-native-nested-listview/example/index.android.js":{"size":178,"mtime":1507367317000,"hashOfConfig":"18q17kc","results":{"filePath":"/Users/morant84/Work/react-native-nested-listview/example/index.android.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0}},"/Users/morant84/Work/react-native-nested-listview/example/index.ios.js":{"size":178,"mtime":1507367317000,"hashOfConfig":"18q17kc","results":{"filePath":"/Users/morant84/Work/react-native-nested-listview/example/index.ios.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0}},"/Users/morant84/Work/react-native-nested-listview/example/ExampleApp.js":{"size":1994,"mtime":1507367317000,"hashOfConfig":"18q17kc","results":{"filePath":"/Users/morant84/Work/react-native-nested-listview/example/ExampleApp.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0}},"/Users/morant84/Work/react-native-nested-listview/index.js":{"size":1856,"mtime":1507367317000,"hashOfConfig":"18q17kc","results":{"filePath":"/Users/morant84/Work/react-native-nested-listview/index.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0}},"/Users/morant84/Work/react-native-nested-listview/index.test.js":{"size":3703,"mtime":1507367317000,"hashOfConfig":"18q17kc","results":{"filePath":"/Users/morant84/Work/react-native-nested-listview/index.test.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0}},"/Users/morant84/Work/react-native-nested-listview/NodeView.js":{"size":1790,"mtime":1507367317000,"hashOfConfig":"18q17kc","results":{"filePath":"/Users/morant84/Work/react-native-nested-listview/NodeView.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0}}}

example/.flowconfig

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
; For RN Apps installed via npm, "Libraries" folder is inside
1515
; "node_modules/react-native" but in the source repo it is in the root
1616
.*/Libraries/react-native/React.js
17-
.*/Libraries/react-native/ReactNative.js
17+
18+
; Ignore polyfills
19+
.*/Libraries/polyfills/.*
1820

1921
[include]
2022

@@ -35,10 +37,12 @@ module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|we
3537

3638
suppress_type=$FlowIssue
3739
suppress_type=$FlowFixMe
40+
suppress_type=$FlowFixMeProps
41+
suppress_type=$FlowFixMeState
3842
suppress_type=$FixMe
3943

40-
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-9]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
41-
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-9]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
44+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-3]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
45+
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-3]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
4246
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
4347
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
4448

example/.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ buck-out/
4646
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
4747
# screenshots whenever they are needed.
4848
# For more information about the recommended setup visit:
49-
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
49+
# https://docs.fastlane.tools/best-practices/source-control/
5050

51-
fastlane/report.xml
52-
fastlane/Preview.html
53-
fastlane/screenshots
51+
*/fastlane/report.xml
52+
*/fastlane/Preview.html
53+
*/fastlane/screenshots

example/android/app/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ import com.android.build.OutputFile
7272
* ]
7373
*/
7474

75+
project.ext.react = [
76+
entryFile: "index.js"
77+
]
78+
7579
apply from: "../../node_modules/react-native/react.gradle"
7680

7781
/**

example/android/app/src/main/java/com/example/MainApplication.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ protected List<ReactPackage> getPackages() {
2525
new MainReactPackage()
2626
);
2727
}
28+
29+
@Override
30+
protected String getJSMainModuleName() {
31+
return "index";
32+
}
2833
};
2934

3035
@Override

example/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"flow": "flow"
99
},
1010
"dependencies": {
11-
"react": "16.0.0",
12-
"react-native": "0.48.4",
13-
"shortid": "^2.2.8",
14-
"react-native-nested-listview": ".."
11+
"react": "16.0.0-beta.5",
12+
"react-native": "0.49.2",
13+
"react-native-nested-listview": "..",
14+
"shortid": "^2.2.8"
1515
},
1616
"devDependencies": {
1717
"babel-eslint": "^8.0.1",

0 commit comments

Comments
 (0)