Skip to content

Commit 761dcbe

Browse files
authored
v0.1.0
2 parents 1cfe27c + cd48b29 commit 761dcbe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+8590
-3634
lines changed

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
end_of_line = lf
11+
12+
[*.md]
13+
trim_trailing_whitespace = false

.eslintrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
"extends": "@channel.io/eslint-config",
3+
rules: {
4+
'no-restricted-imports': 'off',
5+
'no-restricted-modules': 'off',
6+
},
7+
};

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: 버그 리포트
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
# 현재상황
11+
## 재현 방법
12+
13+
## 기대한 동작
14+
15+
## 실제 동작
16+
17+
# Reference

.github/ISSUE_TEMPLATE/features.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: 기능 개선 및 추가
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: feature
6+
assignees: ''
7+
8+
---
9+
10+
## 현재 상황
11+
12+
## 문제점
13+
14+
## 어떻게 개선할 수 있는지
15+
16+
# Reference

.github/pull_request_template.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Description
2+
변경사항 개요를 작성해주세요. Github 이슈, Notion 등 연관 문서가 있다면 첨부해주세요.
3+
4+
## Changes Detail
5+
* 변경1 세부사항
6+
* 변경2 세부사항
7+
8+
# Tests
9+
- [ ] Jest 테스트 코드 작성 완료
10+
- [ ] Storybook 작성 완료
11+
12+
## Browser Compatibility
13+
OS / Engine 호환성을 반드시 확인해주세요.
14+
### Windows
15+
- [ ] Chrome - Blink
16+
- [ ] Edge - Blink
17+
- [ ] Firefox - Gecko (Option)
18+
### macOS
19+
- [ ] Chrome - Blink
20+
- [ ] Edge - Blink
21+
- [ ] Safari - WebKit
22+
- [ ] Firefox - Gecko (Option)
23+
24+
# (Option) Issues
25+
(연관된 PR이나 Task / 특정 시점까지 머지하면 안됨 / 번역 추가 필요 / ...)
26+
* 이슈 없음.

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v12.18.0

.storybook/main.js

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,29 @@
1-
const path = require("path")
1+
const path = require('path')
22

33
module.exports = {
4-
stories: ["../src/**/*.stories.tsx"],
5-
addons: [],
4+
stories: [
5+
'../src/**/*.stories.tsx',
6+
],
7+
addons: [
8+
'@storybook/addon-actions/register',
9+
'@storybook/addon-knobs/register',
10+
],
611
webpackFinal: async (config) => {
712
config.module.rules.push({
813
test: /\.scss$/,
9-
use: ["style-loader", "css-loader", "sass-loader"],
10-
include: path.resolve(__dirname, "../"),
14+
use: ['style-loader', 'css-loader', 'sass-loader'],
15+
include: path.resolve(__dirname, '../'),
1116
})
1217

1318
config.module.rules.push({
1419
test: /\.(ts|tsx)$/,
15-
loader: require.resolve("babel-loader"),
20+
loader: require.resolve('babel-loader'),
1621
options: {
17-
presets: [["react-app", { flow: false, typescript: true }]],
22+
presets: [['react-app', { flow: false, typescript: true }]],
1823
},
1924
})
2025

21-
config.resolve.extensions.push(".ts", ".tsx")
26+
config.resolve.extensions.push('.ts', '.tsx')
2227

2328
return config
2429
}

.storybook/preview-head.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<style type="text/css">
2+
body {
3+
margin: 0;
4+
padding: 0;
5+
}
6+
</style>

.stylelintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["@channel.io/stylelint-config"]
3+
}

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Design system
2+
React Component library from Channel.io
3+
4+
## Install
5+
```
6+
> npm i @channel.io/design-system
7+
```

0 commit comments

Comments
 (0)