Set APP_VARIANT=development in app startup scripts
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
"version": "0.1.60-rc.2",
|
"version": "0.1.60-rc.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "expo start",
|
"start": "APP_VARIANT=development expo start",
|
||||||
"reset-project": "node ./scripts/reset-project.js",
|
"reset-project": "node ./scripts/reset-project.js",
|
||||||
"build:workspace-deps": "npm run build --workspace=@getpaseo/highlight && npm run build --workspace=@getpaseo/expo-two-way-audio",
|
"build:workspace-deps": "npm run build --workspace=@getpaseo/highlight && npm run build --workspace=@getpaseo/expo-two-way-audio",
|
||||||
"eas-build-post-install": "npm run build:workspace-deps",
|
"eas-build-post-install": "npm run build:workspace-deps",
|
||||||
|
|||||||
@@ -54,6 +54,7 @@ npm run build --workspace=@getpaseo/relay
|
|||||||
$env:PASEO_CORS_ORIGINS = "*"
|
$env:PASEO_CORS_ORIGINS = "*"
|
||||||
|
|
||||||
# Configure the app to auto-connect to this daemon on localhost
|
# Configure the app to auto-connect to this daemon on localhost
|
||||||
|
$env:APP_VARIANT = "development"
|
||||||
$env:EXPO_PUBLIC_LOCAL_DAEMON = "localhost:6767"
|
$env:EXPO_PUBLIC_LOCAL_DAEMON = "localhost:6767"
|
||||||
$env:BROWSER = "none"
|
$env:BROWSER = "none"
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -51,4 +51,4 @@ concurrently \
|
|||||||
--names "daemon,metro" \
|
--names "daemon,metro" \
|
||||||
--prefix-colors "cyan,magenta" \
|
--prefix-colors "cyan,magenta" \
|
||||||
"portless run --name daemon sh -c 'PASEO_LISTEN=0.0.0.0:\$PORT exec npm run dev:server'" \
|
"portless run --name daemon sh -c 'PASEO_LISTEN=0.0.0.0:\$PORT exec npm run dev:server'" \
|
||||||
"cd packages/app && BROWSER=none EXPO_PUBLIC_LOCAL_DAEMON='${DAEMON_ENDPOINT}' portless run --name app npx expo start"
|
"cd packages/app && BROWSER=none APP_VARIANT=development EXPO_PUBLIC_LOCAL_DAEMON='${DAEMON_ENDPOINT}' portless run --name app npx expo start"
|
||||||
|
|||||||
Reference in New Issue
Block a user