Coder Social home page Coder Social logo

zzzryt / modern-kit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from modern-agile-team/modern-kit

0.0 0.0 0.0 236.21 MB

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป ํด๋ผ์ด์–ธํŠธ ๊ฐœ๋ฐœ ํ›…, ์œ ํ‹ธ ํ•จ์ˆ˜ ์ œ๊ณต ๋ชจ๋…ธ๋ ˆํฌ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ

Home Page: https://modern-agile-team.github.io/modern-kit

License: MIT License

JavaScript 2.03% TypeScript 97.97%

modern-kit's Introduction

@modern-kit


@modern-kit๋Š” ํด๋ผ์ด์–ธํŠธ ๊ฐœ๋ฐœ์— ์œ ์šฉํ•œ ๋ฆฌ์•กํŠธ ์ปดํฌ๋„ŒํŠธ, ์ปค์Šคํ…€ ํ›… ๋ฐ ์œ ํ‹ธ๋ฆฌํ‹ฐ ํ•จ์ˆ˜, ํƒ€์ž…์„ ์ œ๊ณตํ•˜๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์ž…๋‹ˆ๋‹ค.

ํด๋ผ์ด์–ธํŠธ ๊ฐœ๋ฐœ์— ํ•„์š”ํ•œ ๋ชจ๋“ˆ๋“ค์„ ์ œ๊ณตํ•˜๋Š” ๊ฒƒ ๋ฟ๋งŒ์•„๋‹ˆ๋ผ, ๋‹ค์–‘ํ•œ ๋ ˆํผ๋Ÿฐ์Šค๋ฅผ ์ œ๊ณตํ•˜๊ธฐ ์œ„ํ•œ ๋ชฉ์ ์„ ๊ฐ–๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

@modern-kit๋Š” Next.js์˜ SSR(Server Side Rendering)ํ™˜๊ฒฝ์—์„œ๋„ ํ˜ธํ™˜๋˜๋Š” ๋“ฑ CJS(CommonJs)ํ™˜๊ฒฝ์—์„œ๋„ ํ˜ธํ™˜๋˜๊ธฐ ์œ„ํ•ด CJS(CommonJs)์™€ ESM(ECMAScript Module) ๋‘ ํฌ๋งท์„ ๋ชจ๋‘ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.


Official 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๋ฅผ ๋ชจ๋‘ ์ง„ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

Documentation

  • @modern-kit์€ docusaurus๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ๋ฌธ์„œํ™” ์ž‘์—…์„ ์ง„ํ–‰ํ•ฉ๋‹ˆ๋‹ค.
yarn start:docs
  • start:docs ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด ๊ฐœ๋ฐœ ์„œ๋ฒ„๋ฅผ ์‹คํ–‰ํ•ด ๋ฌธ์„œ ์ž‘์—…์„ ๋ฏธ๋ฆฌ ํ™•์ธ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
yarn build:docs
  • build:docs ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด document build๋ฅผ ์ง„ํ–‰ํ•ฉ๋‹ˆ๋‹ค.
  • ์‹ ๊ทœ ๋ฌธ์„œ ์ž‘์—… ํ›„ ํ•ด๋‹น 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.


modern-kit's People

Contributors

ssi02014 avatar dependabot[bot] avatar github-actions[bot] avatar sangminnn avatar hoonloper avatar collection50 avatar soonki-98 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.