Skip to content

Latest commit

ย 

History

History
51 lines (37 loc) ยท 2.52 KB

File metadata and controls

51 lines (37 loc) ยท 2.52 KB

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.

๐ŸŽฏ Git Convention

  • ๐ŸŽ‰ Start: Start New Project [:tada:]
  • โœจ Feat: ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ์„ ์ถ”๊ฐ€ [:sparkles:]
  • ๐Ÿ› Fix: ๋ฒ„๊ทธ ์ˆ˜์ • [:bug:]
  • ๐ŸŽจ Design: CSS ๋“ฑ ์‚ฌ์šฉ์ž UI ๋””์ž์ธ ๋ณ€๊ฒฝ [:art:]
  • โ™ป๏ธ Refactor: ์ฝ”๋“œ ๋ฆฌํŒฉํ† ๋ง [:recycle:]
  • ๐Ÿ”ง Settings: Changing configuration files [:wrench:]
  • ๐Ÿ—ƒ๏ธ Comment: ํ•„์š”ํ•œ ์ฃผ์„ ์ถ”๊ฐ€ ๋ฐ ๋ณ€๊ฒฝ [:card_file_box:]
  • โž• Dependency/Plugin: Add a dependency/plugin [:heavy_plus_sign:]
  • ๐Ÿ“ Docs: ๋ฌธ์„œ ์ˆ˜์ • [:memo:]
  • ๐Ÿ”€ Merge: Merge branches [:twisted_rightwards_arrows:]
  • ๐Ÿš€ Deploy: Deploying stuff [:rocket:]
  • ๐Ÿšš Rename: ํŒŒ์ผ ํ˜น์€ ํด๋”๋ช…์„ ์ˆ˜์ •ํ•˜๊ฑฐ๋‚˜ ์˜ฎ๊ธฐ๋Š” ์ž‘์—…๋งŒ์ธ ๊ฒฝ์šฐ [:truck:]
  • ๐Ÿ”ฅ Remove: ํŒŒ์ผ์„ ์‚ญ์ œํ•˜๋Š” ์ž‘์—…๋งŒ ์ˆ˜ํ–‰ํ•œ ๊ฒฝ์šฐ [:fire:]
  • โช๏ธ Revert: ์ „ ๋ฒ„์ „์œผ๋กœ ๋กค๋ฐฑ [:rewind:]

๐Ÿชด Branch Convention (GitHub Flow)

  • main: ๋ฐฐํฌ ๊ฐ€๋Šฅํ•œ ๋ธŒ๋žœ์น˜, ํ•ญ์ƒ ๋ฐฐํฌ ๊ฐ€๋Šฅํ•œ ์ƒํƒœ๋ฅผ ์œ ์ง€

  • develop : default branch๋กœ ๋ณ€๊ฒฝ (code space)

  • page/๋ช…์นญ/#์ด์Šˆ๋ฒˆํ˜ธ๏ฟฝ : ํ™”๋ฉด UI๊ตฌ์„ฑ ๋ฐ ํผ๋ธ”๋ฆฌ์‹ฑ ์ž‘์—…

  • api/๋ช…์นญ/#์ด์Šˆ๋ฒˆํ˜ธ : ํ†ต์‹ , api์—ฐ๋™, ๋น„์ฆˆ๋‹ˆ์Šค ๋กœ์ง ๊ตฌํ˜„ ์ž‘์—…

  • ๋ธŒ๋žœ์น˜ ๊ณต์œ  X โ†’ ํŠน์ˆ˜ํ•œ ๊ฒฝ์šฐ ํŒ€์›๋“ค์—๊ฒŒ ์•Œ๋ฆฌ๊ธฐ

  • ํŒ€์›์ด ์ง  ์ฝ”๋“œ ๋ฆฌ๋ทฐ ์—†์ด ์ˆ˜์ • X โ†’ ์ˆ˜์ • ์‹œ PR ๋‚จ๊ธฐ๊ณ  ๋ฆฌ๋ทฐ ํ•„์ˆ˜

๐ŸŒŠ Flow

  1. Create Issue
  2. develop ๊ธฐ์ค€ ๋ธŒ๋žœ์น˜ ์ƒ์„ฑ
  3. ์ž‘์—… ์™„๋ฃŒ ํ›„ develop ๋ธŒ๋žœ์น˜๋กœ pr ์ƒ์„ฑ + closed issue
  4. ํŒ€์› ๋ฆฌ๋ทฐ ํ›„ pr merge
  5. delete branch