Skip to content

Commit d44ae4f

Browse files
feat: migration to next.js
1 parent 15bc46e commit d44ae4f

File tree

730 files changed

+8147
-20880
lines changed

Some content is hidden

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

730 files changed

+8147
-20880
lines changed

.eslintrc.json

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"extends": [
3+
"next/core-web-vitals",
4+
"airbnb",
5+
"airbnb-typescript",
6+
"plugin:prettier/recommended"
7+
],
8+
"parserOptions": {
9+
"project": "./tsconfig.json"
10+
},
11+
"rules": {
12+
"react/jsx-props-no-spreading": "off",
13+
"react/react-in-jsx-scope": "off",
14+
"react/jsx-filename-extension": [1, { "extensions": [".ts", ".tsx"] }],
15+
"react/require-default-props": "off",
16+
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
17+
"@typescript-eslint/no-use-before-define": "off"
18+
},
19+
"overrides": [
20+
{
21+
"files": ["src/api/*/**"],
22+
"rules": {
23+
"import/prefer-default-export": "off"
24+
}
25+
}
26+
]
27+
}

.github/PULL_REQUEST_TEMPLATE.md

-8
This file was deleted.

.github/workflows/linting.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Lint GitHub Action
2+
3+
run-name: ${{ github.actor }}님의 빌드 및 Lint 검사 🚀
4+
5+
on:
6+
pull_request:
7+
branches:
8+
- main
9+
- dev
10+
jobs:
11+
ESLint:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
- uses: actions/setup-node@v3
16+
with:
17+
node-version: "14"
18+
- run: yarn
19+
- run: yarn build
20+
- run: yarn lint

.github/workflows/update-README.yml

-40
This file was deleted.

.gitignore

+26-142
Original file line numberDiff line numberDiff line change
@@ -1,152 +1,36 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
12

2-
README.md
3-
# Created by https://www.toptal.com/developers/gitignore/api/macos,webstorm
4-
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,webstorm
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
57

8+
# testing
9+
/coverage
610

7-
.idea/*
8-
temp.txt
11+
# next.js
12+
/.next/
13+
/out/
914

10-
### macOS ###
11-
# General
12-
.DS_Store
13-
.AppleDouble
14-
.LSOverride
15-
16-
17-
# Icon must end with two \r
18-
Icon
19-
20-
21-
# Thumbnails
22-
._*
23-
24-
# Files that might appear in the root of a volume
25-
.DocumentRevisions-V100
26-
.fseventsd
27-
.Spotlight-V100
28-
.TemporaryItems
29-
.Trashes
30-
.VolumeIcon.icns
31-
.com.apple.timemachine.donotpresent
32-
33-
# Directories potentially created on remote AFP share
34-
.AppleDB
35-
.AppleDesktop
36-
Network Trash Folder
37-
Temporary Items
38-
.apdisk
39-
40-
### WebStorm ###
41-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
42-
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
43-
44-
# User-specific stuff
45-
.idea/**/workspace.xml
46-
.idea/**/tasks.xml
47-
.idea/**/usage.statistics.xml
48-
.idea/**/dictionaries
49-
.idea/**/shelf
50-
51-
# AWS User-specific
52-
.idea/**/aws.xml
53-
54-
# Generated files
55-
.idea/**/contentModel.xml
56-
57-
# Sensitive or high-churn files
58-
.idea/**/dataSources/
59-
.idea/**/dataSources.ids
60-
.idea/**/dataSources.local.xml
61-
.idea/**/sqlDataSources.xml
62-
.idea/**/dynamic.xml
63-
.idea/**/uiDesigner.xml
64-
.idea/**/dbnavigator.xml
65-
66-
# Gradle
67-
.idea/**/gradle.xml
68-
.idea/**/libraries
69-
70-
# Gradle and Maven with auto-import
71-
# When using Gradle or Maven with auto-import, you should exclude module files,
72-
# since they will be recreated, and may cause churn. Uncomment if using
73-
# auto-import.
74-
# .idea/artifacts
75-
# .idea/compiler.xml
76-
# .idea/jarRepositories.xml
77-
# .idea/modules.xml
78-
# .idea/*.iml
79-
# .idea/modules
80-
# *.iml
81-
# *.ipr
15+
# production
16+
/build
8217

83-
# CMake
84-
cmake-build-*/
85-
86-
# Mongo Explorer plugin
87-
.idea/**/mongoSettings.xml
88-
89-
# File-based project format
90-
*.iws
91-
92-
# IntelliJ
93-
out/
94-
95-
# mpeltonen/sbt-idea plugin
96-
.idea_modules/
97-
98-
# JIRA plugin
99-
atlassian-ide-plugin.xml
100-
101-
# Cursive Clojure plugin
102-
.idea/replstate.xml
103-
104-
# SonarLint plugin
105-
.idea/sonarlint/
106-
107-
# Crashlytics plugin (for Android Studio and IntelliJ)
108-
com_crashlytics_export_strings.xml
109-
crashlytics.properties
110-
crashlytics-build.properties
111-
fabric.properties
112-
113-
# Editor-based Rest Client
114-
.idea/httpRequests
115-
116-
# Android studio 3.1+ serialized cache file
117-
.idea/caches/build_file_checksums.ser
118-
119-
### WebStorm Patch ###
120-
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
121-
122-
# *.iml
123-
# modules.xml
124-
# .idea/misc.xml
125-
# *.ipr
126-
127-
# Sonarlint plugin
128-
# https://plugins.jetbrains.com/plugin/7973-sonarlint
129-
.idea/**/sonarlint/
18+
# misc
19+
.DS_Store
20+
*.pem
13021

131-
# SonarQube Plugin
132-
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
133-
.idea/**/sonarIssues.xml
22+
# debug
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*
26+
.pnpm-debug.log*
13427

135-
# Markdown Navigator plugin
136-
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
137-
.idea/**/markdown-navigator.xml
138-
.idea/**/markdown-navigator-enh.xml
139-
.idea/**/markdown-navigator/
28+
# local env files
29+
.env*.local
14030

141-
# Cache file creation bug
142-
# See https://youtrack.jetbrains.com/issue/JBR-2257
143-
.idea/$CACHE_FILE$
31+
# vercel
32+
.vercel
14433

145-
# CodeStream plugin
146-
# https://plugins.jetbrains.com/plugin/12206-codestream
147-
.idea/codestream.xml
34+
# typescript
35+
*.tsbuildinfo
14836

149-
# End of https://www.toptal.com/developers/gitignore/api/macos,webstorm
150-
/references/
151-
/node_modules/
152-
/test/

.husky/pre-commit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
yarn pre-commit

.prettierignore

-6
This file was deleted.

.prettierrc.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
2-
"singleQuote": true,
2+
"printWidth": 80,
3+
"semi": true,
4+
"singleQuote": false,
5+
"trailingComma": "none",
6+
"tabWidth": 2,
37
"bracketSpacing": true,
4-
"bracketSameLine": true,
5-
"arrowParens": "always",
6-
"printWidth": 120
8+
"endOfLine": "auto",
9+
"useTabs": false,
10+
"arrowParens": "avoid"
711
}

.vscode/settings.json

-11
This file was deleted.

0 commit comments

Comments
 (0)