Add React Compiler report script

Reports which components and hooks React Compiler skipped optimizing, using
the Babel plugin's `logger` option and grouping the diagnostics by the
compiler's own ErrorCategory. Runs in the Lint workflow, where it writes the
report to the job summary. Always exits 0 - a metric, not a gate.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Tomek Zawadzki
2026-08-25 15:16:05 +02:00
parent f87fdd2ea2
commit c2e4317590
6 changed files with 229 additions and 2 deletions
+6
View File
@@ -1,5 +1,11 @@
# Tool Scripts
## react-compiler-report.ts
Reports which components and hooks React Compiler skipped optimizing, grouped by
the compiler's own diagnostic category. Run with `pnpm react-compiler:report`;
also runs in the Lint workflow, where it writes the report to the job summary.
## updateExtensions.sh
Updates the extensions in `/modules` with the current iOS/Android project changes.