chore(dev): pin standalone ports + add dev:all script
Fixed-port assignments for each standalone vite dev server, with strictPort to fail loud if a port is taken (no silent +1 increment that would break the hub's hardcoded VITE_HUB_<NAME>_URL targets): hub 5173 (npm run dev) castle 5180 sortir 5181 (activities) wallet 5182 chat 5183 forum 5184 market 5185 tasks 5186 `npm run dev:all` boots the hub and all 7 standalones concurrently via the existing concurrently devDep. The hub's chakra tiles point at these ports via VITE_HUB_<NAME>_URL in .env.local for end-to-end local testing of the cross-subdomain auth relay. Pure dev infrastructure — no production behaviour change. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
96f691c891
commit
9a1e5e3994
8 changed files with 29 additions and 0 deletions
|
|
@ -30,6 +30,7 @@
|
|||
"dev:forum": "vite --host --config vite.forum.config.ts",
|
||||
"build:forum": "vue-tsc -b && vite build --config vite.forum.config.ts",
|
||||
"preview:forum": "vite preview --host --config vite.forum.config.ts",
|
||||
"dev:all": "concurrently -n hub,castle,sortir,wallet,chat,forum,market,tasks -c blue,magenta,cyan,yellow,green,blue,red,gray \"npm:dev\" \"npm:dev:castle\" \"npm:dev:activities\" \"npm:dev:wallet\" \"npm:dev:chat\" \"npm:dev:forum\" \"npm:dev:market\" \"npm:dev:tasks\"",
|
||||
"electron:dev": "concurrently \"vite --host\" \"electron-forge start\"",
|
||||
"electron:build": "vue-tsc -b && vite build && electron-builder",
|
||||
"electron:package": "electron-builder",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue