@k2works/claude-code-booster 1.1.0 → 1.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/bin/claude-code-booster +11 -0
- package/lib/assets/.env.example +8 -0
- package/lib/assets/gulpfile.js +3 -0
- package/package.json +3 -2
package/bin/claude-code-booster
CHANGED
|
@@ -57,6 +57,17 @@ async function setupProject() {
|
|
|
57
57
|
await fs.copy(templateDir, projectDir, { overwrite: true, errorOnExist: false });
|
|
58
58
|
console.log(`[claude-code-booster] Copied assets from "${templateDir}" to "${projectDir}"`);
|
|
59
59
|
}
|
|
60
|
+
|
|
61
|
+
// .codex と .gemini ディレクトリに skills をコピー
|
|
62
|
+
const skillsSrc = path.join(templateDir, '.claude', 'skills');
|
|
63
|
+
if (await fs.pathExists(skillsSrc)) {
|
|
64
|
+
for (const target of ['.codex', '.gemini']) {
|
|
65
|
+
const skillsDest = path.join(projectDir, target, 'skills');
|
|
66
|
+
await fs.ensureDir(skillsDest);
|
|
67
|
+
await fs.copy(skillsSrc, skillsDest, { overwrite: true, errorOnExist: false });
|
|
68
|
+
console.log(`[claude-code-booster] Copied skills to "${target}/skills"`);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
60
71
|
} catch (err) {
|
|
61
72
|
console.error('[claude-code-booster] Asset copy failed:', err);
|
|
62
73
|
process.exitCode = 1;
|
package/lib/assets/.env.example
CHANGED
|
@@ -7,3 +7,11 @@ MKDOCS_PORT=8000
|
|
|
7
7
|
|
|
8
8
|
# Docker 設定(通常は設定不要、Docker Desktop が自動設定)
|
|
9
9
|
# DOCKER_HOST=npipe:////./pipe/docker_engine
|
|
10
|
+
|
|
11
|
+
# SSH 接続設定
|
|
12
|
+
DEV_SSH_HOST=xxxxxxxx
|
|
13
|
+
DEV_SSH_USER=xxxxxxxx
|
|
14
|
+
STG_SSH_HOST=xxxxxxxx
|
|
15
|
+
STG_SSH_USER=xxxxxxxx
|
|
16
|
+
PRD_SSH_HOST=xxxxxxxx
|
|
17
|
+
PRD_SSH_USER=xxxxxxxx
|
package/lib/assets/gulpfile.js
CHANGED
|
@@ -4,15 +4,18 @@
|
|
|
4
4
|
* Gulpfile that loads tasks from the script directory
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import 'dotenv/config';
|
|
7
8
|
import gulp from 'gulp';
|
|
8
9
|
import mkdocsTasks from './ops/scripts/mkdocs.js';
|
|
9
10
|
import journalTasks from './ops/scripts/journal.js';
|
|
10
11
|
import vaultTasks from './ops/scripts/vault.js';
|
|
12
|
+
import sshTasks from './ops/scripts/ssh.js';
|
|
11
13
|
|
|
12
14
|
// Load gulp tasks from script modules
|
|
13
15
|
mkdocsTasks(gulp);
|
|
14
16
|
journalTasks(gulp);
|
|
15
17
|
vaultTasks(gulp);
|
|
18
|
+
sshTasks(gulp);
|
|
16
19
|
|
|
17
20
|
export const dev = gulp.series('mkdocs:serve', 'mkdocs:open');
|
|
18
21
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@k2works/claude-code-booster",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "AI Agent Development Support Tool",
|
|
5
5
|
"main": "main.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"boost": "bin/claude-code-booster"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
|
-
"
|
|
10
|
+
"pretest": "node -e \"require('fs-extra').removeSync('dist')\"",
|
|
11
|
+
"test": "node scripts/setup.test.js",
|
|
11
12
|
"login": "npm login",
|
|
12
13
|
"patch": "npm version patch",
|
|
13
14
|
"minor": "npm version minor",
|