fix(canvasui): 版本中心残留旧包名——npx 命令与聚合徽标改认 dsh-harness-one - #87
Merged
Conversation
v0.5.0 发版渠道合并为单包 dsh-harness-one 后,设置页版本中心两处仍写死旧包名: 1. 数据安全脚注提示「npm 用户重跑 npx dsh-ccpg-one」——旧包已停更(latest 永钉 0.4.1),照做会装回死包,改为 npx dsh-harness-one; 2. ProfileBlock 聚合安装徽标只探测 dsh-ccpg-one,0.5+ 单包用户该标签永不显示, 改为先认 dsh-harness-one、兼容回退旧包(老安装迁移窗口内仍可见徽标)。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
设置页「Workflow One 版本中心」数据安全脚注仍在引导 npm 用户执行
npx dsh-ccpg-one。v0.5.0 起发版渠道合并为单包dsh-harness-one,旧包已停更(latest 永钉 0.4.1),照文案执行会装回死包。方案
改
dsh-ccpg-canvasui/src/client.js两处:npx dsh-ccpg-one→npx dsh-harness-one(与装配包 bin 名一致)ProfileBlock的「聚合安装」徽标只探测dsh-ccpg-one,0.5+ 单包用户该标签永不显示。改为优先认dsh-harness-one,回退dsh-ccpg-one(迁移窗口内老安装仍可见徽标)后端
check-update的UPGRADE_PACKAGE已是新包,无需动。验证
build-canvasui.shbundle 重建 ✓(1440 行)node test/client.test.mjspassed ✓assemble-one.sh装配校验通过 ✓(dsh-harness-one@0.6.1)