release: v1.6.1 develop → main 동기화 #15

병합
htlee develop 에서 main 로 16 commits 를 머지했습니다 2026-03-08 13:14:14 +09:00
Showing only changes of commit ca39b31b8c - Show all commits

파일 보기

@ -59,6 +59,13 @@ curl -sf "${GITEA_URL}/gc/template-react-ts/raw/branch/develop/.editorconfig"
```
#### 4-2. settings.json (부분 갱신)
⚠️ settings.json은 **타입별 템플릿**에서 다운로드 (template-common에는 없음):
```bash
curl -sf "${GITEA_URL}/gc/template-${PROJECT_TYPE}/raw/branch/develop/.claude/settings.json"
```
다운로드한 최신 settings.json과 로컬 settings.json을 비교하여 부분 갱신:
- `env`: 글로벌 최신으로 교체 (CLAUDE_BOT_TOKEN 등 팀 공통 환경변수)
- `deny` 목록: 글로벌 최신으로 교체
- `allow` 목록: 기존 사용자 커스텀 유지 + 글로벌 기본값 병합
@ -80,6 +87,13 @@ curl -sf "${GITEA_URL}/gc/template-react-ts/raw/branch/develop/.editorconfig"
```
#### 4-4. Git Hooks (덮어쓰기 + 실행 권한)
`commit-msg`, `post-checkout`**항상 팀 표준으로 교체** (팀 커뮤니케이션 규칙 + 인프라).
`pre-commit``.claude/workflow-version.json``custom_pre_commit` 플래그를 확인:
- `"custom_pre_commit": true` → pre-commit 건너뜀 (프로젝트 커스텀 유지), "⚠️ pre-commit은 프로젝트 커스텀 유지" 로그
- 플래그 없거나 false → 팀 표준으로 교체
```bash
chmod +x .githooks/*
```