added new di with connection pool and rebuild of the database/cache services

This commit is contained in:
Boki 2025-06-21 14:54:51 -04:00
parent be6afef832
commit 09d907a10c
26 changed files with 4844 additions and 205 deletions

View file

@ -2,32 +2,34 @@
"name": "@stock-bot/utils",
"version": "1.0.0",
"description": "Common utility functions for stock-bot services",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"scripts": {
"build": "tsc",
"clean": "rimraf dist",
"test": "bun test"
},
"dependencies": {
"@stock-bot/types": "*",
"@stock-bot/config": "workspace:*",
"@stock-bot/logger": "workspace:*",
"@stock-bot/cache": "workspace:*",
"@stock-bot/postgres-client": "workspace:*",
"@stock-bot/mongodb-client": "workspace:*",
"@stock-bot/connection-factory": "workspace:*",
"@stock-bot/types": "workspace:*",
"@stock-bot/http": "workspace:*",
"cheerio": "^1.0.0",
"axios": "^1.7.7",
"axios-rate-limit": "^1.4.0",
"axios-retry": "^4.4.1",
"socks-proxy-agent": "^8.0.2",
"p-limit": "^6.1.0",
"zod": "^3.22.4",
"date-fns": "^2.30.0"
},
"devDependencies": {
"@types/node": "^20.11.0",
"typescript": "^5.3.0",
"bun-types": "^1.2.15"
},
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"README.md"
]
}
}
}