diff --git a/apps/ebitemp-api/package.json b/apps/ebitemp-api/package.json index 6609e65..fcf80f5 100644 --- a/apps/ebitemp-api/package.json +++ b/apps/ebitemp-api/package.json @@ -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": { diff --git a/nx.json b/nx.json index 322cc79..e274d82 100644 --- a/nx.json +++ b/nx.json @@ -54,6 +54,9 @@ } ], "targetDefaults": { + "build": { + "dependsOn": ["^build", "typecheck"] + }, "test": { "dependsOn": ["^build"] },