Skip to content

Commit 4351c65

Browse files
committed
Chore : 초기 환경 설정
1 parent ef801f2 commit 4351c65

22 files changed

+5885
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: "⚙️ Chore Template"
3+
about: 환경 세팅 이슈 템플릿
4+
title: ""
5+
labels: "⚙ chore"
6+
assignees: ""
7+
---
8+
9+
## 📝 목적
10+
11+
- 설명
12+
13+
## 💡 작업 목록
14+
15+
- [ ] 작업1
16+
- [ ] 세부 작업
17+
- [ ] 작업2
18+
- [ ] 세부 작업
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: "\U0001F527 Fix Template"
3+
about: 버그 해결 이슈 템플릿
4+
title: ""
5+
labels: ":bug: fix"
6+
assignees: ""
7+
---
8+
9+
## 📝 목적
10+
11+
- 설명
12+
13+
## 💡 작업 목록
14+
15+
- [ ] 작업1
16+
- [ ] 세부 작업
17+
- [ ] 작업2
18+
- [ ] 세부 작업
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: "\U0001F528 Refactor Template"
3+
about: 리팩토링 이슈 템플릿
4+
title: ""
5+
labels: ":recycle: refactor"
6+
assignees: ""
7+
---
8+
9+
## 📝 목적
10+
11+
- 설명
12+
13+
## 💡 작업 목록
14+
15+
- [ ] 작업1
16+
- [ ] 세부 작업
17+
- [ ] 작업2
18+
- [ ] 세부 작업
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: "\U0001F6E0️ Feature Template"
3+
about: 기능 개발 이슈 템플릿
4+
title: ""
5+
labels: "🛠 feature"
6+
assignees: ""
7+
---
8+
9+
## 📝 목적
10+
11+
- 설명
12+
13+
## 💡 작업 목록
14+
15+
- [ ] 작업1
16+
- [ ] 세부 작업
17+
- [ ] 작업2
18+
- [ ] 세부 작업

.github/PULL_REQUEST_TEMPLATE.md

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
## Related Issues
2+
3+
- close #issue_number
4+
5+
## PR 유형
6+
7+
어떤 변경 사항이 있나요?
8+
9+
- [ ] 새로운 기능 추가
10+
- [ ] 오류 수정
11+
- [ ] CSS 등 스타일 변경
12+
- [ ] 코드에 영향을 주지 않는 변경사항(오타 수정, 탭 사이즈 변경, 변수명 변경)
13+
- [ ] 코드 리팩토링
14+
- [ ] 주석 추가 및 수정
15+
- [ ] 문서 수정
16+
- [ ] 테스트 추가, 테스트 리팩토링
17+
- [ ] 파일 혹은 폴더 삭제
18+
19+
## ✅ 변경 사항 in Detail
20+
21+
- [ ] 변경 사항
22+
- 변경 사항 상세 설명
23+
24+
## 📝 논의 사항
25+
26+
- [ ] 논의 사항
27+
28+
## 💡 다음에 할 것
29+
30+
- [ ] 다음에 할 것

.gitignore

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

README.md

+50-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,50 @@
1-
# DE-admin
1+
# React + TypeScript + Vite
2+
3+
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4+
5+
Currently, two official plugins are available:
6+
7+
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
8+
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
9+
10+
## Expanding the ESLint configuration
11+
12+
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
13+
14+
- Configure the top-level `parserOptions` property like this:
15+
16+
```js
17+
export default tseslint.config({
18+
languageOptions: {
19+
// other options...
20+
parserOptions: {
21+
project: ['./tsconfig.node.json', './tsconfig.app.json'],
22+
tsconfigRootDir: import.meta.dirname,
23+
},
24+
},
25+
})
26+
```
27+
28+
- Replace `tseslint.configs.recommended` to `tseslint.configs.recommendedTypeChecked` or `tseslint.configs.strictTypeChecked`
29+
- Optionally add `...tseslint.configs.stylisticTypeChecked`
30+
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and update the config:
31+
32+
```js
33+
// eslint.config.js
34+
import react from 'eslint-plugin-react'
35+
36+
export default tseslint.config({
37+
// Set the react version
38+
settings: { react: { version: '18.3' } },
39+
plugins: {
40+
// Add the react plugin
41+
react,
42+
},
43+
rules: {
44+
// other rules...
45+
// Enable its recommended rules
46+
...react.configs.recommended.rules,
47+
...react.configs['jsx-runtime'].rules,
48+
},
49+
})
50+
```

eslint.config.js

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import js from "@eslint/js";
2+
import globals from "globals";
3+
import reactHooks from "eslint-plugin-react-hooks";
4+
import reactRefresh from "eslint-plugin-react-refresh";
5+
import tseslint from "typescript-eslint";
6+
7+
export default tseslint.config(
8+
{ ignores: ["dist"] },
9+
{
10+
extends: [js.configs.recommended, ...tseslint.configs.recommended],
11+
files: ["**/*.{ts,tsx}"],
12+
languageOptions: {
13+
ecmaVersion: 2020,
14+
globals: globals.browser,
15+
},
16+
plugins: {
17+
"react-hooks": reactHooks,
18+
"react-refresh": reactRefresh,
19+
},
20+
rules: {
21+
...reactHooks.configs.recommended.rules,
22+
"react-refresh/only-export-components": [
23+
"warn",
24+
{ allowConstantExport: true },
25+
],
26+
},
27+
}
28+
);

index.html

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Vite + React + TS</title>
8+
</head>
9+
<body>
10+
<div id="root"></div>
11+
<script type="module" src="/src/main.tsx"></script>
12+
</body>
13+
</html>

0 commit comments

Comments
 (0)