First off, thanks for taking the time to contribute! ❤️
This is a monorepo containing several packages:
packages/scan- Core React Scan packagepackages/vite-plugin-react-scan- Vite plugin for React Scanpackages/extension- VS Code extension
-
Clone and Install
git clone https://github.com/aidenybai/react-scan.git cd react-scan pnpm install -
Build all packages
pnpm build
-
Testing React Scan
cd packages/scan pnpm build:copy- This will build the package and then copy it to your clipboard as an IIFE (immedietely invoked function expression). This will allow you to paste it into the browser console to test it on any website
Screen-2025-05-14-023824.mp4
We use conventional commits to ensure consistent commit messages:
feat:New featuresfix:Bug fixesdocs:Documentation changeschore:Maintenance taskstest:Adding or updating testsrefactor:Code changes that neither fix bugs nor add features
Example: fix(scan): fix a typo
- Fork the repository
- Create your feature branch (
git checkout -b feat/amazing-feature) - Commit your changes using conventional commits
- Push to your branch
- Open a Pull Request
- Ask for reviews (@pivanov, @RobPruzan are your friends in this journey)
-
TypeScript
- All code must be written in TypeScript
- Ensure strict type checking passes
- No
anytypes unless absolutely necessary
-
Code Style
- We use Biome for formatting and linting
- Run
pnpm formatto format code - Run
pnpm lintto check for issues
-
Documentation
- Update relevant documentation
- Add JSDoc comments for public APIs
- Update README if needed
- Check existing issues
- Create a new issue
⚛️ Happy coding! 🚀