build: add @shared alias pointing to the shared directory

This commit is contained in:
Miodec 2024-05-29 14:29:47 +02:00
parent 90c96a2bd7
commit 57ff186f91
2 changed files with 8 additions and 2 deletions

View file

@ -17,7 +17,10 @@
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
"paths": {
"@shared/*": ["../shared-types/*"]
}
},
"ts-node": {
"files": true

View file

@ -31,7 +31,10 @@
"noPropertyAccessFromIndexSignature": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"skipLibCheck": false
"skipLibCheck": false,
"paths": {
"@shared/*": ["../shared-types/*"]
}
},
"include": ["./src/**/*.ts", "../shared-types/**/*.d.ts"],
"exclude": ["node_modules", "build", "setup-tests.ts", "**/*.spec.ts"]