From 56875a5edc6459212f455b34b82ebe770f2bb5f0 Mon Sep 17 00:00:00 2001 From: zobkazi Date: Thu, 25 Apr 2024 21:42:25 +0600 Subject: [PATCH] zk: add 3 services prismainit --- kong-docker-compose/kong-docker-compose.yml | 3 --- .../{20240423194911_init => 20240425153948_init}/migration.sql | 0 .../{20240423201305_init => 20240425144230_init}/migration.sql | 0 .../{20240423194747_init => 20240425143720_init}/migration.sql | 0 packages/services/user/prisma/schema.prisma | 1 - packages/services/user/tsconfig.json | 2 +- 6 files changed, 1 insertion(+), 5 deletions(-) rename packages/services/adoption/prisma/migrations/{20240423194911_init => 20240425153948_init}/migration.sql (100%) rename packages/services/auth/prisma/migrations/{20240423201305_init => 20240425144230_init}/migration.sql (100%) rename packages/services/user/prisma/migrations/{20240423194747_init => 20240425143720_init}/migration.sql (100%) diff --git a/kong-docker-compose/kong-docker-compose.yml b/kong-docker-compose/kong-docker-compose.yml index 44f1ed2..395328e 100644 --- a/kong-docker-compose/kong-docker-compose.yml +++ b/kong-docker-compose/kong-docker-compose.yml @@ -92,9 +92,6 @@ services: retries: 10 ports: - "8000:8000" - - "8001:8001" - - "8443:8443" - - "8444:8444" ####################################### # Konga database prepare diff --git a/packages/services/adoption/prisma/migrations/20240423194911_init/migration.sql b/packages/services/adoption/prisma/migrations/20240425153948_init/migration.sql similarity index 100% rename from packages/services/adoption/prisma/migrations/20240423194911_init/migration.sql rename to packages/services/adoption/prisma/migrations/20240425153948_init/migration.sql diff --git a/packages/services/auth/prisma/migrations/20240423201305_init/migration.sql b/packages/services/auth/prisma/migrations/20240425144230_init/migration.sql similarity index 100% rename from packages/services/auth/prisma/migrations/20240423201305_init/migration.sql rename to packages/services/auth/prisma/migrations/20240425144230_init/migration.sql diff --git a/packages/services/user/prisma/migrations/20240423194747_init/migration.sql b/packages/services/user/prisma/migrations/20240425143720_init/migration.sql similarity index 100% rename from packages/services/user/prisma/migrations/20240423194747_init/migration.sql rename to packages/services/user/prisma/migrations/20240425143720_init/migration.sql diff --git a/packages/services/user/prisma/schema.prisma b/packages/services/user/prisma/schema.prisma index 869fd28..eda44a6 100644 --- a/packages/services/user/prisma/schema.prisma +++ b/packages/services/user/prisma/schema.prisma @@ -6,7 +6,6 @@ generator client { provider = "prisma-client-js" - output = "../../../../node_modules/.prisma/client" } datasource db { diff --git a/packages/services/user/tsconfig.json b/packages/services/user/tsconfig.json index 96f79b9..2b41d87 100644 --- a/packages/services/user/tsconfig.json +++ b/packages/services/user/tsconfig.json @@ -14,7 +14,7 @@ "moduleResolution": "node", "resolveJsonModule": true, "allowSyntheticDefaultImports": true, - "typeRoots": ["./src/types", "../../../"], + "typeRoots": ["./src/types", "../../../node_modules/@types"], "sourceMap": true, "types": ["node", "express"], "noImplicitAny": false,