@finedesign/cli 0.9.0 → 0.10.0

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # 更新日志
2
2
 
3
+ ## 0.10.0
4
+
5
+ 2026-11-18
6
+
7
+ - CLI 默认从公共 npm 包 `@finedesign/runtime` 查询浏览器运行时,按组件精确版本生成带 SRI 的 HTML,或导出离线页面。MCP 默认使用同一入口。
8
+ - 新增 Fine Design 1.25.1 离线组件资料,保留 1.24.9 和 1.25.0 快照。
9
+
3
10
  ## 0.9.0
4
11
 
5
12
  2026-11-12
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![npm](https://img.shields.io/npm/v/@finedesign/cli)](https://www.npmjs.com/package/@finedesign/cli)
8
8
  [![License](https://img.shields.io/npm/l/@finedesign/cli)](https://unpkg.com/@finedesign/cli@latest/LICENSE)
9
9
 
10
- [使用指南](https://docs.fanruan.design/docs/react/skills-cn) · [在线体验](https://fine-design-runtime.pages.dev/) · [更新日志](https://unpkg.com/@finedesign/cli@latest/CHANGELOG.md)
10
+ [使用指南](https://docs.fanruan.design/docs/react/skills-cn) · [浏览器运行时](https://www.npmjs.com/package/@finedesign/runtime) · [更新日志](https://unpkg.com/@finedesign/cli@latest/CHANGELOG.md)
11
11
 
12
12
  </div>
13
13
 
@@ -130,7 +130,7 @@ fine-design runtime --fd-version '<versions 中的版本>' --output ./offline-de
130
130
 
131
131
  `--output` 将运行时示例、资源和来源记录写入新目录,并保留 SRI。可加 `--dry-run --format json` 预览文件列表。首次导出需要联网,生成的页面仅引用本地资源。宿主须允许页面脚本和样式。
132
132
 
133
- [打开 Fine Design Playground](https://fine-design-runtime.pages.dev/)。生成的 HTML 固定资源版本并附带 SRI 校验;在线托管仅保留当前版本,长期归档请保存对应资源。
133
+ 默认从公共 npm 包 `@finedesign/runtime` 获取资源。`runtime list` 显示 latest 版本,指定组件版本时,CLI 使用该精确版本的 JS、CSS 和 SRI。可用 `--runtime-url <地址>` 显式读取已有托管清单。
134
134
 
135
135
  ## 更多资料
136
136