Commit a4a9325
authored
chore(main): release 0.3.1 (#32)
fix(extensionManager): 修复扩展依赖安装和自动更新配置兼容性问题
- 通过解析 VSIX 中的 package.json,实现自动安装 extensionDependencies 和 extensionPack 中声明的依赖
- 新增 parseExtensionDependencies 和 installExtensionDependencies 方法,集成至扩展安装流程
- 在安装主扩展前优先处理其依赖,确保完整性
- 修复 extensions.autoUpdate.ignoreList 配置在部分 VSCode 版本中不存在导致的错误
- 添加配置项存在性检查,若不存在则记录警告并跳过处理
- 优化错误处理流程,依赖安装失败不阻断主扩展安装
- 增强日志输出,提升调试和可观察性1 parent b768b22 commit a4a9325
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