Problema de los alias de typescript

This commit is contained in:
2026-01-30 14:53:18 +01:00
parent b30c7e71e9
commit f52009092c
11 changed files with 351 additions and 25 deletions

View File

@@ -5,7 +5,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "echo \" Shared no es un modulo ejecutable \" ",
"build": "tsc"
"build": "tsc && yarn tsc-alias"
},
"author": "",
"license": "ISC",
@@ -26,6 +26,7 @@
"@types/supertest": "*",
"prettier": "*",
"supertest": "*",
"tsc-alias": "^1.8.16",
"tsx": "*",
"vitest": "*"
}

View File

@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/packages/shared",
"outDir": "../../dist",
"baseUrl": ".",
"paths": {
"#config/*": [
@@ -20,7 +20,7 @@
"__tests__/*"
],
"#shared/*": [
"../shared/*"
"./*"
],
}
},