xiaozhi-client 0.0.1-beta.8 → 0.0.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.
package/README.md CHANGED
@@ -91,62 +91,6 @@ xiaozhi restart
91
91
  - Commander.js (CLI 框架)
92
92
  - Chalk (终端颜色)
93
93
  - Ora (加载动画)
94
- - Biome (代码格式化和检查)
95
- - Vitest (单元测试)
96
-
97
- ### 代码质量
98
-
99
- 项目使用完整的CI/CD流程确保代码质量:
100
-
101
- #### 测试
102
- ```bash
103
- # 运行所有测试
104
- pnpm run test
105
-
106
- # 运行测试并生成覆盖率报告
107
- pnpm run test:coverage
108
-
109
- # 监听模式运行测试
110
- pnpm run test:watch
111
-
112
- # 运行测试UI界面
113
- pnpm run test:ui
114
- ```
115
-
116
- #### 代码检查和格式化
117
- ```bash
118
- # 运行Biome代码检查(CI模式)
119
- pnpm run ci
120
-
121
- # 格式化代码
122
- pnpm run format
123
-
124
- # 检查格式(不修改文件)
125
- pnpm run format:check
126
-
127
- # 运行lint检查
128
- pnpm run lint:check
129
-
130
- # 运行lint并自动修复
131
- pnpm run lint
132
-
133
- # TypeScript类型检查
134
- pnpm run type-check
135
- ```
136
-
137
- #### CI/CD流程
138
-
139
- 每次向main分支提交PR时,会自动运行以下检查:
140
-
141
- 1. **TypeScript类型检查** - 确保没有类型错误
142
- 2. **Biome代码检查** - 确保代码格式和质量符合规范
143
- 3. **单元测试** - 运行所有测试用例并生成覆盖率报告
144
- 4. **覆盖率检查** - 确保测试覆盖率不低于配置的阈值
145
- 5. **构建验证** - 确保项目能够正确构建
146
- 6. **产物验证** - 验证所有必要的构建产物都已生成
147
- 7. **CLI可执行性测试** - 确保CLI工具可以正常执行
148
-
149
- 只有所有检查都通过,PR才能被合并到main分支。
150
94
 
151
95
  ### 打包特性
152
96