Commit c157638
authored
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
0 commit comments