Repository navigation
chore(website): prepare for TypeScript 7 and tune Renovate - #1829
Merged
Merged
Conversation
TypeScript 7 removes the baseUrl option. @docusaurus/tsconfig still sets it, so unset the inherited value and redeclare the @site/* path relative to the site. Drop ignoreDeprecations, which only hid the baseUrl deprecation. The config typechecks on both TS 6 and TS 7. Typecheck the site in the user-docs CI job. The Docusaurus build never runs tsc, so until now only Vercel's advisory check caught this class of break. Pin the Node engine to 24.x to match CI and silence Vercel's warning about auto-upgrading on a new Node major. Pin the @docusaurus/* packages to an exact version. They are meant to run in lockstep, and caret ranges let a lockfile regeneration drift them apart. For website dependencies, bump package.json ranges so every update shows in the diff instead of only in the lockfile, replace (not bump) the engines range, and let majors land in their own PR rather than holding up routine updates. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
danbarr
force-pushed
the
chore/website-ts7-renovate
branch
from
September 23, 2026 21:28
8c25026 to
10b6bd9
Compare
ChrisJBurns
approved these changes
Sep 23, 2026
Merged
2 tasks
This branch was successfully deployed
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.
Summary
Unblocks the TypeScript 7 bump in #1825 and tunes Renovate for
website/based on what that PR surfaced.baseUrl, which both ourtsconfig.jsonand@docusaurus/tsconfigset. The site config now unsets the inherited value and redeclares@site/*relative towebsite/. It also dropsignoreDeprecations: "6.0", which was only hiding thebaseUrldeprecation. The config typechecks on both TS 6.0.3 and TS 7.0.2, so this can land ahead of chore(deps): update website #1825.User docs (Docusaurus build)job now runsnpm run typecheckbefore the build. Docusaurus never runstsc, so until now only Vercel's advisory check caught this kind of break.engines.nodefrom>=24.0to24.x, matching CI's Node 24 and silencing Vercel's warning about auto-upgrading on a new Node major.@docusaurus/*packages are now exact (3.10.2) instead of^3.10.2. They are meant to run in lockstep, and caret ranges let a lockfile regeneration drift them apart. WithrangeStrategy: "bump", Renovate keeps them exact and moves them together in the website group.rangeStrategy: "bump", so every update shows up inpackage.json. In chore(deps): update website #1825, five of the six listed bumps changed only the lockfile, because the npm default leaves in-range caret specs alone.rangeStrategy: "replace"forengines, so the24.xpin moves to the next major instead of being bumped within it.separateMajorMinor: false, so majors get their own PR and a major needing config work no longer holds up routine updates.Test plan
renovate-config-validator --strict renovate.jsonnpm ci && npm run typecheck && npm run buildinwebsite/on this branch (TS 6.0.3)npm run typecheckwith this tsconfig on the chore(deps): update website #1825 branch (TS 7.0.2): zero errors, down from TS5102actionlint .github/workflows/ci.yml🤖 Generated with Claude Code