From 549161586e7e7d01246c08d14dab125322d79ac6 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Mon, 1 Sep 2025 14:15:31 +0200 Subject: [PATCH] Fix tsc-alias --- backend/api/package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/api/package.json b/backend/api/package.json index 5a78cece..c8332f49 100644 --- a/backend/api/package.json +++ b/backend/api/package.json @@ -9,11 +9,11 @@ "dev": "npx concurrently -n COMPILE,SERVER -c cyan,green \"yarn watch:compile\" \"yarn watch:serve\"", "build": "yarn compile && yarn dist:clean && yarn dist:copy", "build:fast": "yarn compile && yarn dist:copy", - "compile": "tsc -b && (cd ../../common && tsc-alias) && (cd ../shared && tsc-alias) && (cd ../email && tsc-alias)", + "compile": "tsc -b && tsc-alias && (cd ../../common && tsc-alias) && (cd ../shared && tsc-alias) && (cd ../email && tsc-alias)", "debug": "nodemon -r tsconfig-paths/register --watch src -e ts --watch ../../common/src --watch ../shared/src --exec \"yarn build && node --inspect-brk src/serve.ts\"", "dist": "yarn dist:clean && yarn dist:copy", "dist:clean": "rm -rf dist && mkdir -p dist/common/lib dist/backend/shared/lib dist/backend/api/lib dist/backend/email/lib", - "dist:copy": "rsync -a --delete ../../common/lib/ dist/common/lib && rsync -a --delete ../shared/lib/ dist/backend/shared/lib && rsync -a --delete ../email/lib/ dist/backend/email/lib && rsync -a --delete ./lib/* dist/backend/api/lib && cp ../../yarn.lock dist && cp package.json dist", + "dist:copy": "rsync -a --delete ../../common/lib/ dist/common/lib && rsync -a --delete ../shared/lib/ dist/backend/shared/lib && rsync -a --delete ../email/lib/ dist/backend/email/lib && rsync -a --delete ./lib/* dist/backend/api/lib && cp ../../yarn.lock dist && cp package.json dist", "watch": "tsc -w", "verify": "yarn --cwd=../.. verify", "verify:dir": "npx eslint . --max-warnings 0", @@ -56,6 +56,7 @@ "react-email": "3.0.7", "resend": "4.1.2", "string-similarity": "4.0.4", + "tsconfig-paths": "4.2.0", "twitter-api-v2": "1.15.0", "ws": "8.17.0", "zod": "3.21.4"