From b4c7a7eedb703a96616593e73a7eecba6f664415 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Wed, 2 Sep 2026 16:31:23 +0900 Subject: [PATCH] auto: 2026-09-02 16:31 (EOMSANGDON-HOME) --- .prettierignore | 10 ++++++++++ main.py | 2 ++ vite.config.ts | 4 +++- 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .prettierignore diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000..2e94d179 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,10 @@ +# CAD 앱은 자체 포맷터(biome, tab 들여쓰기·single quote)를 쓴다 — prettier 가 덮으면 +# 두 포맷터가 서로 되돌리며 매 커밋이 통째로 재포맷된다. 그 폴더는 `npx biome format` 몫. +B07_DesignDetail/openwebcad/ + +# 빌드·산출물·가상환경 — 포맷 대상이 아니다. +dist/ +venv/ +storage/ +tmp/ +graphify-out/ diff --git a/main.py b/main.py index b3d4cc96..af402284 100644 --- a/main.py +++ b/main.py @@ -42,6 +42,7 @@ from B04_PreProcess.B04_PreProcess_Router_Inflow import router as b04_inflow_rou from B04_PreProcess.B04_PreProcess_Router_Watershed import router as b04_watershed_router from B05_Profile.B05_Profile_Router import router as b05_route_router from B05_Profile.B05_Profile_Router_Corridor import router as b05_corridor_router +from B05_Profile.B05_Profile_Router_Lifecycle import router as b05_route_lifecycle_router from B05_Profile.B05_Profile_Structures_Router import router as b05_structures_router from B06_Section.B06_Section_Router import router as b06_section_router from B06_Section.B06_Section_Router_Confirm import ( @@ -388,6 +389,7 @@ app.include_router(b04_inflow_router, dependencies=protected_with_company) app.include_router(b04_basins_router, dependencies=protected_with_company) app.include_router(tiles_router, dependencies=protected_with_company) app.include_router(b05_route_router, dependencies=protected_with_company) +app.include_router(b05_route_lifecycle_router, dependencies=protected_with_company) app.include_router(b05_corridor_router, dependencies=protected_with_company) app.include_router(b05_structures_router, dependencies=protected_with_company) app.include_router(b06_section_router, dependencies=protected_with_company) diff --git a/vite.config.ts b/vite.config.ts index 9f3b729f..2dbf28fe 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -25,7 +25,9 @@ export default { }, }, server: { - port: 5173, + // main.py가 CLI --port로 덮지만, `npm run dev` 맨손 실행에서 보조 워크트리가 + // 메인의 5173을 뺏지 않도록 env를 먼저 본다(dev_up.py가 주입한다). + port: Number(process.env.FRONTEND_DEV_PORT ?? 5173), open: false, // 백엔드(FastAPI) 프록시 — config_frontend.ts의 API_BASE_URL과 정합. // 포트는 AISLO_API_PORT로 바꿀 수 있다(기본 8000) — 워크트리를 나눠 쓰는 병행