@k2works/claude-code-booster 2.5.0 → 2.5.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.
@@ -29,15 +29,17 @@ async function setupProject() {
29
29
  if (await fs.pathExists(src)) {
30
30
  await fs.ensureDir(dest);
31
31
 
32
- // docs 配下の index.md は上書き対象から除外する
32
+ // docs 直下の index.md はすべて除外する
33
33
  const copyOptions = dir === 'docs'
34
34
  ? {
35
35
  overwrite: true,
36
36
  errorOnExist: false,
37
37
  filter: (from, to) => {
38
- // docs 直下の index.md のみ除外する(他は全てコピー)
39
- const indexPath = path.join(src, 'index.md');
40
- return from !== indexPath;
38
+ // docs 直下の index.md をすべて除外する(他は全てコピー)
39
+ if (path.basename(from) === 'index.md' && path.dirname(from) === src) {
40
+ return false;
41
+ }
42
+ return true;
41
43
  },
42
44
  }
43
45
  : { overwrite: true, errorOnExist: false };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k2works/claude-code-booster",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "AI Agent Development Support Tool",
5
5
  "main": "main.js",
6
6
  "bin": {