Skip to content

chore: TypeScript 5.9 → 6.0 마이그레이션 - #198

Merged
chanwoo7 merged 1 commit into
developfrom
chore/typescript-6
Aug 22, 2026
Merged

chore: TypeScript 5.9 → 6.0 마이그레이션#198
chanwoo7 merged 1 commit into
developfrom
chore/typescript-6

Conversation

@chanwoo7

Copy link
Copy Markdown
Member

배경

이슈 #60의 TypeScript 메이저 마이그레이션입니다.
보류 사유였던 TS5011(출력 레이아웃 기준 디렉터리 명시 요구)은 빌드 설정에 rootDir를 명시하는 것으로 해소됩니다.
타입 오류는 전무해서(strict 강화 영향 없음) 실제 조치는 빌드 설정 명시뿐이었습니다.

변경점

  • typescript ^5.7.3 → ^6.0.3.
  • typescript-eslint ^8.59.3 → ^8.67.0 (peer가 TS <6.1을 지원하는 버전).
  • tsconfig.build.jsonrootDir: "./src" 명시.
    기존 공통 소스 디렉터리와 동일한 값이라 dist 산출 구조는 변하지 않습니다(dist/main.js 위치 확인).
  • 빌드 부산물 *.tsbuildinfo gitignore 추가.

검증

  • yarn build(nest build) 통과 및 dist 레이아웃 불변 확인.
  • yarn validate 전체 통과 (lint + tsc + dto:check + arch:check + 커버리지 게이트, 1574 tests / 184 suites).

Closes #60

TS 6가 출력 레이아웃 기준 디렉터리 명시를 요구(TS5011)해 보류했던
마이그레이션. tsc --noEmit·전체 테스트는 무변경 통과라 실제 조치는
빌드 설정 명시뿐이었다.

- typescript ^5.7.3 → ^6.0.3
- typescript-eslint ^8.59.3 → ^8.67.0 (TS <6.1 peer 지원 버전)
- tsconfig.build.json에 rootDir ./src 명시 — 기존 공통 소스 디렉터리와
  동일해 dist 산출 구조 불변
- 빌드 부산물 *.tsbuildinfo gitignore 추가 (incremental 활성 상태)
@coderabbitai

coderabbitai Bot commented Aug 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: cff5039e-8dca-4058-b6d1-2416192d60e6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

🩺 NestJS Doctor — 89/100 (Good)

진단 279건 (error 0).

Category error warning info
architecture 0 0 13
correctness 0 126 0
performance 0 24 17
schema 0 0 86
security 0 13 0
architecture / security 상위 항목
  • info architecture/architecture/no-barrel-export-internals: Barrel file re-exports internal type 'IAuditLogRepository'.
  • warning security/security/no-exposed-env-vars: Direct 'process.env.NODE_ENV' access in 'AuthController'. Use ConfigService instead.
  • warning security/security/require-guards-on-endpoints: Endpoint 'start' has no @UseGuards() at class or method level.
  • warning security/security/require-guards-on-endpoints: Endpoint 'callback' has no @UseGuards() at class or method level.
  • warning security/security/require-guards-on-endpoints: Endpoint 'refresh' has no @UseGuards() at class or method level.
  • warning security/security/require-guards-on-endpoints: Endpoint 'logout' has no @UseGuards() at class or method level.
  • warning security/security/require-guards-on-endpoints: Endpoint 'sellerLogin' has no @UseGuards() at class or method level.
  • warning security/security/require-guards-on-endpoints: Endpoint 'sellerRefresh' has no @UseGuards() at class or method level.
  • warning security/security/require-guards-on-endpoints: Endpoint 'sellerLogout' has no @UseGuards() at class or method level.
  • warning security/security/require-guards-on-endpoints: Endpoint 'devIssueToken' has no @UseGuards() at class or method level.
  • info architecture/architecture/no-barrel-export-internals: Barrel file re-exports internal module '@/features/conversation/repositories/conversation.repository'.
  • info architecture/architecture/no-barrel-export-internals: Barrel file re-exports internal type 'ConversationRepository'.
  • info architecture/architecture/no-barrel-export-internals: Barrel file re-exports internal module '@/features/order/repositories/order.repository'.
  • info architecture/architecture/no-barrel-export-internals: Barrel file re-exports internal type 'OrderRepository'.
  • info architecture/architecture/no-barrel-export-internals: Barrel file re-exports internal module '@/features/product/repositories/product.repository'.

오탐 포함 가능 · 기준 docs/guide/architecture-conventions.md

@github-actions

Copy link
Copy Markdown

🧹 knip — dead-code 리포트

요약 항목 없음
전체 리포트
(knip 출력 없음 — 이슈 0이거나 실행 실패)

청소 후보(오탐 가능) · 기준 docs/guide/architecture-conventions.md

@codecov

codecov Bot commented Aug 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

Copy link
Copy Markdown

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 97.61% 4772/4889
🟢 Branches 93.96% 1928/2052
🟢 Functions 95.99% 933/972
🟢 Lines 98.21% 4339/4418

Test suite run success

1574 tests passing in 184 suites.

Report generated by 🧪jest coverage report action from 1866d69

@chanwoo7
chanwoo7 merged commit 3ef2a5c into develop Aug 22, 2026
12 checks passed
@chanwoo7
chanwoo7 deleted the chore/typescript-6 branch August 22, 2026 17:15
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.

1 participant