## Project This repository contains a Next.js web application. ## Portable paths Resolve paths from this `apps/wr/AGENTS.md` file, not from a developer-specific drive or the current shell directory. - `FE_APP_ROOT`: directory containing this file (`apps/wr`) - `FE_REPO_ROOT`: `FE_APP_ROOT/../..` (`frontend`) - `WORKSPACE_ROOT`: `FE_REPO_ROOT/..` - `COMMON_ROOT_AGENTS`: `WORKSPACE_ROOT/AGENTS.md` - `BE_REPO_ROOT`: `WORKSPACE_ROOT/IIPBS` (Backend repository root) - `BE_SERVICE_ROOT`: `BE_REPO_ROOT/sewerage-service` - `WR_BACKEND_ROOT`: `WORKSPACE_ROOT/wr_back_out` when that checkout exists; otherwise use a path explicitly supplied by the developer. Verify a calculated path exists before using it. If the repositories are installed under different parent directories, use the explicitly supplied path. Main technologies: - Next.js - TypeScript - pnpm workspace - turborepo 이 저장소는 pnpm workspace + Turborepo 기반 monorepo이다. - 워크스페이스 범위는 `apps/*`, `apps/common/*`, `packages/*`, `packages/common/*` - 루트 스크립트는 `turbo run build`, `turbo run dev` 를 사용한다 - `build` 작업은 의존 패키지의 `build` 를 먼저 수행한다 (`dependsOn: ["^build"]`) - `dev` 는 캐시하지 않는 지속 실행 작업이다 - 변경 범위만 선택 실행할 수 있으므로, 전체 빌드보다 `--filter` 사용을 우선한다 ## Encoding - UTF-8 - 한글이 깨지지 않도록 주의할 것 ## 수정 불가 - `packages/common/components`는 수정하면 안된다. ## 주석 comment - 한글 주석을 삭제하지 말 것 - 신규 component나 함수 자동 생성시 주석을 추가할 것(기본 함수의 역할과 인수 설명) ## Monorepo structure apps/ _template as cm cs dc dm dm_new fo sn st wr ## local backend src 경로 `WR_BACKEND_ROOT` - http://localhost:8883/reuse-service