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
54f6ada
chore: zustand, tanstack-query, eslint 패키지 설치
Aug 11, 2025
4bb0491
fix: components 타입에러 수정
hyojin-k Aug 11, 2025
046fa09
refactor: shared/ui 분리
hyojin-k Aug 11, 2025
0aef075
refator: Footer, Header widgets로 분리
Aug 12, 2025
7de5ccb
refactor: type 추가
Aug 12, 2025
6438888
fix: 타입에러 수정
Aug 12, 2025
49dca0d
fix: 게시물 조회 에러 수정
Aug 12, 2025
4b78f48
refactor: entities model/types 분리
Aug 12, 2025
60713f6
refactor: entities/features postApi 분리
Aug 12, 2025
3608125
refactor: entities/features commentApi 분리
Aug 12, 2025
60790c3
refactor: entities userApi 분리
Aug 12, 2025
bed148e
refactor: entities/features type 분리
hyojin-k Aug 12, 2025
740e8e5
refactor: react-query entities hooks 적용
hyojin-k Aug 12, 2025
9ad7561
refactor: react-query features hooks 적용
hyojin-k Aug 12, 2025
ea066cf
refactor: pagination shared/ui 분리
Aug 13, 2025
9f8735d
refactor: SearchBar widgets 분리
Aug 13, 2025
879a230
refactor: features/post/ui 분리
Aug 13, 2025
0e61af1
refactor: features/comment/ui 분리
Aug 13, 2025
30a3fa4
refactor: entities/user/ui 분리
Aug 13, 2025
bb25a4c
refactor: entities/post/ui 분리
Aug 13, 2025
96f09ff
refactor: entities/comment/ui 분리
Aug 13, 2025
f4f07c7
refactor: highlightText shared/lib 분리
Aug 13, 2025
d74fa25
refactor: PostTable features/post/ui로 이동
Aug 13, 2025
3db91e7
refactor: comment entities/features 분리
Aug 14, 2025
ab21062
refactor: queryKeys 추가
Aug 14, 2025
cfd69a1
refactor: comment 로직 수정 진행중
Aug 14, 2025
f4bcedc
refactor: comment edit 로직 수정
hyojin-k Aug 14, 2025
a3ce21d
chore: prettier 적용
hyojin-k Aug 14, 2025
8b43e18
refactor: comment type 추가
hyojin-k Aug 14, 2025
256043b
refactor: shared/api 분리
hyojin-k Aug 14, 2025
0e97f70
refactor: user 모달 조회 수정
hyojin-k Aug 14, 2025
e0d70f6
refactor: comment api/hooks 통합
hyojin-k Aug 14, 2025
95674bb
refactor: post api/hooks 통합
hyojin-k Aug 14, 2025
ef6769e
fix: 정렬 기능 수정
hyojin-k Aug 14, 2025
c46c643
refactor: app 폴더 생성
hyojin-k Aug 14, 2025
2ef0a4e
refactor: post url분리, store 생성, edit 로직 수정
hyojin-k Aug 14, 2025
6411a4b
refactor: post 상세조회 분리
hyojin-k Aug 14, 2025
8fd7f71
refactor: post 삭제, 추가 수정
hyojin-k Aug 14, 2025
ff64fb7
fix: 필터링, 페이지네이션 버그 수정
hyojin-k Aug 14, 2025
f6d74f0
fix: highlightText 수정
hyojin-k Aug 14, 2025
c3cc4ab
refactor: props drilling 개선
hyojin-k Aug 14, 2025
998b29b
refactor: 정렬기준 선택안 한 경우 disable
hyojin-k Aug 14, 2025
919cc49
배포 설정
hyojin-k Aug 14, 2025
0922ca4
fix: 배포 에러 수정
hyojin-k Aug 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
38 changes: 38 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Deploy to GitHub Pages

on:
push:
branches: [main]

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

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

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 10.12.4

- name: Install dependencies
run: pnpm install

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

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
6 changes: 3 additions & 3 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"semi": false,
"printWidth": 120,
"semi": true,
"printWidth": 80,
"tabWidth": 2,
"singleQuote": false,
"quoteProps": "consistent",
"trailingComma": "all",
"singleAttributePerLine": false
}
}
25 changes: 11 additions & 14 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'
import js from "@eslint/js";
import globals from "globals";
import reactHooks from "eslint-plugin-react-hooks";
import reactRefresh from "eslint-plugin-react-refresh";
import tseslint from "typescript-eslint";

export default tseslint.config(
{ ignores: ['dist'] },
{ ignores: ["dist"] },
{
extends: [js.configs.recommended, ...tseslint.configs.recommended],
files: ['**/*.{ts,tsx}'],
files: ["**/*.{ts,tsx}"],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
plugins: {
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
"react-hooks": reactHooks,
"react-refresh": reactRefresh,
},
rules: {
...reactHooks.configs.recommended.rules,
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
"react-refresh/only-export-components": ["warn", { allowConstantExport: true }],
},
},
)
);
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,31 @@
"coverage": "vitest run --coverage"
},
"dependencies": {
"@tanstack/react-query": "^5.84.2",
"react": "^19.1.1",
"react-dom": "^19.1.1"
"react-dom": "^19.1.1",
"zustand": "^5.0.7"
},
"devDependencies": {
"@eslint/js": "^9.33.0",
"@feature-sliced/eslint-config": "^0.1.1",
"@radix-ui/react-dialog": "^1.1.14",
"@radix-ui/react-select": "^2.2.5",
"@tanstack/react-query-devtools": "^5.85.3",
"@testing-library/jest-dom": "^6.6.4",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/react": "^19.1.9",
"@types/react-dom": "^19.1.7",
"@typescript-eslint/eslint-plugin": "^8.39.0",
"@typescript-eslint/parser": "^8.39.0",
"@vitejs/plugin-react": "^5.0.0",
"axios": "^1.11.0",
"class-variance-authority": "^0.7.1",
"eslint": "^9.33.0",
"eslint-plugin-boundaries": "^5.0.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-perfectionist": "^4.15.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.3.0",
Expand Down
Loading