Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
965dfa3
과제 제출을 위한 빈 커밋 만들기
jy0813 Dec 1, 2025
5561063
chore: prettier 설정
jy0813 Dec 2, 2025
91f9a72
feat: formatters 구현, date는 아직 필요성을 못느껴서 포함하지않음
jy0813 Dec 2, 2025
1e5c9bc
feat: validators 구현
jy0813 Dec 2, 2025
aabde99
feat: useDebounce 구현
jy0813 Dec 2, 2025
6a0c7ed
feat: useLocalStorage 구현
jy0813 Dec 2, 2025
754cc93
feat: 타입 구분 및 initData 추가
jy0813 Dec 2, 2025
789f56b
feat: 아이콘 컴포넌트 추가
jy0813 Dec 3, 2025
1ece096
chore: clsx tailwind-merge 추가
jy0813 Dec 3, 2025
620251e
feat: Badge 추가
jy0813 Dec 3, 2025
9e30468
feat: cn 추가
jy0813 Dec 3, 2025
ef90400
feat: Button 추가
jy0813 Dec 3, 2025
e5dedad
feat: Button cn 추가
jy0813 Dec 3, 2025
af49f75
feat: icons 추가
jy0813 Dec 3, 2025
a5b9380
feat: input 추가
jy0813 Dec 3, 2025
4dbb566
feat: input cn 추가
jy0813 Dec 3, 2025
126c26b
feat: select 추가
jy0813 Dec 3, 2025
fbe7c05
feat: select cn 추가
jy0813 Dec 3, 2025
ac5020f
feat: toast 추가
jy0813 Dec 3, 2025
0fb4d53
feat: toast cn 추가
jy0813 Dec 3, 2025
2c4a267
refactor: 폴더 구조 다시 변경
jy0813 Dec 3, 2025
e743c37
feat: entities 폴더 추가
jy0813 Dec 3, 2025
0b3a0dd
feat: cart type 추가
jy0813 Dec 3, 2025
1cc0917
feat: useProductList 추가
jy0813 Dec 3, 2025
f30df37
feat: useCouponList 추가
jy0813 Dec 3, 2025
dacc801
feat: useCart 추가
jy0813 Dec 3, 2025
01c877a
feat: 상수 추가
jy0813 Dec 4, 2025
dd2bd97
feat: cart 순수 함수 추가
jy0813 Dec 4, 2025
ae5ebdf
feat: coupon 순수함수 추가
jy0813 Dec 4, 2025
5d46703
feat: product 순수함수 추가
jy0813 Dec 4, 2025
8ec5a07
refactor: 스토리지키 설정으로 인한 변경
jy0813 Dec 4, 2025
f557317
refactor: product 타입 수정
jy0813 Dec 4, 2025
5c91576
refactor: product 생성함수 분리
jy0813 Dec 4, 2025
ab8dd97
chore: prettier 로 인한 수정 반영
jy0813 Dec 4, 2025
4ac7a5a
feat: entities/coupon/ui 완료
jy0813 Dec 4, 2025
e648389
feat: entities/coupon/ui 완료
jy0813 Dec 4, 2025
b7c0c55
feat: validation 추가
jy0813 Dec 4, 2025
2bf1360
feat: entities/product/ui 추가 완료
jy0813 Dec 4, 2025
4108b3d
feat: entities/cart/ui 추가 완료
jy0813 Dec 4, 2025
a8679c9
feat: shared useToast 추가
jy0813 Dec 4, 2025
d10af21
feat: features cart ui 생성
jy0813 Dec 4, 2025
d210959
feat: features order 완료
jy0813 Dec 4, 2025
0d8e798
feat: validate 추가
jy0813 Dec 4, 2025
17b3c6b
fix: button 수정
jy0813 Dec 4, 2025
72767cb
feat: newProduct 추가
jy0813 Dec 4, 2025
268d023
fix: input variants 겹침 수정
jy0813 Dec 4, 2025
4e4c22c
feat: features/product/ui/ProductForm 완료
jy0813 Dec 4, 2025
2cb5eeb
fix: Select 관리자용 텍스트 사이즈 추가
jy0813 Dec 4, 2025
0e5db7f
feat: features/coupon/ui/CouponForm 추가 완료
jy0813 Dec 4, 2025
94a94c2
feat: entities/cart/ui 추가
jy0813 Dec 4, 2025
bd31a63
feat: widgets/cart/ui/CartListWidget 추가
jy0813 Dec 4, 2025
3fcc2cf
feat: entities/product/ui/EmptySearchResult 추가
jy0813 Dec 4, 2025
06c2546
feat: widgets/product/ui/ProductListWidget 추가
jy0813 Dec 4, 2025
ca19871
feat: widgets/product/ui/AdminProductWidget 추가
jy0813 Dec 4, 2025
0b8de13
feat: entities/coupon/ui/AddCouponCard 추가
jy0813 Dec 4, 2025
8d6bf71
feat: widgets/coupon/ui/AdminCouponWidget 추가
jy0813 Dec 4, 2025
4a5dc72
feat: Header Widgets 추가 및 ProductListWidgets 수정
jy0813 Dec 4, 2025
b3d831a
fix: 버그 수정 및 key 수정
jy0813 Dec 4, 2025
e0422f9
feat: advanced 에 basic 구조 추가
jy0813 Dec 4, 2025
37bacef
chore: zustand 설치
jy0813 Dec 5, 2025
74815da
refactor: store를 사용하지만 FSD 패턴 적용하여 사용하게 리팩토링 완료
jy0813 Dec 5, 2025
7b6c495
chore: 배포 셋팅
jy0813 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: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
dist
build
coverage
11 changes: 11 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"printWidth": 80,
"trailingComma": "all",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"bracketSpacing": true,
"useTabs": false,
"arrowParens": "always",
"endOfLine": "lf"
}
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
},
"dependencies": {
"clsx": "^2.1.1",
"react": "^19.1.1",
"react-dom": "^19.1.1"
"react-dom": "^19.1.1",
"tailwind-merge": "^3.4.0",
"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 All @@ -33,6 +37,7 @@
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"jsdom": "^26.1.0",
"prettier": "^3.7.3",
"typescript": "^5.9.2",
"vite": "^7.0.6",
"vitest": "^3.2.4"
Expand Down
100 changes: 85 additions & 15 deletions pnpm-lock.yaml

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

Loading