@openreachtech/hora-skills-ort-renchan 0.2.0 → 0.2.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.ja.md CHANGED
@@ -57,7 +57,7 @@ npx --no hora-skills-ort-renchan install
57
57
 
58
58
  ### 複数のドメインを入れる
59
59
 
60
- `hora-skills` のパッケージはいずれも同じ `.claude/skills/` に配置し、それぞれが自分の配置内容を `.hora/<パッケージ名>.json` に記録します。したがって、ある実行が削除するのはそのパッケージが配置したものだけで、他には手を触れません。
60
+ `hora-skills` のパッケージはいずれも同じ `.claude/skills/` に配置し、それぞれが自分の配置内容を `.hora/<スコープを外したパッケージ名>.json` に記録します。したがって、ある実行が削除するのはそのパッケージが配置したものだけで、他には手を触れません。
61
61
 
62
62
  ```json
63
63
  {
@@ -73,7 +73,7 @@ npx --no hora-skills-ort-renchan install
73
73
 
74
74
  `.claude/` と、その中の `skills/` は、シンボリックリンクではなくリポジトリのディレクトリである必要があります。インストールは対象へ至る各段を検査し、いずれかがリンクであれば、何も書き込まず、何も削除せずに終了します。 インストール内容の記録である `.hora/hora-skills-ort-renchan.json` も同じように検査します。ここにリンクがあると、書き込みがリンク先へ届き、その中身を上書きしてしまうためです。
75
75
 
76
- 何も運ばなかったインストールは、その理由を告げ、0 以外の終了コードで終わります。プロジェクト自身の `postinstall` として実行しているなら、それは `npm install` の出力に現れます。単独で実行した場合は `npx --no hora-skills-ort-renchan install` が同じことを告げます。
76
+ リンクに当たって止まったインストールは、どの段だったかを告げ、何も変更せず、0 以外の終了コードで終わります。プロジェクト自身の `postinstall` として実行しているなら、それは `npm install` の出力に現れます。単独で実行した場合は `npx --no hora-skills-ort-renchan install` が同じことを告げます。
77
77
 
78
78
  リンクはコマンドを実行する人の指示ではなく、リポジトリの中身です。それを辿ると、スキルをどこへ書くか、そして前回のスキルをどこから消すかを、リポジトリ側が決められることになります。
79
79
 
@@ -104,10 +104,10 @@ npx --no hora-skills-ort-renchan install
104
104
  | :-- | :-- |
105
105
  | `hora-skills-ort-renchan install` | このパッケージが配布する全スキルを配置し、前回配置したものを置き換える |
106
106
  | `hora-skills-ort-renchan list` | このパッケージが配布するスキルを表示する(配置はしない) |
107
- | `hora-skills-ort-renchan uninstall` | このパッケージが配置したスキルと、その記録を削除する |
107
+ | `hora-skills-ort-renchan uninstall` | このパッケージが 1 つのディレクトリに配置したスキルと、その配置の記録を削除する |
108
108
  | `hora-skills-ort-renchan help` | 使い方を表示する |
109
109
 
110
- `--dir <path>` で `.claude/skills` 以外のディレクトリに配置できます。
110
+ `--dir <path>` は `.claude/skills` 以外のディレクトリを名指しするもので、`install` と `uninstall` のどちらもこれを受けます。2 つのディレクトリに配置したリポジトリは、したがって `uninstall` を 2 回実行することになり、記録ファイルはその最後の 1 回で消えます。
111
111
 
112
112
  ## コントリビューション
113
113
 
package/README.md CHANGED
@@ -57,7 +57,7 @@ The skills land in your repository's `.claude/skills/`. Claude Code discovers th
57
57
 
58
58
  ### Installing more than one domain
59
59
 
60
- Each `hora-skills` package installs into the same `.claude/skills/`, and each records its own installation in `.hora/<package name>.json`. A run therefore removes only what that package installed, and leaves the others alone:
60
+ Each `hora-skills` package installs into the same `.claude/skills/`, and each records its own installation in `.hora/<package name, without its scope>.json`. A run therefore removes only what that package installed, and leaves the others alone:
61
61
 
62
62
  ```json
63
63
  {
@@ -73,7 +73,7 @@ Because a prefix belongs to exactly one package, and every skill's folder name i
73
73
 
74
74
  `.claude/`, and the `skills/` directory inside it, have to be directories of your repository rather than symbolic links. An installation verifies every step it is reached through, and finding a link at any of them it writes nothing and removes nothing. `.hora/hora-skills-ort-renchan.json`, the record of what was installed, is verified the same way: a link there would send the write to whatever it stands for and overwrite it.
75
75
 
76
- An installation that carries nothing says why and ends with a failing exit code. Where the command runs as your project's own `postinstall`, that is what `npm install` reports; run on its own, `npx --no hora-skills-ort-renchan install` tells you the same.
76
+ An installation stopped by a link says which step it was, changes nothing, and ends with a failing exit code. Where the command runs as your project's own `postinstall`, that is what `npm install` reports; run on its own, `npx --no hora-skills-ort-renchan install` tells you the same.
77
77
 
78
78
  A link is content of the repository rather than an instruction of whoever runs the command, so following one would let the repository decide where skills are written and, worse, where the skills of the previous run are removed from.
79
79
 
@@ -104,10 +104,10 @@ A skill your own repository authored is left alone, as long as its name is not o
104
104
  | :-- | :-- |
105
105
  | `hora-skills-ort-renchan install` | Install every skill this package distributes, replacing the previously installed ones |
106
106
  | `hora-skills-ort-renchan list` | Print the skills this package distributes, installing nothing |
107
- | `hora-skills-ort-renchan uninstall` | Remove every skill this package installed, along with its record |
107
+ | `hora-skills-ort-renchan uninstall` | Remove the skills this package installed into one directory, and the record of that installation |
108
108
  | `hora-skills-ort-renchan help` | Print the usage text |
109
109
 
110
- `--dir <path>` installs into a directory other than `.claude/skills`.
110
+ `--dir <path>` names a directory other than `.claude/skills`, and `install` and `uninstall` take it alike. A repository that has installed into two of them therefore takes two `uninstall` runs, and the record file goes when the last of them does.
111
111
 
112
112
  ## Contribution
113
113
 
@@ -182,11 +182,11 @@ export default class HoraSkillsCli {
182
182
  'Commands:',
183
183
  ' install Install every skill this package distributes, replacing the installed ones',
184
184
  ' list Print the skills this package distributes, installing nothing',
185
- ' uninstall Remove every skill this package installed',
185
+ ' uninstall Remove the skills this package installed into one directory',
186
186
  ' help Print this text',
187
187
  '',
188
188
  'Options:',
189
- ' --dir <path> Directory to install into (default: .claude/skills)',
189
+ ' --dir <path> Directory to install into or remove from (default: .claude/skills)',
190
190
  ]
191
191
  .join('\n')
192
192
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openreachtech/hora-skills-ort-renchan",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Distributes the renchan backend skills used to develop with Hora Kit.",
5
5
  "type": "module",
6
6
  "files": [
@@ -49,15 +49,15 @@
49
49
  "@openreachtech/renchan-env": "^1.0.6",
50
50
  "@types/jest": "^30.0.0",
51
51
  "eslint": "^9.39.5",
52
- "jest": "^30.4.2"
52
+ "jest": "^30.5.1"
53
53
  },
54
54
  "overrides": {
55
55
  "@humanfs/node": "^0.16.8",
56
56
  "brace-expansion@5": "^5.0.9",
57
- "flatted": "^3.4.2"
57
+ "flatted": "^3.4.4"
58
58
  },
59
59
  "allowScripts": {
60
- "fsevents": false,
60
+ "@parcel/watcher": false,
61
61
  "unrs-resolver": false
62
62
  }
63
63
  }