mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
e990cbba01
refs https://github.com/TryGhost/DevOps/issues/47 - this allows us to store and restore the cache for TS builds, which should speed up the whole process
37 lines
837 B
JSON
37 lines
837 B
JSON
{
|
|
"tasksRunnerOptions": {
|
|
"default": {
|
|
"runner": "nx/tasks-runners/default",
|
|
"options": {
|
|
"cacheableOperations": [
|
|
"build:ts",
|
|
"lint",
|
|
"test",
|
|
"test:unit"
|
|
],
|
|
"cacheDirectory": ".nxcache"
|
|
}
|
|
}
|
|
},
|
|
"namedInputs": {
|
|
"default": [
|
|
"{projectRoot}/**/*"
|
|
]
|
|
},
|
|
"targetDefaults": {
|
|
"build:ts": {
|
|
"dependsOn": [
|
|
"^build:ts"
|
|
],
|
|
"inputs": [
|
|
"default",
|
|
"^default"
|
|
],
|
|
"outputs": [
|
|
"{projectRoot}/build"
|
|
]
|
|
}
|
|
},
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json"
|
|
}
|