feat: setup barrelsby for automatic barrel file generation

Add barrelsby as a dev dependency with a `generate-barrels` npm script and a `barrelesby.json` config targeting `./src`. This automates creation of barrel/index files to simplify imports across the project.
This commit is contained in:
2026-06-08 13:07:37 +08:00
parent 14d6e7c41e
commit c22b90c7f4
41 changed files with 2165 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
// models 顶层 barrel export - 集中导出所有分类
export * from "./auth";
export * from "./chat";
export * from "./metrics";
export * from "./user";