Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
947e6c3
init: 과제제출을 위한 빈 커밋
1lmean Dec 1, 2025
617ac5a
init: 커밋 컨벤션 추가
1lmean Dec 1, 2025
47ab6b7
fix(components): cart 초기화 시 Array.isArray 검증 추가
1lmean Dec 1, 2025
23647c4
docs: 과제 개념 문서 추가
1lmean Dec 1, 2025
87d4fc8
refactor(models): 장바구니 비즈니스 로직을 순수 함수로 분리
1lmean Dec 1, 2025
37c4068
refactor(utils): 가격 포맷팅 유틸리티 함수 분리
1lmean Dec 1, 2025
137b599
refactor(hooks): useDebounce 커스텀 훅 분리
1lmean Dec 2, 2025
2d1d27c
refactor(constants): 초기 데이터 상수 분리
1lmean Dec 2, 2025
6072efd
refactor(hooks): useProducts 도메인 훅 분리
1lmean Dec 2, 2025
41979cf
refactor(hooks): useCoupons 도메인 훅 분리
1lmean Dec 2, 2025
8ab7586
refactor(hooks): useCart 도메인 훅 분리
1lmean Dec 2, 2025
457d7b2
docs: 리팩토링 실전 기록 문서 추가
1lmean Dec 2, 2025
4c59b81
refactor(hooks): useNotification 훅 분리
1lmean Dec 2, 2025
4f92f32
docs: useNotification 리팩토링 기록 추가
1lmean Dec 2, 2025
06e4d2f
refactor(components): Header 컴포넌트 분리
1lmean Dec 3, 2025
a64b5c2
refactor(components): Header Compound Components 패턴 적용
1lmean Dec 3, 2025
cb1c11b
feat(features): features/main 구조 도입 및 컴포넌트 분리
1lmean Dec 3, 2025
1de4477
feat(components): 공통 Button 컴포넌트 생성 및 적용
1lmean Dec 3, 2025
433e643
refactor(pages): MainPage 컴포넌트 분리
1lmean Dec 3, 2025
82a60ef
feat(features): ProductCard 컴포넌트 분리
1lmean Dec 3, 2025
2cffc71
feat(components): Badge 컴포넌트 생성 및 ProductCard 리팩토링
1lmean Dec 3, 2025
6fa06c9
fix(components): Button md 사이즈 text-sm 제거
1lmean Dec 3, 2025
0049d75
refactor(basic): ProductItem, ProductList 컴포넌트 분리
1lmean Dec 3, 2025
5514639
fix(basic): features/index.ts에서 삭제된 ProductCard를 ProductItem으로 수정
1lmean Dec 3, 2025
c2bbb25
refactor(basic): Callback Props 패턴으로 useCart를 MainPage로 이동
1lmean Dec 3, 2025
77051c5
refactor(basic): CartList에서 calculateItemTotal 직접 import하여 사용
1lmean Dec 3, 2025
c1d13ab
refactor(basic): CartItem, CartList 컴포넌트 정리
1lmean Dec 3, 2025
198a9a7
refactor(basic): CheckoutSection 컴포넌트 분리 및 MainPage 정리
1lmean Dec 3, 2025
4d3c544
refactor(basic): Toast, ToastContainer 공통 컴포넌트 분리
1lmean Dec 3, 2025
62455ef
refactor(basic): AdminPage 분리
1lmean Dec 3, 2025
59f7b3a
refactor: AdminPage에서 Tabs 컴포넌트 분리
1lmean Dec 3, 2025
8ffafcc
refactor(pages): AdminPage 상품 관리 UI 분리 및 Props Drilling 제거
1lmean Dec 3, 2025
69033b0
refactor(pages): App.tsx 불필요한 import 정리
1lmean Dec 3, 2025
53a463d
refactor(components): ProductForm Compound Components 패턴 적용
1lmean Dec 3, 2025
2a8d8e2
refactor(components): AdminPage 쿠폰 관리 UI 분리
1lmean Dec 4, 2025
ead9190
refactor: useLocalStorage 훅 분리 및 적용
1lmean Dec 4, 2025
8ef96f7
fix: useCoupons 중복 호출 제거
1lmean Dec 4, 2025
96a03f2
init(advanced): Zustand 설치 및 심화과제 초기 설정
1lmean Dec 4, 2025
9f248aa
feat(advanced): Zustand store 구현
1lmean Dec 4, 2025
1c4a17e
refactor(advanced): MainPage, AdminPage Props drilling 제거
1lmean Dec 4, 2025
e11c3aa
refactor(advanced): Features 컴포넌트 Props drilling 완전 제거
1lmean Dec 4, 2025
4501f75
refactor(advanced): App.tsx 간소화 및 Store 연동 완료
1lmean Dec 4, 2025
1f63447
refactor(advanced): extract test setup to separate file
1lmean Dec 4, 2025
f06f340
refactor(advanced): remove callback props from entity components
1lmean Dec 4, 2025
a2d42c1
feat(advanced): add reset methods to Zustand stores for test isolation
1lmean Dec 4, 2025
ba12921
chore: configure build and deploy for advanced directory
1lmean Dec 4, 2025
ed01176
fix: add base path for GitHub Pages deployment
1lmean Dec 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Deploy

on:
push:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v2
with:
version: 10

- uses: actions/setup-node@v4
with:
node-version: 22.x
cache: pnpm

- name: Install deps
run: pnpm install

- name: Build
run: pnpm run build

# 404.html 생성 (index.advanced.html 복사) - SPA 라우팅 지원
- name: Create 404.html for SPA routing
run: cp dist/index.advanced.html dist/404.html

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: dist

deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- id: deployment
uses: actions/deploy-pages@v4
Loading