Skip to content

Commit

Permalink
Merge pull request #278 from techeer-sv/FE/#207
Browse files Browse the repository at this point in the history
Fe/#207 NextJS 마이그레이션
  • Loading branch information
Mayreeel authored Nov 6, 2023
2 parents 6d0c621 + 6433769 commit 9717ef5
Show file tree
Hide file tree
Showing 190 changed files with 6,671 additions and 22,924 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: ["feature"]
branches: ["feature", "FE/#207"]
pull_request:
branches: ["feature"]
branches: ["feature", "FE/#207"]

jobs:
backend-test:
Expand Down Expand Up @@ -75,22 +75,22 @@ jobs:

- name: Install packages
working-directory: frontend
run: npm ci
run: yarn install --immutable --immutable-cache --check-cache

- name: Prettier
working-directory: frontend
run: npm run format
run: yarn format

- name: ESLint
working-directory: frontend
run: npm run lint
run: yarn lint

- name: Frontend Test
working-directory: frontend
run: npm test
# - name: Frontend Test
# working-directory: frontend
# run: npm test

- name: Frontend Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: ${{ always() }}
with:
files: frontend/test-results.xml
# - name: Frontend Test Results
# uses: EnricoMi/publish-unit-test-result-action@v1
# if: ${{ always() }}
# with:
# files: frontend/test-results.xml
8 changes: 0 additions & 8 deletions frontend/.dockerignore

This file was deleted.

5 changes: 0 additions & 5 deletions frontend/.env.example

This file was deleted.

8 changes: 8 additions & 0 deletions frontend/.env.local.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# .env.local로 이름 변경하시고 사용하시면 됩니다!
BASE_URL=
BUCKET_NAME=
REGION=
ACCESS=
SECRET=

NEXT_PUBLIC_BASE_URL=
67 changes: 0 additions & 67 deletions frontend/.eslintrc.js

This file was deleted.

16 changes: 16 additions & 0 deletions frontend/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"extends": [
"next/core-web-vitals",
"airbnb",
"airbnb-typescript",
"prettier"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"react/react-in-jsx-scope": "off",
"import/no-extraneous-dependencies": "off",
"react-hooks/exhaustive-deps": "off"
}
}
55 changes: 32 additions & 23 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,35 @@
# Logs
logs
*.log
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
test-results.xml

node_modules
coverage
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
4 changes: 2 additions & 2 deletions frontend/.prettierrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"semi": true,
"useTabs": false,
"tabWidth": 2,
"printWidth": 80,
"arrowParens": "always"
}
}
11 changes: 0 additions & 11 deletions frontend/Dockerfile

This file was deleted.

13 changes: 0 additions & 13 deletions frontend/babel.config.js

This file was deleted.

43 changes: 0 additions & 43 deletions frontend/index.html

This file was deleted.

23 changes: 0 additions & 23 deletions frontend/jest.config.cjs

This file was deleted.

70 changes: 0 additions & 70 deletions frontend/manifest.json

This file was deleted.

Loading

0 comments on commit 9717ef5

Please sign in to comment.