Add Expo mobile client and dev:mobile workflow
- scaffold new `apps/mobile` Expo React Native app with Uniwind styling - add WebSocket transport/client and saved backend profile management for server connectivity - wire monorepo scripts/deps and document mobile development in README
This commit is contained in:
1 parent
206eb6a785
commit
0ea7755363
25 files changed
+2398
-43
No files matched your search
@@ -20,6 +20,7 @@ const MODE_ARGS = {
|
||||
"dev:server": ["run", "dev", "--filter=t3"],
|
||||
"dev:web": ["run", "dev", "--filter=@t3tools/web"],
|
||||
"dev:desktop": ["run", "dev", "--filter=@t3tools/desktop", "--filter=@t3tools/web", "--parallel"],
|
||||
"dev:mobile": ["run", "dev", "--filter=@t3tools/mobile", "--filter=t3", "--parallel"],
|
||||
};
|
||||
const FORWARDED_ENV_FLAGS = {
|
||||
"state-dir": { envName: "T3CODE_STATE_DIR", expectsValue: true },
|
||||
@@ -190,7 +191,7 @@ export function createDevRunnerEnv({ mode, env, offset, envOverrides }) {
|
||||
}
|
||||
output.VITE_WS_URL = `ws://localhost:${parsedServerPort}`;
|
||||
|
||||
if (mode === "dev" || mode === "dev:server" || mode === "dev:web") {
|
||||
if (mode === "dev" || mode === "dev:server" || mode === "dev:web" || mode === "dev:mobile") {
|
||||
// Running server/web in browser mode should not inherit desktop launcher state.
|
||||
output.T3CODE_MODE = "web";
|
||||
if (!("T3CODE_NO_BROWSER" in envOverrides)) {
|
||||
|
||||
Reference in new issue
Block a user