From 95a01c595378e2bad149ad4e295ea8633f87ef27 Mon Sep 17 00:00:00 2001 From: zaragoza444 Date: Fri, 3 Jul 2026 02:09:48 -0700 Subject: [PATCH] fix(deploy): install devDependencies for TypeScript builds on production hosts Co-authored-by: Cursor --- scripts/deployment/deploy-omnl-bank-production.sh | 2 +- services/swift-listener/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deployment/deploy-omnl-bank-production.sh b/scripts/deployment/deploy-omnl-bank-production.sh index a314918..27c2b2c 100644 --- a/scripts/deployment/deploy-omnl-bank-production.sh +++ b/scripts/deployment/deploy-omnl-bank-production.sh @@ -79,7 +79,7 @@ build_pkg() { local dir="$1" log "Building $dir..." cd "$REPO_DIR/$dir" - npm install --no-fund --no-audit + npm install --no-fund --no-audit --include=dev npm run build } diff --git a/services/swift-listener/package.json b/services/swift-listener/package.json index 76c0dea..aa67e0f 100644 --- a/services/swift-listener/package.json +++ b/services/swift-listener/package.json @@ -4,7 +4,7 @@ "description": "SWIFT FIN / ISO 20022 listener for Chain 138 and cW* asset broadcasts", "main": "dist/index.js", "scripts": { - "build": "npx tsc", + "build": "node ./node_modules/typescript/bin/tsc", "start": "node dist/cli.js", "dev": "ts-node src/cli.ts", "test": "vitest run",