dsh-plugin-git-sync

把 DSH 配置档里已安装的第三方插件连同源码打包成 tarball 推送到 GitHub 或 Gitee 仓库;另一台电脑拉取清单、比对版本,只安装缺失或过期的插件。需要对该仓库有写权限的个人访问令牌(存于 DSH 凭据服务);压缩包含各插件已安装的源码,建议使用私有仓库。

插件介绍

把 DSH 配置档里已安装的第三方插件连同源码打包成 tarball 推送到 GitHub 或 Gitee 仓库;另一台电脑拉取清单、比对版本,只安装缺失或过期的插件。需要对该仓库有写权限的个人访问令牌(存于 DSH 凭据服务);压缩包含各插件已安装的源码,建议使用私有仓库。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:daoyan2142/dsh-plugin-git-sync

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。