Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
blank_issues_enabled: false
contact_links: []
76 changes: 76 additions & 0 deletions .github/ISSUE_TEMPLATE/task.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: ๊ฐœ๋ฐœ ์ž‘์—…
description: ๊ธฐ๋Šฅ, ๋ฒ„๊ทธ, ๋ฆฌํŒฉํ„ฐ๋ง, ๋ฌธ์„œ ๋ฐ ์„ค์ • ์ž‘์—…์„ ๋“ฑ๋กํ•ฉ๋‹ˆ๋‹ค.
body:
- type: markdown
attributes:
value: |
ํ•˜๋‚˜์˜ ์ด์Šˆ์—๋Š” ํ•˜๋‚˜์˜ ๋ช…ํ™•ํ•œ ์ž‘์—… ๋ชฉํ‘œ๋ฅผ ์ž‘์„ฑํ•ด ์ฃผ์„ธ์š”.

- type: dropdown
id: type
attributes:
label: ์ž‘์—… ์œ ํ˜•
description: ์ด์Šˆ์˜ ์ฃผ๋œ ์ž‘์—… ์œ ํ˜•์„ ์„ ํƒํ•ด ์ฃผ์„ธ์š”.
options:
- ๊ธฐ๋Šฅ ๊ฐœ๋ฐœ
- ๋ฒ„๊ทธ ์ˆ˜์ •
- ๋ฆฌํŒฉํ„ฐ๋ง
- ๋ฌธ์„œ ์ž‘์—…
- UI/UX ๋ณ€๊ฒฝ
- ํ…Œ์ŠคํŠธ
- ์„ฑ๋Šฅ ๊ฐœ์„ 
- ๋ณด์•ˆ ๊ฐœ์„ 
- ๋นŒ๋“œ ๋ฐ ์„ค์ •
- ๋ฐฐํฌ
validations:
required: true

- type: textarea
id: background
attributes:
label: ๋ฐฐ๊ฒฝ ๋ฐ ๋ชฉ์ 
description: ์ด ์ž‘์—…์ด ํ•„์š”ํ•œ ์ด์œ ์™€ ํ•ด๊ฒฐํ•˜๋ ค๋Š” ๋ฌธ์ œ๋ฅผ ์ž‘์„ฑํ•ด ์ฃผ์„ธ์š”.
placeholder: ํ˜„์žฌ ์ƒํ™ฉ, ์‚ฌ์šฉ์ž ๋ฌธ์ œ ๋˜๋Š” ๊ธฐ์ˆ ์ ์ธ ๋ฐฐ๊ฒฝ์„ ์ž‘์„ฑํ•ด ์ฃผ์„ธ์š”.
validations:
required: true

- type: textarea
id: details
attributes:
label: ์ž‘์—… ๋‚ด์šฉ
description: ๊ตฌํ˜„ํ•˜๊ฑฐ๋‚˜ ๋ณ€๊ฒฝํ•  ๋‚ด์šฉ์„ ๊ตฌ์ฒด์ ์œผ๋กœ ์ž‘์„ฑํ•ด ์ฃผ์„ธ์š”. ๋ฒ„๊ทธ๋ผ๋ฉด ์žฌํ˜„ ๋ฐฉ๋ฒ•๊ณผ ๊ธฐ๋Œ€ ๊ฒฐ๊ณผ๋ฅผ ํ•จ๊ป˜ ์ž‘์„ฑํ•ด ์ฃผ์„ธ์š”.
placeholder: |
- ๋ณ€๊ฒฝํ•  ํ™”๋ฉด, ๊ธฐ๋Šฅ ๋˜๋Š” ์ฝ”๋“œ
- ์ฃผ์š” ๋™์ž‘๊ณผ ์˜ˆ์™ธ ์ƒํ™ฉ
- ๋ฒ„๊ทธ ์žฌํ˜„ ๋ฐฉ๋ฒ•๊ณผ ๊ธฐ๋Œ€ ๊ฒฐ๊ณผ
validations:
required: true

- type: textarea
id: tasks
attributes:
label: ์„ธ๋ถ€ ์ž‘์—…
description: ํ•„์š”ํ•œ ์ž‘์—…์„ ์ฒดํฌ๋ฆฌ์ŠคํŠธ๋กœ ์ž‘์„ฑํ•ด ์ฃผ์„ธ์š”.
value: |
- [ ]
validations:
required: true

- type: textarea
id: acceptance_criteria
attributes:
label: ์™„๋ฃŒ ์กฐ๊ฑด
description: ์ด ์ด์Šˆ๋ฅผ ์™„๋ฃŒ๋กœ ํŒ๋‹จํ•  ์ˆ˜ ์žˆ๋Š” ์กฐ๊ฑด๊ณผ ๊ฒ€์ฆ ๋ฐฉ๋ฒ•์„ ์ž‘์„ฑํ•ด ์ฃผ์„ธ์š”.
value: |
- [ ] ์ฃผ์š” ๋™์ž‘์„ ํ™•์ธํ–ˆ๋‹ค.
- [ ] ๊ด€๋ จ ์ •์  ๊ฒ€์‚ฌ์™€ ํ…Œ์ŠคํŠธ๋ฅผ ํ†ต๊ณผํ–ˆ๋‹ค.
validations:
required: true

- type: textarea
id: references
attributes:
label: ์ฐธ๊ณ  ์ž๋ฃŒ
description: ๋””์ž์ธ, API ๋ช…์„ธ, ๊ด€๋ จ ์ด์Šˆ, ๋กœ๊ทธ ๋˜๋Š” ์Šคํฌ๋ฆฐ์ƒท์„ ์ฒจ๋ถ€ํ•ด ์ฃผ์„ธ์š”.
validations:
required: false
45 changes: 45 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
## ์ž‘์—… ๋‚ด์šฉ

<!-- ์ด PR์—์„œ ๋ณ€๊ฒฝํ•œ ๋‚ด์šฉ๊ณผ ๋ณ€๊ฒฝ ์ด์œ ๋ฅผ ์ž‘์„ฑํ•ด ์ฃผ์„ธ์š”. -->

-

## ๊ด€๋ จ ์ด์Šˆ

<!-- ๋ณ‘ํ•ฉ ์‹œ ์ข…๋ฃŒํ•  ์ด์Šˆ ๋ฒˆํ˜ธ๋ฅผ ์ž‘์„ฑํ•ด ์ฃผ์„ธ์š”. ์˜ˆ: Closes #12 -->

- Closes #

## ๋ณ€๊ฒฝ ์œ ํ˜•

- [ ] ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ
- [ ] ๋ฒ„๊ทธ ์ˆ˜์ •
- [ ] ๋ฆฌํŒฉํ„ฐ๋ง
- [ ] UI/UX ๋ณ€๊ฒฝ
- [ ] ๋ฌธ์„œ ๋˜๋Š” ์„ค์ • ๋ณ€๊ฒฝ

## ์ฃผ์š” ๋ณ€๊ฒฝ ์‚ฌํ•ญ

<!-- ๋ฆฌ๋ทฐ์–ด๊ฐ€ ์ค‘์ ์ ์œผ๋กœ ํ™•์ธํ•  ๋‚ด์šฉ์„ ์ž‘์„ฑํ•ด ์ฃผ์„ธ์š”. -->

-

## ์Šคํฌ๋ฆฐ์ƒท

<!-- UI ๋ณ€๊ฒฝ์ด ์žˆ๋‹ค๋ฉด ๋ณ€๊ฒฝ ์ „ํ›„ ์ด๋ฏธ์ง€ ๋˜๋Š” Chromatic ๋งํฌ๋ฅผ ์ฒจ๋ถ€ํ•ด ์ฃผ์„ธ์š”. UI ๋ณ€๊ฒฝ์ด ์—†๋‹ค๋ฉด ์ด ํ•ญ๋ชฉ์„ ์‚ญ์ œํ•ด ์ฃผ์„ธ์š”. -->

## ๊ฒ€์ฆ

<!-- ์‹คํ–‰ํ•œ ๊ฒ€์ฆ ๋ฐฉ๋ฒ•๊ณผ ๊ฒฐ๊ณผ๋ฅผ ์ž‘์„ฑํ•ด ์ฃผ์„ธ์š”. ์ ์šฉ๋˜์ง€ ์•Š๋Š” ํ•ญ๋ชฉ์€ ์ด์œ ๋ฅผ ๋‚จ๊ฒจ ์ฃผ์„ธ์š”. -->

- [ ] ์ฃผ์š” ์‚ฌ์šฉ์ž ํ๋ฆ„์„ ์ง์ ‘ ํ™•์ธํ–ˆ์Šต๋‹ˆ๋‹ค.
- [ ] `pnpm lint`๋ฅผ ํ†ต๊ณผํ–ˆ์Šต๋‹ˆ๋‹ค.
- [ ] `pnpm build`๋ฅผ ํ†ต๊ณผํ–ˆ์Šต๋‹ˆ๋‹ค.
- [ ] ๋ชจ๋ฐ”์ผ๊ณผ ๋ฐ์Šคํฌํ†ฑ ํ™”๋ฉด์„ ํ™•์ธํ–ˆ์Šต๋‹ˆ๋‹ค.
- [ ] ๊ด€๋ จ Storybook ์Šคํ† ๋ฆฌ๋ฅผ ํ™•์ธํ–ˆ์Šต๋‹ˆ๋‹ค.

## ์ฐธ๊ณ  ์‚ฌํ•ญ

<!-- ๋ฆฌ๋ทฐ ๋˜๋Š” ๋ฐฐํฌ ์‹œ ์•Œ์•„์•ผ ํ•  ๋‚ด์šฉ์ด ์žˆ๋‹ค๋ฉด ์ž‘์„ฑํ•ด ์ฃผ์„ธ์š”. -->

-
47 changes: 47 additions & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Chromatic

on:
push:
branches:
- main
pull_request:

permissions:
contents: read

concurrency:
group: chromatic-${{ github.ref }}
cancel-in-progress: true

jobs:
chromatic:
name: Visual tests
runs-on: ubuntu-latest
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
steps:
- name: Checkout repository
uses: actions/checkout@v7
with:
fetch-depth: 0

- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 11.15.0

- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version-file: .node-version
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Publish to Chromatic
if: env.CHROMATIC_PROJECT_TOKEN != ''
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
onlyChanged: true
22 changes: 17 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,18 @@

# dependencies
/node_modules
/.pnpm-store/
/.pnp
.pnp.js
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions

# testing
/coverage
/storybook-static/

# next.js
/.next/
Expand All @@ -23,10 +30,15 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local
.env
.pnpm-debug.log*
build-storybook.log
chromatic.log
chromatic-build-*.xml
chromatic-diagnostics.json
debug-storybook.log

# env files (can opt-in for committing if needed)
.env*

# vercel
.vercel
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v24.18.0
17 changes: 17 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import type { StorybookConfig } from "@storybook/nextjs-vite";

const config: StorybookConfig = {
stories: ["../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
addons: [
"@storybook/addon-docs",
"@storybook/addon-a11y",
"@chromatic-com/storybook",
],
framework: {
name: "@storybook/nextjs-vite",
options: {},
},
staticDirs: ["../public"],
};

export default config;
22 changes: 22 additions & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import type { Preview } from "@storybook/nextjs-vite";

import "../src/app/globals.css";

const preview: Preview = {
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
options: {
storySort: {
order: ["Shared", "Entities", "Features", "Widgets", "Views", "Pages"],
},
},
},
tags: ["autodocs"],
};

export default preview;
Loading
Loading