Commit d534208
authored
fix(template-generator): report correct dev port (3001) for tanstack-router (#1089)
The shared webPort formula in the README generator and the CLI
post-install note bucketed tanstack-router under 5173, but its
vite.config sets server.port: 3001. Every other place in the codebase
(vite configs, electrobun DEV_SERVER_PORT template, env-vars CORS/URL
logic) already treats tanstack-router as 3001, so both docs reported a
URL that didn't match the running dev server.
Remove tanstack-router from the 5173 bucket so it falls through to 3001.1 parent 40a8077 commit d534208
2 files changed
Lines changed: 4 additions & 6 deletions
File tree
- apps/cli/src/helpers/core
- packages/template-generator/src/processors
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | 130 | | |
132 | 131 | | |
133 | | - | |
134 | | - | |
| 132 | + | |
| 133 | + | |
135 | 134 | | |
136 | 135 | | |
137 | 136 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
171 | 170 | | |
172 | 171 | | |
173 | 172 | | |
174 | 173 | | |
175 | 174 | | |
176 | 175 | | |
177 | 176 | | |
178 | | - | |
179 | | - | |
| 177 | + | |
| 178 | + | |
180 | 179 | | |
181 | 180 | | |
182 | 181 | | |
| |||
0 commit comments