chore: TypeScript 5.9 → 6.0 마이그레이션 - #198
Conversation
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 활성 상태)
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
🩺 NestJS Doctor — 89/100 (Good)진단 279건 (error 0).
architecture / security 상위 항목
|
🧹 knip — dead-code 리포트전체 리포트
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Coverage report
Test suite run success1574 tests passing in 184 suites. Report generated by 🧪jest coverage report action from 1866d69 |
배경
이슈 #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.json에rootDir: "./src"명시.기존 공통 소스 디렉터리와 동일한 값이라 dist 산출 구조는 변하지 않습니다(
dist/main.js위치 확인).*.tsbuildinfogitignore 추가.검증
yarn build(nest build) 통과 및 dist 레이아웃 불변 확인.yarn validate전체 통과 (lint + tsc + dto:check + arch:check + 커버리지 게이트, 1574 tests / 184 suites).Closes #60