Skip to content

[Chore] #51 - 레포 디렉토리 구조 재정비#52

Merged
yungu0010 merged 1 commit into
defaultfrom
feat/#51-repo-structure
May 8, 2026
Merged

[Chore] #51 - 레포 디렉토리 구조 재정비#52
yungu0010 merged 1 commit into
defaultfrom
feat/#51-repo-structure

Conversation

@yungu0010

@yungu0010 yungu0010 commented May 8, 2026

Copy link
Copy Markdown
Member

🌴 PR 요약

🌱 작업한 브랜치

🌱 PR Point

AS-IS

SOPT-iOS-MDS/
├── MDS/
│   ├── Package.swift   ← SPM이 루트에서 탐색하므로 원격 URL 추가 불가
│   ├── Sources/MDS/    ← 불필요한 중첩
│   └── MDSStoryBook/   ← 라이브러리 폴더 안에 앱이 포함

TO-BE

SOPT-iOS-MDS/
├── Package.swift       ← 루트로 이동 (SPM 원격 URL 지원)
├── MDS/
│   └── Sources/        ← 중첩 제거
├── MDSStoryBook/       ← MDS/ 밖으로 분리

변경 내역

  • Package.swift 루트로 이동, path: "MDS/Sources" 명시
  • MDS/Sources/MDS/MDS/Sources/ 불필요한 중첩 제거
  • MDSStoryBook/MDS/ 밖으로 이동
  • MDSStoryBook 로컬 패키지 참조 경로 업데이트 (../../../MDS../..)
  • CI 워크플로우 cd MDS && 제거, file_pattern 경로 수정
  • build.js 출력 경로 수정
  • MDS/.gitignore 내용 루트 .gitignore로 통합

📌 참고 사항

Package.swiftpath: "MDS/Sources"를 명시했기 때문에 SPM은 해당 경로만 빌드 대상으로 인식하며, 동일 레포의 다른 폴더(MDSStoryBook/, tokens/ 등)는 배포에 포함되지 않습니다.

📸 스크린샷

해당 없음 (구조 변경)

📮 관련 이슈

- Package.swift를 레포 루트로 이동, path: "MDS/Sources" 명시 (SPM 원격 URL 지원)
- MDS/Sources/MDS/ → MDS/Sources/ 불필요한 중첩 제거
- MDSStoryBook/을 MDS/ 밖으로 이동
- CI 워크플로우 경로 업데이트, MDS/.gitignore 루트로 통합
@yungu0010 yungu0010 changed the title [Chore] #51 레포 디렉토리 구조 재정비 [Chore] #51 - 레포 디렉토리 구조 재정비 May 8, 2026
@yungu0010 yungu0010 self-assigned this May 8, 2026
@yungu0010 yungu0010 added the chore label May 8, 2026
@coderabbitai

coderabbitai Bot commented May 8, 2026

Copy link
Copy Markdown

Review Change Stack
No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 67d05b65-c6d0-4bc6-883e-f015eaecb6f5

📥 Commits

Reviewing files that changed from the base of the PR and between 6eac70f and 5d595bb.

⛔ Files ignored due to path filters (12)
  • MDS/Sources/Foundation/Resources/Fonts/SUIT-Bold.otf is excluded by !**/*.otf
  • MDS/Sources/Foundation/Resources/Fonts/SUIT-ExtraBold.otf is excluded by !**/*.otf
  • MDS/Sources/Foundation/Resources/Fonts/SUIT-ExtraLight.otf is excluded by !**/*.otf
  • MDS/Sources/Foundation/Resources/Fonts/SUIT-Heavy.otf is excluded by !**/*.otf
  • MDS/Sources/Foundation/Resources/Fonts/SUIT-Light.otf is excluded by !**/*.otf
  • MDS/Sources/Foundation/Resources/Fonts/SUIT-Medium.otf is excluded by !**/*.otf
  • MDS/Sources/Foundation/Resources/Fonts/SUIT-Regular.otf is excluded by !**/*.otf
  • MDS/Sources/Foundation/Resources/Fonts/SUIT-SemiBold.otf is excluded by !**/*.otf
  • MDS/Sources/Foundation/Resources/Fonts/SUIT-Thin.otf is excluded by !**/*.otf
  • MDSStoryBook/MDSStoryBook/Assets.xcassets/AppIcon.appiconset/appIcon 1.jpg is excluded by !**/*.jpg
  • MDSStoryBook/MDSStoryBook/Assets.xcassets/AppIcon.appiconset/appIcon 2.jpg is excluded by !**/*.jpg
  • MDSStoryBook/MDSStoryBook/Assets.xcassets/AppIcon.appiconset/appIcon.jpg is excluded by !**/*.jpg
📒 Files selected for processing (24)
  • .github/workflows/style-dictionary.yml
  • .gitignore
  • MDS/.gitignore
  • MDS/Sources/Adapters/UILabel+Typography.swift
  • MDS/Sources/Components/MDSButton.swift
  • MDS/Sources/Foundation/Base/BaseColor.swift
  • MDS/Sources/Foundation/Base/BaseSpacing.swift
  • MDS/Sources/Foundation/Base/BaseTypography.swift
  • MDS/Sources/Foundation/Base/FontLoader.swift
  • MDS/Sources/Foundation/MDSFont.swift
  • MDS/Sources/Patterns/NavigationHeader.swift
  • MDS/Sources/Tokens/SemanticColor.swift
  • MDS/Sources/Tokens/Typography.swift
  • MDSStoryBook/MDSStoryBook.xcodeproj/project.pbxproj
  • MDSStoryBook/MDSStoryBook/AppDelegate.swift
  • MDSStoryBook/MDSStoryBook/Assets.xcassets/AccentColor.colorset/Contents.json
  • MDSStoryBook/MDSStoryBook/Assets.xcassets/AppIcon.appiconset/Contents.json
  • MDSStoryBook/MDSStoryBook/Assets.xcassets/Contents.json
  • MDSStoryBook/MDSStoryBook/Base.lproj/LaunchScreen.storyboard
  • MDSStoryBook/MDSStoryBook/Info.plist
  • MDSStoryBook/MDSStoryBook/SceneDelegate.swift
  • MDSStoryBook/MDSStoryBook/ViewController.swift
  • Package.swift
  • build.js
💤 Files with no reviewable changes (1)
  • MDS/.gitignore

Summary by CodeRabbit

릴리스 노트

  • Chores
    • 프로젝트 구조를 정리하여 빌드 프로세스 최적화
    • 디자인 토큰 생성 및 Swift 빌드 워크플로우 업데이트
    • 개발 환경 설정 파일 정렬
    • 패키지 관리 설정 개선

Walkthrough

이 PR은 MDS 레포지토리의 디렉토리 구조를 재정비합니다. Package.swift를 레포 루트로 이동하고 MDS/Sources 경로를 명시하며, 불필요한 MDS/ 중첩을 제거합니다. 빌드 스크립트, CI 워크플로우, Xcode 프로젝트 참조, 그리고 빌드 무시 규칙을 모두 새로운 구조에 맞게 업데이트합니다.

Changes

디렉토리 구조 재정비

Layer / File(s) Summary
Package 설정
Package.swift
MDS 타겟에 명시적인 소스 경로 path: "MDS/Sources" 추가.
빌드 스크립트 경로
build.js
Style Dictionary swift 및 swiftSemantic 플랫폼의 buildPath를 MDS/Sources/MDS/...에서 MDS/Sources/...로 업데이트.
Xcode 프로젝트 참조
MDSStoryBook/MDSStoryBook.xcodeproj/project.pbxproj
로컬 Swift 패키지 참조 relativePath를 ../../../MDS에서 ../..로 변경.
CI 워크플로우 명령
.github/workflows/style-dictionary.yml
xcodebuild 실행 시 cd MDS 제거, 자동 커밋 file_pattern을 MDS/Sources 구조에 맞게 업데이트.
빌드 무시 규칙
.gitignore, MDS/.gitignore
루트 .gitignore에 SwiftPM 아티팩트 추가, MDS/.gitignore 중복 항목 제거로 통합.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Suggested labels

Setting

Poem

🐇 폴더를 고르고 정렬하며,
패키지 경로 명확하게 다시 그으니,
중첩은 제거되고 CI는 행복해,
깔끔한 구조로 모두 함께 뛴다! 🌟

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed PR 제목은 주요 변경 사항인 디렉토리 구조 재정비를 명확히 요약하고 있으며, 이슈 번호 #51을 포함하고 있습니다.
Description check ✅ Passed PR 설명은 AS-IS/TO-BE 구조, 구체적인 변경 내역, 참고 사항을 포함하여 변경 사항과 관련성이 높습니다.
Linked Issues check ✅ Passed 모든 변경 사항이 #51의 요구 사항을 충족합니다: Package.swift 루트 이동, 중첩 제거, MDSStoryBook 분리, 경로 업데이트 완료.
Out of Scope Changes check ✅ Passed 모든 코드 변경은 디렉토리 구조 재정비라는 PR 목표와 #51 이슈 요구 사항 범위 내에 있습니다.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/#51-repo-structure

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@yungu0010 yungu0010 merged commit 1ba8948 into default May 8, 2026
1 of 2 checks passed
@yungu0010 yungu0010 deleted the feat/#51-repo-structure branch May 8, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Chore] 레포 디렉토리 구조 재정비

1 participant