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
147 changes: 0 additions & 147 deletions .cursorrules

This file was deleted.

13 changes: 13 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Application Environment (development | preview | production)
EXPO_PUBLIC_APP_ENV=development

# API Configuration
EXPO_PUBLIC_API_URL=https://dummyjson.com/

# Example Variables
EXPO_PUBLIC_VAR_NUMBER=10
EXPO_PUBLIC_VAR_BOOL=true

# Build-time only secrets (no EXPO_PUBLIC prefix - NOT accessible in src folder)
SECRET_KEY=my-secret-key
APP_BUILD_ONLY_VAR=build-only-value
6 changes: 0 additions & 6 deletions .env.development

This file was deleted.

6 changes: 0 additions & 6 deletions .env.production

This file was deleted.

6 changes: 0 additions & 6 deletions .env.staging

This file was deleted.

12 changes: 6 additions & 6 deletions .github/actions/eas-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ inputs:
APP_ENV:
description: 'APP_ENV (one of): development, staging, production'
required: true
default: 'staging'
AUTO_SUBMIT: ## TODO: we need to handle this too
default: staging
AUTO_SUBMIT: # # TODO: we need to handle this too
description: 'AUTO_SUBMIT (one of): true, false'
required: true
default: 'false'
Expand All @@ -41,20 +41,20 @@ inputs:
required: true
default: 'true'
VERSION:
description: 'VERSION'
description: VERSION
required: true
default: '0.0.0'
default: 0.0.0
IOS:
description: 'run for IOS (one of): true, false'
required: true
default: 'false'
EXPO_TOKEN:
description: 'EXPO_TOKEN'
description: EXPO_TOKEN
required: true
default: 'false'

runs:
using: 'composite'
using: composite
steps:
- name: 💯 Check for EXPO_TOKEN
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/setup-jdk-generate-apk/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ inputs:
APP_ENV:
description: 'APP_ENV (one of): development, staging, production'
required: true
default: 'staging'
default: staging

runs:
using: 'composite'
using: composite
steps:
- name: Set Up JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu' # See 'Supported distributions' for available options
distribution: zulu # See 'Supported distributions' for available options
java-version: '17'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup-node-pnpm-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
name: 'Setup Node + PNPM + Install Dependencies'
description: 'Setup Node + PNPM + Install Dependencies'
runs:
using: 'composite'
using: composite
steps:
- uses: pnpm/action-setup@v4
with:
run_install: false
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
cache: pnpm

- name: 📦 Install Project Dependencies
run: pnpm install --frozen-lockfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-android-eas-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
inputs:
apk-url:
type: string
description: 'EAS APK URL'
description: EAS APK URL
required: true
default: ''

Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
fetch-depth: 0

- name: 📦 Install Maestro
run: npm run install-maestro ## We use npm because we don't need to install deps again
run: npm run install-maestro # # We use npm because we don't need to install deps again

- name: Download Test APK
uses: actions/download-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
fetch-depth: 0

- name: 📦 Install Maestro
run: npm run install-maestro ## We use npm because we don't need to install deps again
run: npm run install-maestro # # We use npm because we don't need to install deps again

- name: Download Test APK
uses: actions/download-artifact@v3
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/eas-build-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,3 @@ jobs:
EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }}
VERSION: ${{ github.event.release.tag_name }}
IOS: false # TODO: set as true when IOS account is ready

10 changes: 5 additions & 5 deletions .github/workflows/expo-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ on:
- main
- master
paths:
- 'package.json'
- 'pnpm-lock.yaml'
- package.json
- pnpm-lock.yaml
pull_request:
paths:
- 'package.json'
- 'pnpm-lock.yaml'
- package.json
- pnpm-lock.yaml

permissions:
contents: read
pull-requests: write

jobs:
doctor:
name: Expo Doctor (expo)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
permissions:
contents: read
pull-requests: write

jobs:
lint:
name: Lint TS (eslint, prettier)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/new-app-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ on:
type: choice
description: 'Release type (one of): patch, minor, major'
required: true
default: 'patch'
default: patch
options:
- patch
- minor
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
permissions:
contents: read
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
Expand All @@ -16,9 +16,9 @@ jobs:
- uses: actions/stale@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days'
stale-pr-message: 'This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days'
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'
stale-issue-message: This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days
stale-pr-message: This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days
stale-issue-label: no-issue-activity
stale-pr-label: no-pr-activity
days-before-stale: 60
days-before-close: 14
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
if: (success() || failure()) && github.event_name == 'pull_request'
with:
coverage-summary-path: ./coverage/coverage-summary.json
summary-title: '💯 Test Coverage'
summary-title: 💯 Test Coverage
badge-title: Coverage
create-new-comment: false
junitxml-title: 😎 Tests Results
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ yarn-error.log
/coverage
# macOS
.DS_Store
/ios
/android

# @generated expo-cli sync-2b81b286409207a5da26e14c78851eb30d8ccbdb
# The following patterns were generated by expo-cli
Expand Down
Loading