Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
79c2fed
feat: 기본 코드 추가
JunilHwang Sep 26, 2025
d43fe48
과제 제출을 위한 빈 커밋
1lmean Nov 8, 2025
5e62bbd
feat: 기본 코드 추가
JunilHwang Sep 26, 2025
427b36d
Merge remote-tracking branch 'origin'
1lmean Nov 10, 2025
2379c7b
feat: 발제
1lmean Nov 10, 2025
e0fdfbf
chore: es6-string-html extension 적용
1lmean Nov 10, 2025
b7a68e7
refactor: 라우팅 구조 개선
1lmean Nov 10, 2025
4f7832b
fix: 상품상세 id param 오류 수정
1lmean Nov 10, 2025
1494d13
feat(SearchForm): 한 페이지 내 상품 개수 선택 및 정렬 선택 기능 추가
1lmean Nov 11, 2025
1e36054
feat(ProductList): 인피니티 스크롤 기능 추가
1lmean Nov 11, 2025
5ecb49d
feat(CartModal): 아이콘 버튼 클릭 시, 장바구니 모달 표출
1lmean Nov 11, 2025
16706c7
refactor(main): 전역상태 및 이벤트처리 분리
1lmean Nov 12, 2025
dd675d4
refactor(Event): homePageEvent에서 uiEvent 분리
1lmean Nov 12, 2025
5dc9a12
feat(DetailPage): 아이콘 버튼 클릭 시, 장바구니 모달 표출
1lmean Nov 12, 2025
4fb927f
feat(Cart): 장바구니 추가 기능 구현
1lmean Nov 13, 2025
a7f0a38
feat(Cart): 상세페이지에서 장바구니 추가 기능 구현
1lmean Nov 13, 2025
ab762d7
feat(Home): 상품 리스트에 총 수량 표출 추가
1lmean Nov 13, 2025
0307c17
feat(Home): 장바구니 상태 localStorage로 관리
1lmean Nov 13, 2025
05bce51
fix: vite base 경로를 "/"로 설정하여 dev/preview 정상 작동하도록 수정
1lmean Nov 13, 2025
983c5e6
feat(Home): 검색어 입력 후, 상품리스트 필터링 기능 구현
1lmean Nov 13, 2025
fc9e5b1
feat(Home): 카테고리 선택 및 브레드크럼 필터링 기능 구현
1lmean Nov 13, 2025
8c780d5
feat(Detail):수량 버튼 동작 구현
1lmean Nov 13, 2025
ba7be61
feat(Detail): DetailPage 수량 버튼 기능 및 장바구니 localStorage 관리 개선
1lmean Nov 13, 2025
7550e8d
feat(Cart): 장바구니 모달 배경 클릭 시 닫기 기능 추가
1lmean Nov 13, 2025
55a27a4
feat(Detail): DetailPage 네비게이션 클릭 시 Homepage로 필터링된 상태로 이동 기능 구현
1lmean Nov 13, 2025
74032bb
feat(Detail): DetailPage 상품목록으로 돌아가기 버튼 기능 구현
1lmean Nov 13, 2025
6697f4f
feat(Detail): DetailPage 관련상품 목록 기능 추가
1lmean Nov 13, 2025
e0ac137
feat(Cart): CartModal UI 수정 및 esc 키 눌렀을 때 close 처리
1lmean Nov 13, 2025
069cfdb
feat(Cart): CartModal chekcbox 및 총 금액 기능 표출 추가
1lmean Nov 13, 2025
a93e417
fix: test failure
1lmean Nov 13, 2025
4ac7be8
feat(Cart): CartModal 체크박스 선택 및 삭제 기능 추가
1lmean Nov 13, 2025
bae5afa
feat(Toast): HomePage와 DetailPage에서 장바구니 추가 시, toast 기능 추가
1lmean Nov 13, 2025
4338e93
refactor(Toast): state별 처리 추가
1lmean Nov 13, 2025
0d30020
feat(Toast): CartModal에서 상품 삭제 시, toast 기능 추가
1lmean Nov 13, 2025
14fcebe
fix(deploy)
1lmean Nov 13, 2025
4ef60aa
fix(deploy)
1lmean Nov 13, 2025
6a3deaf
fix: add 404.html for GitHub Pages SPA routing
1lmean Nov 13, 2025
5f08536
fix: add build verification and 404.html for GitHub Pages
1lmean Nov 13, 2025
a7c2cda
fix: ensure 404.html is created during build for GitHub Pages
1lmean Nov 13, 2025
8ef3c6f
fix: restructure dist folder for GitHub Pages base URL
1lmean Nov 13, 2025
3381589
fix: add 404.html to root for GitHub Pages SPA routing
1lmean Nov 13, 2025
794a3d3
fix: align base URL with repo name
1lmean Nov 14, 2025
1b197d4
fix: remove redundant gh-pages restructuring
1lmean Nov 14, 2025
f393aee
fix(Detail): 상품상세 페이지 헤더 텍스트 수정
1lmean Nov 14, 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
337 changes: 256 additions & 81 deletions .github/pull_request_template.md

Large diffs are not rendered by default.

27 changes: 8 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,6 @@ on:

jobs:
basic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: test basic
run: |
npm install
npm run test:basic
advacned:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -33,13 +22,13 @@ jobs:
version: latest
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: 'pnpm'
- name: advanced-test
run: |
- run: |
pnpm install
pnpm run test:advanced
e2e:
pnpm exec playwright install
pnpm run test:e2e:basic
advanced:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
Expand All @@ -52,10 +41,10 @@ jobs:
version: latest
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: |
pnpm install
npx playwright install --with-deps
pnpm run test:e2e
pnpm exec playwright install
pnpm run test:e2e:advanced
73 changes: 73 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: Deploy to GitHub Pages

on:
push: # push trigger
branches:
- main
- feature-* # Feature 브랜치도 배포

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: true

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build
run: pnpm run build
env:
NODE_ENV: production

- name: Verify build output
run: |
echo "=== Dist folder contents ==="
ls -la dist/
echo ""
echo "=== Assets folder ==="
ls -la dist/assets/ || echo "No assets folder"
echo ""
echo "=== index.html content ==="
head -25 dist/index.html
echo ""
echo "=== 404.html check ==="
if [ -f dist/404.html ]; then
echo "✓ 404.html exists"
echo "First 5 lines of 404.html:"
head -5 dist/404.html
else
echo "✗ 404.html missing - creating it now"
cp dist/index.html dist/404.html
echo "✓ 404.html created"
fi

- name: Setup Pages
uses: actions/configure-pages@v4

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

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ dist-ssr
*.sw?
/test-results/
/playwright-report/
coverage
.coverage
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"tabWidth": 2,
"semi": true,
"singleQuote": false
"singleQuote": false,
"printWidth": 120
}
115 changes: 0 additions & 115 deletions README.md

This file was deleted.

Loading
Loading