-
Notifications
You must be signed in to change notification settings - Fork 2
[feat] Add MSW setup for API mocking #115
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
Conversation
|
Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review by ChatGPT
|
음.. 챗지피티 리뷰가 생각보다 퀄이 높게 리뷰 잘 해준거 같아서 지금 부분에서 더 리뷰할건 없는 거 같아요.
이거 두개 참고할만한 거 같고 두번째 레포는 앞으로 폴더구조 변경할때도 참고하면 좋을 거 같습니다! |
choihooo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM👍
#️⃣연관 이슈
📝작업 내용
1. MSW(Mock Service Worker) 환경 세팅 완료
🚨추가 사항
1. npm audit fix 실행 보류
취약점 해결을 위해
npm audit fix실행 시 새로운 빌드 오류가 발생할 가능성이 있어 실행하지 않음.취약점 해결 방법 재검토 및 안전한 업데이트 방안 모색.
2. MSW 환경 세팅 방식의 다양성
3. MSW 설치 및 devDependencies 문제
상황:
npm install msw --save실행 후에도 MSW가devDependencies로 인식.패키지 재설치(
npm uninstall msw→npm install msw --save)를 시도했으나 빌드 오류 발생.임시 조치:
ESLint 규칙 추가:
mocks경로 내 파일에서devDependencies사용을 허용하도록 설정.💬리뷰 요구사항