|
1 | 1 | { |
2 | 2 | "$schema": "./node_modules/nx/schemas/nx-schema.json", |
3 | | - "tasksRunnerOptions": { |
4 | | - "default": { |
5 | | - "options": { |
6 | | - "canTrackAnalytics": true, |
7 | | - "showUsageWarnings": true |
8 | | - } |
9 | | - } |
10 | | - }, |
| 3 | + "tasksRunnerOptions": { "default": { "options": { "canTrackAnalytics": true, "showUsageWarnings": true } } }, |
11 | 4 | "defaultProject": "jetstream", |
12 | 5 | "generators": { |
13 | | - "@nrwl/nest": { |
14 | | - "application": { |
15 | | - "linter": "eslint" |
16 | | - } |
17 | | - }, |
18 | | - "@nx/web:application": { |
19 | | - "style": "css", |
20 | | - "linter": "eslint", |
21 | | - "unitTestRunner": "jest", |
22 | | - "e2eTestRunner": "none" |
23 | | - }, |
24 | | - "@nx/web:library": { |
25 | | - "style": "css", |
26 | | - "linter": "eslint", |
27 | | - "unitTestRunner": "jest" |
28 | | - }, |
29 | | - "@nx/workspace": { |
30 | | - "library": { |
31 | | - "linter": "eslint" |
32 | | - } |
33 | | - }, |
34 | | - "@nx/web": { |
35 | | - "application": { |
36 | | - "linter": "eslint" |
37 | | - } |
38 | | - }, |
39 | | - "@nx/node": { |
40 | | - "application": { |
41 | | - "linter": "eslint" |
42 | | - }, |
43 | | - "library": { |
44 | | - "linter": "eslint" |
45 | | - } |
46 | | - }, |
47 | | - "@nx/express": { |
48 | | - "application": { |
49 | | - "linter": "eslint" |
50 | | - }, |
51 | | - "library": { |
52 | | - "linter": "eslint" |
53 | | - } |
54 | | - }, |
55 | | - "@nx/plugin": { |
56 | | - "plugin": { |
57 | | - "linter": "eslint" |
58 | | - } |
59 | | - }, |
| 6 | + "@nrwl/nest": { "application": { "linter": "eslint" } }, |
| 7 | + "@nx/web:application": { "style": "css", "linter": "eslint", "unitTestRunner": "jest", "e2eTestRunner": "none" }, |
| 8 | + "@nx/web:library": { "style": "css", "linter": "eslint", "unitTestRunner": "jest" }, |
| 9 | + "@nx/workspace": { "library": { "linter": "eslint" } }, |
| 10 | + "@nx/web": { "application": { "linter": "eslint" } }, |
| 11 | + "@nx/node": { "application": { "linter": "eslint" }, "library": { "linter": "eslint" } }, |
| 12 | + "@nx/express": { "application": { "linter": "eslint" }, "library": { "linter": "eslint" } }, |
| 13 | + "@nx/plugin": { "plugin": { "linter": "eslint" } }, |
60 | 14 | "@nx/react": { |
61 | | - "application": { |
62 | | - "babel": true, |
63 | | - "style": "@emotion/styled", |
64 | | - "linter": "eslint", |
65 | | - "bundler": "vite" |
66 | | - }, |
67 | | - "library": { |
68 | | - "style": "@emotion/styled", |
69 | | - "linter": "eslint", |
70 | | - "unitTestRunner": "jest" |
71 | | - }, |
72 | | - "storybook-configuration": { |
73 | | - "linter": "eslint" |
74 | | - }, |
75 | | - "component": { |
76 | | - "style": "@emotion/styled" |
77 | | - } |
| 15 | + "application": { "babel": true, "style": "@emotion/styled", "linter": "eslint", "bundler": "vite" }, |
| 16 | + "library": { "style": "@emotion/styled", "linter": "eslint", "unitTestRunner": "jest" }, |
| 17 | + "storybook-configuration": { "linter": "eslint" }, |
| 18 | + "component": { "style": "@emotion/styled" } |
78 | 19 | }, |
79 | | - "@nx/next": { |
80 | | - "application": { |
81 | | - "style": "scss", |
82 | | - "linter": "eslint" |
83 | | - } |
84 | | - } |
| 20 | + "@nx/next": { "application": { "style": "scss", "linter": "eslint" } } |
85 | 21 | }, |
86 | 22 | "targetDefaults": { |
87 | | - "build": { |
88 | | - "dependsOn": ["^build"], |
89 | | - "inputs": ["production", "^production"], |
90 | | - "cache": true |
91 | | - }, |
92 | | - "e2e": { |
93 | | - "inputs": ["default", "^production"], |
94 | | - "cache": true |
95 | | - }, |
| 23 | + "build": { "dependsOn": ["^build"], "inputs": ["production", "^production"], "cache": true }, |
| 24 | + "e2e": { "inputs": ["default", "^production"], "cache": true }, |
96 | 25 | "build-storybook": { |
97 | 26 | "inputs": [ |
98 | 27 | "default", |
|
102 | 31 | "{projectRoot}/tsconfig.storybook.json" |
103 | 32 | ] |
104 | 33 | }, |
105 | | - "e2e-ci": { |
106 | | - "cache": true |
107 | | - }, |
| 34 | + "e2e-ci": { "cache": true }, |
108 | 35 | "@nx/jest:jest": { |
109 | 36 | "inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"], |
110 | 37 | "cache": true, |
111 | | - "options": { |
112 | | - "passWithNoTests": true |
113 | | - }, |
114 | | - "configurations": { |
115 | | - "ci": { |
116 | | - "ci": true, |
117 | | - "codeCoverage": true |
118 | | - } |
119 | | - } |
| 38 | + "options": { "passWithNoTests": true }, |
| 39 | + "configurations": { "ci": { "ci": true, "codeCoverage": true } } |
120 | 40 | }, |
121 | 41 | "@nx/eslint:lint": { |
122 | 42 | "cache": true, |
123 | 43 | "inputs": ["default", "{workspaceRoot}/.eslintrc.json", "{workspaceRoot}/tools/eslint-rules/**/*"] |
124 | 44 | }, |
125 | | - "@nx/vite:test": { |
126 | | - "cache": true, |
127 | | - "inputs": ["default", "^production"] |
128 | | - }, |
129 | | - "@nx/vite:build": { |
130 | | - "cache": true, |
131 | | - "dependsOn": ["^build"], |
132 | | - "inputs": ["production", "^production"] |
133 | | - }, |
134 | | - "@nx/js:tsc": { |
135 | | - "cache": true, |
136 | | - "dependsOn": ["^build"], |
137 | | - "inputs": ["production", "^production"] |
138 | | - } |
| 45 | + "@nx/vite:test": { "cache": true, "inputs": ["default", "^production"] }, |
| 46 | + "@nx/vite:build": { "cache": true, "dependsOn": ["^build"], "inputs": ["production", "^production"] }, |
| 47 | + "@nx/js:tsc": { "cache": true, "dependsOn": ["^build"], "inputs": ["production", "^production"] } |
139 | 48 | }, |
140 | 49 | "namedInputs": { |
141 | 50 | "default": ["{projectRoot}/**/*", "sharedGlobals"], |
|
162 | 71 | "plugins": [ |
163 | 72 | { |
164 | 73 | "plugin": "@nx/next/plugin", |
165 | | - "options": { |
166 | | - "buildTargetName": "build", |
167 | | - "devTargetName": "dev", |
168 | | - "startTargetName": "start", |
169 | | - "serveStaticTargetName": "serve-static" |
170 | | - } |
| 74 | + "options": { "buildTargetName": "build", "devTargetName": "dev", "startTargetName": "start", "serveStaticTargetName": "serve-static" } |
171 | 75 | }, |
172 | | - { |
173 | | - "plugin": "@nx/eslint/plugin", |
174 | | - "options": { |
175 | | - "targetName": "lint" |
176 | | - } |
177 | | - } |
| 76 | + { "plugin": "@nx/eslint/plugin", "options": { "targetName": "lint" } } |
178 | 77 | ], |
179 | 78 | "defaultBase": "main", |
180 | | - "useLegacyCache": true |
| 79 | + "useLegacyCache": true, |
| 80 | + "nxCloudId": "67422b8f695a61db2104d71d" |
181 | 81 | } |
0 commit comments