Skip to content

Commit c157638

Browse files
chore: bump vercel CLI (tldraw#8769)
In order to fix dotcom deploys, this PR bumps the pinned `vercel` CLI from `^34.4.0` to `^52.0.0`. The Vercel deploy endpoint now rejects clients older than `47.2.2` with the error below, so deploys fail at the upload step. Latest stable is `53.1.1` but our `npmMinimalAgeGate: 7d` setting in `.yarnrc.yml` blocks anything younger than 7 days, so `52.0.0` is the highest currently installable. Verified all CLI surfaces used in `internal/scripts/deploy-dotcom.ts` still exist in v52: `vercel link --project`, `vercel deploy --prebuilt [--prod]`, `vercel alias set`, global `--token` / `--scope` / `--yes` flags, `VERCEL_ORG_ID` / `VERCEL_PROJECT_ID` env vars, and the `Inspect:` / `Preview:` / `Production:` stdout lines that `deploySpa()` regex-parses. ### Deploy error ``` Error: Your Vercel CLI version is outdated. This endpoint requires version 47.2.2 or later. Please upgrade by running npm i -g vercel@latest. ``` ### Change type - [x] `other` ### Test plan - [ ] Unit tests - [ ] End to end tests ### Code changes | Section | LOC change | | -------------- | --------------- | | Config/tooling | +1456 / -723 | (All churn is `yarn.lock` updates from the vercel dep bump; `package.json` is +1/-1.)
1 parent 23361b8 commit c157638

2 files changed

Lines changed: 1432 additions & 755 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"rimraf": "^4.4.1",
123123
"tsx": "^4.19.2",
124124
"typescript": "^5.8.3",
125-
"vercel": "^34.4.0",
125+
"vercel": "^52.0.0",
126126
"vite-plugin-circular-dependency": "^0.5.0",
127127
"vitest": "^3.2.4",
128128
"vitest-canvas-mock": "^1.1.3"

0 commit comments

Comments
 (0)