refactor(tm-core): migrate to Vitest and Biome, implement clean architecture

- Migrated from Jest to Vitest for faster test execution (~4.2s vs ~4.6-5s)
- Replaced ESLint and Prettier with Biome for unified, faster linting/formatting
- Implemented BaseProvider with Template Method pattern following clean code principles
- Created TaskEntity with business logic encapsulation
- Added TaskMasterCore facade as main entry point
- Implemented complete end-to-end listTasks functionality
- All 50 tests passing with improved performance

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Ralph Khreish
2025-08-20 23:32:09 +02:00
parent aee1996dc2
commit cf6533207f
31 changed files with 3247 additions and 4310 deletions

View File

@@ -3,26 +3,21 @@
*/
import {
generateTaskId,
isValidTaskId,
formatDate,
PlaceholderParser,
PlaceholderProvider,
PlaceholderStorage,
PlaceholderParser,
TmCoreError,
TaskNotFoundError,
ValidationError,
StorageError,
version,
name
TaskNotFoundError,
TmCoreError,
ValidationError,
formatDate,
generateTaskId,
isValidTaskId,
name,
version
} from '@/index';
import type {
TaskId,
TaskStatus,
TaskPriority,
PlaceholderTask
} from '@/types/index';
import type { PlaceholderTask, TaskId, TaskPriority, TaskStatus } from '@/types/index';
describe('tm-core smoke tests', () => {
describe('package metadata', () => {