chore(website): target Node.js 24, add vercel.json +semver: none - #256
Merged
Conversation
- .nvmrc 20 -> 24 - package.json engines.node "24.x", which is what Vercel reads to pin the build image Node version (vercel.json has no node version property) - vercel.json documents the build command and output directory in-repo Verified: `yarn build` succeeds on Node v24.15.0. Dependencies are already at their latest versions (Docusaurus 3.10.2), so no bumps were needed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…er: none Collapses four stale caniuse-lite lockfile entries into 1.0.30001809, silencing the "browsers data is 21 months old" build warnings. No target browser changes and package.json is untouched. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Bumps the website toolchain to Node.js 24 and pins it where Vercel actually reads it.
Node.js 24
website/.nvmrc20→24(local dev parity)website/package.json"engines": { "node": "24.x" }engines.nodeis the part that matters for the deployment: Vercel reads the Node version from Project Settings, overridden byengines.nodeinpackage.json. It does not read.nvmrc. Per the current docs, 24.x is now Vercel's default (20.x and 22.x are the other options), so this aligns with the platform default rather than fighting it.vercel.json
New
website/vercel.json, documenting the build in-repo:{ "$schema": "https://openapi.vercel.sh/vercel.json", "buildCommand": "yarn build", "outputDirectory": "build" }Both values match what Vercel already does by auto-detection, so this is a no-op that just makes the settings reviewable.
frameworkis deliberately omitted — the exact Docusaurus slug isn't in the docs and auto-detection already handles it. Note there is no Node version property invercel.json; that is why the pin lives inpackage.json.Dependency bumps: none needed
@docusaurus/*is already at 3.10.2, which is the latest release.yarn outdatedonly flaggedreact/react-dom19.2.0 → 19.2.8, already inside the existing^19.2.0range — left to dependabot.The second commit refreshes
caniuse-litevianpx update-browserslist-db@latest, collapsing four stale lockfile entries into1.0.30001809. It reported No target browser changes, andpackage.jsonis untouched.Verification
yarn buildsucceeds on Node v24.15.0caniuse-lite is 21 months oldandbaseline-browser-mappingnotices are gone)yarn install --frozen-lockfile— what Vercel runs — reportsAlready up-to-date, so the lockfile and manifest are consistentCI does not build the website, so the Vercel preview deploy on this PR is the real check.
🤖 Generated with Claude Code