|
1 | 1 | {
|
2 | 2 | "extends": "nx/presets/npm.json",
|
3 |
| - "tasksRunnerOptions": { |
4 |
| - "default": { |
5 |
| - "runner": "nx/tasks-runners/default", |
6 |
| - "options": { |
7 |
| - "cacheableOperations": ["build", "test", "stryker", "generate", "lint"] |
8 |
| - } |
9 |
| - } |
10 |
| - }, |
11 | 3 | "targetDefaults": {
|
12 | 4 | "build:tsc": {
|
13 | 5 | "dependsOn": ["^generate"],
|
14 | 6 | "outputs": ["{projectRoot}/packages/*/dist", "{projectRoot}/packages/*/dist-test"]
|
15 | 7 | },
|
16 | 8 | "build": {
|
17 | 9 | "dependsOn": ["^build", "root:build:tsc", "generate"],
|
18 |
| - "outputs": ["{projectRoot}/dist", "{projectRoot}/dist-test", "{projectRoot}/target"] |
| 10 | + "outputs": ["{projectRoot}/dist", "{projectRoot}/dist-test", "{projectRoot}/target"], |
| 11 | + "cache": true |
19 | 12 | },
|
20 | 13 | "generate": {
|
21 |
| - "outputs": ["{projectRoot}/src-generated"] |
| 14 | + "outputs": ["{projectRoot}/src-generated"], |
| 15 | + "cache": true |
22 | 16 | },
|
23 | 17 | "test": {
|
24 |
| - "dependsOn": ["generate", "build", "root:build:tsc"] |
| 18 | + "dependsOn": ["generate", "build", "root:build:tsc"], |
| 19 | + "cache": true |
25 | 20 | },
|
26 | 21 | "stryker": {
|
27 | 22 | "dependsOn": ["^build", "root:build:tsc"],
|
28 |
| - "outputs": ["{projectRoot}/reports", "{projectRoot}/target-stryker4s-report-*/"] |
| 23 | + "outputs": ["{projectRoot}/reports", "{projectRoot}/target-stryker4s-report-*/"], |
| 24 | + "cache": true |
29 | 25 | },
|
30 | 26 | "lint": {
|
31 |
| - "dependsOn": ["build", "root:build:tsc"] |
| 27 | + "dependsOn": ["build", "root:build:tsc"], |
| 28 | + "cache": true |
32 | 29 | }
|
33 | 30 | }
|
34 | 31 | }
|
0 commit comments