@su-record/vibe 1.0.15 → 1.0.16

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.
Files changed (2) hide show
  1. package/bin/vibe +37 -0
  2. package/package.json +1 -1
package/bin/vibe CHANGED
@@ -386,6 +386,43 @@ echo " /vibe.run \\"기능명\\" 구현 실행"
386
386
  fs.chmodSync(setupShPath, '755');
387
387
  log(' ✅ 협업자 설치 스크립트 생성 (.vibe/setup.sh)\n');
388
388
  }
389
+
390
+ // 3. README.md에 협업자 안내 추가
391
+ const readmePath = path.join(projectRoot, 'README.md');
392
+ const vibeSetupSection = `
393
+ ## Vibe Setup (AI Coding)
394
+
395
+ 이 프로젝트는 [Vibe](https://github.com/su-record/vibe) AI 코딩 프레임워크를 사용합니다.
396
+
397
+ ### 협업자 설치
398
+
399
+ \`\`\`bash
400
+ # 전역 설치 (권장)
401
+ npm install -g @su-record/vibe
402
+ vibe update
403
+
404
+ # 또는 setup 스크립트 실행
405
+ ./.vibe/setup.sh
406
+ \`\`\`
407
+
408
+ ### 사용법
409
+
410
+ Claude Code에서 슬래시 커맨드 사용:
411
+ - \`/vibe.spec "기능명"\` - SPEC 문서 작성
412
+ - \`/vibe.run "기능명"\` - 구현 실행
413
+ `;
414
+
415
+ if (fs.existsSync(readmePath)) {
416
+ const readme = fs.readFileSync(readmePath, 'utf-8');
417
+ if (!readme.includes('## Vibe Setup')) {
418
+ fs.appendFileSync(readmePath, vibeSetupSection);
419
+ log(' ✅ README.md에 협업자 안내 추가\n');
420
+ }
421
+ } else {
422
+ // README가 없으면 새로 생성
423
+ fs.writeFileSync(readmePath, `# Project\n${vibeSetupSection}`);
424
+ log(' ✅ README.md 생성 (협업자 안내 포함)\n');
425
+ }
389
426
  }
390
427
 
391
428
  // 프로젝트 초기화
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@su-record/vibe",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "Vibe - Claude Code exclusive SPEC-driven AI coding framework",
5
5
  "bin": {
6
6
  "vibe": "./bin/vibe"