Skip to content

Move docs to TypeScript 7 #1467

Description

@FelixTJDietrich

docs/ still pins typescript@6.0.3 while the root workspace is on 7.0.2.

The blocker is gone. This issue was filed because @docusaurus/tsconfig@3.10.1 set baseUrl, which TypeScript 7 removed, and our ignoreDeprecations: "6.0" hatch did not help. After #1479, docs/tsconfig.json no longer extends the Docusaurus config at all — it is standalone, with paths and no baseUrl.

Verified on main:

$ cd docs && ../node_modules/.bin/tsc --noEmit   # root tsc is 7.0.2
  exit=0

So docs already type-checks clean on TypeScript 7. All that remains is to stop pinning 6.

Scope

  • docs/package.json: typescript 6.0.3 → 7.0.2
  • Confirm pnpm run docs:lint still passes (it is typecheck + markdownlint-cli2, and it is the last leg of pnpm run check)
  • Check nothing else in docs/ consumes the TypeScript compiler API — Docusaurus itself does not type-check at build time

Done when

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPackage updates, version bumps, lock file changesdocssize:XSThis PR changes 0-9 lines, ignoring generated files.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions