From a8b3e8a271a92261d6a1866d23d04e52625dc2e9 Mon Sep 17 00:00:00 2001
From: "benjamin.anthonio" <benjamin.anthonioz@etu.hesge.ch>
Date: Sat, 5 Apr 2025 14:56:51 +0200
Subject: [PATCH] update package.json

---
 microservices/auth/package.json  | 2 +-
 microservices/auth/tsconfig.json | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/microservices/auth/package.json b/microservices/auth/package.json
index 9e790f8..532a52f 100644
--- a/microservices/auth/package.json
+++ b/microservices/auth/package.json
@@ -10,7 +10,7 @@
         "env:decrypt": "npx dotenvx decrypt",
         "env:update": "npx dotenvx encrypt",
         "prisma:generate": "npx prisma generate",
-        "build:project": "npx tsc --project ./ && cp -R assets dist/assets",
+        "build:project": "npm run prisma:generate && npx tsc --project ./ && cp -R assets dist/assets",
         "build": "npm run build:project",
         "database:migrate:create": "npx dotenvx run -- npx prisma migrate dev --create-only",
         "database:migrate:deploy": "npx dotenvx run -- npx prisma migrate deploy",
diff --git a/microservices/auth/tsconfig.json b/microservices/auth/tsconfig.json
index 0be36f7..812a57b 100644
--- a/microservices/auth/tsconfig.json
+++ b/microservices/auth/tsconfig.json
@@ -18,7 +18,7 @@
     },
     "ts-node": {
          "esm": true
-    },
+    }
     "include"        : [
         "src/**/*.ts",
         "prisma/seed.ts"
-- 
GitLab