@daisu-ui/cli 0.1.0-beta.3 → 0.1.0-beta.5

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,14 @@
1
1
  # 更新日志
2
2
 
3
+ ## 0.1.0-beta.5
4
+
5
+ - 修复新 Runner 的离线安装包校验和 CI 凭据对测试的影响,通过 GitLab 自动发布 npm 首页居中修正版。
6
+
7
+ ## 0.1.0-beta.4
8
+
9
+ - npm 默认首页采用居中 Logo、标题、徽章与导航,补齐公开图片和 HTTPS 包元数据。
10
+ - 区分 developer 开发与 main 发布分支,通过版本标签自动验证并发布 npm,校验产物摘要、版本与源码来源,支持重复任务核对。
11
+
3
12
  ## 0.1.0-beta.3
4
13
 
5
14
  - npm README 使用品牌 Logo 与居中头部,统一标题、简介、徽章、导航和首屏分隔布局。
package/LICENSE CHANGED
File without changes
package/README.md CHANGED
@@ -13,7 +13,7 @@
13
13
  </p>
14
14
 
15
15
  <p align="center">
16
- <a href="https://www.npmjs.com/package/@daisu-ui/cli"><img src="https://img.shields.io/npm/v/%40daisu-ui%2Fcli/beta?style=flat-square&amp;color=1c64fd&amp;label=npm" alt="npm version"></a>
16
+ <a href="https://www.npmjs.com/package/@daisu-ui/cli"><img src="https://img.shields.io/npm/v/%40daisu-ui%2Fcli?style=flat-square&amp;color=1c64fd&amp;label=npm" alt="npm version"></a>
17
17
  <a href="https://www.npmjs.com/package/@daisu-ui/cli"><img src="https://img.shields.io/badge/downloads-new%20package-868e96?style=flat-square" alt="npm downloads: new package"></a>
18
18
  <a href="https://git.zilueit.com/daisu-ui/cli/-/pipelines"><img src="https://img.shields.io/badge/CI-GitLab-fc6d26?style=flat-square" alt="GitLab CI"></a>
19
19
  <a href="https://git.zilueit.com/daisu-ui/cli/-/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-74a600?style=flat-square" alt="MIT license"></a>
@@ -39,10 +39,10 @@ Daisu UI 是面向 **ReactLynx** 的组件库。这个工具将真实的公开
39
39
 
40
40
  ## 🚀 30 秒接入
41
41
 
42
- 需要 **Node.js >= 20.19.0**。当前为预发布版本,使用 `beta` 标签安装。
42
+ 需要 **Node.js >= 20.19.0**。当前为预发布版本,使用 `latest` 标签安装当前版本。
43
43
 
44
44
  ```bash
45
- npm install -g @daisu-ui/cli@beta
45
+ npm install -g @daisu-ui/cli@latest
46
46
  ```
47
47
 
48
48
  进入使用组件库的项目,配置你的 AI 客户端:
@@ -178,14 +178,14 @@ OpenCode 复用唯一的已有配置;存在多个候选文件时要求先合
178
178
  全局安装后使用 `daisu`,也可以按需运行:
179
179
 
180
180
  ```bash
181
- npx -y @daisu-ui/cli@beta info Button
182
- pnpm dlx @daisu-ui/cli@beta info Button
181
+ npx -y @daisu-ui/cli@latest info Button
182
+ pnpm dlx @daisu-ui/cli@latest info Button
183
183
  ```
184
184
 
185
185
  项目开发依赖方式:
186
186
 
187
187
  ```bash
188
- npm install --save-dev @daisu-ui/cli@beta
188
+ npm install --save-dev @daisu-ui/cli@latest
189
189
  npx --no-install daisu info Button
190
190
  ```
191
191
 
@@ -236,7 +236,7 @@ daisu list --version latest --format json
236
236
  daisu data check
237
237
  ```
238
238
 
239
- CLI `0.1.0-beta.3` 收录当前 `@daisu-ui/ui@0.1.0-beta.3` 及历史 `daisu-ui` 快照。默认优先识别项目实际安装版本,再检查依赖声明,最后使用随包最新数据;找不到对应版本会明确报错。尚未安装的本地路径或 Git 依赖无法确定版本时,会给出提示。历史版本的导入路径以查询结果中的 `importFrom` 为准。
239
+ CLI `0.1.0-beta.5` 收录当前 `@daisu-ui/ui@0.1.0-beta.3` 及历史 `daisu-ui` 快照。默认优先识别项目实际安装版本,再检查依赖声明,最后使用随包最新数据;找不到对应版本会明确报错。尚未安装的本地路径或 Git 依赖无法确定版本时,会给出提示。历史版本的导入路径以查询结果中的 `importFrom` 为准。
240
240
 
241
241
  查询支持 `--format text|json|markdown`。结构化结果写入 stdout,错误和提示写入 stderr;`lint` 有错误时返回非零退出码,`--strict` 将警告也视为失败。`daisu --version` 是 CLI 版本,子命令的 `--version <值>` 是组件数据版本。
242
242
 
@@ -293,7 +293,7 @@ daisu mcp serve
293
293
  "command": "npx",
294
294
  "args": [
295
295
  "-y",
296
- "@daisu-ui/cli@0.1.0-beta.3",
296
+ "@daisu-ui/cli@0.1.0-beta.5",
297
297
  "mcp",
298
298
  "serve",
299
299
  "--cwd",
@@ -339,7 +339,7 @@ npm run verify
339
339
 
340
340
  `verify` 包括格式、类型、测试、数据摘要、发布版本和 tarball 独立安装验证。测试使用临时目录,不改真实编辑器配置。显式维护入口仍为 `npm run sync -- --ui-dir <UI仓库>` 与 `npm run docs:export -- --ui-dir <UI仓库>`;数据同步不自动拉取 Git。
341
341
 
342
- CI 兼容现有 GitLab,校验分支和版本 Tag 并保存 npm tarball,不自动发布。`AGENTS.md` 管理仓库开发规则;消费端 Skill 通过 `agent init` 安装到使用者项目。
342
+ CI 兼容现有 GitLab:developer 用于开发、main 用于发布,普通推送执行验证;已合入 main 的版本标签自动发布经过校验的 tarball。发布凭据保存在受保护的 GitLab NPM_TOKEN 变量中。分支、渠道、Runner 和重试方式见 [自动发布说明](https://git.zilueit.com/daisu-ui/cli/-/blob/main/docs/releasing.md)。`AGENTS.md` 管理仓库开发规则;消费端 Skill 通过 `agent init` 安装到使用者项目。
343
343
 
344
344
  ## 当前边界
345
345
 
File without changes
File without changes
File without changes
File without changes
File without changes