-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
474 changed files
with
17,816 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## [#100] FEAT : 로그인 구현 | ||
|
||
## 관련된 문서 📄 | ||
|
||
## 무엇에 관한 PR 인가요? 🙋 | ||
|
||
## 어떤 것을 작업하셨나요? 🛠 | ||
- 작업1 | ||
- 작업2 | ||
|
||
## 🌱 PR Point | ||
- PR Point 1 | ||
- PR Point 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
lint: | ||
name: Run Swiftlint | ||
runs-on: macos-14 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run Swiftlint | ||
run: | | ||
SwiftLint/swiftlint lint --config SwiftLint/swiftlint.yml --quiet --reporter github-actions-logging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# Created by https://www.gitignore.io/api/swift,macos | ||
|
||
### macOS ### | ||
*.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# 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 | ||
|
||
### Swift ### | ||
# Xcode | ||
|
||
## Build generated | ||
DerivedData/ | ||
|
||
## Various settings | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata/ | ||
|
||
## Other | ||
*.moved-aside | ||
*.xccheckout | ||
*.xcscmblueprint | ||
|
||
## Obj-C/Swift specific | ||
*.hmap | ||
*.ipa | ||
|
||
## Playgrounds | ||
timeline.xctimeline | ||
playground.xcworkspace | ||
|
||
# Swift Package Manager | ||
.build/ | ||
.swiftpm | ||
|
||
# End of https://www.gitignore.io/api/swift,macos | ||
|
||
## Projects ## | ||
**/*.xcodeproj | ||
**/*.xcworkspace | ||
|
||
## LicensePlist ## | ||
**/Settings.bundle/License | ||
**/Settings.bundle/License.plist | ||
|
||
## Tuist ## | ||
graph.dot | ||
Derived/ | ||
Tuist/Dependencies/SwiftPackageManager | ||
Tuist/Dependencies/graph.json | ||
|
||
## XCFramework ## | ||
XCFramework/Cartfile.resolved | ||
XCFramework/Carthage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[tools] | ||
tuist = "4.21.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
TUIST_BUILD_CONFIG=prod tuist graph Mohanyang -d -t -f dot | ||
sed -i '' '/ThirdParty_/d' graph.dot | ||
dot -Tpng graph.dot -o DependencyGraph/mohanyang_prod_graph.png | ||
rm graph.dot | ||
|
||
TUIST_BUILD_CONFIG=dev tuist graph -d -f dot | ||
sed -i '' '/ThirdParty_/d' graph.dot | ||
dot -Tpng graph.dot -o DependencyGraph/mohanyang_dev_graph.png | ||
rm graph.dot | ||
|
||
open DependencyGraph/mohanyang_dev_graph.png | ||
open DependencyGraph/mohanyang_prod_graph.png |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions
30
FileTemplate/TCA.xctemplate/Default/___FILEBASENAME___Core.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
//___FILEHEADER___ | ||
|
||
import ComposableArchitecture | ||
|
||
@Reducer | ||
struct ___VARIABLE_productName___Core { | ||
@ObservableState | ||
struct State: Equatable { | ||
<#properties#> | ||
} | ||
|
||
enum Action { | ||
<#case#> | ||
} | ||
|
||
<#@Dependency() var#> | ||
|
||
init() {} | ||
|
||
var body: some ReducerOf<Self> { | ||
Reduce(self.core) | ||
} | ||
|
||
private func core(state: inout State, action: Action) -> EffectOf<Self> { | ||
switch action { | ||
case <#pattern#>: | ||
<#code#> | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
FileTemplate/TCA.xctemplate/Default/___FILEBASENAME___View.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
//___FILEHEADER___ | ||
|
||
import SwiftUI | ||
|
||
import DesignSystem | ||
|
||
import ComposableArchitecture | ||
|
||
struct ___FILEBASENAME___: View { | ||
@Bindable var store: StoreOf<___VARIABLE_productName___Core> | ||
|
||
init(store: StoreOf<___VARIABLE_productName___Core>) { | ||
self.store = store | ||
} | ||
|
||
var body: some View { | ||
<#code#> | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
FileTemplate/TCA.xctemplate/Public/___FILEBASENAME___Core.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
//___FILEHEADER___ | ||
|
||
import ComposableArchitecture | ||
|
||
@Reducer | ||
public struct ___VARIABLE_productName___Core { | ||
@ObservableState | ||
public struct State: Equatable { | ||
<#properties#> | ||
} | ||
|
||
public enum Action { | ||
<#case#> | ||
} | ||
|
||
<#@Dependency() var#> | ||
|
||
public init() {} | ||
|
||
public var body: some ReducerOf<Self> { | ||
Reduce(self.core) | ||
} | ||
|
||
private func core(state: inout State, action: Action) -> EffectOf<Self> { | ||
switch action { | ||
case <#pattern#>: | ||
<#code#> | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
FileTemplate/TCA.xctemplate/Public/___FILEBASENAME___View.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
//___FILEHEADER___ | ||
|
||
import SwiftUI | ||
|
||
import DesignSystem | ||
|
||
import ComposableArchitecture | ||
|
||
public struct ___FILEBASENAME___: View { | ||
@Bindable var store: StoreOf<___VARIABLE_productName___Core> | ||
|
||
public init(store: StoreOf<___VARIABLE_productName___Core>) { | ||
self.store = store | ||
} | ||
|
||
public var body: some View { | ||
<#code#> | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>Kind</key> | ||
<string>Xcode.IDEFoundation.TextSubstitutionFileTemplateKind</string> | ||
<key>Summary</key> | ||
<string>TCA file template</string> | ||
<key>Description</key> | ||
<string>TCA file template</string> | ||
<key>SortOrder</key> | ||
<string>1</string> | ||
<key>AllowedTypes</key> | ||
<array> | ||
<string>public.swift-source</string> | ||
</array> | ||
<key>DefaultCompletionName</key> | ||
<string>View</string> | ||
<key>MainTemplateFiles</key> | ||
<string>___FILEBASENAME___.swift</string> | ||
<key>Platforms</key> | ||
<array> | ||
<string>com.apple.platform.iphoneos</string> | ||
</array> | ||
<key>Options</key> | ||
<array> | ||
<dict> | ||
<key>Identifier</key> | ||
<string>productName</string> | ||
<key>Required</key> | ||
<string>true</string> | ||
<key>Name</key> | ||
<string>{Name}View, {Name}Core</string> | ||
<key>Description</key> | ||
<string></string> | ||
<key>Type</key> | ||
<string>text</string> | ||
<key>NotPersisted</key> | ||
<string>true</string> | ||
</dict> | ||
<dict> | ||
<key>Identifier</key> | ||
<string>Public</string> | ||
<key>Required</key> | ||
<string>false</string> | ||
<key>Name</key> | ||
<string>Make Public</string> | ||
<key>Description</key> | ||
<string></string> | ||
<key>Type</key> | ||
<string>checkbox</string> | ||
<key>NotPersisted</key> | ||
<string>true</string> | ||
</dict> | ||
</array> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env sh | ||
|
||
XCODE_TEMPLATE_DIR=$HOME'/Library/Developer/Xcode/Templates/File Templates/PomoNyang' | ||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
|
||
xcodeTemplate () { | ||
echo "==> Copying up templates..." | ||
|
||
if [ -d "$XCODE_TEMPLATE_DIR" ]; then | ||
rm -R "$XCODE_TEMPLATE_DIR" | ||
fi | ||
mkdir -p "$XCODE_TEMPLATE_DIR" | ||
|
||
cp -R $SCRIPT_DIR/*.xctemplate "$XCODE_TEMPLATE_DIR" | ||
} | ||
|
||
xcodeTemplate | ||
|
||
echo "==> ... success!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 PomoNyang | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
### Tuist ### | ||
|
||
.PHONY: manifests | ||
manifests: | ||
tuist edit | ||
|
||
.PHONY: install | ||
install: | ||
carthage update --platform iOS --use-xcframeworks --use-netrc --cache-builds --verbose --project-directory "XCFramework/" | ||
tuist install | ||
|
||
.PHONY: generate | ||
generate: | ||
TUIST_ROOT_DIR=${PWD} TUIST_BUILD_CONFIG=${config} tuist generate ${target} | ||
|
||
.PHONY: cache | ||
cache: | ||
TUIST_ROOT_DIR=${PWD} tuist cache ${target} --external-only | ||
|
||
.PHONY: module | ||
module: | ||
tuist scaffold Framework --layer ${layer} --name ${name} | ||
|
||
.PHONY: clean | ||
clean: | ||
tuist clean | ||
rm -rf XCFramework/Carthage | ||
rm -rf *.xcworkspace | ||
find Projects -name "*.xcodeproj" -exec rm -rf {} \; | ||
|
||
|
||
### SUGAR ### | ||
|
||
.PHONY: dev | ||
dev: | ||
make generate config=dev | ||
|
||
.PHONY: prod | ||
prod: | ||
make generate config=prod target=Mohanyang | ||
|
||
|
||
### Script ### | ||
|
||
.PHONY: graph | ||
graph: | ||
sh DependencyGraph/graphMaker.sh | ||
|
||
.PHONY: template | ||
template: | ||
sh FileTemplate/install_template.sh |
Oops, something went wrong.