Thank you for your interest in contributing to <PACKAGE_NAME> 💙
Contributions of all kinds are welcome: bug fixes, improvements, documentation, and discussions.
This package follows these principles:
- Be reusable across multiple NestJS applications
- Expose a clear and stable public API
- Keep domain logic isolated and testable
- Avoid unnecessary framework or vendor lock-in
- Favor correctness, safety, and clarity over shortcuts
Please keep these principles in mind when contributing.
Clone the repository created from this template, then:
npm installUse descriptive branch names: • feat/ • fix/ • docs/ • refactor/
Examples:
• feat/add-new-provider • fix/congig-validation • docs/update-readme
• All code must be written in TypeScript • Public APIs must remain backward-compatible unless explicitly discussed • Prefer small, focused changes over large refactors • Avoid committing secrets, API keys, or credentials
Before pushing or opening a PR, ensure the following pass:
npm run lint
npm run typecheck
npm test
npm run buildIf you add or modify logic:
• Add unit tests for behaviour changes. • Avoid live external API calls in tests.
When opening a PR:
• Clearly describe what was changed and why • Keep PRs focused on a single concern • Reference related issues if applicable • Update docummentation if APIs or behaviour change
A maintainer may ask for changes or clarification before merging.
• Breaking changes without prior discussion • Large refactors unrelated to the issue being solved • Experimental features without a clear use case • Code copied from proprietary or incompatible licenses
If you’re unsure about a change or want to discuss an idea: • Open a GitHub Issue • Or start a GitHub Discussion
We’re happy to talk things through before you write code.