Ghost/nx.json
Daniel Lockyer cd175ddae2 Added shared tsconfig.json to list of files to build when changed
refs https://github.com/TryGhost/DevOps/issues/45

- if this file changes, we presumably want to re-run any builds because
  it's possible the typescript config has changed
2023-07-21 14:17:21 +02:00

38 lines
888 B
JSON

{
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"build:ts",
"lint",
"test",
"test:unit"
],
"cacheDirectory": ".nxcache"
}
}
},
"namedInputs": {
"default": [
"{projectRoot}/**/*",
"{workspaceRoot}/ghost/tsconfig.json"
]
},
"targetDefaults": {
"build:ts": {
"dependsOn": [
"^build:ts"
],
"inputs": [
"default",
"^default"
],
"outputs": [
"{projectRoot}/build"
]
}
},
"$schema": "./node_modules/nx/schemas/nx-schema.json"
}