Thanks for helping improve NexaFx-js.
- Copy the environment template and fill in the required values:
cp .env.example .env
- Start the backing services with Docker Compose if you use local containers for PostgreSQL and Redis.
- Install dependencies and run the seed script when your environment needs sample data:
npm ci npm run seed
- Use short-lived feature branches such as
fix/issue-123-short-description. - Keep each branch scoped to a single issue or small, related change set.
- Open pull requests from your fork into
Nexacore-Org/NexaFx-js.
- Prefer conventional commits such as
fix:,feat:, orchore:. - Reference the issue number in the PR description with
Closes #123. - Keep PR titles concise and action-oriented.
- ESLint and Prettier are already configured in the repository.
- Use the existing TypeScript patterns in the codebase: single quotes, 2-space indentation, and small focused modules.
- Avoid unrelated refactors when you are fixing a specific issue.
- Run the relevant unit tests before opening a PR:
npm test - Run coverage checks for larger changes:
npm run test:cov
- Run the build to verify the app still compiles:
npm run build
- The repository enforces coverage thresholds in
package.jsonfor the highest-risk modules.
- Change is scoped to the issue.
- Tests pass locally.
- Build passes locally.
- Coverage stays above the configured thresholds.
- README or docs are updated when behavior changes.
- PR description includes a short summary and testing notes.