refactor: extract stat parsing logic to shared module

Move YAML and CSV stat parsing logic from CLI and journal components
into a new shared `stat-parser.ts` module to enable reuse between
the CLI scanner and the client-side frontend.
This commit is contained in:
2026-07-09 10:00:17 +08:00
parent ef8b56e5b6
commit 19c66640b5
5 changed files with 202 additions and 390 deletions
+2 -2
View File
@@ -13,8 +13,8 @@
"declaration": true,
"outDir": "./dist",
"rootDir": "./src",
"lib": ["ES2022", "DOM", "DOM.Iterable"]
"lib": ["ES2022", "DOM", "DOM.Iterable"],
},
"include": ["src/cli/**/*"],
"exclude": ["node_modules", "dist"]
"exclude": ["node_modules", "dist"],
}