added new queue lib with batch processor and provider

This commit is contained in:
Boki 2025-06-14 15:02:10 -04:00
parent ddcf94a587
commit 6c548416d1
19 changed files with 1939 additions and 35 deletions

25
libs/queue/package.json Normal file
View file

@ -0,0 +1,25 @@
{
"name": "@stock-bot/queue",
"version": "1.0.0",
"description": "Reusable queue library with batch processing capabilities",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"clean": "rm -rf dist"
},
"dependencies": {
"bullmq": "^5.0.0",
"@stock-bot/cache": "*",
"@stock-bot/logger": "*",
"@stock-bot/types": "*"
},
"devDependencies": {
"typescript": "^5.3.0",
"@types/node": "^20.0.0"
},
"publishConfig": {
"access": "restricted"
}
}