First off, thanks for taking the time to contribute! 🚀
We appreciate your interest in improving Directus Sync, and we welcome contributions of all kinds.
If you find a bug in Directus Sync, please create an issue on the issue tracker. Ensure that your bug report contains the following details:
- A clear and descriptive title.
- Steps to reproduce the issue.
- The expected and actual behavior.
- Any relevant logs or screenshots.
We're open to new ideas! If you have a feature request, please open an issue on GitHub using the [Feature Request]
tag. Provide a detailed explanation of the feature and its potential impact.
We welcome pull requests (PRs) for bug fixes, features, and documentation improvements.
Before submitting a PR, please make sure it adheres to the guidelines mentioned below.
-
Clone the repository:
git clone https://github.com/tractr/directus-sync.git cd directus-sync
-
Install dependencies:
npm install
-
Add a new feature or fix a bug: Create a new branch for your changes. Make your changes and commit them.
-
Build project: Make sure that the project is building correctly.
npm run build
-
Run tests:
Make sure to run tests before submitting a PR to ensure that your code doesn't break existing functionality.npm test
- Fork the repository and create a new branch for your feature or fix.
- Write clear and descriptive commit messages.
- Make sure your code is properly tested.
- Open a pull request on the
main
branch with a description of your changes. - Ensure your PR passes CI checks.
- TypeScript: Ensure your code is strongly typed.
- Error Handling: Handle errors gracefully and avoid crashing the CLI.
- Logging: Use consistent logging practices, providing useful output for debugging purposes.
- Use Prettier to format your code.
npm run format
- Use ESLint to lint your code.
npm run lint
- Follow consistent naming conventions.
- Write meaningful comments, especially for complex logic.
This project follows a Code of Conduct to create a welcoming environment for everyone. Please read it before contributing.
Thank you for contributing to Directus Sync! ✨