Thank you for considering contributing to ngxtension! We welcome your contributions to help make this Angular utilities library even better. Please take a moment to review this guide before getting started.
Before we start, please note that this project and its contributors are expected to follow the Angular Community Code of Conduct. Please be respectful and considerate when interacting with other contributors.
If you come across any issues or unexpected behavior, please help us by creating a new issue on the GitHub issue tracker. When reporting a bug, please include as much detail as possible, including:
- A clear and descriptive title.
- A detailed description of the problem.
- Steps to reproduce the issue.
If you have an idea for an enhancement or a new feature, please feel free to create an issue to discuss it with the community. When suggesting enhancements, provide:
- A clear and descriptive title.
- A detailed explanation of the proposed feature or enhancement.
To contribute code to ngxtension, follow these steps:
- Fork the repository on GitHub.
- Clone your fork locally:
git clone https://github.com/yourusername/ngxtension-platform.git
- Create a new branch for your changes:
git checkout -b feature/your-feature-name
- Make your changes and commit them with descriptive commit messages.
- Push your changes to your fork:
git push origin feature/your-feature-name
- Create a pull request (PR) from your branch to the
main
branch of thengxtension-platform
repository on GitHub. - Commit your changes following the Conventional Commits convention.
- Provide a clear title and description for your PR, explaining the purpose and scope of your changes.
- In order that your changes are also publicly visible on our website make sure that you also add docs to the respective category in
docs/src/content/docs/utilities
.
We will review your PR as soon as possible, and your contribution will be greatly appreciated!
Most likely, you'll need to create new secondary entry point to put the new utility in. To create entry point, use the following command:
pnpm exec nx g local-plugin:entry-point <name-of-your-utility> --library=ngxtension --skip-module
Try to cover your new contrib with some tests and make it pass running:
pnpm exec nx run ngxtension/<name-of-your-utility>:test
If you want to work on ngxtension locally or run tests, follow these steps:
- Clone the repository:
git clone https://github.com/nartc/ngxtension-platform.git
- Navigate to the project folder:
cd ngxtension-platform
- Install dependencies:
pnpm install
- Make your changes and run tests if applicable.
Join our community to discuss ideas, ask questions, or get help with any issues you encounter:
- GitHub Discussions: ngxtension Discussions
By contributing to ngxtension, you agree that your contributions will be licensed under the MIT License.