Extract shared calculations and preserve legacy research capabilities

This commit is contained in:
Boki 2026-10-21 20:27:07 -04:00
parent ccce401f72
commit 7827220b9b
82 changed files with 3099 additions and 1994 deletions

View file

@ -1,7 +1,8 @@
{
"name": "@stock-bot/utils",
"version": "1.0.0",
"description": "Common utility functions for stock-bot services",
"private": true,
"description": "General HTTP, date and asynchronous helpers for stock-bot services",
"main": "./src/index.ts",
"types": "./src/index.ts",
"scripts": {
@ -10,10 +11,7 @@
"test": "bun test"
},
"dependencies": {
"@stock-bot/config": "workspace:*",
"@stock-bot/logger": "workspace:*",
"@stock-bot/cache": "workspace:*",
"@stock-bot/types": "workspace:*",
"@stock-bot/invariants": "workspace:*"
},
"devDependencies": {
@ -23,6 +21,9 @@
},
"exports": {
".": "./src/index.ts",
"./assertions": "./src/assertions.ts"
"./fetch": "./src/fetch.ts",
"./user-agent": "./src/user-agent.ts",
"./common": "./src/common.ts",
"./dates": "./src/dateUtils.ts"
}
}