chore: add pnpm install and build commands to vercel.json#4375
Open
faizkhairi wants to merge 2 commits intonusmodifications:masterfrom
Open
chore: add pnpm install and build commands to vercel.json#4375faizkhairi wants to merge 2 commits intonusmodifications:masterfrom
faizkhairi wants to merge 2 commits intonusmodifications:masterfrom
Conversation
Contributor
|
PR author is not in the allowed authors list. |
|
@faizkhairi is attempting to deploy a commit to the modsbot's projects Team on Vercel. A member of the Team first needs to authorize it. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4375 +/- ##
==========================================
+ Coverage 54.52% 56.39% +1.87%
==========================================
Files 274 308 +34
Lines 6076 6963 +887
Branches 1455 1680 +225
==========================================
+ Hits 3313 3927 +614
- Misses 2763 3036 +273 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
74333de to
e903ab9
Compare
Add installCommand and buildCommand to the existing vercel.json to configure pnpm as the package manager for Vercel builds, replacing the CRA defaults. Existing functions, headers, rewrites, redirects, and ignoreCommand are preserved unchanged.
e903ab9 to
0a70772
Compare
Vercel's auto-detection uses --frozen-lockfile by default. Explicit installCommand without it would regress that 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.
Summary
installCommandandbuildCommandto the existingwebsite/vercel.jsonto configure pnpm as the package manager for Vercel builds, replacing the CRA defaultsRelated Issue
Closes #4370
Test Plan