Skip to content

Commit

Permalink
build(lerna): configure caching (dxatscale#1354)
Browse files Browse the repository at this point in the history
Caches compile, build, and test commands.

Build and test iteration time should be significantly improved.
  • Loading branch information
ethan-sargent authored Jul 13, 2023
1 parent 096a693 commit 43d7550
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"build",
"compile",
"test"
]
}
}
},
"targetDefaults": {
"build": {
"dependsOn": [
"^build"
],
"outputs": [
"{projectRoot}/lib"
]
},
"compile": {
"outputs": [
"{projectRoot}/lib"
]
}
}
}

0 comments on commit 43d7550

Please sign in to comment.