Skip to content

Commit 7e52b44

Browse files
authored
Merge pull request #153 from MinJun916/release-v2
[신민준] Sprint 11
2 parents 3aa68ef + ee2ab71 commit 7e52b44

150 files changed

Lines changed: 5396 additions & 3444 deletions

File tree

Some content is hidden

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

.example.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
NEXT_PUBLIC_API_URL='https://codeitsprintmission.onrender.com'

.gitignore

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
13
# dependencies
24
/node_modules
35
/.pnp
46
.pnp.*
7+
.yarn/*
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions
512

613
# testing
714
/coverage
@@ -21,18 +28,14 @@
2128
npm-debug.log*
2229
yarn-debug.log*
2330
yarn-error.log*
24-
pnpm-debug.log*
31+
.pnpm-debug.log*
2532

26-
# env files (보통은 공유 안 함)
27-
.env
28-
.env.local
29-
.env.development.local
30-
.env.test.local
31-
.env.production.local
33+
# env files (can opt-in for committing if needed)
34+
.env*
3235

3336
# vercel
3437
.vercel
3538

3639
# typescript
3740
*.tsbuildinfo
38-
next-env.d.ts
41+
next-env.d.ts

.prettierrc

Lines changed: 0 additions & 7 deletions
This file was deleted.

.prettierrc.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"semi": true,
3+
"singleQuote": true,
4+
"trailingComma": "all",
5+
"printWidth": 100,
6+
"tabWidth": 2,
7+
"useTabs": false,
8+
"arrowParens": "always",
9+
"bracketSpacing": true,
10+
"endOfLine": "lf",
11+
"plugins": ["prettier-plugin-tailwindcss"]
12+
}

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"css.lint.unknownAtRules": "ignore",
3+
"cSpell.words": ["Bootstrapper", "codeit", "kakao", "Pretendard"]
4+
}

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# 8-Sprint-Mission-8
1+
# 8-Sprint-Mission-11
22

33
## 이번 미션 소개
44

5-
- 이번 프로젝트 미션 8 에서는 판다마켓 프로젝트의 자유 게시판 페이지를 Next.js 로 구현합니다.
6-
- 직접 제작한 백엔드 API를 활용해서 API와 연동합니다.
5+
- 이번 스프린트 미션에서는 기존 Next.js, module.scss 코드를 TypeScript, Tailwind css 코드로 마이그레이션 및 리팩토링을 진행하였습니다.
76

87
## 미션 과정
98

eslint.config.mjs

Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,18 @@
1-
import { dirname } from "path";
2-
import { fileURLToPath } from "url";
3-
import { FlatCompat } from "@eslint/eslintrc";
1+
import { defineConfig, globalIgnores } from 'eslint/config';
2+
import nextVitals from 'eslint-config-next/core-web-vitals';
3+
import nextTs from 'eslint-config-next/typescript';
44

5-
const __filename = fileURLToPath(import.meta.url);
6-
const __dirname = dirname(__filename);
7-
8-
const compat = new FlatCompat({
9-
baseDirectory: __dirname,
10-
});
11-
12-
const eslintConfig = [
13-
...compat.extends("next/core-web-vitals"),
14-
{
15-
ignores: [
16-
"node_modules/**",
17-
".next/**",
18-
"out/**",
19-
"build/**",
20-
"next-env.d.ts",
21-
],
22-
},
23-
];
5+
const eslintConfig = defineConfig([
6+
...nextVitals,
7+
...nextTs,
8+
// Override default ignores of eslint-config-next.
9+
globalIgnores([
10+
// Default ignores of eslint-config-next:
11+
'.next/**',
12+
'out/**',
13+
'build/**',
14+
'next-env.d.ts',
15+
]),
16+
]);
2417

2518
export default eslintConfig;

jsconfig.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

next.config.mjs

Lines changed: 0 additions & 4 deletions
This file was deleted.

next.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import type { NextConfig } from "next";
2+
3+
const nextConfig: NextConfig = {
4+
/* config options here */
5+
reactCompiler: true,
6+
};
7+
8+
export default nextConfig;

0 commit comments

Comments
 (0)