fix(cli): package type for esm imports, missing realtime (#574)

* fix: package type for esm imports, missing realtime calls and use of migrate

* chore: bump cli
This commit is contained in:
Aditya Tripathi
2025-06-28 21:06:01 +05:30
committed by GitHub
parent 5fec81320c
commit e93a5ce646
2 changed files with 5 additions and 3 deletions

View File

@@ -188,7 +188,7 @@ async function main() {
'ghcr.io/simstudioai/migrations:latest',
'bun',
'run',
'db:push',
'db:migrate',
])
if (!migrationsSuccess) {
@@ -259,7 +259,7 @@ async function main() {
)
console.log(
chalk.yellow(
`🛑 To stop all containers, run: ${chalk.bold('docker stop simstudio-app simstudio-db')}`
`🛑 To stop all containers, run: ${chalk.bold('docker stop simstudio-app simstudio-db simstudio-realtime')}`
)
)
@@ -275,6 +275,7 @@ async function main() {
// Stop containers
await stopAndRemoveContainer(APP_CONTAINER)
await stopAndRemoveContainer(DB_CONTAINER)
await stopAndRemoveContainer(REALTIME_CONTAINER)
console.log(chalk.green('✅ Sim Studio has been stopped'))
process.exit(0)