Commit f87880d
authored
chore(main): release 0.2.4 (#28)
fix(core): 重构核心模块代码,修复用户设置导出失败的问题
- 重新组织核心模块结构,增加 interfaces.ts、errorHandler.ts 和 logger.ts 文件
- 优化 ConfigurationManager 类,增加配置验证和错误处理功能
- 新增 DataProvider 类,负责收集扩展、设置、主题和代码片段数据
- 实现 SyncManager 类,统一管理和执行导出/导入操作
- 改进错误处理机制,增加 SyncError 类和 ErrorHandler 类
- 采用单例模式实现全局日志器 Logger1 parent ebd145c commit f87880d
3 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
7 | 14 | | |
8 | 15 | | |
9 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments