feat(B06): 구조물 면적·유토곡선 서버 계산 자리 마련 + 상단측 저장 누락 수정 계산 자리 일원화(CLAUDE.md 5장) — 브라우저에서만 돌던 두 계산을 서버가 같은 TS 로 한 번 더 돌려 정본에 얹음. 파이썬 포팅 금지(기하가 두 벌이 되면 그림과 수량이 갈림). - B06_Section_Server_Calc_Node.ts 신설 — 구조물 폐회로 면적 계산 후 그 위에서 유토곡선을 쌓음(화면과 같은 순서). balloon 위치는 서버가 만들지 않음. - B06_Section_Structure_Layouts.ts 신설 — 정본만 읽는 제어기 흉내를 B07 도면에서 떼어 공용화. B07·서버가 같은 한 벌을 씀. - common_util_node_bundle.py 신설 — 번들 빌드·실행 배관 공용화(코리도도 이걸 씀). - 전처리 체인(초기값 스냅샷 앞)·[저장]·[확정]에서 서버 재계산 호출. - 상단측(측구 방향) 변경이 B05 [임시저장]에만 실리던 것을 B06 [저장]·[확정]에도 실음 — flushUphillOverrides. - 죽은 세션 등록 항목 pipes 제거(읽는 곳도 쓰는 곳도 없었음). 검증: tsc --noEmit 통과, pytest 386 passed, tmp/tests/test_b06_server_calc_node.mjs 통과. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> @
29 lines
1.5 KiB
JSON
29 lines
1.5 KiB
JSON
{
|
|
"name": "forest-road-webapp",
|
|
"version": "0.1.0",
|
|
"description": "임도 설계 및 견적 자동화 프로그램 (프론트엔드)",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "node ./config/node_modules/vite/bin/vite.js --configLoader runner",
|
|
"build": "node ./config/node_modules/typescript/bin/tsc --noEmit && node ./config/node_modules/vite/bin/vite.js build --configLoader runner && npm run build:corridor && npm run build:server-calc && npm run build:b07-cad",
|
|
"build:corridor": "node ./config/node_modules/vite/bin/vite.js build --configLoader runner --ssr ../B05_Profile/B05_Profile_Corridor_Node.ts --outDir ../config/corridor_node",
|
|
"build:server-calc": "node ./config/node_modules/vite/bin/vite.js build --configLoader runner --ssr ../B06_Section/B06_Section_Server_Calc_Node.ts --outDir ../config/server_calc_node",
|
|
"install:b07-cad": "npm --prefix B07_DesignDetail/openwebcad install",
|
|
"build:b07-cad": "npm run install:b07-cad && npm --prefix B07_DesignDetail/openwebcad run build",
|
|
"preview": "node ./config/node_modules/vite/bin/vite.js preview --configLoader runner",
|
|
"typecheck": "node ./config/node_modules/typescript/bin/tsc --noEmit",
|
|
"format": "node ./config/node_modules/prettier/bin/prettier.cjs --write \"../**/*.{ts,css,html}\""
|
|
},
|
|
"dependencies": {
|
|
"maplibre-gl": "^5.24.0",
|
|
"three": "^0.185.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^26.1.0",
|
|
"@types/three": "^0.185.0",
|
|
"prettier": "^3.0.0",
|
|
"typescript": "^6.0.3",
|
|
"vite": "^8.1.0"
|
|
}
|
|
}
|