adding data-services

This commit is contained in:
Bojan Kucera 2025-06-03 07:42:48 -04:00
parent e3bfd05b90
commit 405b818c86
139 changed files with 55943 additions and 416 deletions

28
scripts/build-libs.ps1 Normal file
View file

@ -0,0 +1,28 @@
# Build and install the new libraries
Write-Host "Building and installing new libraries..." -ForegroundColor Cyan
# Build order is important due to dependencies
$libs = @(
"shared-types",
"utils",
"event-bus",
"api-client"
)
# Build each library in order
foreach ($lib in $libs) {
$libPath = "g:\repos\stock-bot\libs\$lib"
Write-Host "Building $lib..." -ForegroundColor Green
Set-Location $libPath
bun run build
if ($LASTEXITCODE -ne 0) {
Write-Host "Failed to build $lib. Exiting." -ForegroundColor Red
exit 1
}
}
Write-Host "All libraries built successfully!" -ForegroundColor Green
Set-Location g:\repos\stock-bot