Skip to content

Chore/project setting - #4

Merged
gaeunnlee merged 3 commits into
devfrom
chore/project-setting
Mar 29, 2026
Merged

Chore/project setting#4
gaeunnlee merged 3 commits into
devfrom
chore/project-setting

Conversation

@gaeunnlee

@gaeunnlee gaeunnlee commented Mar 29, 2026

Copy link
Copy Markdown
Member

Summary by CodeRabbit

릴리스 노트

  • Chores
    • 프로젝트의 모듈 import 경로를 alias 기반 시스템으로 표준화했습니다. TypeScript와 빌드 도구 설정을 업데이트하여 더욱 간결하고 유지보수하기 쉬운 코드 구조를 구현했습니다.

- Add @/ path alias in tsconfig and vite for absolute imports
- Add CLAUDE.md to gitignore
- Replace cross-layer relative imports with @/ absolute imports
- Keep same-feature relative imports (../model/, ../api/) as-is
@coderabbitai

coderabbitai Bot commented Mar 29, 2026

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: db64d262-610a-4fc8-91aa-c6b87c8a474d

📥 Commits

Reviewing files that changed from the base of the PR and between 831d2cb and 54df8ae.

📒 Files selected for processing (9)
  • .gitignore
  • src/app/router/app-router.tsx
  • src/features/auth-dialog/api/fetch-login-dialog-data.ts
  • src/features/auth-dialog/ui/login-dialog.tsx
  • src/widgets/app-layout/ui/app-layout.tsx
  • src/widgets/header/ui/app-header.tsx
  • tsconfig.app.json
  • vite.config.ts
  • vitest.config.ts

📝 Walkthrough

변경사항 분석

Walkthrough

이 PR은 프로젝트 전체의 모듈 임포트 경로를 상대 경로에서 @/ 접두사 기반의 경로 별칭으로 마이그레이션합니다. TypeScript와 Vite 설정 파일을 업데이트하여 별칭 지원을 활성화하고, 모든 컴포넌트 파일의 임포트 문을 일관되게 변환합니다.

Changes

Cohort / File(s) Summary
경로 별칭 설정
tsconfig.app.json, vite.config.ts, vitest.config.ts
TypeScript 및 Vite 설정에서 @/src/ 경로 별칭 매핑을 추가하고, baseUrlresolve.alias 구성을 설정합니다.
라우터 및 레이아웃 컴포넌트
src/app/router/app-router.tsx, src/widgets/app-layout/ui/app-layout.tsx
페이지, 레이아웃, 위젯 컴포넌트의 임포트 경로를 상대 경로(../../)에서 별칭 기반(@/)으로 변환합니다.
인증 다이얼로그 모듈
src/features/auth-dialog/api/fetch-login-dialog-data.ts, src/features/auth-dialog/ui/login-dialog.tsx
baseApi 및 CSS 스타일 임포트 경로를 상대 경로에서 별칭 기반 경로로 업데이트합니다.
헤더 컴포넌트
src/widgets/header/ui/app-header.tsx
인증 다이얼로그 및 라우트 설정 임포트를 상대 경로에서 별칭 기반 경로로 변환합니다.
버전 관리 설정
.gitignore
CLAUDE.md 파일을 무시 목록에 추가합니다.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 `@/` 별칭으로 묶인 경로들,
상대 경로의 미로에서 벗어나다,
설정에서 선언하고 모두 통일하니,
코드는 더욱 깔끔하고 명확해져라!
임포트 여정이 이제 단순하도다. ✨

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/project-setting

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 and usage tips.

- Vitest uses separate config from vite, so alias was missing
- CI test was failing on @/ imports
@gaeunnlee
gaeunnlee merged commit 178c76b into dev Mar 29, 2026
1 of 2 checks passed
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