Skip to content

Commit

Permalink
refactor: 리팩토링
Browse files Browse the repository at this point in the history
  • Loading branch information
DaeHee99 committed Dec 17, 2024
1 parent 5a4e5d3 commit 4121c5d
Show file tree
Hide file tree
Showing 397 changed files with 5,790 additions and 21,414 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

42 changes: 0 additions & 42 deletions .eslintrc.cjs

This file was deleted.

10 changes: 8 additions & 2 deletions .github/workflows/deploy_development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,20 @@ jobs:
echo "mkdir /home/ubuntu/mallang-trip/dev" >> deploy.sh
echo "mv /home/ubuntu/mallang-trip-code/dev/* /home/ubuntu/mallang-trip/dev/" >> deploy.sh
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: "20.x"
check-latest: true

- name: Check Node version
run: node -v

- name: Install Dependencies
run: npm install
run: yarn install

- name: Build
run: npm run build -- --outDir=dev
run: yarn build -- --outDir=dev
env:
CI: ""

Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,20 @@ jobs:
echo "mkdir /home/ubuntu/mallang-trip/dist" >> deploy.sh
echo "mv /home/ubuntu/mallang-trip-code/dist/* /home/ubuntu/mallang-trip/dist/" >> deploy.sh
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: "20.x"
check-latest: true

- name: Check Node version
run: node -v

- name: Install Dependencies
run: npm install
run: yarn install

- name: Build
run: npm run build
run: yarn build
env:
CI: ""

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

![image](https://github.com/user-attachments/assets/5aa51b20-636b-436e-886b-726884aa83b9)


- [말랑트립 WEB](https://mallangtrip.com/)
- [말랑트립 APP - 안드로이드](https://play.google.com/store/apps/details?id=com.mallangtrip.www)
- [말랑트립 APP - iOS](https://apps.apple.com/us/app/%EB%A7%90%EB%9E%91%ED%8A%B8%EB%A6%BD/id6736914599)
Expand Down
28 changes: 28 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'

export default tseslint.config(
{ ignores: ['dist'] },
{
extends: [js.configs.recommended, ...tseslint.configs.recommended],
files: ['**/*.{ts,tsx}'],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
plugins: {
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
},
rules: {
...reactHooks.configs.recommended.rules,
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
},
)
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html>
<!DOCTYPE html>
<html lang="ko">
<head>
<title>말랑트립</title>
Expand Down
Loading

0 comments on commit 4121c5d

Please sign in to comment.