Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Upgrade ObjectStack to latest version
fix: add apps/docs/vercel.json to fix docs deployment build failure
Feb 27, 2026
There was a problem hiding this comment.
Pull request overview
Adds a Vercel project configuration specifically for the docs app (apps/docs) so the docs deployment no longer inherits the repo-root vercel.json (which is tailored for the API server and references scripts that don’t exist under apps/docs).
Changes:
- Added
apps/docs/vercel.jsonto override the root Vercel configuration for the docs project. - Docs Vercel config specifies
installCommandonly, relying on Next.js framework auto-detection for build behavior.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Vercel docs project (Root Directory =
apps/docs) was inheriting the rootvercel.json, causing the build command to resolvescripts/patch-console-plugin.cjsrelative toapps/docs/where it doesn't exist.Type of Change
Related Issues
Related to #242
Changes Made
apps/docs/vercel.jsonto override the root config for the docs Vercel projectinstallCommand; framework auto-detection handlesnext buildvercel.json(API server config withfunctions,rewrites,patch-console-plugin) remains unchangedTesting
npm test)npm run lint)npm run build)195 test files, 3817 tests passing. Docs
next buildgenerates all 282 static pages successfully.Screenshots
N/A
Checklist
Additional Notes
The root
vercel.jsonis for the API server deployment (Root Directory =/). Per Vercel docs, when a project's Root Directory is a subdirectory, avercel.jsonplaced there takes precedence over the repo root one. Without this file, the docs project was picking up the API build pipeline.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.