Skip to content

Commit

Permalink
✨[feat]:: 모든 모듈 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy-wonji committed Dec 27, 2023
1 parent 42f2713 commit a985c47
Show file tree
Hide file tree
Showing 80 changed files with 776 additions and 87 deletions.
37 changes: 37 additions & 0 deletions BeatCounter/.github/.gitMessage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Commit 규칙
> 커밋 제목은 최대 50자 입력 </br>
본문은 한 줄 최대 72자 입력 </br>
Commit 메세지 </br>
🪛[chore]: 코드 수정, 내부 파일 수정. </br>
[feat]: 새로운 기능 구현. </br>
🎨[style]: 스타일 관련 기능.(코드의 구조/형태 개선) </br>
[add]: Feat 이외의 부수적인 코드 추가, 라이브러리 추가 </br>
🔧[file]: 새로운 파일 생성, 삭제 시 </br>
🐛[fix]: 버그, 오류 해결. </br>
🔥[del]: 쓸모없는 코드/파일 삭제. </br>
📝[docs]: README나 WIKI 등의 문서 개정. </br>
💄[mod]: storyboard 파일,UI 수정한 경우. </br>
✏️[correct]: 주로 문법의 오류나 타입의 변경, 이름 변경 등에 사용합니다. </br>
🚚[move]: 프로젝트 내 파일이나 코드(리소스)의 이동. </br>
⏪️[rename]: 파일 이름 변경이 있을 때 사용합니다. </br>
⚡️[improve]: 향상이 있을 때 사용합니다. </br>
♻️[refactor]: 전면 수정이 있을 때 사용합니다. </br>
🔀[merge]: 다른브렌치를 merge 할 때 사용합니다. </br>
[test]: 테스트 코드를 작성할 때 사용합니다. </br>

<br>

### Commit Body 규칙
> 제목 끝에 마침표(.) 금지 </br>
한글로 작성 </br>
브랜치 이름 규칙

- `STEP1`, `STEP2`, `STEP3`

<br>

## Git flow
- `main` 브랜 치는 앱 출시
- `Dev`는 테스트 및 각종 파일 merge
- 각 스텝 뱔로 브런치 생성해서 관리
15 changes: 15 additions & 0 deletions BeatCounter/.github/ISSUE_TEMPLATE/issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: ISSUE_TEMPLATE
about: 이슈탬플릿
title: "✨[feat]:"
labels: ''
assignees: ''

---

# 목적

# 작업상세내역
- []

# 참고사항
101 changes: 44 additions & 57 deletions BeatCounter/.gitignore
Original file line number Diff line number Diff line change
@@ -1,70 +1,57 @@
### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two
Icon

# Thumbnails
._*
you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
# Pods/
# Add this line if you want to avoid checking in source code from the Xcode workspace
# *.xcworkspace

# Carthage
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build/

# Accio dependency management
Dependencies/
.accio/

# fastlane
# It is recommended to not store the screenshots in the git repo.
# Instead, use fastlane to re-generate the screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output

# Code Injection
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode

iOSInjectionProject/

### SwiftPackageManager ###
Packages
xcuserdata
*.xcodeproj
*.DS_Store
*.swp

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
### SwiftPM ###

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Xcode ###
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## User settings
xcuserdata/

## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout

## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
## Xcode 8 and earlier

### Xcode Patch ###
*.xcodeproj/*
!*.xcodeproj/project.pbxproj
!*.xcodeproj/xcshareddata/
!*.xcodeproj/project.xcworkspace/
!*.xcworkspace/contents.xcworkspacedata
/*.gcno
**/xcshareddata/WorkspaceSettings.xcsettings

### Projects ###
*.xcodeproj
*.xcworkspace

### Tuist derived files ###
graph.dot
Derived/

### Tuist managed dependencies ###
Tuist/Dependencies
# End of https://www.toptal.com/developers/gitignore/api/xcode,swift,swiftpackagemanager,cocoapods,fastlane,swiftpm.DS_Store
2 changes: 1 addition & 1 deletion BeatCounter/.tuist-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.33.3
3.33.3
66 changes: 66 additions & 0 deletions BeatCounter/BeatCounter.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

70 changes: 70 additions & 0 deletions BeatCounter/BeatCounter/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Xcode ###
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## User settings
xcuserdata/

## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout

## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3

### Xcode Patch ###
*.xcodeproj/*
!*.xcodeproj/project.pbxproj
!*.xcodeproj/xcshareddata/
!*.xcworkspace/contents.xcworkspacedata
/*.gcno

### Projects ###
*.xcodeproj
*.xcworkspace

### Tuist derived files ###
graph.dot
Derived/

### Tuist managed dependencies ###
Tuist/Dependencies
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ public extension TargetDependency {
}

public extension TargetDependency.SPM {

static let Moya = TargetDependency.external(name: "Moya")
static let CombineMoya = TargetDependency.external(name: "CombineMoya")
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public extension Project {
public static let appName = "BeatCounter"
public static let organizationName = "" // and so on
public static let deploymentTarget = DeploymentTarget.iOS(targetVersion: "17.0", devices: [.iphone, .ipad])
public static let bundlePrefix = "com." // and so on
public static let bundlePrefix = "com.Haejoo.BeatCounter" // and so on
public static let appVersion = "1.0.0"
public static let mainBundleId = "com.BeatCounter"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ public extension ModulePath {
public extension ModulePath {
enum Features: String, CaseIterable {
case Auth

case BPMCounter
case Metronome

public static let name: String = "Feature"
}
}
Expand All @@ -48,14 +50,19 @@ public extension ModulePath {
//MARK: - CoreDomainModule
public extension ModulePath {
enum Networkings: String, CaseIterable {
case Networkings
case Model
case Service
case ThirdParty


public static let name: String = "Networking"
}
}

public extension ModulePath {
enum Shareds: String, CaseIterable {
case Shareds
case DesignSystem
case Constants
case ThirdParty
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@ public extension ProjectDescription.Path {
}

static func Shared(implementation module: ModulePath.Shareds) -> Self {
return .relativeToRoot("Projects/\(module.rawValue)")
return .relativeToRoot("Projects/\(ModulePath.Shareds .name)/\(module.rawValue)")
}
}

// MARK: ProjectDescription.Path + Domain

public extension ProjectDescription.Path {
static var Networking: Self {
return .relativeToRoot("Projects/\(ModulePath.Networkings.name)/\(ModulePath.Networkings.name)")
return .relativeToRoot("Projects/\(ModulePath.Cores.name)/\(ModulePath.Networkings.name)")
}

static func Networking(implementation module: ModulePath.Networkings) -> Self {
return .relativeToRoot("Projects/\(ModulePath.Networkings.name)/\(ModulePath.Networkings.name)/\(module.rawValue)")
return .relativeToRoot("Projects/\(ModulePath.Cores.name)/\(ModulePath.Networkings.name)/\(module.rawValue)")
}
}

Expand Down
Loading

0 comments on commit a985c47

Please sign in to comment.