Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
cbc644a
init commit
hanseul524 Dec 2, 2025
b398704
refactor: 폴더 구조 변경, formatter 함수 작성
hanseul524 Dec 2, 2025
63ef48c
feat: 순수함수 추가
hanseul524 Dec 3, 2025
bcea724
refactor: formatters, validators 수정
hanseul524 Dec 3, 2025
da18e44
feat: cart 관련 순수함수 추가
hanseul524 Dec 3, 2025
64c89eb
feat: 커스텀 훅 분리
hanseul524 Dec 3, 2025
3526b37
refactor: useCallback 의존성 제거
hanseul524 Dec 3, 2025
2d0ba57
feat: localstorage, notification hook 작성
hanseul524 Dec 4, 2025
1082e3f
refactor: notification 적용
hanseul524 Dec 4, 2025
1e32b6f
refactor: App 컴포넌트 분리
hanseul524 Dec 4, 2025
b7b84c0
refactor: 폴더 구조 변경
hanseul524 Dec 4, 2025
7dbd8a2
feat: search, debounce hook 추가
hanseul524 Dec 4, 2025
0f9cb3e
refactor: 검색 로직 분리, 디바운싱 추가
hanseul524 Dec 4, 2025
1848507
feat: icon, notification 컴포넌트 분리
hanseul524 Dec 4, 2025
3e6dfe8
feat: 장바구니 페이지 컴포넌트 분리
hanseul524 Dec 4, 2025
1f2619c
feat: 관리자 페이지 컴포넌트 분리
hanseul524 Dec 4, 2025
73a51f8
refactor: 테스트 오류 수정
hanseul524 Dec 4, 2025
1ceaabb
chore: zustand 라이브러리 추가
hanseul524 Dec 5, 2025
89b66ec
feat: ui 컴포넌트 추가
hanseul524 Dec 5, 2025
a88be8e
feat: store 추가
hanseul524 Dec 5, 2025
b2378de
feat: advanced 프로젝트 추가
hanseul524 Dec 5, 2025
952480a
feat: 테스트 환경 localstorage 조건 추가
hanseul524 Dec 5, 2025
85c4c3c
feat: 배포관련 설정 추가
hanseul524 Dec 5, 2025
157e4a6
ci: hint 폴더 빌드시 제외
hanseul524 Dec 5, 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
65 changes: 65 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Deploy to GitHub Pages

on:
push:
branches:
- main
paths:
- 'src/basic/**'
- 'src/advanced/**'
- '.github/workflows/deploy.yml'
workflow_dispatch:

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

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

jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'

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

- name: Build
run: pnpm run build
env:
NODE_ENV: production
VITE_BASE_PATH: /${{ github.event.repository.name }}/

- name: Set advanced as default
run: cp dist/index.advanced.html dist/index.html

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

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

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@
},
"dependencies": {
"react": "^19.1.1",
"react-dom": "^19.1.1"
"react-dom": "^19.1.1",
"zustand": "^5.0.9"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.6.4",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^24.10.1",
"@types/react": "^19.1.9",
"@types/react-dom": "^19.1.7",
"@typescript-eslint/eslint-plugin": "^8.38.0",
Expand Down
73 changes: 58 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading