fixed up some turbo libs to remove old config
This commit is contained in:
parent
6cc5b339bc
commit
46de1755e9
11 changed files with 6 additions and 12 deletions
|
|
@ -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": "*",
|
||||||
|
|
|
||||||
|
|
@ -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();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -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/**",
|
||||||
|
|
|
||||||
|
|
@ -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/**",
|
||||||
|
|
|
||||||
|
|
@ -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/**",
|
||||||
|
|
|
||||||
|
|
@ -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/**",
|
||||||
|
|
|
||||||
|
|
@ -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": "*",
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -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/**",
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue