Thank you for your interest in contributing to seo-engine!
Whether you're fixing a bug, improving documentation, or proposing a new feature, your contributions are welcome.
- Fork the repository.
- Clone your fork.
- Install dependencies:
npm install- Start making changes in a new branch.
Run tests:
npm testRun tests with coverage:
npm run test:coverageRun all checks:
npm run checkBuild the package:
npm run buildUse descriptive branch names such as:
feat/...fix/...docs/...chore/...refactor/...test/...
Please use clear and consistent commit messages following the Conventional Commits style.
Examples:
feat: add Open Graph pluginfix: handle missing canonical URLdocs: improve READMEchore: update dependencies
Before opening a pull request, ensure the project passes all checks:
npm run checkCode is formatted with Prettier and linted with ESLint.
When adding or modifying features:
- Keep changes focused and well documented.
- Prefer extending the existing API instead of introducing unnecessary breaking changes.
- Update documentation when changing public behavior.
- Add or update tests when applicable.
For user-facing changes, add a changeset:
npm run changesetChangesets are used to track package changes and prepare releases.
Before submitting a pull request:
- Keep changes focused on a single topic.
- Ensure all checks pass.
- Update documentation when necessary.
- Add or update tests when applicable.
- Include a clear description of the change and its motivation.
When reporting a bug, include:
- A clear description of the problem.
- Steps to reproduce it.
- Expected behavior.
- Actual behavior.
- Environment details such as Node.js version.
If you have questions or ideas for improvements, feel free to open an issue.