Skip to content

Commit

Permalink
feat(expo): update to Expo SDK 50
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Vovk committed Mar 9, 2024
1 parent 1376bc9 commit 497ed58
Show file tree
Hide file tree
Showing 6 changed files with 3,390 additions and 3,213 deletions.
78 changes: 28 additions & 50 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,57 +1,35 @@
# OSX
#
.DS_Store
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files

# 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
*.hprof

# node.js
#
# dependencies
node_modules/
npm-debug.log
yarn-error.log

# BUCK
buck-out/
\.buckd/
*.keystore
!debug.keystore

# Bundle artifacts
*.jsbundle

# CocoaPods
/ios/Pods/

# Expo
.expo/
web-build/
dist/
web-build/

# Native
*.orig.*
*.jks
*.p8
*.p12
*.key
*.mobileprovision

# Metro
.metro-health-check*

# debug
npm-debug.*
yarn-debug.*
yarn-error.*

# macOS
.DS_Store
*.pem

# local env files
.env*.local

.log
# typescript
*.tsbuildinfo
5 changes: 1 addition & 4 deletions .husky/commit-msg
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint && npx --no-install commitlint --edit "$1"
yarn lint && npx --no-install commitlint --edit "$1"
5 changes: 1 addition & 4 deletions .husky/pre-commit
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install lint-staged
npx --no-install lint-staged
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

<img src="./screen.jpg" width="200"></img>

Using [Expo 49](https://blog.expo.dev/expo-sdk-49-c6d398cdf740).
Using [Expo 50](https://expo.dev/changelog/2024/01-18-sdk-50).

Please read [Starting React Native Project in 2023](https://dev.to/vladimirvovk/starting-react-native-project-in-2023-2le) article for details.
Please read [Starting React Native Project in 2024](https://dev.to/vladimirvovk/starting-react-native-project-in-2023-2le) article for details.

## Quick start

Expand Down
59 changes: 30 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "expo-ts",
"version": "2023.08.06",
"version": "2024.03.09",
"description": "An opinionated template that will allow you to start a new React Native project quickly with Expo, TypeScript, Prettier, ESLint, and some custom configurations that will make development process better",
"main": "node_modules/expo/AppEntry.js",
"scripts": {
Expand All @@ -11,9 +11,9 @@
"check-typescript": "tsc --noEmit",
"check-eslint": "eslint './src/**/*{js,ts,jsx,tsx}'",
"lint": "yarn check-typescript && yarn check-eslint",
"test": "jest",
"release": "standard-version",
"prepare": "husky install",
"test": "jest"
"prepare": "husky"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
Expand All @@ -38,38 +38,39 @@
"url": "/~https://github.com/vladimir-vovk/expo-ts/issues"
},
"dependencies": {
"@types/react": "~18.2.14",
"expo": "~49.0.5",
"expo-status-bar": "~1.6.0",
"jest": "^29.2.1",
"jest-expo": "^49.0.0",
"@types/react": "~18.2.45",
"expo": "~50.0.11",
"expo-status-bar": "~1.11.1",
"jest": "^29.3.1",
"jest-expo": "~50.0.3",
"react": "18.2.0",
"react-native": "0.72.3",
"react-native-safe-area-context": "4.6.3",
"typescript": "^5.1.3"
"react-native": "0.73.4",
"react-native-safe-area-context": "4.8.2",
"typescript": "^5.3.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@testing-library/dom": "^9.3.1",
"@testing-library/jest-native": "^5.4.2",
"@testing-library/react-native": "^12.2.0",
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
"@types/jest": "^29.5.3",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-native": "^5.4.3",
"@testing-library/react-native": "^12.4.3",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"babel-plugin-module-resolver": "^5.0.0",
"eslint": "^8.46.0",
"eslint-config-universe": "^11.3.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-jest-dom": "^5.0.2",
"eslint": "^8.57.0",
"eslint-config-universe": "^12.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jest-dom": "^5.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^5.11.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"prettier": "2.8.8",
"eslint-plugin-testing-library": "^6.2.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"standard-version": "^9.5.0"
}
}
Loading

0 comments on commit 497ed58

Please sign in to comment.