-
released this
2025-10-10 12:24:01 +02:00 | 0 commits to main since this releaseComplete Refactor - v2.0.0
✨ New Features
- Added comprehensive unit tests (27 tests) with Vitest
- Full TypeScript type safety - eliminated all
anytypes - Complete JSDoc documentation for all public APIs
🏗️ Architecture
- Modular structure: Separated into types, tool-definitions, handlers, gitlab-service, and index modules
- Type-safe interfaces: Project, Issue, MergeRequest, Pipeline, User, Comment, ToolArguments
- index.ts: 345 → 80 lines (77% reduction)
- Improved error handling with type-safe validation
- Clean separation of concerns for better maintainability
🧪 Testing
- 27 comprehensive unit tests
- Complete test coverage with Vitest
- Type validation tests for all interfaces
- Tool definition validation tests
📦 Dependencies
- MCP SDK upgraded to ^1.20.0 (moved to devDependencies)
- Added Vitest ^3.2.4 for testing
- Added @vitest/coverage-v8 ^3.2.4 for coverage reporting
🔧 Improvements
- Renamed
mergeMergeRequesttomergeMRfor consistency - Enhanced JSDoc comments throughout codebase
- Better code organization with centralized type definitions
📊 Statistics
- 10 GitLab API tools
- 27 unit tests
- 100% TypeScript type safety
- 77% code reduction in main index file
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads