feat(repo): enable typecheck on build target

This commit is contained in:
Francesco Spilla 2025-02-06 17:42:45 +01:00
parent de99e2760a
commit 399988c520
2 changed files with 8 additions and 0 deletions

View File

@ -7,6 +7,11 @@
"projectType": "application",
"sourceRoot": "apps/ebitemp-api/src",
"targets": {
"typecheck": {
"options": {
"command": "tsc --build --emitDeclarationOnly --pretty"
}
},
"build": {
"executor": "nx:run-commands",
"options": {

View File

@ -54,6 +54,9 @@
}
],
"targetDefaults": {
"build": {
"dependsOn": ["^build", "typecheck"]
},
"test": {
"dependsOn": ["^build"]
},