Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@ jobs:
- name: Build
run: pnpm build

# 本插件是双半身且产出 dts,产物缺失会在此失败。
# 本插件是双半身、产出 dts 且带 sourcemap,产物缺失会在此失败。
- name: Verify build outputs
run: |
test -f lib/index.js
test -f lib/index.d.ts
test -f lib/client.js
test -f lib/client.js.map
test -f cordis.patch.yml
echo "构建产物齐全:lib/index.js · lib/index.d.ts · lib/client.js · cordis.patch.yml"
echo "构建产物齐全:lib/index.js · lib/index.d.ts · lib/client.js · lib/client.js.map · cordis.patch.yml"
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,17 @@ jobs:
if: steps.published.outputs.published != 'true'
run: pnpm build

# 与 CI 共用同一份产物清单,按插件形态增删条目,产物缺失会在此失败。
- name: Verify build outputs
if: steps.published.outputs.published != 'true'
run: |
test -f lib/index.js
test -f lib/index.d.ts
test -f lib/client.js
test -f lib/client.js.map
test -f cordis.patch.yml
echo "构建产物齐全:lib/index.js · lib/index.d.ts · lib/client.js · lib/client.js.map · cordis.patch.yml"

# Trusted Publishing:npm 凭 workflow 的 OIDC 身份直接授权,无需 NPM_TOKEN;--provenance 会在 npm 上附构建来源证明。
- name: Publish to npm
if: steps.published.outputs.published != 'true'
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dsh-edit-diff",
"version": "0.4.1",
"version": "0.4.2",
"description": "「DSH·质量 diff」:接管 edit/write 及 extraTools 配置的其他工具卡片:行级去重与行内高亮,消除相同内容在删除与新增两区的重复;兼容 PTC 模式,标准可安装的 dsh 客户端插件",
"keywords": [
"deepseek-harness",
Expand Down Expand Up @@ -55,14 +55,14 @@
},
"peerDependencies": {
"@deepseek-ai/cordis": "^4.0.4",
"@deepseek-ai/dsh": "^0.1.7-rc.2",
"@deepseek-ai/dsh-settings": "^0.1.7-rc.2",
"@deepseek-ai/dsh": "^0.2.0-rc.2",
"@deepseek-ai/dsh-settings": "^0.2.0-rc.2",
"@deepseek-ai/schemastery": "^3.18.4"
},
"devDependencies": {
"@deepseek-ai/cordis": "^4.0.4",
"@deepseek-ai/cosmokit": "^1.8.5",
"@deepseek-ai/dsh-settings": "0.1.7-rc.2",
"@deepseek-ai/dsh-settings": "0.2.0-rc.2",
"@deepseek-ai/schemastery": "^3.18.4",
"@types/react": "~18.3.1",
"tsdown": "^0.23.0",
Expand Down
44 changes: 22 additions & 22 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading