Skip to content

Commit 7717890

Browse files
authored
Merge pull request #105 from boostcamp-2020/develop
deploy: 3주차 배포
2 parents 25ac174 + be08016 commit 7717890

File tree

169 files changed

+32752
-4
lines changed

Some content is hidden

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

169 files changed

+32752
-4
lines changed

.github/PULL_REQUEST_TEMPLATE.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99

1010
> 구현 내용 및 작업 했던 내역
1111
12-
- [ ] 작업 내역 1
13-
- [ ] 작업 내역 2
14-
- [ ] 작업 내역 3
15-
- [ ] 작업 내역 4
12+
- [x] 작업 내역 1
13+
- [x] 작업 내역 2
14+
- [x] 작업 내역 3
15+
- [x] 작업 내역 4
1616

1717

1818
## :construction: PR 특이 사항

.gitignore

+139
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/react,node,vscode,dotenv
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=react,node,vscode,dotenv
3+
4+
### dotenv ###
5+
.env
6+
*.env
7+
8+
### Node ###
9+
# Logs
10+
logs
11+
*.log
12+
npm-debug.log*
13+
yarn-debug.log*
14+
yarn-error.log*
15+
lerna-debug.log*
16+
17+
# Diagnostic reports (https://nodejs.org/api/report.html)
18+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
19+
20+
# Runtime data
21+
pids
22+
*.pid
23+
*.seed
24+
*.pid.lock
25+
26+
# Directory for instrumented libs generated by jscoverage/JSCover
27+
lib-cov
28+
29+
# Coverage directory used by tools like istanbul
30+
coverage
31+
*.lcov
32+
33+
# nyc test coverage
34+
.nyc_output
35+
36+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
37+
.grunt
38+
39+
# Bower dependency directory (https://bower.io/)
40+
bower_components
41+
42+
# node-waf configuration
43+
.lock-wscript
44+
45+
# Compiled binary addons (https://nodejs.org/api/addons.html)
46+
build/Release
47+
48+
# Dependency directories
49+
node_modules/
50+
jspm_packages/
51+
52+
# TypeScript v1 declaration files
53+
typings/
54+
55+
# TypeScript cache
56+
*.tsbuildinfo
57+
58+
# Optional npm cache directory
59+
.npm
60+
61+
# Optional eslint cache
62+
.eslintcache
63+
64+
# Microbundle cache
65+
.rpt2_cache/
66+
.rts2_cache_cjs/
67+
.rts2_cache_es/
68+
.rts2_cache_umd/
69+
70+
# Optional REPL history
71+
.node_repl_history
72+
73+
# Output of 'npm pack'
74+
*.tgz
75+
76+
# Yarn Integrity file
77+
.yarn-integrity
78+
79+
# dotenv environment variables file
80+
.env.test
81+
.env*.local
82+
83+
# parcel-bundler cache (https://parceljs.org/)
84+
.cache
85+
.parcel-cache
86+
87+
# Next.js build output
88+
.next
89+
90+
# Nuxt.js build / generate output
91+
.nuxt
92+
dist
93+
94+
# Gatsby files
95+
.cache/
96+
# Comment in the public line in if your project uses Gatsby and not Next.js
97+
# https://nextjs.org/blog/next-9-1#public-directory-support
98+
# public
99+
100+
# vuepress build output
101+
.vuepress/dist
102+
103+
# Serverless directories
104+
.serverless/
105+
106+
# FuseBox cache
107+
.fusebox/
108+
109+
# DynamoDB Local files
110+
.dynamodb/
111+
112+
# TernJS port file
113+
.tern-port
114+
115+
# Stores VSCode versions used for testing VSCode extensions
116+
.vscode-test
117+
118+
### react ###
119+
.DS_*
120+
**/*.backup.*
121+
**/*.back.*
122+
123+
node_modules
124+
125+
*.sublime*
126+
127+
psd
128+
thumb
129+
sketch
130+
131+
### vscode ###
132+
.vscode/*
133+
!.vscode/settings.json
134+
!.vscode/tasks.json
135+
!.vscode/launch.json
136+
!.vscode/extensions.json
137+
*.code-workspace
138+
139+
# End of https://www.toptal.com/developers/gitignore/api/react,node,vscode,dotenv

client/.babelrc.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"presets": [
3+
[
4+
"@babel/preset-env",
5+
{
6+
"corejs": "2",
7+
"useBuiltIns": "entry"
8+
}
9+
]
10+
]
11+
}

client/.eslintrc.json

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"node": true,
5+
"es2021": true
6+
},
7+
"ignorePatterns": ["node_modules/"],
8+
"extends": [
9+
"eslint:recommended",
10+
"plugin:@typescript-eslint/eslint-recommended",
11+
"airbnb-base",
12+
"prettier/@typescript-eslint",
13+
"plugin:prettier/recommended"
14+
],
15+
"globals": {
16+
"Atomics": "readonly",
17+
"SharedArrayBuffer": "readonly"
18+
},
19+
"parser": "@typescript-eslint/parser",
20+
"parserOptions": {
21+
"ecmaFeatures": {
22+
"jsx": true
23+
},
24+
"ecmaVersion": 12,
25+
"sourceType": "module"
26+
},
27+
"plugins": ["react", "@typescript-eslint", "prettier"],
28+
"settings": {
29+
"import/resolver": {
30+
"node": {
31+
"extensions": [".js", ".jsx", ".ts", ".tsx"]
32+
}
33+
}
34+
},
35+
"rules": {
36+
"prettier/prettier": [
37+
"error",
38+
{
39+
"endOfLine": "auto"
40+
}
41+
],
42+
"linebreak-style": 0,
43+
"no-use-before-define": "off",
44+
"import/prefer-default-export": "off",
45+
"import/no-unresolved": "off",
46+
"@typescript-eslint/no-use-before-define": ["error"],
47+
"import/extensions": [
48+
"error",
49+
"ignorePackages",
50+
{
51+
"js": "never",
52+
"jsx": "never",
53+
"ts": "never",
54+
"tsx": "never"
55+
}
56+
]
57+
}
58+
}

client/.prettierrc.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"printWidth": 150,
3+
"tabWidth": 2,
4+
"singleQuote": true,
5+
"trailingComma": "none",
6+
"bracketSpacing": true,
7+
"semi": true,
8+
"useTabs": false,
9+
"arrowParens": "always",
10+
"endOfLine": "lf",
11+
"jsxBracketSameLine": true,
12+
"jsxSingleQuote": false
13+
}

client/.storybook/main.js

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
const path = require('path');
2+
3+
module.exports = {
4+
"stories": [
5+
"../src/**/*.stories.mdx",
6+
"../src/**/*.stories.@(js|jsx|ts|tsx)"
7+
],
8+
"addons": [
9+
'@storybook/addon-links',
10+
'@storybook/addon-essentials',
11+
'@storybook/addon-actions',
12+
'@storybook/addon-knobs',
13+
],
14+
webpackFinal: async(config, { configType }) => {
15+
config.resolve.alias = {
16+
...config.resolve.alias,
17+
'@components': path.resolve(__dirname, '../src/components'),
18+
'@pages': path.resolve(__dirname, '../src/pages'),
19+
'@theme': path.resolve(__dirname, '../src/common/theme'),
20+
'@utils': path.resolve(__dirname, '../src/common/utils'),
21+
'@store': path.resolve(__dirname, '../src/common/store'),
22+
'@dispatch': path.resolve(__dirname, '../src/common/dispatch'),
23+
'@imgs': path.resolve(__dirname, '../public/imgs')
24+
}
25+
return config;
26+
}
27+
}

client/.storybook/preview.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
export const parameters = {
3+
actions: { argTypesRegex: "^on[A-Z].*" },
4+
}

client/env/.env.sample

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SERVER_ADDR=localhost:3000

0 commit comments

Comments
 (0)