mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
chore: run npm install in ts_validator in start scripts
This commit is contained in:
parent
330b81d908
commit
1fa52df2de
2 changed files with 19 additions and 1 deletions
|
|
@ -201,6 +201,15 @@ if ! alembic -c "$BASE_DIR/api/alembic.ini" upgrade head; then
|
|||
fi
|
||||
log_info "Migrations complete"
|
||||
|
||||
TS_VALIDATOR_DIR="$BASE_DIR/api/mcp_server/ts_validator"
|
||||
if [[ -f "$TS_VALIDATOR_DIR/package.json" ]]; then
|
||||
log_info "Installing ts_validator npm dependencies"
|
||||
if ! (cd "$TS_VALIDATOR_DIR" && npm install); then
|
||||
log_error "npm install for ts_validator failed. Aborting — nothing has been touched."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
###############################################################################
|
||||
### PHASE 2: START NEW WORKERS
|
||||
###############################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue