Repository navigation
[chore] Tailwind CSS v4 마이그레이션 및 의존성 갱신 - #522
Conversation
|
Important Review skippedToo many files! This PR contains 110 files, which is 10 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry. ⚙️ Run configuration
⛔ Files ignored due to path filters (1)
📒 Files selected for processing (110)
You can disable this status message by setting the
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🚀 Preview 배포 완료!
|
|
🧹 Preview 배포가 정리되었습니다. |
🚩 연관 이슈
Closes #521
📝 작업 내용
Tailwind CSS v3의 JS·PostCSS 설정을 v4.3.3의 CSS 설정과 Vite 플러그인으로 이전함.
앱과 Storybook이 같은
src/index.css를 사용하며 기존 화면의 색상·크기·간격·상태표현을 유지하도록 호환 스타일과 클래스 변환을 적용함.
유지함. CI와 배포 workflow의 Node는 22.12.0으로 통일함.
내부 utils 8.55.0으로 제한하고 MSW를 2.12.7로 고정함. React Query는 기존
Mutation 래퍼의 타입 오류를 재현하여 5.100.10까지로 제한함.
@theme, 배경 이미지를@utility,xl·short조건을사용자 정의 variant로 이전함. 클래스 탐색은
src로 한정함.default-disabled/hover를default-disabled-hover로 변경함.사용 중인 기본 팔레트는 v3 값을 유지하고 기존 focus·입력·버튼 표현을 보정함.
truncate를실제 Chrome 비교 결과에 따라 보정함. 모바일 hover는 v4 입력 장치 정책을 따름.
Prettier에 클래스 정렬을 통합함. 그 밖의 미사용 의존성 후보는 유지함.
storybook-static을 탐색해 선택적@emotion/is-prop-valid를찾지 못하는 오류를 재현하고 Vite 의존성 탐색에서 산출물을 제외함.
의존성 갱신 → v4 전환 → 클래스 정렬 → 개발 서버 오류 수정 → 문서 순으로 커밋을
분리함. API·상태·컴포넌트 Props 계약은 변경하지 않음.
검증
npm ci --engine-strict --strict-peer-deps통과했음.재검증했음. 헤더의 11개 화면 크기, 일반·시간제 타이머의 20개 경계 사례,
재생·진행 애니메이션·일시정지 및 데스크톱·터치 hover를 확인했음.
기존 번들 크기·Storybook eval·MDX 파일 없음 안내는 남아 있음.
🗣️ 리뷰 요구사항 (선택)
표시 차이가 없는지 확인함.
Safari 16.4+, Chrome 111+, Firefox 128+에서 폰트·색상·간격·키보드 focus·비활성
입력·hover·타이머 진행을 확인함. 너비 767/768·1279/1280px, 1599/1600px와
높이 1023/1024px의 조합, 높이 499/500/501px 전후를 비교함. 실제 서버의 테이블
구성·청중 공유·투표 과정도 추가 확인함.