Skip to content

๐ŸŽ‰ xionwcfm.com | ๊ฐœ์ธ ๊ธฐ์ˆ  ๋ธ”๋กœ๊ทธ

Notifications You must be signed in to change notification settings

XionWCFM/xionwcfmrepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

xionwcfm monorepo

Turbo Repo์™€ Pnpm Workspace๋กœ ๊ตฌ์„ฑ๋œ ๋ชจ๋…ธ๋ ˆํฌ ํ”„๋กœ์ ํŠธ์ž…๋‹ˆ๋‹ค.

xionwcfm-lib Repository์— ์˜์กด์„ฑ์„ ๊ฐ–์Šต๋‹ˆ๋‹ค.

git clone https://github.com/XionWCFM/xionwcfmrepo.git
pnpm i
pnpm run build:p

apps์˜ ํ”„๋กœ์ ํŠธ๋Š” packages์˜ ๋นŒ๋“œ์‚ฐ์ถœ๋ฌผ์— ์˜์กดํ•˜๊ธฐ๋•Œ๋ฌธ์— ์ฒ˜์Œ ํ”„๋กœ์ ํŠธ๋ฅผ clone ๋ฐ›์•˜๋‹ค๋ฉด ํŒจํ‚ค์ง€๋ฅผ ๋นŒ๋“œํ•ด์•ผํ•ฉ๋‹ˆ๋‹ค.

pnpm run build:p

๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด packages ํด๋” ์ „์ฒด๋ฅผ ๋นŒ๋“œํ•˜์„ธ์š”

Project

next.js app router์™€ next-mdx-remotes๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ๊ตฌ์„ฑ๋œ ๋ธ”๋กœ๊ทธ ํ”„๋กœ์ ํŠธ์ž…๋‹ˆ๋‹ค.

Link

์ด ๋ธ”๋กœ๊ทธ์— ๋ฐฉ๋ฌธํ•ด๋ณด์„ธ์š”!

์ด ๋ธ”๋กœ๊ทธ์˜ ์ดˆ๊ธฐ ๋””์ž์ธ ๊ธฐํš ๋ฐ ๊ตฌํ˜„ ๊ณผ์ •์„ ํ™•์ธํ•ด๋ณด์„ธ์š”

mdx ์ž‘์„ฑ ์‹œ์˜ ๊ฐœ๋ฐœ์ž ๊ฒฝํ—˜์„ ๊ฐœ์„ ํ•˜๊ธฐ ์œ„ํ•œ MDX ํŒŒ์ผ ์ž๋™ Refresh ๊ธฐ๋Šฅ ๊ตฌํ˜„ ๊ณผ์ •

grasshopper landing grasshopper problem

๋žœ๋คํ•˜๊ฒŒ ์ฃผ์–ด์ง€๋Š” ๋ฉ”๋šœ๊ธฐ์˜ ์‚ฌ์ง„์„ ํ† ๋Œ€๋กœ ์˜ฌ๋ฐ”๋ฅธ ์„ ์ง€๋ฅผ ๋งž์ถฐ๋‚˜๊ฐ€๋Š” ํ€ด์ฆˆ ์‚ฌ์ดํŠธ์ž…๋‹ˆ๋‹ค.

์ด ์‚ฌ์ดํŠธ์— ๋ฐฉ๋ฌธํ•ด๋ณด์„ธ์š”!


์ด ํ”„๋กœ์ ํŠธ๋ฅผ ๊ตฌ์„ฑํ•˜๋ฉด์„œ ์ €๋Š”

  • FSD ๊ตฌ์กฐ๋ฅผ ์ ์šฉํ•˜์—ฌ ๊ฐ ๊ธฐ๋Šฅ๋“ค์„ ์ตœ๋Œ€ํ•œ ๋ชจ๋“ˆํ™”ํ•˜๊ณ ์ž ๋…ธ๋ ฅํ–ˆ์–ด์š”

  • ์–ด๋–ป๊ฒŒํ•˜๋ฉด ํ…Œ์ŠคํŠธํ•˜๊ธฐ ์‰ฌ์šด ๊ตฌ์กฐ๋ฅผ ๋งŒ๋“ค ์ˆ˜ ์žˆ์„์ง€ ๊ณ ๋ฏผํ•˜๋ฉด์„œ ์ฝ”๋“œ๋ฅผ ์ž‘์„ฑํ–ˆ์–ด์š”

  • UI์™€ ๋น„์ฆˆ๋‹ˆ์Šค ๋กœ์ง ๊ฐ„์˜ ๊ด€์‹ฌ์‚ฌ๋ฅผ ์ตœ๋Œ€ํ•œ ๋ถ„๋ฆฌํ•˜๊ธฐ ์œ„ํ•ด ๋…ธ๋ ฅํ–ˆ์–ด์š”

grasshopper landing grasshopper problem grasshopper result

Folder Structure

  • apps : configs, packages์—๊ฒŒ ์˜์กด ๋‹นํ•˜์ง€ ์•Š๋Š” ํ”„๋กœ์ ํŠธ ์ฝ”๋“œ๋“ค์ด ํฌํ•จ๋ฉ๋‹ˆ๋‹ค.

  • packages : apps ๊ฐ„ ๊ณต์œ ํ•ด์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๋ฒ”์šฉ์ ์ธ ์ฝ”๋“œ์กฐ๊ฐ๋“ค์ด ํฌํ•จ๋ฉ๋‹ˆ๋‹ค.

  • configs : typescript, tailwindcss ๋“ฑ ๋‹ค์–‘ํ•œ ํŒจํ‚ค์ง€์—์„œ ํ•„์š”๋กœํ•˜๋Š” ๊ตฌ์„ฑ ์„ค์ •์ด ํฌํ•จ๋ฉ๋‹ˆ๋‹ค.


CONVENTION

LABEL CONVENTION

๋ผ๋ฒจ์€ ์•„๋ž˜ PR ์ปจ๋ฒค์…˜์—์„œ๋„ ๋™์ผํ•˜๊ฒŒ ์‚ฌ์šฉ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • chore : ์•„๋ž˜ ๋ผ๋ฒจ์— ํฌํ•จ๋˜์ง€ ์•Š๋Š” ์ง€๋ฃจํ•œ ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•œ ๊ฒฝ์šฐ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

  • documentation : ๋ฌธ์„œ๋ฅผ ์—…๋ฐ์ดํŠธํ•œ ๊ฒฝ์šฐ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

  • feature : ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ์„ ๊ตฌํ˜„ํ–ˆ์„ ๋•Œ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

  • bug : ๋ฒ„๊ทธ ์ˆ˜์ •์‹œ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

  • hotfix : ๊ธ‰ํ•œ ์ˆ˜์ •์‚ฌํ•ญ์ด ์žˆ์„ ๊ฒฝ์šฐ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

  • refactoring : ์ฝ”๋“œ์˜ ๋™์ž‘์„ ๋ณ€๊ฒฝํ•˜์ง€ ์•Š๊ณ  ๊ตฌ์กฐ๋ฅผ ๊ฐœ์„ ํ•œ ๊ฒฝ์šฐ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

  • progress : ํ•ด๋‹น PR๋กœ ์™„๊ฒฐ๋˜์ง€ ๋ชปํ•˜๋Š” ์ปค๋‹ค๋ž€ ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•˜๊ณ  ์žˆ์„ ๋•Œ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

PR CONVENTION

๋ชจ๋“  PR์˜ ์ œ๋ชฉ์€ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋ช…๋ช…๊ทœ์น™์„ ์ค€์ˆ˜ํ•ฉ๋‹ˆ๋‹ค.

[yyyy.MM.dd] Label: ์ž‘์—… ๋‚ด์šฉ

example

[2024.06.19] feature: CI/CD ๊ตฌ์„ฑ ์„ค์ • ์ ์šฉ ๋ฐ workspace ์„ค์ • ์ถ”๊ฐ€


COMMIT CONVENTION

gitmoji๋ฅผ ์ด์šฉํ•˜์—ฌ emoji๋ฅผ ํ†ตํ•ด ์ž‘์—…๋‚ด์šฉ์„ ๋‚˜ํƒ€๋‚ด๋ฉฐ ๊ฐ Commit์˜ ์ œ๋ชฉ์€ ์ž‘์—… ๋‚ด์šฉ์„ ๋‚˜ํƒ€๋ƒ…๋‹ˆ๋‹ค.


insight

๋ชจ๋…ธ๋ ˆํฌ์—์„œ Internal Packages๋ฅผ ๊ด€๋ฆฌํ•˜๋Š” 3๊ฐ€์ง€ ๋ฐฉ๋ฒ•

.

About

๐ŸŽ‰ xionwcfm.com | ๊ฐœ์ธ ๊ธฐ์ˆ  ๋ธ”๋กœ๊ทธ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages