-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: upgrade expo and restructure app #82
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"main": "node_modules/expo/AppEntry.js", | ||
"main": "./src/index.js", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is this also the expo upgrade? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, I wanted to keep all the app related files under |
||
"private": true, | ||
"scripts": { | ||
"start": "expo start", | ||
|
@@ -14,41 +14,42 @@ | |
"dependencies": { | ||
"@expo-google-fonts/didact-gothic": "^0.1.0", | ||
"@expo-google-fonts/poppins": "^0.1.0", | ||
"@react-native-async-storage/async-storage": "1.15.1", | ||
"@react-native-async-storage/async-storage": "^1.13.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. expo cli did this downgrade |
||
"@react-native-community/masked-view": "0.1.10", | ||
"@react-navigation/native": "5.9.4", | ||
"@react-navigation/stack": "5.14.4", | ||
"aes-js": "3.1.2", | ||
"color": "^3.1.3", | ||
"expo": "~40.0.0", | ||
"expo": "^41.0.0", | ||
"expo-app-loading": "^1.0.1", | ||
"expo-auth-session": "~3.0.0", | ||
"expo-barcode-scanner": "~9.1.0", | ||
"expo-random": "~10.0.0", | ||
"expo-secure-store": "~9.3.0", | ||
"expo-status-bar": "~1.0.3", | ||
"expo-web-browser": "~8.6.0", | ||
"firebase": "^7.9.0", | ||
"expo-auth-session": "~3.2.3", | ||
"expo-barcode-scanner": "~10.1.2", | ||
"expo-random": "~11.1.2", | ||
"expo-secure-store": "~10.1.0", | ||
"expo-status-bar": "~1.0.4", | ||
"expo-web-browser": "~9.1.0", | ||
"firebase": "8.2.3", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We had 8.4.1 (before I made it 7.9.0) and expo upgrade util automatically made it 8.2.3 so I kept it to avoid firebase warning. |
||
"react": "16.13.1", | ||
"react-dom": "16.13.1", | ||
"react-native": "https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz", | ||
"react-native-gesture-handler": "~1.8.0", | ||
"react-native-get-random-values": "1.7.0", | ||
"react-native": "https://github.com/expo/react-native/archive/sdk-41.0.0.tar.gz", | ||
"react-native-gesture-handler": "~1.10.2", | ||
"react-native-get-random-values": "~1.7.0", | ||
"react-native-paper": "^4.7.2", | ||
"react-native-reanimated": "~1.13.0", | ||
"react-native-safe-area-context": "3.1.9", | ||
"react-native-screens": "~2.15.2", | ||
"react-native-svg": "^12.1.0", | ||
"react-native-reanimated": "~2.1.0", | ||
"react-native-safe-area-context": "3.2.0", | ||
"react-native-screens": "~3.0.0", | ||
"react-native-svg": "12.1.0", | ||
"react-native-web": "~0.13.12", | ||
"url-otpauth": "^2.0.0", | ||
"uuid": "8.3.2" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "~7.13.15", | ||
"@babel/core": "~7.9.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same, expo upgrade util downgraded it. We could up it back, but may be it downgraded for some reason!? |
||
"@commitlint/cli": "^12.1.1", | ||
"@commitlint/config-conventional": "^12.1.1", | ||
"@react-native-community/eslint-config": "^2.0.0", | ||
"@testing-library/jest-native": "^4.0.1", | ||
"@testing-library/react-hooks": "^5.1.2", | ||
"@testing-library/react-native": "^7.2.0", | ||
"eslint": "^7.24.0", | ||
"eslint-config-prettier": "^8.2.0", | ||
|
@@ -57,7 +58,7 @@ | |
"eslint-plugin-react-hooks": "^4.2.0", | ||
"husky": "4", | ||
"jest": "^26.6.3", | ||
"jest-expo": "^40.0.2", | ||
"jest-expo": "^41.0.0", | ||
"lint-staged": ">=10", | ||
"prettier": "^2.2.1" | ||
}, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { registerRootComponent } from 'expo' | ||
|
||
import App from './App' | ||
|
||
registerRootComponent(App) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are the changes in this file stuff that the expo upgrade did?