1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/nx.json
Iku-turso f00768c7d2 chore: Make only changes in production files invalidate build caches
Currently production files means other files than tests and .md -files.

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-06-02 11:52:32 +03:00

57 lines
878 B
JSON

{
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"build"
]
}
}
},
"namedInputs": {
"productionFiles": [
"default",
"!{projectRoot}/**/*.test.ts",
"!{projectRoot}/**/*.test.tsx",
"!{projectRoot}/**/*.md"
]
},
"targetDefaults": {
"build": {
"dependsOn": [
"^build"
],
"inputs": [
"productionFiles"
]
},
"build:app": {
"dependsOn": [
"^build"
]
},
"test:integration": {
"dependsOn": [
"^build"
]
},
"build:docs": {
"dependsOn": [
"^build"
]
},
"lint": {
"dependsOn": [
"^build"
]
},
"test:unit": {
"dependsOn": [
"^build"
]
}
}
}