Skip to content

chore: 의존성 및 개발 의존성 최신 버전 업데이트#78

Merged
SimYunSup merged 2 commits into
mainfrom
chore/update-dependencies
Jun 25, 2026
Merged

chore: 의존성 및 개발 의존성 최신 버전 업데이트#78
SimYunSup merged 2 commits into
mainfrom
chore/update-dependencies

Conversation

@SimYunSup

@SimYunSup SimYunSup commented Jun 25, 2026

Copy link
Copy Markdown
Member

dependenciesdevDependencies를 최신 버전으로 업데이트합니다. react-router는 v8 메이저가 정적 프리렌더(SSG)를 깨뜨려 최신 7.x(7.18.0)로 유지했습니다(아래 참고).

주요(major) 업데이트

패키지 변경 비고
typescript 5.9 → 6.0 tsc -b 타입체크·빌드 통과 확인
vite-plugin-svgr 4 → 5 ?react SVG import 정상
@codecov/vite-plugin 1 → 2 커버리지 업로드 플러그인

minor / patch 업데이트

daleui(1.0 → 1.1), react-router·@react-router/dev·@react-router/node(7.15 → 7.18, 최신 7.x), @cloudflare/vite-plugin, @vitejs/plugin-react, browserslist, eslint, eslint-plugin-react-refresh, globals, happy-dom, playwright, rehype-expressive-code, typescript-eslint, vite, wrangler

react·react-dom·mermaid·pretendard·zod·@pandacss/dev 등 이미 최신 범위인 패키지는 변경하지 않았습니다. bun.lock도 함께 갱신했습니다.

react-router v8을 보류한 이유

RR8은 프리렌더를 preview-server 방식으로 교체했는데, 현재 react-router.config.tsssr: false(SPA) + Cloudflare not_found_handling: single-page-application 조합과 충돌합니다. 빌드 중 프리렌더가 /를 요청하면 서버 렌더가 없어 404가 나며 빌드가 실패합니다:

Error: Prerender: Received a 404 status code from entry.server.tsx while prerendering the `/` path.

tsc(TS6)·vite 빌드 자체는 통과하고 react-router 7→8만 깨뜨리는 것을 로컬에서 확인했습니다. RR8 대응은 SPA→SSR 전환(워커 엔트리 + wrangler.jsonc + SSR 안전성 감사)이 필요한 별도 작업이라, 이 PR에서는 7.x 유지로 분리합니다.

테스팅

로컬에서 업데이트 후 전부 통과를 확인했습니다(bun / react-router@7.18.0).

  • bun run build(tsc -b + react-router build) — 프리렌더 포함 성공
  • bun run coverage(vitest run) — 테스트 통과 (커버리지 100%)
  • bun run lint(eslint .) — 0 errors

체크 리스트

  • 코드 리뷰를 요청하기 전에 반드시 CI가 통과하는지 확인해주세요.
  • Cloudflare Preview URL에서 수정한 내용이 의도대로 잘 동작하는지 확인해 주세요.

@SimYunSup SimYunSup requested a review from a team as a code owner June 25, 2026 07:45
@SimYunSup SimYunSup marked this pull request as draft June 25, 2026 07:46
@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Ready
View logs
daleui af42a21 Commit Preview URL Jun 25 2026, 08:22 AM

@SimYunSup SimYunSup marked this pull request as ready for review June 25, 2026 08:42
@SimYunSup SimYunSup merged commit 4ae373d into main Jun 25, 2026
4 checks passed
@SimYunSup SimYunSup deleted the chore/update-dependencies branch June 25, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants