Thank you for your interest in contributing to the this project! By contributing, you can help improve the package, fix bugs, add new features, and ensure its overall quality. This document will guide you through the process of contributing to the project.
- Getting Started
- Setting Up the Development Environment
- Testing
- Making Changes
- Submitting a Pull Request
- Code of Conduct
- License
Before contributing to this project please read all of the instruction below.
Before you start contributing to the NestJS package, you need to have the following software installed on your system:
- Node.js (LTS version)
- npm (Node Package Manager)
To contribute, you'll first need to fork the official repository to your GitHub account. You can do this by clicking the "Fork" button at the top right corner of the repository page.
After forking the repository, you can clone it to your local development environment using the following command:
git clone https://github.com/jiangtaste/nestjs-resend.git
Navigate to the cloned repository and install the project dependencies:
cd nestjs-resend
npm install
To build the package and ensure everything is set up correctly, use the following command:
npm run build
The NestJS package comes with a test suite to ensure the functionality is working as expected. Run the unit tests using the following command:
npm run test
Before making any changes, create a new branch in your local repository. It is a good practice to name your branch appropriately, reflecting the changes you intend to make.
git checkout -b feature/new-feature
Follow these guidelines when making commits:
- Use clear and descriptive commit messages.
- Use present tense in commit messages (e.g., "Add new feature" instead of "Added new feature").
- Keep commits focused and atomic.
Once you've made the necessary changes, pushed them to your forked repository, and are satisfied with your contributions, you can submit a pull request to the main repository. Follow these steps:
- Go to the original repository on GitHub.
- Click on "Pull Requests" and then "New Pull Request."
- Choose the branch you've made the changes on (e.g.,
feature/new-feature
). - Add a descriptive title and detailed description of the changes made in the pull request.
- Submit the pull request.
Your pull request will then be reviewed by the maintainers. Please be patient, as the review process may take some time.
Contributors to the NestJS package are expected to adhere to the Code of Conduct. Please familiarize yourself with these guidelines before participating in the project.
By contributing to the NestJS package, you agree that your contributions will be licensed under the project's LICENSE.