Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ module.exports = {
},
],
},
ignorePatterns: ['/dist/*', '/android/*', '/ios/*'],
ignorePatterns: ['/dist/*', '/capacitor/*', '/android/*', '/ios/*'],
}
3 changes: 1 addition & 2 deletions .github/workflows/prod_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: yarn

- name: 📦 Install Vercel CLI
run: npm install --global vercel@latest

- name: 📦 Install dependencies
run: yarn install
run: npm ci

- name: 🏗 Setup EAS
uses: expo/expo-github-action@v8
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/staging_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: yarn

- name: 📦 Install Vercel CLI
run: npm install --global vercel@latest

- name: 📦 Install dependencies
run: yarn install
run: npm ci

- name: 🏗 Setup EAS
uses: expo/expo-github-action@v8
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ web-build/
expo-env.d.ts

# Native
ios
android
*.orig.*
*.jks
*.p8
Expand Down Expand Up @@ -41,3 +43,5 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
node_modules

.metro-health-check*
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint:fix && yarn format && yarn lint
npm run lint
27 changes: 24 additions & 3 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,42 @@
{
"expo": {
"name": "Ansari Chat",
"owner": "ansari-project",
"slug": "ansari-chat",
"version": "1.0.0",
"scheme": "ansarichat",
"userInterfaceStyle": "automatic",
"icon": "./src/assets/images/icon.png",
"web": {
"bundler": "metro"
},
"plugins": [
"expo-router",
"expo-font"
"expo-font",
"expo-localization",
[
"expo-splash-screen",
{
"backgroundColor": "#FFFFFF",
"image": "./src/assets/images/splash-icon.png",
"imageWidth": 200
}
]
],
"extra": {
"supportsRTL": true,
"router": {
"origin": false
},
"eas": {
"projectId": "e2f465a7-8007-4e83-91ba-4a9df4c5209a"
}
},
"owner": "ansari-project",
"slug": "ansari-chat"
"android": {
"package": "chat.ansari.app"
},
"ios": {
"bundleIdentifier": "chat.ansari.app"
}
}
}
15 changes: 13 additions & 2 deletions eas.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
{
"cli": {
"version": ">= 15.0.12",
"appVersionSource": "remote"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"environment": "preview"
"distribution": "internal"
},
"production": {
"environment": "production"
"autoIncrement": true
}
},
"submit": {
"production": {}
}
}
1 change: 1 addition & 0 deletions nativewind-env.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// eslint-disable-next-line spaced-comment
/// <reference types="nativewind/types" />
Loading