Commit 60cdc3c
Add portless for local-dev HTTPS subdomains (#799)
* Add portless for local-dev HTTPS subdomains
Replaces port-juggling on bun run dev:* with stable named URLs:
web at https://releases.localhost, workers at
https://{api,mcp,discovery}.releases.localhost. Each script wraps the
underlying tool with `portless <name>` and forwards the assigned PORT
to wrangler / next so the proxy can route to the ephemeral port.
* Add PORTLESS_NAME override and document portless dev setup
Switches dev:* scripts from the positional `portless <name>` form to
`portless run --name <name>`, which preserves worktree-prefix detection
per the CLI help. The name now expands `${PORTLESS_NAME:-releases}` so
a single env var swaps the base across all four services. AGENTS.md
gets a Local development section covering subdomains, worktrees, the
override, and the wrangler --port wiring.
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent efcb6af commit 60cdc3c
4 files changed
Lines changed: 25 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
22 | 30 | | |
23 | 31 | | |
24 | 32 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments