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
-
Development Mode
# Run all packages in dev mode pnpm dev
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
any
types unless absolutely necessary
-
Code Style
- We use Biome for formatting and linting
- Run
pnpm format
to format code - Run
pnpm lint
to 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! 🚀