diff --git a/nx.json b/nx.json index 5c81cdfd5..03112dede 100644 --- a/nx.json +++ b/nx.json @@ -4,7 +4,7 @@ "default": { "runner": "nx-cloud", "options": { - "cacheableOperations": ["build", "lint", "test"], + "cacheableOperations": ["build", "lint", "typecheck", "test"], "accessToken": "ZWM1ZTNhMzItNmI1Zi00YTc5LThkMTQtNTE5ZjA3NTc3MmEwfHJlYWQtd3JpdGU=" } } @@ -14,6 +14,9 @@ "dependsOn": ["^build"], "outputs": ["{projectRoot}/dist"] }, + "typecheck": { + "inputs": ["default", "{workspaceRoot}/tsconfig.base.json"] + }, "lint": { "inputs": ["default", "{workspaceRoot}/.eslintrc"] },