Skip to content

πŸ‘¨πŸ»β€πŸ’» Modern-kit은 ν΄λΌμ΄μ–ΈνŠΈ κ°œλ°œμ— μœ μš©ν•œ λͺ¨λ“ˆλ“€μ„ μ œκ³΅ν•˜λŠ” μ˜€ν”ˆμ†ŒμŠ€ 라이브러리 μž…λ‹ˆλ‹€.

License

Notifications You must be signed in to change notification settings

Choi-HyunHo/modern-kit

Β 
Β 

Repository files navigation

@modern-kit


@modern-kitλŠ” ν΄λΌμ΄μ–ΈνŠΈ κ°œλ°œμ— μœ μš©ν•œ λ¦¬μ•‘νŠΈ μ»΄ν¬λ„ŒνŠΈ, μ»€μŠ€ν…€ ν›… 및 μœ ν‹Έλ¦¬ν‹° ν•¨μˆ˜, νƒ€μž…μ„ μ œκ³΅ν•˜λŠ” λΌμ΄λΈŒλŸ¬λ¦¬μž…λ‹ˆλ‹€.

ν΄λΌμ΄μ–ΈνŠΈ κ°œλ°œμ— ν•„μš”ν•œ λͺ¨λ“ˆλ“€μ„ μ œκ³΅ν•˜λŠ” 것 λΏλ§Œμ•„λ‹ˆλΌ, λ‹€μ–‘ν•œ 레퍼런슀λ₯Ό μ œκ³΅ν•˜κΈ° μœ„ν•œ λͺ©μ μ„ κ°–κ³  μžˆμŠ΅λ‹ˆλ‹€.

@modern-kitλŠ” Next.js의 SSR(Server Side Rendering)ν™˜κ²½μ—μ„œλ„ ν˜Έν™˜λ˜λŠ” λ“± CJS(CommonJs)ν™˜κ²½μ—μ„œλ„ ν˜Έν™˜λ˜κΈ° μœ„ν•΄ CJS(CommonJs)와 ESM(ECMAScript Module) 두 포맷을 λͺ¨λ‘ μ§€μ›ν•©λ‹ˆλ‹€.


Documentation

@modern-kit의 곡식 λ¬Έμ„œλŠ” μ•„λž˜ μ›Ήμ‚¬μ΄νŠΈμ—μ„œ ν™•μΈν•˜μ‹€ 수 μžˆμŠ΅λ‹ˆλ‹€


Usage

@modern-kit/react

  • React와 κ΄€λ ¨λœ μœ μš©ν•œ μ»΄ν¬λ„ŒνŠΈμ™€ μ»€μŠ€ν…€ 훅을 μ œκ³΅ν•˜λŠ” λΌμ΄λΈŒλŸ¬λ¦¬μž…λ‹ˆλ‹€.
npm i @modern-kit/react
yarn add @modern-kit/react
pnpm i @modern-kit/react

@modern-kit/utils

  • ν΄λΌμ΄μ–ΈνŠΈ 개발과 κ΄€λ ¨λœ μœ μš©ν•œ μœ ν‹Έλ¦¬ν‹° ν•¨μˆ˜λ₯Ό μ œκ³΅ν•˜λŠ” λΌμ΄λΈŒλŸ¬λ¦¬μž…λ‹ˆλ‹€.
npm i @modern-kit/utils
yarn add @modern-kit/utils
pnpm i @modern-kit/utils

@modern-kit/types

  • μœ μš©ν•œ μœ ν‹Έ νƒ€μž…λ“€μ„ μ œκ³΅ν•˜λŠ” 라이브러리 μž…λ‹ˆλ‹€.
npm i @modern-kit/types
yarn add @modern-kit/types
pnpm i @modern-kit/types

Lint & Test & build

  • root ν΄λ”μ—μ„œ μ§„ν–‰ν•΄μ£Όμ„Έμš”.
  • νŒ¨ν‚€μ§€ λ§€λ‹ˆμ €λŠ” yarn berry, Node 버전은 v20을 μ‚¬μš©ν•˜μ…”μ•Ό ν•©λ‹ˆλ‹€.
yarn eslint packages
  • μœ„ λͺ…λ Ήμ–΄λ₯Ό 톡해 λͺ¨λ“  νŒ¨ν‚€μ§€μ˜ lint 검사λ₯Ό 진행할 수 μžˆμŠ΅λ‹ˆλ‹€.
yarn test
  • test λͺ…λ Ήμ–΄λ₯Ό 톡해 vitest와 react-testing-library둜 ν…ŒμŠ€νŠΈλ₯Ό 진행할 수 μžˆμŠ΅λ‹ˆλ‹€.
yarn typecheck
  • typecheck λͺ…λ Ήμ–΄λ₯Ό 톡해 typecheckλ₯Ό 진행할 수 μžˆμŠ΅λ‹ˆλ‹€.
yarn build
  • build λͺ…λ Ήμ–΄λ₯Ό 톡해 κ΄€λ¦¬ν•˜λŠ” λͺ¨λ“  νŒ¨ν‚€μ§€λ“€μ˜ build, μƒλ‹¨μ˜ lint, test, typecheckλ₯Ό λͺ¨λ‘ μ§„ν–‰ν•©λ‹ˆλ‹€.
yarn build:docs
  • build:docs λͺ…λ Ήμ–΄λ₯Ό 톡해 κ΄€λ¦¬ν•˜λŠ” document의 buildλ₯Ό μ§„ν–‰ν•©λ‹ˆλ‹€.

Contributing

λͺ¨λ“  기여에 κ°μ‚¬λ“œλ¦½λ‹ˆλ‹€! λˆ„κ΅¬λ“ μ§€ λΌμ΄λΈŒλŸ¬λ¦¬μ— κΈ°μ—¬ν•  수 μžˆμŠ΅λ‹ˆλ‹€. Contributing Guide

Contributors


Stack

  • Node v20
  • React, TypeScript
  • Vitest, React-Testing-Library
  • Rollup, ESBuild
  • Yarn Berry(v4) & Workspaces
  • Lerna (for Versioning & Publishing)
  • docusaurus (documentation)

Tools

  • Yarn Berry와 workspacesλ₯Ό ν™œμš©ν•΄ Monolithic Repository ν™˜κ²½μ„ ꡬ좕
    • packages λ‚΄λΆ€μ˜ νŒ¨ν‚€μ§€λ“€μ€ 둜컬 νŒ¨ν‚€μ§€μ²˜λŸΌ μƒν˜Έ μ˜μ‘΄μ„±μ„ κ°–μŠ΅λ‹ˆλ‹€.
  • lernaλ₯Ό ν™œμš©ν•œ 톡합 λΉŒλ“œ, 톡합 ν…ŒμŠ€νŠΈ, 톡합 배포 ν™˜κ²½ ꡬ좕
  • github actionsλ₯Ό ν™œμš©ν•œ CI/CD ꡬ좕
  • changeset을 ν™œμš©ν•œ λͺ¨λ…Έλ ˆν¬ ν™˜κ²½μ—μ„œ νŒ¨ν‚€μ§€ 일관성 μœ μ§€ 및 NPM 배포 진행
  • dependabot을 ν™œμš©ν•œ μžλ™ μ˜μ‘΄μ„± 관리
  • codecovλ₯Ό ν™œμš©ν•œ ν…ŒμŠ€νŠΈ μ½”λ“œ 컀버리지 체크 및 μ‹ λ’°μ„± μžˆλŠ” μ½”λ“œ 제곡
  • docusaurusλ₯Ό ν™œμš©ν•œ λ¬Έμ„œν™”

License

MIT Β© Modern Agile. See LICENSE for details.


About

πŸ‘¨πŸ»β€πŸ’» Modern-kit은 ν΄λΌμ΄μ–ΈνŠΈ κ°œλ°œμ— μœ μš©ν•œ λͺ¨λ“ˆλ“€μ„ μ œκ³΅ν•˜λŠ” μ˜€ν”ˆμ†ŒμŠ€ 라이브러리 μž…λ‹ˆλ‹€.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.4%
  • JavaScript 1.6%