🎉 Smithery is now a part of Arcade.dev! Read more in our announcement here
运行和分析项目质量检查(Linting, 类型检查, 测试)。
铁律:不要把“命令跑过了”当成质量结论。必须解释跑了什么、为什么跑、失败在哪里、是否允许继续。
pnpm run
pnpm run lint
pnpm install
ERR_PNPM_IGNORED_BUILDS
& "node_modules\.bin\eslint.cmd" . & "node_modules\.bin\vitest.cmd" run
npx <binary>
不看 package.json,臆造并不存在的脚本。
把失败日志原样倾倒给用户,不提炼根因。
没跑全量检查却假装“全部通过”。
使用 pnpm run 执行 lint/test,触发不必要的依赖状态检查,导致 ERR_PNPM_IGNORED_BUILDS 伪装成质量门失败。