|
1 | 1 | { |
2 | | - "tasksRunnerOptions": { |
3 | | - "default": { |
4 | | - "runner": "nx/tasks-runners/default", |
5 | | - "options": { |
6 | | - "cacheableOperations": ["build:bundle", "build:transpile", "build:types", "lint", "test:unit", "build:tarball"], |
7 | | - "cacheDirectory": ".nxcache" |
8 | | - } |
9 | | - } |
10 | | - }, |
11 | 2 | "namedInputs": { |
12 | 3 | "default": ["{projectRoot}/**/*", "sharedGlobals"], |
13 | 4 | "sharedGlobals": [ |
|
22 | 13 | "build:bundle": { |
23 | 14 | "inputs": ["production", "^production"], |
24 | 15 | "dependsOn": ["build:transpile"], |
25 | | - "outputs": ["{projectRoot}/build/bundles"] |
| 16 | + "outputs": ["{projectRoot}/build/bundles"], |
| 17 | + "cache": true |
26 | 18 | }, |
27 | 19 | "build:tarball": { |
28 | 20 | "inputs": ["production", "^production"], |
29 | 21 | "dependsOn": ["build:transpile", "^build:transpile", "build:types", "^build:types"], |
30 | | - "outputs": ["{projectRoot}/*.tgz"] |
| 22 | + "outputs": ["{projectRoot}/*.tgz"], |
| 23 | + "cache": true |
31 | 24 | }, |
32 | 25 | "build:transpile": { |
33 | 26 | "inputs": ["production", "^production"], |
|
37 | 30 | "{projectRoot}/build/cjs", |
38 | 31 | "{projectRoot}/build/npm/esm", |
39 | 32 | "{projectRoot}/build/npm/cjs" |
40 | | - ] |
| 33 | + ], |
| 34 | + "cache": true |
41 | 35 | }, |
42 | 36 | "build:types": { |
43 | 37 | "inputs": ["production", "^production"], |
|
47 | 41 | "{projectRoot}/build/types-ts3.8", |
48 | 42 | "{projectRoot}/build/npm/types", |
49 | 43 | "{projectRoot}/build/npm/types-ts3.8" |
50 | | - ] |
| 44 | + ], |
| 45 | + "cache": true |
51 | 46 | }, |
52 | 47 | "lint": { |
53 | 48 | "inputs": ["default"], |
54 | 49 | "dependsOn": ["^build:types", "build:types"], |
55 | | - "outputs": [] |
| 50 | + "outputs": [], |
| 51 | + "cache": true |
56 | 52 | }, |
57 | 53 | "test:unit": { |
58 | 54 | "dependsOn": ["build:types", "^build:types", "build:transpile", "^build:transpile"], |
59 | 55 | "inputs": ["default"], |
60 | | - "outputs": ["{projectRoot}/coverage"] |
| 56 | + "outputs": ["{projectRoot}/coverage"], |
| 57 | + "cache": true |
61 | 58 | } |
62 | 59 | }, |
63 | | - "$schema": "./node_modules/nx/schemas/nx-schema.json" |
| 60 | + "$schema": "./node_modules/nx/schemas/nx-schema.json", |
| 61 | + "cacheDirectory": ".nxcache" |
64 | 62 | } |
0 commit comments