dsh-config-manager 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +3 -0
- package/lib/client.js +709 -602
- package/lib/core/messages.d.ts +4 -0
- package/lib/core/messages.js +8 -0
- package/lib/core/migration-history.d.ts +40 -0
- package/lib/core/migration-history.js +55 -0
- package/lib/core/plugin-cli.d.ts +5 -0
- package/lib/core/plugin-cli.js +11 -3
- package/lib/index.d.ts +5 -1
- package/lib/index.js +13 -14
- package/lib/profiles/dsh-profile-manager.d.ts +1 -1
- package/lib/profiles/dsh-profile-manager.js +26 -7
- package/lib/profiles/dsh-profile-shared.d.ts +3 -1
- package/lib/ui/sync-repository-picker.d.ts +21 -0
- package/lib/ui/sync-repository-picker.js +18 -0
- package/lib/utils/remove-tree.d.ts +7 -0
- package/lib/utils/remove-tree.js +265 -0
- package/package.json +1 -1
- package/src/client/config-manager.module.css +21 -1
- package/src/client/environment/EnvironmentPanel.tsx +2 -2
- package/src/client/locales/profiles.ts +2 -0
- package/src/client/sync/ChannelConfigDialog.tsx +32 -1
- package/src/client/sync/SyncPanel.tsx +11 -30
- package/src/client/sync/SyncRepositoryPicker.tsx +34 -13
- package/src/client/sync/SyncSettingsView.test.ts +32 -0
- package/src/client/sync/config-save-state.test.ts +99 -0
- package/src/client/sync/config-save-state.ts +69 -0
- package/src/client/sync/sync-locales.ts +4 -0
- package/src/core/engine-locale.test.ts +4 -0
- package/src/core/messages.ts +8 -0
- package/src/core/migration-history.test.ts +65 -0
- package/src/core/migration-history.ts +70 -0
- package/src/core/plugin-cli.fs.test.ts +30 -3
- package/src/core/plugin-cli.ts +11 -3
- package/src/index.ts +12 -14
- package/src/profiles/dsh-profile-manager.test.ts +20 -0
- package/src/profiles/dsh-profile-manager.ts +25 -7
- package/src/profiles/dsh-profile-shared.ts +2 -0
- package/src/ui/sync-repository-picker.test.ts +34 -1
- package/src/ui/sync-repository-picker.ts +24 -0
- package/src/utils/remove-tree.test.ts +120 -0
- package/src/utils/remove-tree.ts +239 -0
package/lib/client.d.ts
CHANGED
|
@@ -5550,6 +5550,7 @@ declare const zh$4: {
|
|
|
5550
5550
|
readonly 'profiles.error.notRunning': '该档案没有正在运行的实例(可能已被手动关闭)';
|
|
5551
5551
|
readonly 'profiles.error.stopFailed': '停止实例失败';
|
|
5552
5552
|
readonly 'profiles.error.instanceRunning': '该档案的实例正在运行,请先停止再删除';
|
|
5553
|
+
readonly 'profiles.error.deleteFailed': '删除失败:档案目录被占用或权限不足,档案仍在磁盘上';
|
|
5553
5554
|
readonly 'profiles.error.generic': '操作失败:{message}';
|
|
5554
5555
|
readonly 'import.compatibility.sections': '{count} 个分区';
|
|
5555
5556
|
readonly 'import.compatibility.plugins': '已装 {installed} · 待装 {toInstall}';
|
|
@@ -5852,6 +5853,7 @@ declare const zh$3: {
|
|
|
5852
5853
|
readonly 'config.tokenPlaceholder': 'ghp_…(可选)';
|
|
5853
5854
|
readonly 'config.save': '立即保存';
|
|
5854
5855
|
readonly 'config.saveHint': '表单改动会自动保存:密码/token 安全写入 DSH credentials,不会写入同步文件或日志。';
|
|
5856
|
+
readonly 'config.savedTick': '已保存';
|
|
5855
5857
|
readonly 'channel.title': '同步通道';
|
|
5856
5858
|
readonly 'channel.git': 'Git 私有仓库';
|
|
5857
5859
|
readonly 'channel.webdav': 'WebDAV 服务器';
|
|
@@ -5921,6 +5923,7 @@ declare const zh$3: {
|
|
|
5921
5923
|
readonly 'repoPicker.hint': '列出你 GitHub 账号下已有的私有仓库(按最近更新排序),选中即填入下方仓库地址;也可以直接在下方手填地址(ssh / 本地路径 / 不在列表里的仓库)。列表需要先登录 GitHub;新建的仓库一律为私有 —— 公开仓库会公开你的配置内容。';
|
|
5922
5924
|
readonly 'repoPicker.placeholder': '手动填写地址(或从上方选择)';
|
|
5923
5925
|
readonly 'repoPicker.refresh': '刷新列表';
|
|
5926
|
+
readonly 'repoPicker.refreshed': '已刷新:{count} 个私有仓库';
|
|
5924
5927
|
readonly 'repoPicker.forkBadge': 'Fork';
|
|
5925
5928
|
readonly 'repoPicker.empty': '没有可用的私有仓库';
|
|
5926
5929
|
readonly 'repoPicker.loadFailed': '仓库列表加载失败,可重试或直接手填地址。';
|