Thank you for your interest in contributing to Confirmly-Popup! This document provides guidelines and instructions for contributing to the project.
- Fork and clone the repository:
git clone https://github.com/yourusername/confirmly-popup.git
cd confirmly-popup
- Install dependencies:
npm install
- Start development:
npm run watch
- Run linting and formatting:
npm run lint
npm run format
- Follow TypeScript best practices
- Use ESLint and Prettier for code formatting
- Write meaningful commit messages following conventional commits
- Add JSDoc comments for public APIs
- Maintain type safety with TypeScript
- Add test cases for new features
- Ensure existing tests pass
- Test across different browsers
- Check mobile responsiveness
- Update README.md for new features
- Add JSDoc comments for new methods
- Update example files if needed
- Keep CHANGELOG.md up to date
- Create a new branch for your feature:
git checkout -b feature/your-feature-name
- Make your changes and commit:
git add .
git commit -m "feat: add your feature"
- Push to your fork:
git push origin feature/your-feature-name
- Create a Pull Request:
- Go to the original repository
- Click "New Pull Request"
- Select your branch
- Fill in the PR template
- Describe the changes clearly
- Reference any related issues
- Update documentation if needed
- Pass all CI checks
- Follow code style guidelines
- Include tests if applicable
- Maintainers will review your PR
- Address any requested changes
- Once approved, your PR will be merged
Feel free to open an issue for any questions or concerns.
By contributing, you agree that your contributions will be licensed under the MIT License.