From 02e43f833f99907418b74be8406e7b8effe0cb96 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 23 Jul 2026 17:42:42 +0000 Subject: [PATCH 1/3] Add mise task to start the Expo Go dev server behind a reverse proxy Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01HCxHDoWDBHJ9GN3djVFkpw --- mise.toml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 mise.toml diff --git a/mise.toml b/mise.toml new file mode 100644 index 0000000..b01fa0d --- /dev/null +++ b/mise.toml @@ -0,0 +1,16 @@ +[tasks.expo] +description = "Start the Expo Go dev server for the mobile app; set EXPO_ENDPOINT to the public URL of your reverse proxy" +dir = "app" +run = """ +#!/usr/bin/env bash +set -euo pipefail +if [ -z "${EXPO_ENDPOINT:-}" ]; then + echo "EXPO_ENDPOINT is not set." >&2 + echo "Set it to the public URL your reverse proxy exposes, e.g.:" >&2 + echo " EXPO_ENDPOINT=https://expo.example.com mise run expo" >&2 + exit 1 +fi +# Expo CLI uses EXPO_PACKAGER_PROXY_URL in place of the LAN/localhost URL when +# building manifest and QR-code URLs, so Expo Go connects through the proxy. +EXPO_PACKAGER_PROXY_URL="$EXPO_ENDPOINT" npx expo start +""" From 4f74b8313f74b93a9126b9379cd717b4d9114cea Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 23 Jul 2026 17:45:13 +0000 Subject: [PATCH 2/3] Revert "Add mise task to start the Expo Go dev server behind a reverse proxy" This reverts commit 02e43f833f99907418b74be8406e7b8effe0cb96. --- mise.toml | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 mise.toml diff --git a/mise.toml b/mise.toml deleted file mode 100644 index b01fa0d..0000000 --- a/mise.toml +++ /dev/null @@ -1,16 +0,0 @@ -[tasks.expo] -description = "Start the Expo Go dev server for the mobile app; set EXPO_ENDPOINT to the public URL of your reverse proxy" -dir = "app" -run = """ -#!/usr/bin/env bash -set -euo pipefail -if [ -z "${EXPO_ENDPOINT:-}" ]; then - echo "EXPO_ENDPOINT is not set." >&2 - echo "Set it to the public URL your reverse proxy exposes, e.g.:" >&2 - echo " EXPO_ENDPOINT=https://expo.example.com mise run expo" >&2 - exit 1 -fi -# Expo CLI uses EXPO_PACKAGER_PROXY_URL in place of the LAN/localhost URL when -# building manifest and QR-code URLs, so Expo Go connects through the proxy. -EXPO_PACKAGER_PROXY_URL="$EXPO_ENDPOINT" npx expo start -""" From 962a613cc6a2724d2712c7fdbd590580ac09d812 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 23 Jul 2026 17:45:25 +0000 Subject: [PATCH 3/3] Add the Expo Go dev-server task to .mise.toml Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01HCxHDoWDBHJ9GN3djVFkpw --- .mise.toml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.mise.toml b/.mise.toml index 69e15f2..a002419 100644 --- a/.mise.toml +++ b/.mise.toml @@ -14,3 +14,20 @@ run = "ruff check ." [tasks.verify] description = "Lint then test" depends = ["lint", "test"] + +[tasks.expo] +description = "Start the Expo Go dev server for the mobile app; set EXPO_ENDPOINT to the public URL of your reverse proxy" +dir = "app" +run = """ +#!/usr/bin/env bash +set -euo pipefail +if [ -z "${EXPO_ENDPOINT:-}" ]; then + echo "EXPO_ENDPOINT is not set." >&2 + echo "Set it to the public URL your reverse proxy exposes, e.g.:" >&2 + echo " EXPO_ENDPOINT=https://expo.example.com mise run expo" >&2 + exit 1 +fi +# Expo CLI uses EXPO_PACKAGER_PROXY_URL in place of the LAN/localhost URL when +# building manifest and QR-code URLs, so Expo Go connects through the proxy. +EXPO_PACKAGER_PROXY_URL="$EXPO_ENDPOINT" npx expo start +"""