Skip to content

Commit 175e39c

Browse files
authored
Merge pull request #503 from obytes/v10
feat: React Native Template v10 - Major Upgrade
2 parents 865b6db + f21f48a commit 175e39c

File tree

228 files changed

+10587
-13027
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

228 files changed

+10587
-13027
lines changed

.cursorrules

Lines changed: 0 additions & 147 deletions
This file was deleted.

.env

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Application Environment (development | preview | production)
2+
EXPO_PUBLIC_APP_ENV=development
3+
4+
# API Configuration
5+
EXPO_PUBLIC_API_URL=https://dummyjson.com/
6+
7+
# Example Variables
8+
EXPO_PUBLIC_VAR_NUMBER=10
9+
EXPO_PUBLIC_VAR_BOOL=true
10+
11+
# Build-time only secrets (no EXPO_PUBLIC prefix - NOT accessible in src folder)
12+
SECRET_KEY=my-secret-key
13+
APP_BUILD_ONLY_VAR=build-only-value

.env.development

Lines changed: 0 additions & 6 deletions
This file was deleted.

.env.production

Lines changed: 0 additions & 6 deletions
This file was deleted.

.env.staging

Lines changed: 0 additions & 6 deletions
This file was deleted.

.github/actions/eas-build/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ inputs:
3131
APP_ENV:
3232
description: 'APP_ENV (one of): development, staging, production'
3333
required: true
34-
default: 'staging'
35-
AUTO_SUBMIT: ## TODO: we need to handle this too
34+
default: staging
35+
AUTO_SUBMIT: # # TODO: we need to handle this too
3636
description: 'AUTO_SUBMIT (one of): true, false'
3737
required: true
3838
default: 'false'
@@ -41,20 +41,20 @@ inputs:
4141
required: true
4242
default: 'true'
4343
VERSION:
44-
description: 'VERSION'
44+
description: VERSION
4545
required: true
46-
default: '0.0.0'
46+
default: 0.0.0
4747
IOS:
4848
description: 'run for IOS (one of): true, false'
4949
required: true
5050
default: 'false'
5151
EXPO_TOKEN:
52-
description: 'EXPO_TOKEN'
52+
description: EXPO_TOKEN
5353
required: true
5454
default: 'false'
5555

5656
runs:
57-
using: 'composite'
57+
using: composite
5858
steps:
5959
- name: 💯 Check for EXPO_TOKEN
6060
run: |

.github/actions/setup-jdk-generate-apk/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ inputs:
2121
APP_ENV:
2222
description: 'APP_ENV (one of): development, staging, production'
2323
required: true
24-
default: 'staging'
24+
default: staging
2525

2626
runs:
27-
using: 'composite'
27+
using: composite
2828
steps:
2929
- name: Set Up JDK
3030
uses: actions/setup-java@v3
3131
with:
32-
distribution: 'zulu' # See 'Supported distributions' for available options
32+
distribution: zulu # See 'Supported distributions' for available options
3333
java-version: '17'
3434
- name: Setup Gradle
3535
uses: gradle/gradle-build-action@v2

.github/actions/setup-node-pnpm-install/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
name: 'Setup Node + PNPM + Install Dependencies'
1515
description: 'Setup Node + PNPM + Install Dependencies'
1616
runs:
17-
using: 'composite'
17+
using: composite
1818
steps:
1919
- uses: pnpm/action-setup@v4
2020
with:
2121
run_install: false
2222
- uses: actions/setup-node@v4
2323
with:
2424
node-version: 20
25-
cache: 'pnpm'
25+
cache: pnpm
2626

2727
- name: 📦 Install Project Dependencies
2828
run: pnpm install --frozen-lockfile

.github/workflows/e2e-android-eas-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
inputs:
1818
apk-url:
1919
type: string
20-
description: 'EAS APK URL'
20+
description: EAS APK URL
2121
required: true
2222
default: ''
2323

@@ -49,7 +49,7 @@ jobs:
4949
fetch-depth: 0
5050

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

5454
- name: Download Test APK
5555
uses: actions/download-artifact@v3

.github/workflows/e2e-android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
fetch-depth: 0
5858

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

6262
- name: Download Test APK
6363
uses: actions/download-artifact@v3

0 commit comments

Comments
 (0)