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:
@@ -62,6 +62,7 @@
|
||||
"lint": "oxlint --quiet src modules",
|
||||
"lint-native": "swiftlint ./modules && ktlint ./modules",
|
||||
"lint-native:fix": "swiftlint --fix ./modules && ktlint --format ./modules",
|
||||
"react-compiler:report": "node --disable-warning=MODULE_TYPELESS_PACKAGE_JSON scripts/react-compiler-report.ts",
|
||||
"lexicons:generate": "lex build --clear --index-file --import-ext ''",
|
||||
"lexicons:install": "lex install",
|
||||
"lexicons:update": "lex install --update",
|
||||
|
||||
Reference in New Issue
Block a user