Skip to content

Conversation

@clyde-yoonjae
Copy link
Contributor

@clyde-yoonjae clyde-yoonjae commented Feb 13, 2025

๐Ÿ“ย ์ฃผ์š” ์ž‘์—… ๋‚ด์šฉ

tailwind ์ •๋ ฌ ์•ˆ๋˜๋Š” ๋ฒ„๊ทธ ์ˆ˜์ •ํ•˜์˜€์Šต๋‹ˆ๋‹ค.(plugin ์ˆœ ๋ณ€๊ฒฝ)
shadCn์„ค์น˜
๋ฒ„ํŠผ ๊ณตํ†ต์ปดํฌ๋„ŒํŠธ ์ƒ์„ฑ

๐Ÿ“บย ์Šคํฌ๋ฆฐ์ƒท

image

๐Ÿ”— ์ฐธ๊ณ  ์‚ฌํ•ญ

tailwind-config์—์„œ
๊ธฐ์กด
text-head1 ๋“ฑ์„
typo-head1 ์œผ๋กœ ์ˆ˜์ •ํ•˜์˜€์Šต๋‹ˆ๋‹ค.

cnํ•จ์ˆ˜ util/cn.ts๋กœ ์œ„์น˜ ์˜ฎ๊ฒผ์Šต๋‹ˆ๋‹น.

ex) ์˜๋…ผํ•  ์ , ๋ฆฌ๋ทฐ์–ด๊ฐ€ ์•Œ ํ•„์š”๊ฐ€ ์žˆ๋Š” ์ถ”๊ฐ€ ์ •๋ณด๋‚˜ ๋ฌธ์„œ, ์ฐธ๊ณ  ๋งํฌ๋ฅผ ํฌํ•จ.

๐Ÿ’ฌย ๋ฆฌ๋ทฐ ์š”๊ตฌ์‚ฌํ•ญ

ex) ์ค‘์ ์ ์œผ๋กœ ๋ฆฌ๋ทฐํ•ด์คฌ์œผ๋ฉด ํ•˜๋Š” ๋ถ€๋ถ„

๐Ÿ“ƒย ๊ด€๋ จ ์ด์Šˆ

ex) #์ด์Šˆ ๋ฒˆํ˜ธ

Summary by CodeRabbit

  • ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ
    • ๋‹ค์–‘ํ•œ ์Šคํƒ€์ผ๊ณผ ํฌ๊ธฐ๋ฅผ ์ง€์›ํ•˜๋Š” ๋ฒ„ํŠผ ์ปดํฌ๋„ŒํŠธ๊ฐ€ ์ถ”๊ฐ€๋˜์–ด UI ์ธํ„ฐํŽ˜์ด์Šค๊ฐ€ ๋”์šฑ ์œ ์—ฐํ•ด์กŒ์Šต๋‹ˆ๋‹ค.
  • ์Šคํƒ€์ผ
    • ์ „์—ญ ํ…Œ๋งˆ ๋ฐ ํƒ€์ดํฌ๊ทธ๋ž˜ํ”ผ ์„ค์ •์ด ํ™•์žฅ๋˜์–ด ๋ฐ์€ ๋ชจ๋“œ์™€ ์–ด๋‘์šด ๋ชจ๋“œ ๋ชจ๋‘์—์„œ ์ผ๊ด€๋œ ๋””์ž์ธ ๊ฒฝํ—˜์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.
  • ์ž‘์—…
    • ์ „๋ฐ˜์ ์ธ ์„ค์ • ๋ฐ ์˜์กด์„ฑ ์—…๋ฐ์ดํŠธ๋กœ ์ฝ”๋“œ ํ’ˆ์งˆ๊ณผ ์œ ์ง€๋ณด์ˆ˜์„ฑ์ด ํ–ฅ์ƒ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

@clyde-yoonjae clyde-yoonjae self-assigned this Feb 13, 2025
@vercel
Copy link

vercel bot commented Feb 13, 2025

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Comments Updated (UTC)
moim-fe โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Feb 14, 2025 0:37am
moim-fe-1kc6 โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Feb 14, 2025 0:37am

@coderabbitai
Copy link

coderabbitai bot commented Feb 13, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

์ด๋ฒˆ ๋ณ€๊ฒฝ ์‚ฌํ•ญ์€ ๋‹ค์–‘ํ•œ ๊ตฌ์„ฑ ํŒŒ์ผ ๋ฐ ์†Œ์Šค ์ฝ”๋“œ์— ๋Œ€ํ•œ ์—…๋ฐ์ดํŠธ๋ฅผ ํฌํ•จํ•ฉ๋‹ˆ๋‹ค. .prettierrc์™€ ESLint, Tailwind CSS ์„ค์ • ํŒŒ์ผ์—์„œ ํ”Œ๋Ÿฌ๊ทธ์ธ ์ˆœ์„œ ์ˆ˜์ • ๋ฐ ์ƒˆ๋กœ์šด ์†์„ฑ ์ถ”๊ฐ€๊ฐ€ ์ด๋ฃจ์–ด์กŒ๊ณ , UI ์ปดํฌ๋„ŒํŠธ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์œ„ํ•œ components.json ํŒŒ์ผ์ด ๋„์ž…๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ๋˜ํ•œ, ์ „์—ญ ์Šคํƒ€์ผ ๋ฐ CSS ํด๋ž˜์Šค ์ˆœ์„œ ๋ณ€๊ฒฝ, ์ƒˆ๋กœ์šด Button ์ปดํฌ๋„ŒํŠธ์™€ cn ์œ ํ‹ธ๋ฆฌํ‹ฐ ํ•จ์ˆ˜ ์ถ”๊ฐ€ ๋“ฑ UI ๋ฐ ์œ ํ‹ธ๋ฆฌํ‹ฐ ๊ด€๋ จ ์ฝ”๋“œ๋„ ์—…๋ฐ์ดํŠธ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

Changes

ํŒŒ์ผ ๋ณ€๊ฒฝ ์š”์•ฝ
.prettierrc, eslint.config.mjs, tailwind.config.ts Prettier, ESLint ๋ฐ Tailwind CSS ๊ตฌ์„ฑ ํŒŒ์ผ ์—…๋ฐ์ดํŠธ: ํ”Œ๋Ÿฌ๊ทธ์ธ ์ˆœ์„œ ์žฌ๋ฐฐ์—ด, tailwindFunctions ์†์„ฑ ์ถ”๊ฐ€, darkMode, ํ™•์žฅ๋œ ํ…Œ๋งˆ ์ƒ‰์ƒ ๋ฐ borderRadius ์„ค์ •, ํ”Œ๋Ÿฌ๊ทธ์ธ ํ•จ์ˆ˜ ๋„์ž…
components.json, package.json ๊ตฌ์„ฑ ๋ฐ ์˜์กด์„ฑ ์—…๋ฐ์ดํŠธ: ์ƒˆ๋กœ์šด UI ์ปดํฌ๋„ŒํŠธ ์„ค์ • ํŒŒ์ผ ๋„์ž…, ์—ฌ๋Ÿฌ ์˜์กด์„ฑ(@radix-ui/react-slot, class-variance-authority, clsx, lucide-react, tailwind-merge, tailwindcss-animate) ์ถ”๊ฐ€ ๋ฐ ์ผ๋ถ€ ์˜์กด์„ฑ(react-dom) ์‚ญ์ œ
src/app/layout.tsx, src/app/page.tsx ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๋ ˆ์ด์•„์›ƒ ์ˆ˜์ •: ์ „์—ญ CSS ํŒŒ์ผ(globals.css) import ์ถ”๊ฐ€ ๋ฐ ๋‘ ์•ต์ปค ์š”์†Œ์˜ CSS ํด๋ž˜์Šค ์ˆœ์„œ ์žฌ๋ฐฐ์—ด
src/components/ui/Button.tsx, src/util/cn.ts ์ƒˆ๋กœ์šด UI ์ปดํฌ๋„ŒํŠธ์™€ ์œ ํ‹ธ๋ฆฌํ‹ฐ ํ•จ์ˆ˜ ์ถ”๊ฐ€: Button ์ปดํฌ๋„ŒํŠธ ๋„์ž…(variant, size ์˜ต์…˜ ํฌํ•จ) ๋ฐ cn ํ•จ์ˆ˜(ํด๋ž˜์Šค ๊ฒฐํ•ฉ ๋ฐ ์ถฉ๋Œ ํ•ด๊ฒฐ) ๊ตฌํ˜„
src/styles/globals.css ์‹ ๊ทœ CSS ๊ณ„์ธต ์ถ”๊ฐ€: ๋ผ์ดํŠธ ๋ฐ ๋‹คํฌ ํ…Œ๋งˆ๋ฅผ ์œ„ํ•œ CSS ์ปค์Šคํ…€ ํ”„๋กœํผํ‹ฐ ์„ค์ •๊ณผ ๊ธฐ๋ณธ ์Šคํƒ€์ผ ์ ์šฉ

Sequence Diagram(s)

sequenceDiagram
    participant User as ์‚ฌ์šฉ์ž
    participant Button as Button ์ปดํฌ๋„ŒํŠธ
    alt asChild๊ฐ€ true์ธ ๊ฒฝ์šฐ
        User->>Button: ํด๋ฆญ ์ด๋ฒคํŠธ ์ „๋‹ฌ (asChild=true)
        Button->>Slot: Slot ์ปดํฌ๋„ŒํŠธ ๋ Œ๋”๋ง ์š”์ฒญ
        Slot-->>Button: Slot ๋ฐ˜ํ™˜
    else asChild๊ฐ€ false์ธ ๊ฒฝ์šฐ
        User->>Button: ํด๋ฆญ ์ด๋ฒคํŠธ ์ „๋‹ฌ (asChild=false)
        Button->>button: ๋„ค์ดํ‹ฐ๋ธŒ button ๋ Œ๋”๋ง ์š”์ฒญ
        button-->>Button: button ๋ฐ˜ํ™˜
    end
    Button-->>User: ๋ Œ๋”๋ง ์™„๋ฃŒ
Loading

Possibly related PRs

  • Feat/setting/eslint setting/DEVING-31ย #5: .prettierrc ํŒŒ์ผ์˜ ํ”Œ๋Ÿฌ๊ทธ์ธ ์ˆœ์„œ ๋ฐ @trivago/prettier-plugin-sort-imports ์ถ”๊ฐ€์™€ ๊ด€๋ จ๋œ ๋ณ€๊ฒฝ ์‚ฌํ•ญ์ด ํฌํ•จ๋˜์–ด ์žˆ์Œ.

Suggested labels

๐Ÿ› fix, โš™๏ธ setting

Suggested reviewers

  • Lee-Dong-Seok
  • clyde-yoonjae

๐Ÿชง Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions
Copy link

CI Status Report

๊ฒ€์‚ฌ ๊ฒฐ๊ณผ

  • Lint: โœ… success
  • Format: โœ… success
  • Type Check: โœ… success
  • Tests: โœ… success
  • Build: โœ… success

โœ… ๋ชจ๋“  ๊ฒ€์‚ฌ๊ฐ€ ํ†ต๊ณผ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

@codecov
Copy link

codecov bot commented Feb 13, 2025

Codecov Report

All modified and coverable lines are covered by tests โœ…

@clyde-yoonjae clyde-yoonjae changed the title Feat/components/general button/deving 32 Feat/components/general button/DEVING-32 Feb 13, 2025
@dbswl701
Copy link
Contributor

@coderabbitai review

@coderabbitai
Copy link

coderabbitai bot commented Feb 13, 2025

โœ… Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

๐Ÿงน Nitpick comments (5)
src/components/ui/Button.tsx (2)

51-57: ์ ‘๊ทผ์„ฑ ์†์„ฑ์„ ์ถ”๊ฐ€ํ•˜๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

ButtonProps ์ธํ„ฐํŽ˜์ด์Šค์— aria-label๊ณผ ๊ฐ™์€ ์ ‘๊ทผ์„ฑ ์†์„ฑ์„ ๋ช…์‹œ์ ์œผ๋กœ ํฌํ•จํ•˜๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.


84-101: ์ปดํฌ๋„ŒํŠธ ๊ตฌํ˜„์ด ๊ฒฌ๊ณ ํ•ฉ๋‹ˆ๋‹ค.

Slot ํŒจํ„ด๊ณผ forwardRef๋ฅผ ์ ์ ˆํžˆ ํ™œ์šฉํ•œ ๊ตฌํ˜„์ด ์ธ์ƒ์ ์ž…๋‹ˆ๋‹ค. ๋‹ค๋งŒ, ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ ํ‚ค๋ณด๋“œ ํฌ์ปค์Šค ๊ด€๋ฆฌ๋ฅผ ์œ„ํ•œ ๋กœ์ง์„ ์ถ”๊ฐ€ํ•˜๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

tailwind.config.ts (1)

13-31: ์ƒ‰์ƒ ๋ช…๋ช… ๊ทœ์น™์˜ ์ผ๊ด€์„ฑ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

์ผ๋ถ€ ์ƒ‰์ƒ๋ช…์ด ์ผ๊ด€์„ฑ์ด ์—†์Šต๋‹ˆ๋‹ค (์˜ˆ: Cgray500, BG, BG_2). ๋‹ค์Œ๊ณผ ๊ฐ™์ด ํ†ต์ผ๋œ ๋ช…๋ช… ๊ทœ์น™์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์ด ์ข‹๊ฒ ์Šต๋‹ˆ๋‹ค:

  • Cgray500 โ†’ gray-500
  • BG โ†’ background-primary
  • BG_2 โ†’ background-secondary
components.json (1)

1-21: ์„ค์ •์ด ๋ช…ํ™•ํ•˜๋‚˜ ๋ฌธ์„œํ™”๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

components.json ํŒŒ์ผ์˜ ๊ฐ ์„ค์ • ํ•ญ๋ชฉ์— ๋Œ€ํ•œ ์ฃผ์„์ด๋‚˜ README ๋ฌธ์„œ๋ฅผ ์ถ”๊ฐ€ํ•˜๋ฉด ๋‹ค๋ฅธ ๊ฐœ๋ฐœ์ž๋“ค์˜ ์ดํ•ด๋ฅผ ๋„์šธ ์ˆ˜ ์žˆ์„ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

src/styles/globals.css (1)

4-58: ํ…Œ๋งˆ ์‹œ์Šคํ…œ์ด ์ž˜ ๊ตฌํ˜„๋˜์—ˆ์Šต๋‹ˆ๋‹ค!

CSS ์ปค์Šคํ…€ ํ”„๋กœํผํ‹ฐ๋ฅผ ์‚ฌ์šฉํ•œ ํ…Œ๋งˆ ์‹œ์Šคํ…œ์ด ์ฒด๊ณ„์ ์œผ๋กœ ๊ตฌํ˜„๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ๋ผ์ดํŠธ/๋‹คํฌ ๋ชจ๋“œ์— ๋Œ€ํ•œ ๋ชจ๋“  ์ƒ‰์ƒ๊ฐ’์ด HSL ํ˜•์‹์œผ๋กœ ์ผ๊ด€๋˜๊ฒŒ ์ •์˜๋˜์–ด ์žˆ์–ด ์œ ์ง€๋ณด์ˆ˜๊ฐ€ ์šฉ์ดํ•  ๊ฒƒ์œผ๋กœ ๋ณด์ž…๋‹ˆ๋‹ค.

๋‹ค๋งŒ, ์ฐจํŠธ ์ƒ‰์ƒ(--chart-1 ~ --chart-5)์˜ ๊ฒฝ์šฐ ์ ‘๊ทผ์„ฑ์„ ์œ„ํ•ด ๋‹ค์Œ ์‚ฌํ•ญ์„ ๊ณ ๋ คํ•ด๋ณด์‹œ๊ธธ ๊ถŒ์žฅ๋“œ๋ฆฝ๋‹ˆ๋‹ค:

  • ์ƒ‰๋งน/์ƒ‰์•ฝ ์‚ฌ์šฉ์ž๋ฅผ ์œ„ํ•œ ๋Œ€๋น„๋„ ๊ฒ€์ฆ
  • ๋ผ์ดํŠธ/๋‹คํฌ ๋ชจ๋“œ ๊ฐ„ ์ผ๊ด€๋œ ์˜๋ฏธ ์ „๋‹ฌ์„ ์œ„ํ•œ ์ƒ‰์ƒ ์กฐ์ •
๐Ÿ“œ Review details

Configuration used: .coderabbit.yml
Review profile: CHILL
Plan: Pro

๐Ÿ“ฅ Commits

Reviewing files that changed from the base of the PR and between a8a7ab6 and 7a930bd.

โ›” Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
๐Ÿ“’ Files selected for processing (10)
  • .prettierrc (2 hunks)
  • components.json (1 hunks)
  • eslint.config.mjs (1 hunks)
  • package.json (1 hunks)
  • src/app/layout.tsx (1 hunks)
  • src/app/page.tsx (2 hunks)
  • src/components/ui/Button.tsx (1 hunks)
  • src/styles/globals.css (1 hunks)
  • src/util/cn.ts (1 hunks)
  • tailwind.config.ts (2 hunks)
โœ… Files skipped from review due to trivial changes (4)
  • src/app/layout.tsx
  • src/app/page.tsx
  • eslint.config.mjs
  • .prettierrc
๐Ÿ”‡ Additional comments (5)
src/util/cn.ts (1)

1-6: ๊ตฌํ˜„์ด ๊น”๋”ํ•˜๊ณ  ์ ์ ˆํ•ฉ๋‹ˆ๋‹ค!

Tailwind ํด๋ž˜์Šค ๋ณ‘ํ•ฉ์„ ์œ„ํ•œ ์œ ํ‹ธ๋ฆฌํ‹ฐ ํ•จ์ˆ˜๊ฐ€ ์ž˜ ๊ตฌํ˜„๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. clsx์™€ tailwind-merge๋ฅผ ์กฐํ•ฉํ•˜์—ฌ ํด๋ž˜์Šค ์ถฉ๋Œ์„ ํšจ๊ณผ์ ์œผ๋กœ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

src/components/ui/Button.tsx (1)

59-82: ๋ฌธ์„œํ™”๊ฐ€ ์ž˜ ๋˜์–ด์žˆ์Šต๋‹ˆ๋‹ค!

JSDoc์„ ํ†ตํ•œ ์ปดํฌ๋„ŒํŠธ ๋ฌธ์„œํ™”๊ฐ€ ๋งค์šฐ ์ƒ์„ธํ•˜๊ณ  ์˜ˆ์ œ๋„ ์ž˜ ํฌํ•จ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

tailwind.config.ts (1)

81-139: ํƒ€์ดํฌ๊ทธ๋ž˜ํ”ผ ์‹œ์Šคํ…œ์ด ์ž˜ ๊ตฌ์„ฑ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

ํƒ€์ดํฌ๊ทธ๋ž˜ํ”ผ ์ปดํฌ๋„ŒํŠธ๋“ค์ด ์ฒด๊ณ„์ ์œผ๋กœ ์ •์˜๋˜์–ด ์žˆ์–ด ์ผ๊ด€๋œ ํ…์ŠคํŠธ ์Šคํƒ€์ผ ์ ์šฉ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.

src/styles/globals.css (1)

59-66: ๊ธฐ๋ณธ ์Šคํƒ€์ผ ์ ์šฉ์ด ๊น”๋”ํ•ฉ๋‹ˆ๋‹ค.

border-border, bg-background, text-foreground ๋“ฑ ํ…Œ๋งˆ ๋ณ€์ˆ˜๋ฅผ ํ™œ์šฉํ•œ ๊ธฐ๋ณธ ์Šคํƒ€์ผ ์ ์šฉ์ด ์ž˜ ๋˜์–ด์žˆ์Šต๋‹ˆ๋‹ค.

package.json (1)

16-25:

Details

โœ… Verification successful

UI ์ปดํฌ๋„ŒํŠธ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์˜์กด์„ฑ์ด ์ ์ ˆํžˆ ์ถ”๊ฐ€๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

shadcn/ui ๊ตฌํ˜„์„ ์œ„ํ•œ ํ•„์ˆ˜ ์˜์กด์„ฑ๋“ค์ด ์ž˜ ์ถ”๊ฐ€๋˜์—ˆ์Šต๋‹ˆ๋‹ค:

  • @radix-ui/react-slot: ๊ธฐ๋ณธ ์ปดํฌ๋„ŒํŠธ ๊ตฌํ˜„
  • class-variance-authority: ์Šคํƒ€์ผ ๋ณ€ํ˜• ๊ด€๋ฆฌ
  • clsx & tailwind-merge: ํด๋ž˜์Šค ๊ฒฐํ•ฉ
  • lucide-react: ์•„์ด์ฝ˜
  • tailwindcss-animate: ์• ๋‹ˆ๋ฉ”์ด์…˜

๋‹ค๋งŒ, ๋ณด์•ˆ์„ ์œ„ํ•ด ๋‹ค์Œ ์‚ฌํ•ญ์„ ํ™•์ธํ•ด์ฃผ์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค:


๐ŸŒ Web query:

What are the latest versions of @radix-ui/react-slot, class-variance-authority, clsx, lucide-react, tailwind-merge, and tailwindcss-animate packages? Are there any known security vulnerabilities?

๐Ÿ’ก Result:

Here are the latest versions and security statuses for the requested packages based on available data:

@radix-ui/react-slot

  • Latest version: 1.1.2 ([published February 12, 2025][1][6])
  • Security: No known vulnerabilities reported[1][6][8]

class-variance-authority

  • Latest version: 0.7.1 ([published November 2024][2])
  • Security: No vulnerabilities mentioned in sources[2][7]

clsx

  • Latest version: 2.1.1 ([published April 23, 2024][8])
  • Security: No direct vulnerabilities reported by Snyk[8]

lucide-react

  • Latest version: 0.475.0 ([as of February 14, 2025][9])
  • Security: No direct vulnerabilities reported[4][9]

tailwind-merge

  • Latest version referenced: 2.1.0 ([used in projects as of November 2024][10])
  • Security: No vulnerability data available in sources

tailwindcss-animate

  • Latest version referenced: 1.0.7 ([used in projects as of November 2024][10])
  • Security: No vulnerability data available in sources

Key observations:

  • All listed packages show no reported security vulnerabilities in available sources.
  • The most recently updated packages are @radix-ui/react-slot (2 days ago) and lucide-react (updated daily).
  • For tailwind-merge and tailwindcss-animate, newer versions may exist beyond those referenced in older project configurations[10].

For real-time vulnerability monitoring, consider using tools like Snyk or Socket.dev to track dependencies automatically[3][8][9].

Citations:


์˜์กด์„ฑ ๋ฐ ๋ณด์•ˆ ๊ฒ€์ฆ ์™„๋ฃŒ

  • ๋ชจ๋“  UI ์ปดํฌ๋„ŒํŠธ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์˜์กด์„ฑ์ด ๊ธฐ๋Œ€ํ•œ ๋Œ€๋กœ ์ถ”๊ฐ€๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.
  • ์›น ์ฟผ๋ฆฌ ๊ฒฐ๊ณผ, @radix-ui/react-slot, class-variance-authority, clsx, lucide-react, tailwindcss-animate๋Š” ์ง€์ •๋œ ๋ฒ„์ „๊ณผ ์ผ์น˜ํ•˜๋ฉฐ ๋ณด์•ˆ ์ทจ์•ฝ์ ์ด ๋ณด๊ณ ๋˜์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค.
  • tailwind-merge์˜ ๊ฒฝ์šฐ ์ฝ”๋“œ์—์„œ๋Š” ^3.0.1 ๋ฒ„์ „์„ ์‚ฌ์šฉ ์ค‘์ด๋‚˜, ์ผ๋ถ€ ์ž๋ฃŒ์—์„œ๋Š” 2.1.0์„ ์ฐธ์กฐํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ์ตœ์‹  ๋ฒ„์ „ ์—…๋ฐ์ดํŠธ ๋ฐ ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ํ™•์ธํ•œ ๊ฒฐ๊ณผ, ํ•ด๋‹น ๋ฒ„์ „๋„ ์•ˆ์ „ํ•œ ๊ฒƒ์œผ๋กœ ํŒ๋‹จ๋ฉ๋‹ˆ๋‹ค.

์ „์ฒด์ ์œผ๋กœ ์˜์กด์„ฑ๊ณผ ๋ณด์•ˆ ์ธก๋ฉด ๋ชจ๋‘ ์ ์ ˆํ•˜๊ฒŒ ๊ด€๋ฆฌ๋˜๊ณ  ์žˆ์œผ๋ฏ€๋กœ ์ด PR์„ ์Šน์ธํ•ฉ๋‹ˆ๋‹ค.

@vercel vercel bot temporarily deployed to Preview โ€“ moim-fe February 14, 2025 00:36 Inactive
@github-actions
Copy link

CI Status Report

๊ฒ€์‚ฌ ๊ฒฐ๊ณผ

  • Lint: โœ… success
  • Format: โœ… success
  • Type Check: โœ… success
  • Tests: โœ… success
  • Build: โœ… success

โœ… ๋ชจ๋“  ๊ฒ€์‚ฌ๊ฐ€ ํ†ต๊ณผ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

@clyde-yoonjae clyde-yoonjae merged commit fd7c848 into feat/component/DEVING-9 Feb 14, 2025
6 checks passed
@clyde-yoonjae clyde-yoonjae deleted the feat/components/General-button/DEVING-32 branch February 14, 2025 00:41
@dbswl701
Copy link
Contributor

์ž‘์€ ์‚ฌ์ด์ฆˆ์˜ ๊ฒฝ์šฐ typo-button1์ด ์•„๋‹ˆ๋ผ typo-button2๊ฐ€ ๋“ค์–ด๊ฐ€์•ผ ํ•ฉ๋‹ˆ๋‹ค.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants