restructured libs to be more aligned with core components

This commit is contained in:
Boki 2025-06-23 19:51:48 -04:00
parent 947b1d748d
commit 0d1be9e3cb
50 changed files with 73 additions and 67 deletions

View file

@ -10,5 +10,5 @@
},
"include": ["src/**/*.ts"],
"exclude": ["node_modules", "dist", "test"],
"references": [{ "path": "../config" }, { "path": "../logger" }, { "path": "../../services/queue" }]
"references": [{ "path": "../config" }, { "path": "../logger" }, { "path": "../queue" }]
}

View file

@ -12,7 +12,9 @@
"dependencies": {
"@stock-bot/config": "workspace:*",
"@stock-bot/logger": "workspace:*",
"@stock-bot/types": "workspace:*"
"@stock-bot/types": "workspace:*",
"@stock-bot/cache": "workspace:*",
"@stock-bot/utils": "workspace:*"
},
"devDependencies": {
"@types/node": "^20.11.0",

View file

@ -9,7 +9,8 @@
"references": [
{ "path": "../config" },
{ "path": "../logger" },
{ "path": "../di" },
{ "path": "../cache" },
{ "path": "../types" },
{ "path": "../../utils" }
]
}

View file

@ -7,9 +7,9 @@
},
"include": ["src/**/*"],
"references": [
{ "path": "../../data/cache" },
{ "path": "../../core/handlers" },
{ "path": "../../core/logger" },
{ "path": "../../core/types" }
{ "path": "../cache" },
{ "path": "../handlers" },
{ "path": "../logger" },
{ "path": "../types" }
]
}

View file

@ -11,7 +11,7 @@
"exclude": ["node_modules", "dist"],
"references": [
{ "path": "../core/types" },
{ "path": "../data/cache" },
{ "path": "../core/cache" },
{ "path": "../core/config" },
{ "path": "../core/logger" }
]