Contributions to Ignite-Element are welcome and encouraged! Whether you're fixing bugs, adding new features, or improving documentation, your efforts help improve Ignite-Element for everyone.
-
Fork the Repository
Start by forking the Ignite-Element repository to your GitHub account. -
Clone Your Fork
Clone your fork to your local machine:git clone https://github.com/<your-username>/ignite-element.git cd ignite-element
-
Install Dependencies
Install the required dependencies:pnpm install -
Run Examples
Examples for XState, Redux, and MobX are located in thesrc/examplesdirectory. To start the server for each example, use the following commands:-
XState:
pnpm run examples:xstate -
Redux:
pnpm run examples:redux -
MobX:
pnpm run examples:mobx
-
-
Create a Feature Branch
Create a new branch for your feature or bug fix:git checkout -b feature/my-new-feature -
Write Clear Commits
Commit your changes with clear and descriptive commit messages that follow the Conventional Commits specification. This helps maintain a clean commit history and automates release notes. For example:feat: add new decorator for isolated componentsfix: correct rendering logic for shared componentsdocs: update contributing guidelines
Commit your changes:
git commit -m "feat: add new feature for tab navigation" -
Write Tests
Ensure tests cover your changes. We maintain an acceptable code coverage of 80% or higher, and tests are in place for most of the codebase:pnpm test -
Push Your Changes
Push your branch to your forked repository:git push origin feature/my-new-feature -
Open a Pull Request
Go to the original Ignite-Element repository and open a pull request. Include a clear description of your changes and any relevant issue numbers.
Follow the existing code style and conventions. Use the following command to check for linting errors:
pnpm run lint
Add or update tests for your changes. Run the test suite locally to ensure all tests pass:
pnpm test
Maintain a minimum of 80% test coverage for all contributions. Run the coverage report:
pnpm run test:coverage
Update documentation for new features or changes to existing functionality.
Keep commits small and focused. Group related changes together.
Sync your fork with the main repository regularly:
git checkout main
git pull upstream main
git push origin main-
Report Bugs
Found a bug? Open an issue with detailed steps to reproduce the problem. -
Suggest Features
Have an idea for a new feature? Share it by opening an issue or starting a discussion. -
Fix Issues
Browse open issues to find something you'd like to work on. -
Improve Documentation
Help keep the documentation clear, concise, and up-to-date. -
Write Tests
Add or improve tests to ensure code reliability and meet the coverage standard.
Your contributions help Ignite-Element grow and improve. We're grateful for your time and effort!