Skip to content

chore(docs-site): align homepage types and tsconfig with docusaurus 3.10#781

Merged
lcottercertinia merged 1 commit into
certinia:mainfrom
lukecotter:chore-docs-ts-ide
May 22, 2026
Merged

chore(docs-site): align homepage types and tsconfig with docusaurus 3.10#781
lcottercertinia merged 1 commit into
certinia:mainfrom
lukecotter:chore-docs-ts-ide

Conversation

@lukecotter
Copy link
Copy Markdown
Collaborator

Summary

Updates the docs-site TypeScript setup to match the current Docusaurus 3.10 template: switches the homepage feature component off the deprecated global JSX.Element and tightens tsconfig.json for editor type-checking.

Changes

  • Import ReactNode from react and use it in place of JSX.Element for FeatureItem.description and the HomepageFeatures return type (the global JSX namespace is gone in React 19 / TS 6).
  • Enable strict: true and ignoreDeprecations: "6.0" in lana-docs/tsconfig.json so IDE type-checking matches what the upstream template ships.
  • Exclude .docusaurus and build from the IDE TS project to avoid noise from generated output.
  • Refresh the leading comment to reflect that the config is IDE-only (not used by docusaurus start/build).

Test plan

  • pnpm --filter lana-docs typecheck
  • pnpm --filter lana-docs build
  • manual smoke of the homepage in pnpm --filter lana-docs start

@lcottercertinia lcottercertinia merged commit 4970649 into certinia:main May 22, 2026
5 checks passed
@lukecotter lukecotter deleted the chore-docs-ts-ide branch May 22, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants