Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
afae79b
Customizable ports
N2D4 Oct 17, 2025
8a76453
Update
N2D4 Oct 17, 2025
4433317
fix types
N2D4 Oct 17, 2025
915252d
fix lint
N2D4 Oct 17, 2025
f4e3b9a
Merge branch 'dev' into customizable-ports
N2D4 Oct 17, 2025
eb5662c
Update title
N2D4 Oct 17, 2025
a20ccaa
fix tests
N2D4 Oct 17, 2025
8e880cc
more fixes
N2D4 Oct 17, 2025
4caefb1
more fixes
N2D4 Oct 17, 2025
0550e2f
fix
N2D4 Oct 17, 2025
60410a3
fix
N2D4 Oct 17, 2025
f441c50
better
N2D4 Oct 17, 2025
2c04b0a
fix
N2D4 Oct 17, 2025
abdad07
No more config twiddling
N2D4 Oct 17, 2025
faf2157
chore(docs): update TOC
N2D4 Oct 17, 2025
184e9e6
Rename envvar
N2D4 Oct 17, 2025
d6ed716
fixes
N2D4 Oct 17, 2025
7c4c8ba
Merge branch 'dev' into customizable-ports
N2D4 Oct 17, 2025
8400777
more
N2D4 Oct 17, 2025
5c2a55c
fixes
N2D4 Oct 17, 2025
51860cc
fixes
N2D4 Oct 17, 2025
3774341
fixes
N2D4 Oct 17, 2025
14eafbb
fix
N2D4 Oct 17, 2025
f1d479a
more test fixes
N2D4 Oct 17, 2025
30f5592
fix
N2D4 Oct 17, 2025
52c398d
fix
N2D4 Oct 17, 2025
7ccc830
fix wildcard domains test
N2D4 Oct 17, 2025
cab12f0
stuff
N2D4 Oct 17, 2025
434d1bf
fix emulator
N2D4 Oct 17, 2025
c796ebf
Customizable ports docs
N2D4 Oct 17, 2025
0f5c776
disable emulator workflow
N2D4 Oct 17, 2025
7c699a5
improve process names
N2D4 Oct 17, 2025
8e4574e
Merge dev into customizable-ports
N2D4 Oct 18, 2025
f42efeb
Merge dev into customizable-ports
N2D4 Oct 19, 2025
75c2595
Merge branch 'dev' into customizable-ports
N2D4 Oct 20, 2025
76ef55f
REmove ppr
N2D4 Oct 20, 2025
ba0ec30
Merge branch 'dev' into customizable-ports
N2D4 Oct 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Customizable ports docs
  • Loading branch information
N2D4 committed Oct 17, 2025
commit c796ebf733d1263c411ceb16d424ce8538156fc0
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.untracked
*.untracked.*
node-compile-cache/
.envrc


*.cpuprofile
Expand Down
1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"YoavBls.pretty-ts-errors",
"mxsdev.typescript-explorer",
"github.vscode-github-actions",
"fabiospampinato.vscode-highlight",
"Prisma.prisma"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
Expand Down
17 changes: 17 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,23 @@ For vibecoding, it can help to have multiple parallel copies of the codebase ope
}
```

This will work for Claude Code and everything that runs inside the integrated terminal, but it does not work with Cursor Agent or the Codex VSCode extension. To make it work for these, the recommendation is that instead you use `direnv` with a `.envrc` file:

```sh
# .envrc
# make sure to install direnv and add it to your shell rc file (e.g. ~/.bashrc or ~/.zshrc)
export NEXT_PUBLIC_STACK_PORT_PREFIX=181
```

And make sure that `direnv` works in non-interactive login shells, make sure you added it to your ~/.bash_profile as well as your ~/.bashrc:

```sh
# ~/.bash_profile, ~/.bashrc, ~/.zprofile, ~/.zshrc, ~/.zshenv, etc.
# note that different coding agents use a different shell in a different mode (login, non-login, interactive, non-interactive, etc.); from my experimentation, as of 2025-10-17 on a Mac, Cursor uses non-interactive zsh (requiring ~/.zshenv), whereas Codex uses a non-interactive login bash (requiring ~/.bash_profile). It's easiest to just add these lines of code to all of your shell configs.
eval "$(direnv hook <bash|zsh>)"
eval "$(direnv export <bash|zsh>)"
```

When you do this, it is recommended that you give all workspaces a port prefix other than 81, to prevent accidental conflicts when you forgot to make a feature support the $NEXT_PUBLIC_STACK_PORT_PREFIX environment variable. (for example: first workspace at 181, second workspace at 182, etc.)

## Before creating a pull request
Expand Down
Loading