trying to fix build
This commit is contained in:
parent
269364fbc8
commit
2db7c0dc36
3 changed files with 119 additions and 30 deletions
|
|
@ -31,26 +31,28 @@ trap cleanup EXIT
|
|||
|
||||
# Build order is important due to dependencies
|
||||
libs=(
|
||||
# Core Libraries
|
||||
"types" # Base types - no dependencies
|
||||
"config" # Configuration - depends on types
|
||||
"config" # Configuration - depends on types
|
||||
"logger" # Logging utilities - depends on types
|
||||
"utils" # Utilities - depends on types and config
|
||||
# Database clients
|
||||
"postgres-client" # PostgreSQL client - depends on types, config, logger
|
||||
# "mongodb-client" # MongoDB client - depends on types, config, logger (temporarily disabled - needs zod->yup conversion)
|
||||
"questdb-client" # QuestDB client - depends on types, config, logger
|
||||
|
||||
# # Database clients
|
||||
# "postgres-client" # PostgreSQL client - depends on types, config, logger
|
||||
# "mongodb-client" # MongoDB client - depends on types, config, logger
|
||||
# "questdb-client" # QuestDB client - depends on types, config, logger
|
||||
|
||||
# Service libraries
|
||||
"cache" # Cache - depends on types and logger
|
||||
"http" # HTTP client - depends on types, config, logger
|
||||
"event-bus" # Event bus - depends on types, logger
|
||||
"shutdown" # Shutdown - depends on types, logger
|
||||
# # Service libraries
|
||||
# "cache" # Cache - depends on types and logger
|
||||
# "http" # HTTP client - depends on types, config, logger
|
||||
# "event-bus" # Event bus - depends on types, logger
|
||||
# # "queue" # Queue - depends on types, logger, cache
|
||||
# "shutdown" # Shutdown - depends on types, logger
|
||||
|
||||
# Engine libraries
|
||||
"data-frame" # Data frame - depends on types, utils
|
||||
"vector-engine" # Vector engine - depends on types, utils, data-frame
|
||||
"strategy-engine" # Strategy engine - depends on types, utils, event-bus
|
||||
# # Engine libraries
|
||||
# "data-frame" # Data frame - depends on types, utils
|
||||
# "vector-engine" # Vector engine - depends on types, utils, data-frame
|
||||
# "strategy-engine" # Strategy engine - depends on types, utils, event-bus
|
||||
)
|
||||
|
||||
# Build each library in order
|
||||
|
|
@ -59,6 +61,8 @@ for lib in "${libs[@]}"; do
|
|||
|
||||
echo -e "${GREEN}Building $lib...${NC}"
|
||||
cd "$lib_path"
|
||||
# print the current working directory
|
||||
rm -rf dist tsconfig.tsbuildinfo
|
||||
bun run build
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue