Thank you for your interest in contributing to noti-react! We welcome contributions from everyone.
- Fork the repository
- Clone your fork:
git clone https://github.com/ODudek/noti-react.git - Install dependencies:
npm install - Create a new branch for your feature:
git checkout -b feature/your-feature-name
# Install dependencies
npm install
# Start development server with Storybook
npm run dev
# Run tests
npm test
# Run linter
npm run lint
# Fix linting issues automatically
npm run lint:fix- Make your changes in the appropriate files
- Add or update tests as necessary
- Ensure all tests pass:
npm test - Ensure linting passes:
npm run lint - Build the project:
npm run transpile
- Use clear and meaningful commit messages
- Follow the format:
type(scope): descriptionfeat: A new featurefix: A bug fixdocs: Documentation only changesstyle: Changes that do not affect the meaning of the coderefactor: A code change that neither fixes a bug nor adds a featuretest: Adding missing tests or correcting existing testschore: Changes to the build process or auxiliary tools
- Update the README.md with details of changes if applicable
- Update the TypeScript definitions if you've changed the API
- Ensure your code follows the existing code style
- Make sure all tests pass
- Update documentation as needed
- Create a pull request with a clear title and description
- Use meaningful variable and function names
- Follow existing code formatting
- Add JSDoc comments for new public APIs
- Keep functions small and focused
- Write tests for new functionality
When reporting issues, please include:
- Description of the issue
- Steps to reproduce
- Expected behavior
- Actual behavior
- Browser/environment information
- Screenshots if applicable
If you have questions about contributing, feel free to:
- Open an issue with the "question" label
- Contact the maintainers
Thank you for contributing! 🎉