From a3fdc6718c96899eda3be6174aa2b4da1621ed22 Mon Sep 17 00:00:00 2001 From: Izan Gil <66965250+SrIzan10@users.noreply.github.com> Date: Wed, 27 Dec 2023 18:34:58 +0000 Subject: [PATCH] fix: deployment problems (try number 1) --- apps/api/package.json | 3 ++- package.json | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/api/package.json b/apps/api/package.json index 3f760b0..8d53b77 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -3,7 +3,8 @@ "version": "1.0.0", "scripts": { "dev": "tsc-watch --preserveWatchOutput --onSuccess \"node dist/index.js --dev\"", - "build": "tsc" + "build": "tsc", + "start": "node dist/index.js" }, "type": "module", "dependencies": { diff --git a/package.json b/package.json index 867ca6b..c2c61d6 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,9 @@ "apps/*" ], "scripts": { + "build": "yarn workspaces foreach -A run build", + "start:api": "yarn workspace api start", + "start:frontend": "yarn workspace frontend start", "dev": "concurrently \"yarn workspace frontend dev\" \"yarn workspace api dev\" \"yarn workspace database dev\"" }, "//": [