@elyun/bylane 1.8.0 → 1.10.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.
@@ -27,7 +27,8 @@ description: byLane 메인 커맨드. 자연어로 전체 개발 워크플로우
27
27
 
28
28
  ## 실행 흐름
29
29
 
30
- 첫 번째 인자가 서브커맨드인지 확인:
30
+ 첫 번째 인자가 서브커맨드인지 확인.
31
+ **반드시 아래 표의 "실행 스킬" 전체 이름을 Skill 도구에 전달한다. 서브커맨드 이름(analyze, setup 등)을 그대로 스킬 이름으로 사용하지 않는다.**
31
32
 
32
33
  | 서브커맨드 | 실행 스킬 |
33
34
  |---|---|
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyun/bylane",
3
- "version": "1.8.0",
3
+ "version": "1.10.0",
4
4
  "description": "Frontend development harness for Claude Code",
5
5
  "type": "module",
6
6
  "bin": {
package/src/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { cpSync, mkdirSync, symlinkSync, existsSync, readdirSync, copyFileSync, renameSync } from 'fs'
2
+ import { cpSync, mkdirSync, symlinkSync, existsSync, readdirSync, copyFileSync, renameSync, readFileSync } from 'fs'
3
3
  import { join, dirname } from 'path'
4
4
  import { fileURLToPath } from 'url'
5
5
  import { homedir } from 'os'
@@ -13,7 +13,6 @@ const command = args[0] || 'install'
13
13
  const useSymlink = args.includes('--symlink')
14
14
 
15
15
  const TARGETS = [
16
- { src: join(ROOT, 'skills'), dest: join(CLAUDE_DIR, 'skills'), label: 'Skills' },
17
16
  { src: join(ROOT, 'commands'), dest: join(CLAUDE_DIR, 'commands'), label: 'Commands' },
18
17
  { src: join(ROOT, 'hooks'), dest: join(CLAUDE_DIR, 'hooks'), label: 'Hooks' },
19
18
  ]
@@ -23,6 +22,12 @@ function backupAndCopy(src, dest, file, label) {
23
22
  const srcFile = join(src, file)
24
23
 
25
24
  if (existsSync(destFile)) {
25
+ const srcContent = readFileSync(srcFile)
26
+ const destContent = readFileSync(destFile)
27
+ if (srcContent.equals(destContent)) {
28
+ console.log(` = ${label}: ${file} (변경 없음, 건너뜀)`)
29
+ return
30
+ }
26
31
  const backupPath = `${destFile}.bak`
27
32
  renameSync(destFile, backupPath)
28
33
  copyFileSync(srcFile, destFile)
File without changes