Permalink
Browse files

Upgrade to latest react-native version

  • Loading branch information...
JeremDsgn committed Mar 25, 2017
0 parents commit c603d6267d4d44e6d5e7073c99190e1b48a3d515
Showing with 9,045 additions and 0 deletions.
  1. +3 −0 .babelrc
  2. +6 −0 .buckconfig
  3. +46 −0 .flowconfig
  4. +1 −0 .gitattributes
  5. +53 −0 .gitignore
  6. +1 −0 .watchmanconfig
  7. +4 −0 app.json
  8. BIN assets/fonts/din-bold-webfont.ttf
  9. BIN assets/fonts/din-medium-webfont.ttf
  10. BIN assets/fonts/din-regular-webfont.ttf
  11. BIN assets/fonts/icon.ttf
  12. +23 −0 index.ios.js
  13. +54 −0 ios/Statiks-tvOS/Info.plist
  14. +24 −0 ios/Statiks-tvOSTests/Info.plist
  15. +1,272 −0 ios/Statiks.xcodeproj/project.pbxproj
  16. +129 −0 ios/Statiks.xcodeproj/xcshareddata/xcschemes/Statiks-tvOS.xcscheme
  17. +129 −0 ios/Statiks.xcodeproj/xcshareddata/xcschemes/Statiks.xcscheme
  18. +16 −0 ios/Statiks/AppDelegate.h
  19. +37 −0 ios/Statiks/AppDelegate.m
  20. +31 −0 ios/Statiks/Base.lproj/LaunchScreen.xib
  21. +176 −0 ios/Statiks/Images.xcassets/AppIcon.appiconset/Contents.json
  22. BIN ios/Statiks/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png
  23. BIN ios/Statiks/Images.xcassets/AppIcon.appiconset/Icon-60@3x.png
  24. BIN ios/Statiks/Images.xcassets/AppIcon.appiconset/Icon-Small-40@2x.png
  25. BIN ios/Statiks/Images.xcassets/AppIcon.appiconset/Icon-Small-40@3x.png
  26. BIN ios/Statiks/Images.xcassets/AppIcon.appiconset/Icon-Small.png
  27. BIN ios/Statiks/Images.xcassets/AppIcon.appiconset/Icon-Small@2x.png
  28. BIN ios/Statiks/Images.xcassets/AppIcon.appiconset/Icon-Small@3x.png
  29. BIN ios/Statiks/Images.xcassets/AppIcon.appiconset/Icon.png
  30. BIN ios/Statiks/Images.xcassets/AppIcon.appiconset/Icon@2x.png
  31. BIN ios/Statiks/Images.xcassets/AppIcon.appiconset/iTunesArtwork.png
  32. BIN ios/Statiks/Images.xcassets/AppIcon.appiconset/iTunesArtwork@2x.png
  33. +6 −0 ios/Statiks/Images.xcassets/Contents.json
  34. +23 −0 ios/Statiks/Images.xcassets/Image.imageset/Contents.json
  35. BIN ios/Statiks/Images.xcassets/Image.imageset/logo-statiks.png
  36. BIN ios/Statiks/Images.xcassets/Image.imageset/logo-statiks@2x.png
  37. BIN ios/Statiks/Images.xcassets/Image.imageset/logo-statiks@3x.png
  38. BIN ios/Statiks/Images.xcassets/LaunchImage.launchimage/1242x2208.png
  39. BIN ios/Statiks/Images.xcassets/LaunchImage.launchimage/320x480.png
  40. BIN ios/Statiks/Images.xcassets/LaunchImage.launchimage/640x1136-1.png
  41. BIN ios/Statiks/Images.xcassets/LaunchImage.launchimage/640x1136.png
  42. BIN ios/Statiks/Images.xcassets/LaunchImage.launchimage/640x960-1.png
  43. BIN ios/Statiks/Images.xcassets/LaunchImage.launchimage/640x960.png
  44. BIN ios/Statiks/Images.xcassets/LaunchImage.launchimage/750x1334.png
  45. +65 −0 ios/Statiks/Images.xcassets/LaunchImage.launchimage/Contents.json
  46. +64 −0 ios/Statiks/Info.plist
  47. +18 −0 ios/Statiks/main.m
  48. +24 −0 ios/StatiksTests/Info.plist
  49. +70 −0 ios/StatiksTests/StatiksTests.m
  50. +25 −0 package.json
  51. +52 −0 sources/_styles/global.js
  52. +16 −0 sources/_styles/variables.js
  53. +86 −0 sources/_utils/apiUtils.js
  54. +34 −0 sources/_utils/array.js
  55. +80 −0 sources/_utils/diff.js
  56. +46 −0 sources/_utils/networksColors.js
  57. +142 −0 sources/_utils/object.js
  58. +24 −0 sources/_utils/sceneConfigs.js
  59. +33 −0 sources/_utils/storage.js
  60. +114 −0 sources/_utils/total.js
  61. +97 −0 sources/_utils/utils.js
  62. +62 −0 sources/addIndicators/index.js
  63. +49 −0 sources/addIndicators/style.js
  64. +144 −0 sources/addInput/index.js
  65. +24 −0 sources/addInput/style.js
  66. +104 −0 sources/addView/index.js
  67. +7 −0 sources/addView/style.js
  68. +335 −0 sources/api.js
  69. +332 −0 sources/config.json
  70. +123 −0 sources/detailBlock/index.js
  71. +70 −0 sources/detailBlock/style.js
  72. BIN sources/detailView/images/avatar-placeholder.png
  73. +112 −0 sources/detailView/index.js
  74. +122 −0 sources/detailView/style.js
  75. +50 −0 sources/header/index.js
  76. +57 −0 sources/header/style.js
  77. +81 −0 sources/listItem/index.js
  78. +68 −0 sources/listItem/style.js
  79. +239 −0 sources/listView/index.js
  80. +29 −0 sources/listView/style.js
  81. BIN sources/placeholder/images/emoji-loading@3x.gif
  82. BIN sources/placeholder/images/error-illu@3x.png
  83. BIN sources/placeholder/images/welcome-illu@3x.png
  84. +69 −0 sources/placeholder/index.js
  85. +87 −0 sources/placeholder/style.js
  86. +3,857 −0 yarn.lock
@@ -0,0 +1,3 @@
+{
+"presets": ["react-native"]
+}
@@ -0,0 +1,6 @@
+
+[android]
+ target = Google Inc.:Google APIs:23
+
+[maven_repositories]
+ central = https://repo1.maven.org/maven2
@@ -0,0 +1,46 @@
+[ignore]
+; We fork some components by platform
+.*/*[.]android.js
+
+; Ignore "BUCK" generated dirs
+<PROJECT_ROOT>/\.buckd/
+
+; Ignore unexpected extra "@providesModule"
+.*/node_modules/.*/node_modules/fbjs/.*
+
+; Ignore duplicate module providers
+; For RN Apps installed via npm, "Libraries" folder is inside
+; "node_modules/react-native" but in the source repo it is in the root
+.*/Libraries/react-native/React.js
+.*/Libraries/react-native/ReactNative.js
+
+[include]
+
+[libs]
+node_modules/react-native/Libraries/react-native/react-native-interface.js
+node_modules/react-native/flow
+flow/
+
+[options]
+emoji=true
+
+module.system=haste
+
+experimental.strict_type_args=true
+
+munge_underscores=true
+
+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'
+
+suppress_type=$FlowIssue
+suppress_type=$FlowFixMe
+suppress_type=$FixMe
+
+suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-8]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
+suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-8]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
+suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
+
+unsafe.enable_getters_and_setters=true
+
+[version]
+^0.38.0
@@ -0,0 +1 @@
+*.pbxproj -text
@@ -0,0 +1,53 @@
+# OSX
+#
+.DS_Store
+
+# Xcode
+#
+build/
+*.pbxuser
+!default.pbxuser
+*.mode1v3
+!default.mode1v3
+*.mode2v3
+!default.mode2v3
+*.perspectivev3
+!default.perspectivev3
+xcuserdata
+*.xccheckout
+*.moved-aside
+DerivedData
+*.hmap
+*.ipa
+*.xcuserstate
+project.xcworkspace
+
+# Android/IntelliJ
+#
+build/
+.idea
+.gradle
+local.properties
+*.iml
+
+# node.js
+#
+node_modules/
+npm-debug.log
+yarn-error.log
+
+# BUCK
+buck-out/
+\.buckd/
+*.keystore
+
+# fastlane
+#
+# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
+# screenshots whenever they are needed.
+# For more information about the recommended setup visit:
+# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
+
+fastlane/report.xml
+fastlane/Preview.html
+fastlane/screenshots
@@ -0,0 +1 @@
+{}
@@ -0,0 +1,4 @@
+{
+ "name": "Statiks",
+ "displayName": "Statiks"
+}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,23 @@
+import React, { Component } from 'react';
+import { AppRegistry, Navigator } from 'react-native';
+import { Router, Scene } from 'react-native-router-flux';
+
+import List from './sources/listView/index';
+import Add from './sources/addView/index';
+import Detail from './sources/detailView/index';
+
+export default class Statiks extends Component {
+ render() {
+ return (
+ <Router hideNavBar={true}>
+ <Scene key="root">
+ <Scene key="list" component={List} title="Statiks" />
+ <Scene key="add" component={Add} title="Options" />
+ <Scene key="detail" component={Detail} />
+ </Scene>
+ </Router>
+ );
+ }
+}
+
+AppRegistry.registerComponent('Statiks', () => Statiks);
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleExecutable</key>
+ <string>$(EXECUTABLE_NAME)</string>
+ <key>CFBundleIdentifier</key>
+ <string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>$(PRODUCT_NAME)</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>UILaunchStoryboardName</key>
+ <string>LaunchScreen</string>
+ <key>UIRequiredDeviceCapabilities</key>
+ <array>
+ <string>armv7</string>
+ </array>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+ <key>UIViewControllerBasedStatusBarAppearance</key>
+ <false/>
+ <key>NSLocationWhenInUseUsageDescription</key>
+ <string></string>
+ <key>NSAppTransportSecurity</key>
+ <!--See http://ste.vn/2015/06/10/configuring-app-transport-security-ios-9-osx-10-11/ -->
+ <dict>
+ <key>NSExceptionDomains</key>
+ <dict>
+ <key>localhost</key>
+ <dict>
+ <key>NSExceptionAllowsInsecureHTTPLoads</key>
+ <true/>
+ </dict>
+ </dict>
+ </dict>
+</dict>
+</plist>
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleExecutable</key>
+ <string>$(EXECUTABLE_NAME)</string>
+ <key>CFBundleIdentifier</key>
+ <string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>$(PRODUCT_NAME)</string>
+ <key>CFBundlePackageType</key>
+ <string>BNDL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1</string>
+</dict>
+</plist>
Oops, something went wrong.

0 comments on commit c603d62

Please sign in to comment.