ui: fix Vercel build — explicit config, drop public flag, relax pnpm engine constraint - #23743
Conversation
97ac3fa to
1e6eccc
Compare
…engine constraint - Add $schema, installCommand (pnpm install --no-frozen-lockfile), buildCommand (make dist-vercel), and outputDirectory to ui/vercel.json - Remove unsupported 'public' flag from ui/vercel.json - Relax engines.pnpm constraint from '>= 10.*' to '>= 9' in ui/package.json so Vercel's bundled pnpm 9 can satisfy it during install - Document workspace Vercel config location in ui/README.md Backport of changes from #23707.
3fe020e to
c66a1aa
Compare
|
📣 Hi @suresh-hashicorp! a backport is missing for this PR [23743] for versions [1.21,1.22,2.0] please perform the backport manually and add the following snippet to your backport PR description: |
|
📣 Hi @suresh-hashicorp! a backport is missing for this PR [23743] for versions [1.21,1.22] please perform the backport manually and add the following snippet to your backport PR description: |
2 similar comments
|
📣 Hi @suresh-hashicorp! a backport is missing for this PR [23743] for versions [1.21,1.22] please perform the backport manually and add the following snippet to your backport PR description: |
|
📣 Hi @suresh-hashicorp! a backport is missing for this PR [23743] for versions [1.21,1.22] please perform the backport manually and add the following snippet to your backport PR description: |
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