Skip to content

Conversation

@seaerchin
Copy link
Contributor

@seaerchin seaerchin commented Dec 1, 2025

fix: add vercel.json

Problem

The Vercel deployment for the apps/web application was failing because the platform uses the wrong command to deploy to vercel.

Solution

Added a vercel.json configuration file at apps/web/vercel.json to specify the custom build command for Vercel deployments.

Bug Fixes:

  • Added vercel.json with custom buildCommand that uses turbo vercel-build to properly build the application in the monorepo context
  • Configured the schema reference for proper IDE support and validation

Technical Details

The vercel.json file includes:

  • Schema reference for Vercel configuration validation
  • Custom build command: turbo vercel-build which ensures Turborepo orchestrates the build correctly

Tests

To verify this fix:

  1. Deploy the branch to Vercel
  2. Confirm that the build process completes successfully
  3. Verify that the deployed application works as expected

Deploy Notes

New dependencies:

  • None - this only adds a configuration file

Configuration changes:

  • Added apps/web/vercel.json with custom build command for Vercel deployments

@vercel
Copy link

vercel bot commented Dec 1, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
starter-kit Ready Ready Preview Comment Dec 2, 2025 8:00am
starter-kit-web Error Error Dec 2, 2025 8:00am

@seaerchin seaerchin marked this pull request as ready for review December 1, 2025 09:40
Copy link
Collaborator

@karrui karrui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, but i think prisma 7 upgrade broke something. Can fix in another PR?

@seaerchin
Copy link
Contributor Author

Lgtm, but i think prisma 7 upgrade broke something. Can fix in another PR?

fixed here

we need to have this to sepcify the build command so that the app can
build properly.

this should also be situated at the root dir, which is apps/web in this
case
@seaerchin seaerchin force-pushed the fix/vercel-deployment branch from c150d05 to 34f057c Compare December 2, 2025 07:59
@seaerchin seaerchin removed the request for review from aakashgupta0205 December 2, 2025 07:59
@seaerchin seaerchin merged commit 993c695 into main Dec 3, 2025
14 of 15 checks passed
@seaerchin seaerchin deleted the fix/vercel-deployment branch December 3, 2025 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants