Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
730a6b9
useCart 훅 생성
yerimmseo Apr 20, 2025
3d5ab82
useCoupon 훅 생성
yerimmseo Apr 20, 2025
1fc4aa1
useProduct 훅 생성
yerimmseo Apr 20, 2025
435e3f7
cartUtils 작성
yerimmseo Apr 20, 2025
c81bc14
cartUtils 작성
yerimmseo Apr 20, 2025
310b429
useCart 훅 calculateTotal 내부 calculateCartTotal 사용으로 수정
yerimmseo Apr 20, 2025
c627c40
로직이 반복되는 부분 최소화, 불필요한 계산 부분 정리
yerimmseo Apr 21, 2025
503a582
카트 페이지 - 컴포넌트 분리
yerimmseo Apr 22, 2025
dbcb6c3
카트 - props -> context로 변경
yerimmseo Apr 23, 2025
0096201
카트페이지 테스트 코드 변경
yerimmseo Apr 23, 2025
25386eb
Providers 전역 관리 생성
yerimmseo Apr 24, 2025
23549c3
관리 - props -> context로 변경
yerimmseo Apr 24, 2025
2a23fa7
관리 페이지 테스트 코드 수정
yerimmseo Apr 24, 2025
118fa41
카트 리스트 순수 함수로 분류
yerimmseo Apr 24, 2025
7175fad
쿠폰 관리 기능 별 컴포넌트 세분화
yerimmseo Apr 24, 2025
24cd2cd
SelectBox 공통 컴포넌트 생성 및 적용
yerimmseo Apr 24, 2025
331c4b3
쿠폰 적용 - SelectBox 버그 수정
yerimmseo Apr 24, 2025
47ff638
상품 관리 - 상품 추가 폼 분리
yerimmseo Apr 24, 2025
ed22f00
금액 포맷팅 유틸 함수 생성 및 적용
yerimmseo Apr 24, 2025
cf1d480
금액 포맷 적용 테스트 코드 수정
yerimmseo Apr 24, 2025
4c66fa4
배포 설정 추가
yerimmseo Apr 24, 2025
fdf7ac6
util 함수에 대한 테스트 코드 작성
yerimmseo Apr 24, 2025
7901293
CouponList, CartList unique key 설정
yerimmseo Apr 24, 2025
021c3cc
안쓰는 package script 삭제
yerimmseo Apr 24, 2025
424a779
fomatting => formatCurrency 명칭 수정
yerimmseo Apr 24, 2025
8c9bfc1
아코디언 공통 컴포넌트 생성
yerimmseo Apr 24, 2025
3964e24
비즈니스 로직 함수와 유틸함수 분리
yerimmseo Apr 24, 2025
9c821d7
hooks 경로 수정
yerimmseo Apr 24, 2025
8a6eb48
컴포넌트 -> ui 로 그룹화해서 배치
yerimmseo Apr 24, 2025
770e7f9
SelectBox -> OptionSelector 명칭 수정
yerimmseo Apr 24, 2025
f617e37
상품 관리 -> 상품 수정 Form 분리
yerimmseo Apr 24, 2025
5ae1a1f
FormFieldInput 컴포넌트 생성
yerimmseo Apr 24, 2025
f680bff
mock 데이터 경로 변경
yerimmseo Apr 24, 2025
31f3ca7
Product Cart => Product Item 명칭 변경
yerimmseo Apr 24, 2025
1257baa
함수 역할에 따라 관심사 분리
yerimmseo Apr 24, 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
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"homepage": "https://yerimmseo.github.io/front_5th_chapter2-2/",
"name": "assignment-5",
"private": true,
"version": "0.0.0",
Expand All @@ -12,7 +13,8 @@
"test:advanced": "vitest src/advanced",
"test:ui": "vitest --ui",
"build": "tsc -b && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"deploy": "vite build && move dist\\index.refactoring.html dist\\index.html && gh-pages -d dist"
},
"dependencies": {
"react": "^18.3.1",
Expand All @@ -22,6 +24,7 @@
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^22.14.1",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"@typescript-eslint/eslint-plugin": "^8.10.0",
Expand All @@ -31,6 +34,7 @@
"eslint": "^9.12.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.12",
"gh-pages": "^6.3.0",
"jsdom": "^26.1.0",
"typescript": "^5.6.3",
"vite": "^5.4.9",
Expand Down
Loading