fixed up some turbo libs to remove old config

This commit is contained in:
Boki 2025-06-18 15:42:38 -04:00
parent 6cc5b339bc
commit 46de1755e9
11 changed files with 6 additions and 12 deletions

View file

@ -13,7 +13,6 @@
}, },
"dependencies": { "dependencies": {
"@stock-bot/cache": "*", "@stock-bot/cache": "*",
"@stock-bot/config": "*",
"@stock-bot/event-bus": "*", "@stock-bot/event-bus": "*",
"@stock-bot/http": "*", "@stock-bot/http": "*",
"@stock-bot/logger": "*", "@stock-bot/logger": "*",

View file

@ -4,7 +4,6 @@
import { Hono } from 'hono'; import { Hono } from 'hono';
import { cors } from 'hono/cors'; import { cors } from 'hono/cors';
import { Browser } from '@stock-bot/browser'; import { Browser } from '@stock-bot/browser';
import { loadEnvVariables } from '@stock-bot/config';
import { getLogger, shutdownLoggers } from '@stock-bot/logger'; import { getLogger, shutdownLoggers } from '@stock-bot/logger';
import { connectMongoDB, disconnectMongoDB } from '@stock-bot/mongodb-client'; import { connectMongoDB, disconnectMongoDB } from '@stock-bot/mongodb-client';
import { processItems, QueueManager, type QueueConfig } from '@stock-bot/queue'; import { processItems, QueueManager, type QueueConfig } from '@stock-bot/queue';
@ -13,8 +12,6 @@ import { initializeIBResources } from './providers/ib.tasks';
import { initializeProxyResources } from './providers/proxy.tasks'; import { initializeProxyResources } from './providers/proxy.tasks';
import { exchangeRoutes, healthRoutes, queueRoutes } from './routes'; import { exchangeRoutes, healthRoutes, queueRoutes } from './routes';
// Load environment variables
loadEnvVariables();
const app = new Hono(); const app = new Hono();

View file

@ -4,7 +4,6 @@
"build": { "build": {
"dependsOn": [ "dependsOn": [
"@stock-bot/cache#build", "@stock-bot/cache#build",
"@stock-bot/config#build",
"@stock-bot/event-bus#build", "@stock-bot/event-bus#build",
"@stock-bot/http#build", "@stock-bot/http#build",
"@stock-bot/logger#build", "@stock-bot/logger#build",

View file

@ -2,7 +2,7 @@
"extends": ["//"], "extends": ["//"],
"tasks": { "tasks": {
"build": { "build": {
"dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build"], "dependsOn": ["@stock-bot/types#build"],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": [ "inputs": [
"src/**", "src/**",

View file

@ -2,7 +2,7 @@
"extends": ["//"], "extends": ["//"],
"tasks": { "tasks": {
"build": { "build": {
"dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build", "@stock-bot/logger#build"], "dependsOn": ["@stock-bot/types#build", "@stock-bot/logger#build"],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": [ "inputs": [
"src/**", "src/**",

View file

@ -2,7 +2,7 @@
"extends": ["//"], "extends": ["//"],
"tasks": { "tasks": {
"build": { "build": {
"dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build", "@stock-bot/logger#build"], "dependsOn": ["@stock-bot/types#build", "@stock-bot/logger#build"],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": [ "inputs": [
"src/**", "src/**",

View file

@ -2,7 +2,7 @@
"extends": ["//"], "extends": ["//"],
"tasks": { "tasks": {
"build": { "build": {
"dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build", "@stock-bot/logger#build"], "dependsOn": ["@stock-bot/types#build", "@stock-bot/logger#build"],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": [ "inputs": [
"src/**", "src/**",

View file

@ -11,7 +11,6 @@
"clean": "rimraf dist" "clean": "rimraf dist"
}, },
"dependencies": { "dependencies": {
"@stock-bot/config": "*",
"@stock-bot/data-frame": "*", "@stock-bot/data-frame": "*",
"@stock-bot/event-bus": "*", "@stock-bot/event-bus": "*",
"@stock-bot/logger": "*", "@stock-bot/logger": "*",

View file

@ -4,7 +4,6 @@
"build": { "build": {
"dependsOn": [ "dependsOn": [
"@stock-bot/types#build", "@stock-bot/types#build",
"@stock-bot/config#build",
"@stock-bot/logger#build", "@stock-bot/logger#build",
"@stock-bot/utils#build", "@stock-bot/utils#build",
"@stock-bot/data-frame#build", "@stock-bot/data-frame#build",

View file

@ -2,7 +2,7 @@
"extends": ["//"], "extends": ["//"],
"tasks": { "tasks": {
"build": { "build": {
"dependsOn": ["@stock-bot/types#build", "@stock-bot/config#build"], "dependsOn": ["@stock-bot/types#build"],
"outputs": ["dist/**"], "outputs": ["dist/**"],
"inputs": [ "inputs": [
"src/**", "src/**",

View file

@ -33,6 +33,7 @@ trap cleanup EXIT
libs=( libs=(
"types" # Base types - no dependencies "types" # Base types - no dependencies
"config" # Configuration - depends on types "config" # Configuration - depends on types
"config-new" # Configuration - depends on types
"logger" # Logging utilities - depends on types "logger" # Logging utilities - depends on types
"utils" # Utilities - depends on types and config "utils" # Utilities - depends on types and config
# Database clients # Database clients