@ohos-graphics/stability-code-review 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.
package/README.md CHANGED
@@ -11,12 +11,12 @@ C/C++ 稳定性代码审查框架,由 **OpenHarmony图形稳定性团队** 维
11
11
  ### npm 安装(推荐)
12
12
 
13
13
  ```bash
14
- # 全局安装
15
- npm install -g @ohos-graphics/stability-code-review
16
- ohos-stability-skill install
14
+ # 一条命令安装或更新到 opencode skills 目录
15
+ npx -y @ohos-graphics/stability-code-review install --force
17
16
 
18
- # 或者不全局安装,直接使用 npx
19
- npx @ohos-graphics/stability-code-review install
17
+ # 或者全局安装后再执行安装器
18
+ npm install -g @ohos-graphics/stability-code-review
19
+ ohos-stability-skill install --force
20
20
  ```
21
21
 
22
22
  默认会安装到:
package/bin/install.js CHANGED
@@ -83,7 +83,8 @@ function printHelp()
83
83
 
84
84
  Usage:
85
85
  ohos-stability-skill install [options]
86
- npx @ohos-graphics/stability-code-review install [options]
86
+ npx -y @ohos-graphics/stability-code-review install [options]
87
+ stability-code-review install [options]
87
88
 
88
89
  Options:
89
90
  --target <dir> Skills root directory. Defaults to ~/.config/opencode/skills
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@ohos-graphics/stability-code-review",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "OpenHarmony C/C++ stability code review skill library for opencode/Codex agents.",
5
5
  "type": "module",
6
6
  "bin": {
7
- "ohos-stability-skill": "bin/install.js"
7
+ "ohos-stability-skill": "bin/install.js",
8
+ "stability-code-review": "bin/install.js"
8
9
  },
9
10
  "scripts": {
10
11
  "test": "node --test"