From 644ac79ca985aa6bc46fc9ca2e5e81f27235947b Mon Sep 17 00:00:00 2001 From: RazerMoon <33849459+RazerMoon@users.noreply.github.com> Date: Fri, 25 Dec 2020 19:09:37 +0000 Subject: [PATCH] init before upgrade --- .eslintrc.json | 3 - .expo-shared/README.md | 11 + .expo-shared/assets.json | 7 +- .gitignore | 4 +- App.tsx | 89 +- app.json | 24 +- assets/adaptive-icon.png | Bin 0 -> 30420 bytes assets/icon.png | Bin 642 -> 276152 bytes assets/splash.png | Bin 9306 -> 40326 bytes package-lock.json | 10183 ------------------------------------- package.json | 57 +- tsconfig.json | 1 + yarn.lock | 6786 ++++++++++++++++++++++++ 13 files changed, 6924 insertions(+), 10241 deletions(-) create mode 100644 .expo-shared/README.md create mode 100644 assets/adaptive-icon.png delete mode 100644 package-lock.json create mode 100644 yarn.lock diff --git a/.eslintrc.json b/.eslintrc.json index 81df9cd..0645736 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -21,9 +21,6 @@ "prettier/prettier": [ "error", { - "singleQuote": true, - "trailingComma": "all", - "arrowParens": "avoid", "endOfLine": "auto" } ], diff --git a/.expo-shared/README.md b/.expo-shared/README.md new file mode 100644 index 0000000..e9e5318 --- /dev/null +++ b/.expo-shared/README.md @@ -0,0 +1,11 @@ +> Why do I have a folder named ".expo-shared" in my project? + +The ".expo-shared" folder is created when running commands that produce state that is intended to be shared with all developers on the project. For example, "npx expo-optimize". + +> What does the "assets.json" file contain? + +The "assets.json" file describes the assets that have been optimized through "expo-optimize" and do not need to be processed again. + +> Should I commit the ".expo-shared" folder? + +Yes, you should share the ".expo-shared" folder with your collaborators. diff --git a/.expo-shared/assets.json b/.expo-shared/assets.json index 1e6decf..0732f85 100644 --- a/.expo-shared/assets.json +++ b/.expo-shared/assets.json @@ -1,4 +1,7 @@ { - "12bb71342c6255bbf50437ec8f4441c083f47cdb74bd89160c15e4f43e52a1cb": true, - "40b842e832070c58deac6aa9e08fa459302ee3f9da492c7e77d93d2fbf4a56fd": true + "ec72f44c26176596b3f8f4ff2733f1c6a0f87fe6224a117439a1caea409505fd": true, + "24272cdaeff82cc5facdaccd982a6f05b60c4504704bbf94c19a6388659880bb": true, + "5193b4ad8735090dcbfaf0e070e7354ee4bc3b7951faf1edbe2757aa21757f96": true, + "4c27b7466a8169ab063b6150f65d7c75c2919ff2c1e5572f55d537c6ca04ff9e": true, + "5deb055be550b37ca358a297078e0b7f15f2a3f95c0c5cfb6db9c9e376cc7900": true } diff --git a/.gitignore b/.gitignore index 73e9e94..c7dfd0a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ -node_modules/**/* -.expo/* +node_modules/ +.expo npm-debug.* *.jks *.p8 diff --git a/App.tsx b/App.tsx index e707f4b..7cc5dff 100644 --- a/App.tsx +++ b/App.tsx @@ -1,22 +1,89 @@ -/* eslint-disable react/style-prop-object */ -import { StatusBar } from 'expo-status-bar'; -import React from 'react'; -import { StyleSheet, Text, View } from 'react-native'; +import React from "react"; +import { + StyleSheet, + Button, + View, + SafeAreaView, + Text, + Alert, +} from "react-native"; const styles = StyleSheet.create({ container: { flex: 1, - backgroundColor: '#fff', - alignItems: 'center', - justifyContent: 'center', + justifyContent: "center", + marginHorizontal: 16, + }, + title: { + textAlign: "center", + marginVertical: 8, + }, + fixToText: { + flexDirection: "row", + justifyContent: "space-between", + }, + separator: { + marginVertical: 8, + borderBottomColor: "#737373", + borderBottomWidth: StyleSheet.hairlineWidth, }, }); +const Separator = () => ; + export default function App(): JSX.Element { return ( - - Open up App.tsx to start working on your app! - - + + + + The title and onPress handler are required. It is recommended to set + accessibilityLabel to help make your app usable by everyone. :) + +