feat: add dev-runner script with tailscale-auth mode

Replace inline env vars in package.json dev scripts with a dedicated
node script that supports --tailscale-auth for private-network dev.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Forgotten
2026-02-23 16:08:17 -06:00
parent d2d927bd2f
commit 7f58e783dd
3 changed files with 70 additions and 2 deletions

View File

@@ -29,6 +29,14 @@ This starts:
- API server: `http://localhost:3100`
- UI: served by the API server in dev middleware mode (same origin as API)
Tailscale/private-auth dev mode:
```sh
pnpm dev --tailscale-auth
```
This runs dev as `authenticated/private` and binds the server to `0.0.0.0` for private-network access.
## One-Command Local Run
For a first-time local install, you can bootstrap and run in one command: