test(458 덧 시험 헬퍼): 260 · 265 상세 CAD 헬퍼에 알림 흉내 · 322_0 골든 헬퍼 css 가져옴 = 빈 모듈
- 450 이 B06_Section_UI_Cross_Detail_Cad.ts 에 showToast(@ui/ui_template_elements) 를 더해 helper_260_note_cad 가 「흉내 없는 모듈」로 죽음 — 흉내 더함 - helper_322_0_golden 이 화면 css 를 TS 로 트랜스파일하다 문법 오류(종료 1) — .css 는 빈 모듈 - 260 · 265 · 322_0 41 통과 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,6 +11,7 @@ const ROOT = path.join(__dirname, "..", "..");
|
||||
const DATA = { pipes: [], structures: [], types: [] };
|
||||
const STUBS = {
|
||||
"@ui/cad_host/cad_host": { createCadHost: () => ({}) },
|
||||
"@ui/ui_template_elements": { showToast: () => undefined },
|
||||
"../A00_Common/b_page_state": { readState: () => null, writeState: () => undefined },
|
||||
"../A00_Common/design/design_selection": { PIPE_MATCH_M: 0.51 },
|
||||
"../B04_PreProcess/B04_PreProcess_Api_Fetch": {
|
||||
|
||||
@@ -142,6 +142,7 @@ function loadTs(target) {
|
||||
const full = path.resolve(target);
|
||||
if (STUBS.has(full)) return STUBS.get(full);
|
||||
if (cache.has(full)) return cache.get(full);
|
||||
if (full.endsWith(".css")) return {}; // 화면 꼴(vite 몫)
|
||||
if (full.endsWith(".json")) {
|
||||
const data = JSON.parse(fs.readFileSync(full, "utf8"));
|
||||
cache.set(full, data);
|
||||
|
||||
Reference in New Issue
Block a user