Skip to content

Commit

Permalink
Merge pull request #49 from YAPP-Github/ci/deploy
Browse files Browse the repository at this point in the history
[ Ci/deploy ] Develop 브랜치 Server Mock API 사용
  • Loading branch information
soomin9106 authored Jun 16, 2024
2 parents 4af143c + 1d34331 commit 31420bb
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"rules": {
"react/react-in-jsx-scope": "off",
"no-unused-vars": "off",
"import/no-duplicates": "error",
"unused-imports/no-unused-imports": "error",
"import/no-duplicates": "warn",
"unused-imports/no-unused-imports": "warn",
"@typescript-eslint/no-unused-vars": "warn",
"simple-import-sort/exports": "warn",
"react/display-name": "off",
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# dependencies
.env
.env.production
.env.development
/node_modules
/.pnp
.pnp.js
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"prebuild": "node generate-runtime-config.mjs",
"dev:local": "dotenv -e environments/.env.local -- next dev",
"dev:development": "dotenv -e environments/.env.development -- next dev",
"dev:production": "dotenv -e environments/.env.production -- next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
Expand Down Expand Up @@ -56,6 +57,7 @@
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"@vitejs/plugin-react": "^4.3.0",
"dotenv-cli": "^7.4.2",
"eslint": "^8",
"eslint-config-next": "14.2.3",
"eslint-config-prettier": "^9.1.0",
Expand Down
13 changes: 13 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/api/api-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ axiosInstance.interceptors.response.use(
return response;
},
async function (error) {
const { config, response } = error;
const { config } = error;
return axios(config);
},
);
Expand Down
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const metadata: Metadata = {
description: "매일 아침마다 경제 아티클과 문제를 보내드려요!",
};

// export const runtime = 'edge'; // TBD: 개발환경과 분리
export const runtime = 'edge' // TBD: 개발환경과 분리

const pretendard = localFont({
src: [
Expand Down

0 comments on commit 31420bb

Please sign in to comment.