Skip to content

Latest commit

 

History

History
69 lines (45 loc) · 1.34 KB

File metadata and controls

69 lines (45 loc) · 1.34 KB

Contributing

This guide is for developers contributing to this repository.

1. Development environment setup

  • Use Node.js 22.22.1.
  • Install dependencies:
npm install

2. Local development and debugging

Run the CLI locally:

npm run dev

Use your local input directory and Algolia credentials through environment variables.

3. Build, lint, and test commands

  • Build:
npm run build
  • Lint:
npm run lint
  • Lint with autofix:
npm run lint:fix
  • Unit tests:
npm test

4. Unit test policy

  • Add or update tests for every behavior change.
  • Keep tests deterministic and isolated.
  • Run npm test before pushing.
  • Pre-push hook also runs tests. Do not bypass failures.

5. Workflow and pull requests

6. Related references