dsh-motion 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +21 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # dsh-motion
2
2
 
3
+ ![npm](https://img.shields.io/npm/v/dsh-motion)
4
+
3
5
  > **Unofficial community plugin.** Not affiliated with or endorsed by DeepSeek.
4
6
  > The name is descriptive (`motion` = animation); if the upstream project needs it, this package will be renamed.
5
7
 
@@ -126,6 +128,25 @@ npx hyperframes@0.8.193 render <project> -o out.mp4 --quality delivery
126
128
  | `ffprobe` 缺失 | 只装了 ffmpeg | 装完整 FFmpeg,插件会退回 `ffmpeg -i` 解析 |
127
129
  | 抽帧全黑 | 片头/片尾空镜 | 用 `tpad=stop_mode=clone` 补帧,或剪掉 |
128
130
 
131
+ ## 发版(维护者)
132
+
133
+ 首次发布会把名字与 2FA 绑好;之后用 GitHub Actions 的 Trusted Publishing,不需要 token,也不需要 OTP。
134
+
135
+ 1. 在 npm 包设置里绑定可信发布者:**Package → Settings → Trusted Publisher → GitHub Actions**
136
+ - owner: `cogito0823`
137
+ - repository: `dsh-motion`
138
+ - workflow: `release.yml`
139
+ 2. 然后:
140
+
141
+ ```bash
142
+ npm version patch # 0.1.0 -> 0.1.1
143
+ git push --follow-tags # 触发 release.yml
144
+ ```
145
+
146
+ 工作流会校验 tag 与 `package.json` 一致、跑 check/smoke,再 `npm publish --provenance`。
147
+
148
+ 若工作流失败,退回手动发布:`npm publish --access public`(需 passkey 或 OTP)。
149
+
129
150
  ## 许可
130
151
 
131
152
  MIT(见 `LICENSE`)。第三方依赖与调用关系见 `NOTICE.md`。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-motion",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Code-generated math & science animations for DeepSeek Harness: render Manim clips, probe frames, verify formulas.",
5
5
  "license": "MIT",
6
6
  "type": "module",