v2.3.0
Release Notes - v2.3.0
π New Feature: Single Repository Mode
CodeSyncer now automatically detects and supports single repository projects, not just multi-repo workspaces!
β¨ What's New
Single Repository Auto-Detection
- CodeSyncer automatically detects if you're running init inside a single repository
- No more "No repositories found" error when using in a single project
- Creates .claude/SETUP_GUIDE.md instead of .codesyncer/SETUP_GUIDE.md
How It Works
| Mode | Detection | Output |
|---|---|---|
| Single Repo | Current folder has package.json, .git, pom.xml, etc. | .claude/SETUP_GUIDE.md |
| Multi-Repo | Subfolders contain repositories | .codesyncer/SETUP_GUIDE.md |
Usage
Single repository
cd my-project
codesyncer init
β Creates .claude/SETUP_GUIDE.md
Multi-repo workspace
cd workspace
codesyncer init
β Creates .codesyncer/SETUP_GUIDE.md
π Changes
- Added: isCurrentDirRepository() function for single repo detection
- Added: hasSingleRepoSetup() function for existing setup check
- Added: Single repo SETUP_GUIDE templates (English & Korean)
- Updated: init command with single repo mode branch
- Updated: README.md with single repo documentation
- Updated: README.ko.md with single repo documentation
π§ Files Changed
src/utils/scanner.ts - Added single repo detection functions
src/commands/init.ts - Added single repo mode logic
src/templates/en/setup_guide_single.md - New template
src/templates/ko/setup_guide_single.md - New template
README.md - Updated documentation
README.ko.md - Updated documentation
package.json - Version bump 2.2.3 β 2.3.0
π¦ Installation
npm install -g codesyncer@2.3.0
or
npm install -g codesyncer@latest