Backport of ui: fix Vercel build — explicit config, drop public flag, relax pnpm engine constraint into release/2.0.x - #23745
Merged
suresh-hashicorp merged 1 commit intoJul 18, 2026
Conversation
suresh-hashicorp
approved these changes
Jul 18, 2026
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.
Backport
This PR is auto-generated from #23743 to be assessed for backporting due to the inclusion of the label backport/2.0.
The below text is copied from the body of the original PR.
Description
Isolates the Vercel build fixes from #23707 into a standalone PR targeting
main.Three files changed, all under
ui/:ui/vercel.json$schemafor editor/validator support"public": trueflag (caused Vercel deploy errors)installCommand:pnpm install --no-frozen-lockfile—
--no-frozen-lockfileavoids install failures when Vercel's Node environmentproduces a different lockfile hash than the one committed
buildCommand:make dist-verceloutputDirectory:distui/package.jsonengines.pnpmfrom">= 10.*"to">= 9"so Vercel's bundledpnpm 9 satisfies the constraint without requiring a global install step
ui/README.md./vercel.jsonfor Vercel preview deployment configTesting & Reproduction steps
Vercel preview deployment on a branch should now complete without:
ERR_INVALID_ARG_TYPE/ unsupported config key errors (public)ERR_PNPM_FROZEN_LOCKFILEfailuresLinks
PR Checklist
Overview of commits