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
- Improved error logging for dead code analysis failures, ensuring better visibility into issues.
- Maintained consistent return types for diagnostics in case of errors.
- 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.
- 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.
* 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
* Update React Doctor branding and README logo assets
* Match README health icon ring stroke to GitHub theme backgrounds
* Remove duplicate separator length constant