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
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
EXPO_PUBLIC_BASE_URL=https://demo.start-ui.com

# OPTIONAL TO OVERRIDE
# EXPO_PUBLIC_API_URL=https://demo.start-ui.com/api/rest
# EXPO_PUBLIC_AUTH_URL=https://demo.start-ui.com/api/auth
# EXPO_PUBLIC_OPENAPI_URL=https://demo.start-ui.com/api/openapi/app/schema
2 changes: 1 addition & 1 deletion .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 🔎 Code Quality

env:
EXPO_PUBLIC_API_URL: ${{ vars.API_URL }}
EXPO_PUBLIC_BASE_URL: ${{ vars.API_URL || 'https://demo.start-ui.com' }}
EXPO_PUBLIC_AUTH_URL: ${{ vars.AUTH_URL }}
EXPO_PUBLIC_OPENAPI_URL: ${{ vars.OPENAPI_URL }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/eas-build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 🔨 EAS build

env:
EXPO_PUBLIC_API_URL: ${{ vars.API_URL }}
EXPO_PUBLIC_BASE_URL: ${{ vars.API_URL }}
EXPO_PUBLIC_AUTH_URL: ${{ vars.AUTH_URL }}
EXPO_PUBLIC_OPENAPI_URL: ${{ vars.OPENAPI_URL }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/eas-development-build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 🔨 EAS Development build

env:
EXPO_PUBLIC_API_URL: ${{ vars.API_URL }}
EXPO_PUBLIC_BASE_URL: ${{ vars.API_URL }}
EXPO_PUBLIC_AUTH_URL: ${{ vars.AUTH_URL }}
EXPO_PUBLIC_OPENAPI_URL: ${{ vars.OPENAPI_URL }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/eas-preview.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 📱 EAS Preview

env:
EXPO_PUBLIC_API_URL: ${{ vars.API_URL }}
EXPO_PUBLIC_BASE_URL: ${{ vars.API_URL }}
EXPO_PUBLIC_AUTH_URL: ${{ vars.AUTH_URL }}
EXPO_PUBLIC_OPENAPI_URL: ${{ vars.OPENAPI_URL }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/eas-update.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 🚀 EAS update

env:
EXPO_PUBLIC_API_URL: ${{ vars.API_URL }}
EXPO_PUBLIC_BASE_URL: ${{ vars.API_URL }}
EXPO_PUBLIC_AUTH_URL: ${{ vars.AUTH_URL }}
EXPO_PUBLIC_OPENAPI_URL: ${{ vars.OPENAPI_URL }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-production.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 🚀 Release Production

env:
EXPO_PUBLIC_API_URL: ${{ vars.API_URL }}
EXPO_PUBLIC_BASE_URL: ${{ vars.API_URL }}
EXPO_PUBLIC_AUTH_URL: ${{ vars.AUTH_URL }}
EXPO_PUBLIC_OPENAPI_URL: ${{ vars.OPENAPI_URL }}

Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ android/
ios/

# hey-api
src/lib/hey-api/generated/*
openapi-ts-error-*.log

.tanstack
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.expo
.vscode
src/lib/hey-api/generated/
uniwind-types.d.ts
node_modules
package.json
package-lock.json
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"version": "1.0.0",
"type": "module",
"scripts": {
"prepare": "pnpm gen:api && lefthook install",
"prepare": "lefthook install",
"prebuild": "expo prebuild",
"start": "expo start",
"dev": "expo start --go",
"dev": "pnpm gen:api && expo start --go",
"dev:build:android": "APP_ENV=development expo prebuild --clean && expo run:android",
"dev:build:ios": "APP_ENV=development expo prebuild --clean && expo run:ios",
"dev:storybook": "APP_ENV=storybook expo start --go --port 8083",
Expand All @@ -21,7 +21,7 @@
"lint:eslint": "eslint ./src --fix",
"lint:ts": "tsc --noEmit",
"pretty": "prettier -w .",
"gen:api": "dotenv -- npx @hey-api/openapi-ts -f ./src/lib/hey-api/config.ts",
"gen:api": "dotenv -- pnpm exec openapi-ts -f ./src/lib/hey-api/config.ts",
"gen:icons": "svgr --config-file src/components/icons/svgr.config.cjs src/components/icons/svg-sources && prettier -w src/components/icons/generated",
"android": "expo run:android",
"ios": "expo run:ios"
Expand All @@ -38,6 +38,7 @@
"@rn-primitives/avatar": "1.2.0",
"@rn-primitives/slot": "1.2.0",
"@shopify/flash-list": "2.0.2",
"@t3-oss/env-core": "0.13.11",
"@tanstack/eslint-plugin-query": "5.91.4",
"@tanstack/react-form": "1.28.4",
"@tanstack/react-query": "5.90.21",
Expand Down Expand Up @@ -90,7 +91,7 @@
"@eslint-react/eslint-plugin": "2.13.0",
"@eslint/js": "9.39.4",
"@gorhom/bottom-sheet": "5.2.14",
"@hey-api/openapi-ts": "0.94.0",
"@hey-api/openapi-ts": "0.98.2",
"@react-native-community/datetimepicker": "9.1.0",
"@react-native-community/slider": "5.2.0",
"@storybook/addon-ondevice-actions": "10.4.1",
Expand Down
Loading
Loading