Thank you for considering contributing to Async Lib! 🙌 We welcome contributions that improve performance, add features, fix bugs, or enhance documentation and tests.
To contribute to this project, please follow the standard GitHub fork-and-pull workflow:
Start by forking the repository to your own GitHub account.
git clone https://github.com/YOUR_USERNAME/async-lib.git
cd async-libgit checkout -b feature/my-awesome-featureMake your changes in the appropriate files. Please follow the current coding style and conventions used in the codebase.
- For Salesforce metadata: follow Salesforce best practices
- For LWC components: follow the patterns in existing components
- For Apex classes: follow the service/selector/handler patterns
- For documentation: update relevant markdown files in
website/
If you're updating logic, add or update unit tests.
Before committing, ensure all tests pass:
npm test # Run LWC Jest tests
npm run lint # Run ESLint
npm run prettier:verify # Check code formattinggit add .
git commit -m "feat: add support for XYZ feature"
git push origin feature/my-awesome-featureUse conventional commit messages:
feat:- New featurefix:- Bug fixdocs:- Documentation changestest:- Adding or updating testschore:- Maintenance tasks
Open a Pull Request (PR) from your fork to the main branch of the original repository:
https://github.com/beyond-the-cloud-dev/async-lib
- Base:
main - Compare: your feature branch
Please include:
- Clear description of the changes
- Code examples if applicable
- Screenshots for UI changes
- Reference to related issues
Before submitting your PR, make sure you've:
- Written clear and concise commit messages
- Followed existing code style and naming conventions
- Added or updated relevant documentation (if applicable)
- Added or updated unit tests (if applicable)
- Verified that all existing tests pass (
npm test) - Run linting and formatting (
npm run lint,npm run prettier) - Updated the documentation site if needed
We welcome the following types of contributions:
- Async utilities and patterns
- New async features
- CI/CD improvements
- Test coverage improvements
- Fix typos or clarify existing docs
- Add new guides or examples
- Improve API documentation
- Add code snippets and best practices
- Use GitHub Issues to report bugs
- Include reproduction steps
- Provide error messages and logs
- Mention your Salesforce API version
- Use GitHub Issues to suggest features
- Describe the use case
- Explain why it would benefit the library
# Create scratch org for testing
sf org create scratch -f config/project-scratch-def.json -a dev
sf project deploy start -o dev
# Run tests
sf apex run test -o dev -l RunLocalTestsIf you have questions about contributing:
- Check existing Issues
- Create a new issue for questions
Thank you for helping make Async Lib better! 🚀