dsh-preflight

管插件全生命周期的体检:装之前检查 dsh.bundle、引擎与 peer 兼容性、是否需要编译原生模块、平台限制,以及新插件的 patch 会不会挂出已存在的 loader 名(install-shadow 预判);装之后把已装插件按能力分类;更新前对新版本跑同一套检查,只报这次更新引入的问题。带一条 DSH 起不来时也能跑的 CLI,和三个只读工具。

插件介绍

管插件全生命周期的体检:装之前检查 dsh.bundle、引擎与 peer 兼容性、是否需要编译原生模块、平台限制,以及新插件的 patch 会不会挂出已存在的 loader 名(install-shadow 预判);装之后把已装插件按能力分类;更新前对新版本跑同一套检查,只报这次更新引入的问题。带一条 DSH 起不来时也能跑的 CLI,和三个只读工具。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:mouyu6508-hue/dsh-preflight

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.

版本兼容情况

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