Commit Graph

1865 Commits

Author SHA1 Message Date
Aiden Bai 8bfc0ae32c fix 2026-02-18 03:27:11 -08:00
Aiden Bai 620dafb809 fix 2026-02-17 22:05:43 -08:00
Aiden Bai 007fc3b257 0.0.18 2026-02-17 21:39:54 -08:00
Aiden Bai 007f7557ea fix 2026-02-17 21:12:05 -08:00
Oliver Montes 64d837bd8c fix: add typescript as dependency to resolve knip peer dep (#17)
knip requires typescript >=5.0.4 as a peer dependency for its Astro
plugin. When react-doctor is executed via npx or pnpm dlx, the isolated
environment does not have access to the host project's node_modules,
causing ERR_MODULE_NOT_FOUND for typescript.

Adding typescript explicitly as a dependency ensures it is always
available when react-doctor is installed.

Fixes: ERR_MODULE_NOT_FOUND: Cannot find package 'typescript' imported
from knip/dist/plugins/astro/resolveFromAST.js
2026-02-17 12:11:49 -08:00
Aiden Bai 116d6cd750 fix 2026-02-17 12:09:39 -08:00
Aiden Bai 5c2119b140 Enhance error handling in dead code detection for react-doctor
- Improved error logging for dead code analysis failures, ensuring better visibility into issues.
- Maintained consistent return types for diagnostics in case of errors.
2026-02-17 11:54:40 -08:00
Aiden Bai 4bb1b0ec12 fix 2026-02-17 11:44:51 -08:00
Aiden Bai 06fb14e77f Improve error handling in linting and dead code analysis in react-doctor
- Updated error handling to log messages when linting or dead code analysis fails, providing better debugging information.
- Refactored empty diagnostics handling to ensure consistent return types.
2026-02-17 11:43:04 -08:00
Aiden Bai 595ca558e6 Remove video package from main branch
Video content has been preserved on the `video` branch.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 11:03:40 -08:00
Aiden Bai df3fab49a1 fix 2026-02-17 11:00:52 -08:00
Aiden Bai bdb0035594 0.0.15 2026-02-17 10:58:55 -08:00
Aiden Bai e8cfef0c90 Update react-doctor package configuration and documentation
- Added type definitions and default entry points for the react-doctor-plugin in package.json.
- Enhanced README with programmatic usage examples for the diagnose function and detailed diagnostic interface.
- Updated tsdown configuration to include the react-doctor-plugin entry point.
2026-02-17 10:57:17 -08:00
Aiden Bai 14106508a6 Update package.json and constants for react-doctor
- Added homepage and bugs fields to package.json for better project visibility.
- Introduced new constants for React Native deprecated modules and legacy Expo package replacements in constants.ts.
- Updated index.ts to include new rules for React Native diagnostics.
2026-02-17 10:54:59 -08:00
Aiden Bai 90ffa0acf7 llms.txt 2026-02-17 10:46:33 -08:00
Aiden Bai 34d1c5b79c 0.0.13 2026-02-17 10:23:45 -08:00
Aiden Bai 3ac4f32a8f 0.0.13 2026-02-17 10:01:52 -08:00
Ben MacLaurin e218d63cf9 Format leaderboard files to satisfy format check 2026-02-17 18:01:01 +00:00
Aiden Bai b17aa6b8ee 0.0.13 2026-02-17 09:57:48 -08:00
Aiden Bai 0b8b2cb9a5 fix 2026-02-17 09:57:10 -08:00
Ben MacLaurin 67bad8f494 Set twitter image to brand banner (#14) 2026-02-17 17:57:00 +00:00
Aiden Bai e1ef01f039 fix 2026-02-17 09:46:09 -08:00
Ben MacLaurin 5fc130d8f8 Fix favicon badge ring cutout (#12)
* Fix favicon badge ring cutout

* Update React Doctor branding assets and README theme-aware logo (#11)

* Update React Doctor branding and README logo assets

* Match README health icon ring stroke to GitHub theme backgrounds

* Remove duplicate separator length constant

* Update brand icon with cutout badge ring

* Restore doctor face rendering in website score views
2026-02-17 17:43:14 +00:00
Aiden Bai 2e191f8c8c fix 2026-02-17 09:38:21 -08:00
Aiden Bai 02eee03980 fix 2026-02-17 09:35:56 -08:00
Ben MacLaurin 28d820a87c Revert "Update React Doctor branding assets and README theme-aware logo (#11)"
This reverts commit 2d2f779ea4.
2026-02-17 17:28:41 +00:00
Ben MacLaurin 2d2f779ea4 Update React Doctor branding assets and README theme-aware logo (#11)
* Update React Doctor branding and README logo assets

* Match README health icon ring stroke to GitHub theme backgrounds

* Remove duplicate separator length constant
2026-02-17 17:27:06 +00:00
Aiden Bai ac31586d7e fix 2026-02-17 09:15:17 -08:00
Aiden Bai 990592ac69 fix 2026-02-17 08:46:36 -08:00
Aiden Bai b2006899d6 fix 2026-02-17 08:29:41 -08:00
Aiden Bai 4519747e46 fix 2026-02-17 08:20:00 -08:00
Aiden Bai 7f0b4d26fe fix 2026-02-17 08:02:58 -08:00
Aiden Bai 6d1ae5e6d9 fix 2026-02-17 07:53:02 -08:00
Aiden Bai 5688c1f69d fix 2026-02-17 07:52:05 -08:00
Aiden Bai 6dd481a249 fix 2026-02-17 07:47:57 -08:00
Aiden Bai ce8437eeb1 Update README.md 2026-02-17 07:44:46 -08:00
Aiden Bai 358750a93d fix 2026-02-17 07:42:05 -08:00
Aiden Bai db319d01b3 fix 2026-02-17 07:36:41 -08:00
Aiden Bai e5ef9347e1 0.0.10 2026-02-17 07:33:54 -08:00
Aiden Bai b54b842fc7 fix 2026-02-17 07:19:29 -08:00
Aiden Bai c208ca7157 fix 2026-02-17 07:12:43 -08:00
Aiden Bai 845ec1703d fix 2026-02-17 07:11:21 -08:00
Aiden Bai b0130a30e7 fix 2026-02-17 06:50:53 -08:00
Ben MacLaurin a66c9775d3 Move video overlays to bottom gradient and darken (#9) 2026-02-17 14:15:25 +00:00
Aiden Bai 8a8d0e16b2 fix 2026-02-17 06:08:43 -08:00
Aiden Bai 9c80072c57 fix 2026-02-17 06:00:52 -08:00
Ben MacLaurin 1ae60945cb Improve --prompt clipboard output for agent fixes (#2)
* feat: copy verbose diagnostics output to clipboard prompt

* refactor: rename prompt copy helpers and update prompt docs

* feat: copy verbose diagnostics output to clipboard prompt

* refactor: rename prompt copy helpers and update prompt docs
2026-02-17 13:53:17 +00:00
Ben MacLaurin 8894a542aa feat(cli): frame summary footer output (#7)
* feat(cli): frame summary footer output

* style(cli): dim summary frame border
2026-02-17 13:50:50 +00:00
Ben MacLaurin c55edc9017 fix(cli): add severity icons to summary counts (#6) 2026-02-17 13:19:01 +00:00
Ben MacLaurin 00f21ecfd4 fix(cli): color diagnostic counts by severity (#5) 2026-02-17 13:09:22 +00:00