refactor: 전체 파일 TypeScript 마이그레이션 및 DoD 확정 (#75)#82
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 작업 개요
🔧 주요 변경 사항
전 파일 TS 전환
app.js->app.tsapi/index.js->api/index.tsscripts,src,tests하위.js파일 전부.ts로 전환상대 import 경로를
.ts기준으로 정리설정 업데이트
tsconfig.jsonallowImportingTsExtensions활성화include범위를src/api/scripts/tests전체로 확장package.jsonmain을app.ts로 변경start를node --loader ts-node/esm ./app.ts로 변경dev:vercel, 마이그레이션 스크립트 경로를.ts로 변경문서화
TYPESCRIPT_MIGRATION_POLICY.md신규 추가🎯 변경 목적
🧪 검증 방법
npm run lint(스크립트 없음)npm run build(성공)npm run test(성공)📌 참고 사항
// @ts-nocheck를 적용했습니다.@ts-nocheck제거 및 명시 타입 강화를 진행할 수 있도록 정책 문서에 단계 계획을 포함했습니다.Closes #75