From f39a9845a3e0a040244516b1e99f1752ba1a85d5 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Mon, 15 Sep 2025 21:08:27 +0200 Subject: [PATCH] Fix tsconfig include jsonapi --- backend/api/tsconfig.json | 40 ++++++++++++++++++++++++++++++--------- 1 file changed, 31 insertions(+), 9 deletions(-) diff --git a/backend/api/tsconfig.json b/backend/api/tsconfig.json index 65419a69..2e1432cc 100644 --- a/backend/api/tsconfig.json +++ b/backend/api/tsconfig.json @@ -13,20 +13,42 @@ "skipLibCheck": true, "jsx": "react-jsx", "paths": { - "common/*": ["../../common/src/*", "../../../common/lib/*"], - "shared/*": ["../shared/src/*", "../../shared/lib/*"], - "email/*": ["../email/emails/*", "../../email/lib/*"], - "api/*": ["./src/*"] + "common/*": [ + "../../common/src/*", + "../../../common/lib/*" + ], + "shared/*": [ + "../shared/src/*", + "../../shared/lib/*" + ], + "email/*": [ + "../email/emails/*", + "../../email/lib/*" + ], + "api/*": [ + "./src/*" + ] } }, "ts-node": { - "require": ["tsconfig-paths/register"] + "require": [ + "tsconfig-paths/register" + ] }, "references": [ - { "path": "../../common" }, - { "path": "../shared" }, - { "path": "../email" } + { + "path": "../../common" + }, + { + "path": "../shared" + }, + { + "path": "../email" + } ], "compileOnSave": true, - "include": ["src/**/*.ts"] + "include": [ + "src/**/*.ts", + "openapi.json" + ] }