Skip to content

[lexical-website] Bug Fix: Fix type checking for lexical-website package#8371

Merged
etrepum merged 1 commit intofacebook:mainfrom
etrepum:claude/fix-website-type-checking-RuZEU
Apr 19, 2026
Merged

[lexical-website] Bug Fix: Fix type checking for lexical-website package#8371
etrepum merged 1 commit intofacebook:mainfrom
etrepum:claude/fix-website-type-checking-RuZEU

Conversation

@etrepum
Copy link
Copy Markdown
Collaborator

@etrepum etrepum commented Apr 19, 2026

Description

The root tsconfig.json excludes packages/lexical-website/** so neither pnpm run tsc nor pnpm run build-docs surfaced TypeScript errors there. Add a dedicated tsconfig.json that pulls in docusaurus.config.ts, the plugins/, src/, and libdefs, wire it into a new tsc-website script, and run it as part of ci-check and the website build. Fixes latent type errors in docusaurus.config.ts (sidebar grouping predicate, webpack resolve.alias typing, plugin module typing) and the package-docs plugin JSDoc.

Follow-up to #8369

Closes #8370

Test plan

Before

Types not checked

After

Types checked

…e sources in CI

The root tsconfig.json excludes packages/lexical-website/** so neither
pnpm run tsc nor pnpm run build-docs surfaced TypeScript errors there.
Add a dedicated tsconfig.json that pulls in docusaurus.config.ts, the
plugins/, src/, and libdefs, wire it into a new tsc-website script, and
run it as part of ci-check and the website build. Fixes latent type
errors in docusaurus.config.ts (sidebar grouping predicate, webpack
resolve.alias typing, plugin module typing) and the package-docs plugin
JSDoc.

https://claude.ai/code/session_015YiPnjXbo4Pehqi69PJbyc
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 19, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lexical Ready Ready Preview, Comment Apr 19, 2026 3:46am
lexical-playground Ready Ready Preview, Comment Apr 19, 2026 3:46am

Request Review

@etrepum etrepum added this pull request to the merge queue Apr 19, 2026
Merged via the queue into facebook:main with commit 9bcbed6 Apr 19, 2026
45 checks passed
@etrepum etrepum mentioned this pull request Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. extended-tests Run extended e2e tests on a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Type checking not running on docusaurus config

3 participants