Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REV-32/초기 세팅 작업 진행 #4

Merged
merged 10 commits into from
Oct 24, 2023

Conversation

khj0426
Copy link
Collaborator

@khj0426 khj0426 commented Oct 23, 2023

📑 구현 내용

린트 , prettier을 설정했습니다!.

린트의 규칙은 크게 다음과 같이 나뉘어요!

  • import/order 순서 관련 규칙
  • return문 전에 무조건 줄바꿈을 해야 하는 규칙
  • type과 interface는 모두 파스칼 케이스를 써야 하는 규칙

개발 서버를 열어놔서 PR이나 Merge될떄 자동으로 변경사항이 반영되도록 설정했습니다!

커밋린트와 허스키를 설정했어요! 올바른 커밋메시지를 적지 않는다면 커밋이 되지 않습니다!

초기 프로젝트 폴더 구조를 설정했습니다!

📦src
 ┣ 📂apis
 ┃ ┣ 📜apiClient.ts
 ┃ ┗ 📜index.ts
 ┣ 📂components
 ┃ ┗ 📜index.tsx
 ┣ 📂constants
 ┃ ┗ 📜index.ts
 ┣ 📂hooks
 ┃ ┗ 📜index.ts
 ┣ 📂mock
 ┃ ┗ 📜index.ts
 ┣ 📂pages
 ┃ ┗ 📜index.ts
 ┣ 📂services
 ┃ ┗ 📜index.ts
 ┣ 📂types
 ┃ ┗ 📜index.ts
 ┣ 📂utils
 ┃ ┗ 📜index.ts
 ┣ 📜App.tsx
 ┣ 📜index.css
 ┣ 📜main.tsx
 ┗ 📜vite-env.d.ts

🚧 참고 사항

배포 관련 자료

https://velog.io/@igun0423/S3-CloudFront-Github-Action%EC%9C%BC%EB%A1%9C-ReactVite-App-%EB%B0%B0%ED%8F%AC-%EC%9E%90%EB%8F%99%ED%99%94%ED%95%98%EA%B8%B0

https://synuns.tistory.com/75

https://www.google.com/search?q=aws+s3+%EB%A6%AC%EC%95%A1%ED%8A%B8+%EC%9E%90%EB%8F%99%EB%B0%B0%ED%8F%ACvite&oq=aws+s3&gs_lcrp=EgZjaHJvbWUqCAgAEEUYJxg7MggIABBFGCcYOzIICAEQRRgnGDsyBggCEEUYOzIPCAMQRRg5GIMBGLEDGIAEMgYIBBBFGDwyBggFEEUYPDIGCAYQRRg8MgYIBxBFGEHSAQgxNTQ1ajBqMagCALACAA&sourceid=chrome&ie=UTF-8

커밋린트 관련 자료

https://somedaycode.tistory.com/13

import-order관련 자료

https://velog.io/@eenaree/eslint-import-order

hyoribogo and others added 5 commits October 23, 2023 18:20
* REV-16 chore: 초기 프로젝트 세팅

* REV-17 chore: eslint 절대경로 @설정, import규칙 추가

* REV-17 chore: pages,hooks,components폴더에 import 우선순위 지정

* REV-17 chore: src의 폴더 pages,hooks,,,생성

* REV-17 chore: src/types에서 불필요 코드 제거

* REV-17 chore: 커밋린트 규칙 추가

* REV-17 docs: 이슈 템플릿 추가

* REV-17 chore: axios,tanstack-query,차크라UI 의존성 추가

* REV-17 chore: queryProvider 기본 옵션 수정

* chore: 커밋린트 커밋 규칙 수정

* docs: 커밋

* chore: tailwind설치

* chore: tailwind 적용 안되는 부분 수정

---------

Co-authored-by: Kim0426 <706shin1728@naver.com>
@khj0426 khj0426 self-assigned this Oct 23, 2023
@hyoribogo
Copy link
Member

제목 Rev-32 짝대기 안 붙여도 되나요 ??

@hyoribogo hyoribogo added 세팅 세팅에 관련된 작업입니다. and removed 프론트 labels Oct 23, 2023
@khj0426
Copy link
Collaborator Author

khj0426 commented Oct 23, 2023

제목 Rev-32 짝대기 안 붙여도 되나요 ??

제목에는 안붙여도 되는 것 같습니다! 브랜치에만 적용하면 알아서 지라에서 반영해주더라구요!

image

@hyoribogo
Copy link
Member

통일시키면 안될까용 ??? 누구는 붙이고 누구는 안 붙이고 이럴 거 같아요 ..!

@khj0426 khj0426 changed the title Rev 32/초기 세팅 작업 진행 Rev-32/초기 세팅 작업 진행 Oct 23, 2023
@khj0426
Copy link
Collaborator Author

khj0426 commented Oct 23, 2023

통일시키면 안될까용 ??? 누구는 붙이고 누구는 안 붙이고 이럴 거 같아요 ..!

수정했습니다!!!!

@khj0426 khj0426 changed the title Rev-32/초기 세팅 작업 진행 REV-32/초기 세팅 작업 진행 Oct 24, 2023
@khj0426 khj0426 force-pushed the REV-32/초기-세팅-작업-진행 branch from ccab5b0 to e528990 Compare October 24, 2023 09:50
@khj0426 khj0426 merged commit b72593b into develop Oct 24, 2023
1 check passed
@hyoribogo hyoribogo deleted the REV-32/초기-세팅-작업-진행 branch October 24, 2023 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
세팅 세팅에 관련된 작업입니다.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants