dsh-updater

跟踪 DSH 官方版本并一键更新:读取 npm dist-tags 与 GitHub 更新说明,列出当前版本到目标版本之间每一个版本的更新点,给出分级风险清单(预发布、破坏性变更措辞、本机多份安装与 PATH 不一致、插件 dsh.engines.dsh 兼容性、备份与回滚可用性),再把安装交给分离助手——用 rename 原子备份当前安装、执行 npm、校验落地结果、用原命令重启,新版本起不来就自动回滚。

插件介绍

跟踪 DSH 官方版本并一键更新:读取 npm dist-tags 与 GitHub 更新说明,列出当前版本到目标版本之间每一个版本的更新点,给出分级风险清单(预发布、破坏性变更措辞、本机多份安装与 PATH 不一致、插件 dsh.engines.dsh 兼容性、备份与回滚可用性),再把安装交给分离助手——用 rename 原子备份当前安装、执行 npm、校验落地结果、用原命令重启,新版本起不来就自动回滚。

安装方式

通过 npm 安装

dsh plugin --profile web add @zhengjunyao/dsh-updater

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:zhengjy01/dsh-updater

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.

版本兼容情况

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

安装提示

  • 可能调用终端命令
  • 可能需要提供凭据