Skip to content

Commit

Permalink
Merge pull request #179 from Nexters/stage
Browse files Browse the repository at this point in the history
v1.0.0 Release -> Main
  • Loading branch information
JongHoooon authored Aug 22, 2024
2 parents 6c3a729 + ab091b1 commit 7dc05ef
Show file tree
Hide file tree
Showing 521 changed files with 20,509 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/이슈-생성-템플릿.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: 이슈 생성 템플릿
about: 이슈 생성 템플릿입니다.
title: ''
labels: ''
assignees: ''

---

## 작업사항

## Todo
- [ ] todo
- [ ] todo

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

# 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/.build

## XCConfig ##
*.xcconfig

*.plist
2 changes: 2 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tools]
tuist = "4.20.0"
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
generate:
tuist install
tuist generate

clean:
tuist clean
rm -rf **/**/**/*.xcodeproj
rm -rf **/**/*.xcodeproj
rm -rf **/*.xcodeproj
rm -rf *.xcworkspace

graph:
tuist graph --skip-external-dependencies

module:
swift Scripts/GenerateModule.swift
10 changes: 10 additions & 0 deletions Plugins/ConfigurationPlugin/Plugin.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//
// Plugin.swift
// DependencyPlugin
//
// Created by 임현규 on 7/19/24.
//

import ProjectDescription

let plugin = Plugin(name: "ConfiguratipnPlugin")
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//
// Configuration+Extensions.swift
// ConfiguratipnPlugin
//
// Created by 임현규 on 7/19/24.
//

import ProjectDescription

public extension ConfigurationName {
static var dev: ConfigurationName { configuration(ProjectDeployTarget.dev.rawValue) }
static var prod: ConfigurationName { configuration(ProjectDeployTarget.prod.rawValue) }
static var test: ConfigurationName { configuration(ProjectDeployTarget.test.rawValue) }
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//
// ProjectDeployTarget.swift
// ProjectDescriptionHelpers
//
// Created by 임현규 on 7/19/24.
//

import ProjectDescription

public enum ProjectDeployTarget: String {
case dev = "DEV"
case prod = "PROD"
case test = "TEST"

public var configurationName: ConfigurationName {
ConfigurationName.configuration(self.rawValue)
}
}
10 changes: 10 additions & 0 deletions Plugins/DependencyPlugin/Plugin.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//
// Plugin.swift
// DependencyPlugin
//
// Created by 임현규 on 7/17/24.
//

import ProjectDescription

let plugin = Plugin(name: "DependencyPlugin")
86 changes: 86 additions & 0 deletions Plugins/DependencyPlugin/ProjectDescriptionHelpers/Modules.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
//
// Modules.swift
// DependencyPlugin
//
// Created by 임현규 on 7/17/24.
//

import ProjectDescription

public enum ModulePath {
case feature(Feature)
case domain(Domain)
case core(Core)
case shared(Shared)
}

// MARK: - AppModule

public extension ModulePath {
enum App: String, CaseIterable {
case iOS
public static let name: String = "App"
}
}


// MARK: - FeatureModule
public extension ModulePath {
enum Feature: String, CaseIterable {
case TabBar
case Report
case BottleArrival
case GeneralSignUp
case BaseWebView
case ProfileSetup
case Onboarding
case MyPage
case BottleStorage
case SandBeach
case Login

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

// MARK: - DomainModule

public extension ModulePath {
enum Domain: String, CaseIterable {
case Report
case WebView
case Bottle
case Profile
case Auth

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

// MARK: - CoreModule

public extension ModulePath {
enum Core: String, CaseIterable {
case Toast
case KeyChainStore
case WebView
case Util
case Logger
case Network

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

// MARK: - SharedModule

public extension ModulePath {
enum Shared: String, CaseIterable {
case DesignSystemThirdPartyLib
case ThirdPartyLib
case DesignSystem
case Util

public static let name: String = "Shared"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
//
// Path+Modules.swift
// DependencyPlugin
//
// Created by 임현규 on 7/17/24.
//

import ProjectDescription

// MARK: - ProjectDescription.Path + App

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

// MARK: - ProjectDescription.Path + Feature

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

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

// MARK: - ProjectDescription.Path + Domain

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

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

// MARK: - ProjectDescription.Path + Core

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

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

// MARK: - ProjectDescription.Path + Shared

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

static func shared(implementation module: ModulePath.Shared) -> Self {
return .relativeToRoot("Projects/\(ModulePath.Shared.name)/\(module.rawValue)")
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// Project+Environment.swift
// DependencyPlugin
//
// Created by 임현규 on 7/17/24.
//

import ProjectDescription

public extension Project {
enum Environment {
public static let appName = "Bottle"
public static let deploymentTarget = DeploymentTargets.iOS("16.0")
public static let bundlePrefix = "asia.bottles"
}
}
Loading

0 comments on commit 7dc05ef

Please sign in to comment.