fix(vercel): install devDependencies during build

Vercel sets NODE_ENV=production with custom installCommand, so devDeps
(typescript, vite) were skipped. Build worked accidentally because
@vercel/node hoisted typescript transitively; v5.7.15 no longer does,
breaking `tsc -b`. Add --include=dev so the build picks up devDeps
explicitly.
@
This commit is contained in:
Gergo Magyar 2026-05-10 10:02:11 +01:00
parent 9aacc2d9c2
commit a61d2aec91

View file

@ -1,3 +1,3 @@
{
"installCommand": "cd ../gitnexus-shared && npm install && npm run build && cd ../gitnexus-web && npm install"
"installCommand": "cd ../gitnexus-shared && npm install --include=dev && npm run build && cd ../gitnexus-web && npm install --include=dev"
}