- Test:
npm testornpm run test - Lint:
npm run lint - Fix linting:
npm run lint:fix - Coverage: Tests include coverage reporting via c8
- Node.js Version: 20.8.1+
- Module type: ES modules (
"type": "module") - Formatting: Prettier with 120 character line width and ES5 trailing commas
- Testing: AVA test framework
- Coverage: c8 for code coverage
- Perform minimal changes: Focus on the specific issue and make the smallest possible changes
- Focus on reviewers: Write clear, understandable code that is easy to review
- Use semantic commits: Follow conventional commit format (e.g.,
feat:,fix:,docs:,test:) - Run tests and formatting before committing: Always run
npm testandnpm run lintbefore making commits
lib/- Core library modulestest/- Test files (using AVA)index.js- Main entry point- Configuration files support semantic-release conventions
- All changes must maintain or improve test coverage
- Tests use nock for HTTP mocking
- Integration tests verify GitLab API interactions
- Run
npm testto execute the full test suite
This is a semantic-release plugin, so changes should follow semantic versioning principles and conventional commit formats for automated releases.