|
1 | 1 | { |
2 | 2 | "$schema": "./node_modules/nx/schemas/nx-schema.json", |
3 | | - "npmScope": "nx-dotnet", |
4 | 3 | "affected": { |
5 | 4 | "defaultBase": "master" |
6 | 5 | }, |
7 | | - "tasksRunnerOptions": { |
8 | | - "default": { |
9 | | - "runner": "nx-cloud", |
10 | | - "options": { |
11 | | - "cacheableOperations": [ |
12 | | - "build", |
13 | | - "lint", |
14 | | - "test", |
15 | | - "e2e", |
16 | | - "prebuild", |
17 | | - "swagger", |
18 | | - "codegen", |
19 | | - "build:test" |
20 | | - ], |
21 | | - "accessToken": "ZTMwZjcyY2ItZWRjYS00NzZjLTg3ZmQtYzdjM2Y3OGIzNDdhfHJlYWQtd3JpdGU=", |
22 | | - "canTrackAnalytics": false, |
23 | | - "showUsageWarnings": true, |
24 | | - "parallel": 3, |
25 | | - "useLightClient": true |
26 | | - } |
27 | | - } |
28 | | - }, |
29 | 6 | "workspaceLayout": { |
30 | 7 | "appsDir": "", |
31 | 8 | "libsDir": "" |
32 | 9 | }, |
33 | | - "plugins": ["@nx-dotnet/core"], |
| 10 | + "plugins": [ |
| 11 | + { |
| 12 | + "plugin": "@nx-dotnet/core", |
| 13 | + "options": { |
| 14 | + "nugetPackages": { |
| 15 | + "Swashbuckle.AspNetCore": "6.5.0" |
| 16 | + }, |
| 17 | + "inferProjects": false |
| 18 | + } |
| 19 | + } |
| 20 | + ], |
34 | 21 | "generators": { |
35 | 22 | "@nx-dotnet/nxdoc:generate-docs": { |
36 | 23 | "outputDirectory": "docs", |
|
40 | 27 | "targetDefaults": { |
41 | 28 | "build": { |
42 | 29 | "dependsOn": ["^build", "prebuild", "^prebuild", "^codegen", "codegen"], |
43 | | - "inputs": ["production", "^production"] |
| 30 | + "inputs": ["production", "^production"], |
| 31 | + "cache": true |
44 | 32 | }, |
45 | 33 | "@nx-dotnet/core:build": { |
46 | 34 | "dependsOn": ["^build", "prebuild", "^prebuild", "^codegen", "codegen"], |
|
52 | 40 | ] |
53 | 41 | }, |
54 | 42 | "codegen": { |
55 | | - "dependsOn": ["^swagger", "swagger"] |
| 43 | + "dependsOn": ["^swagger", "swagger"], |
| 44 | + "cache": true |
56 | 45 | }, |
57 | 46 | "swagger": { |
58 | | - "dependsOn": ["build"] |
| 47 | + "dependsOn": ["build"], |
| 48 | + "cache": true |
59 | 49 | }, |
60 | 50 | "test": { |
61 | | - "inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"] |
| 51 | + "inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"], |
| 52 | + "cache": true |
62 | 53 | }, |
63 | 54 | "smoke": { |
64 | | - "inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"] |
| 55 | + "inputs": [ |
| 56 | + "default", |
| 57 | + "^production", |
| 58 | + "{workspaceRoot}/jest.preset.js", |
| 59 | + { |
| 60 | + "runtime": "npm show nx@latest version" |
| 61 | + }, |
| 62 | + { |
| 63 | + "runtime": "npm show @nx-dotnet/core@latest version" |
| 64 | + } |
| 65 | + ], |
| 66 | + "cache": true |
65 | 67 | }, |
66 | 68 | "lint": { |
67 | | - "inputs": ["default", "{workspaceRoot}/.eslintrc.json"] |
| 69 | + "inputs": ["default", "{workspaceRoot}/.eslintrc.json"], |
| 70 | + "cache": true |
| 71 | + }, |
| 72 | + "e2e": { |
| 73 | + "cache": true |
| 74 | + }, |
| 75 | + "prebuild": { |
| 76 | + "cache": true |
| 77 | + }, |
| 78 | + "build:test": { |
| 79 | + "cache": true |
68 | 80 | } |
69 | 81 | }, |
70 | 82 | "namedInputs": { |
|
84 | 96 | "!{projectRoot}/src/test-setup.[jt]s" |
85 | 97 | ], |
86 | 98 | "projectSpecificFiles": [] |
87 | | - } |
| 99 | + }, |
| 100 | + "nxCloudAccessToken": "ZTMwZjcyY2ItZWRjYS00NzZjLTg3ZmQtYzdjM2Y3OGIzNDdhfHJlYWQtd3JpdGU=", |
| 101 | + "parallel": 3 |
88 | 102 | } |
0 commit comments