feat(core): enhance error handling, type safety, and documentation

- Add comprehensive error handling with try/catch blocks and meaningful error messages
- Improve type safety with proper IEnvDeps interface replacing 'any' types
- Add complete JSDoc documentation for all classes and methods
- Add return type annotations for better TypeScript support
- Add ensureInitialized() validation method
- Fix missing return statement in createRepoByClone() method
- Remove deprecated @types/minimatch dependency
- Complete readme rewrite with modern styling, accurate documentation, and proper API examples
- Update license from LICENSE to license.md following project guidelines
This commit is contained in:
2025-08-04 15:12:23 +00:00
parent a92275088b
commit c6e3a1caa3
6 changed files with 262 additions and 102 deletions
-3
View File
@@ -32,9 +32,6 @@ importers:
'@types/diff':
specifier: ^8.0.0
version: 8.0.0
'@types/minimatch':
specifier: ^6.0.0
version: 6.0.0
diff:
specifier: ^8.0.2
version: 8.0.2