@k2works/claude-code-booster 4.2.0 → 4.3.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/bin/claude-code-booster
CHANGED
|
@@ -22,7 +22,7 @@ async function setupProject() {
|
|
|
22
22
|
try {
|
|
23
23
|
if (isUpdate) {
|
|
24
24
|
// --update オプション時は .claude と docs 配下のみ上書きコピー
|
|
25
|
-
const targets = ['.claude', 'docs'];
|
|
25
|
+
const targets = ['.claude', 'docs', '.devcontainer'];
|
|
26
26
|
for (const dir of targets) {
|
|
27
27
|
const src = path.join(templateDir, dir);
|
|
28
28
|
const dest = path.join(projectDir, dir);
|
|
@@ -56,7 +56,7 @@ async function setupProject() {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
// ルート直下の設定ファイルも上書きコピー
|
|
59
|
-
const rootFiles = ['AGENTS.md', 'CLAUDE.md'];
|
|
59
|
+
const rootFiles = ['AGENTS.md', 'CLAUDE.md', 'Dockerfile'];
|
|
60
60
|
for (const file of rootFiles) {
|
|
61
61
|
const src = path.join(templateDir, file);
|
|
62
62
|
const dest = path.join(projectDir, file);
|
package/lib/assets/README.md
CHANGED
|
@@ -249,6 +249,43 @@ Nix を使用して、再現可能な開発環境を構築できます。
|
|
|
249
249
|
nix flake update
|
|
250
250
|
```
|
|
251
251
|
|
|
252
|
+
#### GitHub Codespaces に SSH 接続
|
|
253
|
+
|
|
254
|
+
外部ターミナルアプリから GitHub Codespaces に SSH 接続することで、VS Code のエディタスペースを広く使いながら別ウィンドウのターミナルで作業できます。
|
|
255
|
+
|
|
256
|
+
##### 前提条件
|
|
257
|
+
|
|
258
|
+
- [GitHub CLI](https://cli.github.com/) がインストール済みであること
|
|
259
|
+
|
|
260
|
+
##### 手順
|
|
261
|
+
|
|
262
|
+
1. **Codespace を作成する**
|
|
263
|
+
|
|
264
|
+
https://github.com/codespaces から Codespace を作成します。
|
|
265
|
+
|
|
266
|
+
2. **Codespace 名を確認する**
|
|
267
|
+
|
|
268
|
+
ブラウザに表示される Codespace の URL から名前を取得します。
|
|
269
|
+
|
|
270
|
+
例: URL が `https://upgraded-cod-rpxpjr97jrwcxxw7.github.dev/` の場合、Codespace 名は `upgraded-cod-rpxpjr97jrwcxxw7` です。
|
|
271
|
+
|
|
272
|
+
3. **SSH 接続する**
|
|
273
|
+
|
|
274
|
+
```bash
|
|
275
|
+
gh codespace ssh -c <codespace名>
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
例:
|
|
279
|
+
```bash
|
|
280
|
+
gh codespace ssh -c upgraded-cod-rpxpjr97jrwcxxw7
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
接続後は `npm run build` や `git log` など通常のターミナル操作が可能です。
|
|
284
|
+
|
|
285
|
+
##### 参考
|
|
286
|
+
|
|
287
|
+
- [GitHub Codespaces に SSH 接続する](https://zenn.dev/hirokisakabe/articles/fdd7eb730423c0)
|
|
288
|
+
|
|
252
289
|
**[⬆ back to top](#構成)**
|
|
253
290
|
|
|
254
291
|
## 参照
|