Commit 19d17ba
fix(deploy): fix Vercel deployments by upgrading Node and adding config (#1011)
* fix(deploy): fix Vercel deployments by upgrading Node and adding config
Vercel dropped Node 14 support, causing all Production and Preview
deployments to fail. Upgrades website engine to Node 18 and adds
vercel.json to explicitly configure the docs site build.
Closes #1006
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(deploy): move vercel.json to website/ and use Node 24
Moves vercel.json into website/ so Vercel reads the website's
package.json engines field instead of the root (which is for the
library). Sets Node engine to 24.x per Vercel deployment logs.
Requires setting Root Directory to "website/" in Vercel project
settings.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(deploy): add openssl-legacy-provider for Node 24 compatibility
VuePress 1.x's cache-loader uses md4 hashing which OpenSSL 3.0
(bundled with Node 24) rejects. Adding --openssl-legacy-provider
as suggested by Vercel's build logs.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 378412c commit 19d17ba
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments