Skip to content

Commit

Permalink
build(nx): make typecheck a cacheable task
Browse files Browse the repository at this point in the history
  • Loading branch information
jackw committed Aug 10, 2023
1 parent 7b989ad commit f8cbdcd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"default": {
"runner": "nx-cloud",
"options": {
"cacheableOperations": ["build", "lint", "test"],
"cacheableOperations": ["build", "lint", "typecheck", "test"],
"accessToken": "ZWM1ZTNhMzItNmI1Zi00YTc5LThkMTQtNTE5ZjA3NTc3MmEwfHJlYWQtd3JpdGU="
}
}
Expand All @@ -14,6 +14,9 @@
"dependsOn": ["^build"],
"outputs": ["{projectRoot}/dist"]
},
"typecheck": {
"inputs": ["default", "{workspaceRoot}/tsconfig.base.json"]
},
"lint": {
"inputs": ["default", "{workspaceRoot}/.eslintrc"]
},
Expand Down

0 comments on commit f8cbdcd

Please sign in to comment.