mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-09 15:07:55 -05:00
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:
@@ -1,8 +1,9 @@
|
||||
{
|
||||
"name": "simstudio",
|
||||
"version": "0.1.18",
|
||||
"version": "0.1.19",
|
||||
"description": "Sim Studio CLI - Run Sim Studio with a single command",
|
||||
"main": "dist/index.js",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"simstudio": "dist/index.js"
|
||||
},
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user