|
1 | 1 | { |
2 | 2 | "$schema": "packages/nx/schemas/nx-schema.json", |
3 | 3 | "namedInputs": { |
4 | | - "default": [ |
5 | | - "{projectRoot}/**/*", |
6 | | - "sharedGlobals" |
7 | | - ], |
| 4 | + "default": ["{projectRoot}/**/*", "sharedGlobals"], |
8 | 5 | "production": [ |
9 | 6 | "default", |
10 | 7 | "!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)", |
|
31 | 28 | "runtime": "rustc --version" |
32 | 29 | }, |
33 | 30 | { |
34 | | - "externalDependencies": [ |
35 | | - "npm:@monodon/rust", |
36 | | - "npm:@napi-rs/cli" |
37 | | - ] |
| 31 | + "externalDependencies": ["npm:@monodon/rust", "npm:@napi-rs/cli"] |
38 | 32 | } |
39 | 33 | ], |
40 | 34 | "e2eInputs": [ |
|
61 | 55 | ] |
62 | 56 | }, |
63 | 57 | "release": { |
64 | | - "projects": [ |
65 | | - "packages/*", |
66 | | - "packages/nx/native-packages/*" |
67 | | - ], |
| 58 | + "projects": ["packages/*", "packages/nx/native-packages/*"], |
68 | 59 | "releaseTagPattern": "{version}", |
69 | 60 | "changelog": { |
70 | 61 | "workspaceChangelog": { |
|
85 | 76 | }, |
86 | 77 | "currentVersionResolver": "registry", |
87 | 78 | "preserveLocalDependencyProtocols": false, |
88 | | - "manifestRootsToUpdate": [ |
89 | | - "build/packages/{projectName}" |
90 | | - ], |
| 79 | + "manifestRootsToUpdate": ["build/packages/{projectName}"], |
91 | 80 | "versionActionsOptions": { |
92 | 81 | "skipLockFileUpdate": true |
93 | 82 | } |
|
100 | 89 | } |
101 | 90 | }, |
102 | 91 | "build": { |
103 | | - "dependsOn": [ |
104 | | - "build-base", |
105 | | - "build-native" |
106 | | - ], |
107 | | - "inputs": [ |
108 | | - "production", |
109 | | - "^production" |
110 | | - ], |
| 92 | + "dependsOn": ["build-base", "build-native"], |
| 93 | + "inputs": ["production", "^production"], |
111 | 94 | "cache": true |
112 | 95 | }, |
113 | 96 | "build-native": { |
114 | | - "inputs": [ |
115 | | - "native" |
116 | | - ], |
| 97 | + "inputs": ["native"], |
117 | 98 | "cache": true |
118 | 99 | }, |
119 | 100 | "build-base": { |
120 | | - "dependsOn": [ |
121 | | - "^build-base", |
122 | | - "build-native" |
123 | | - ], |
124 | | - "inputs": [ |
125 | | - "production", |
126 | | - "^production" |
127 | | - ], |
| 101 | + "dependsOn": ["^build-base", "build-native"], |
| 102 | + "inputs": ["production", "^production"], |
128 | 103 | "options": { |
129 | 104 | "outputPath": "build/{projectRoot}", |
130 | 105 | "tsConfig": "{projectRoot}/tsconfig.lib.json", |
131 | 106 | "main": "{projectRoot}/index.ts" |
132 | 107 | }, |
133 | | - "outputs": [ |
134 | | - "{options.outputPath}" |
135 | | - ], |
| 108 | + "outputs": ["{options.outputPath}"], |
136 | 109 | "cache": true |
137 | 110 | }, |
138 | 111 | "test-native": { |
139 | | - "inputs": [ |
140 | | - "native" |
141 | | - ], |
| 112 | + "inputs": ["native"], |
142 | 113 | "executor": "@monodon/rust:test", |
143 | 114 | "options": {}, |
144 | 115 | "cache": true |
145 | 116 | }, |
146 | 117 | "test": { |
147 | | - "dependsOn": [ |
148 | | - "test-native", |
149 | | - "build-native", |
150 | | - "^build-native" |
151 | | - ], |
152 | | - "inputs": [ |
153 | | - "default", |
154 | | - "^production", |
155 | | - "{workspaceRoot}/jest.preset.js" |
156 | | - ], |
| 118 | + "dependsOn": ["test-native", "build-native", "^build-native"], |
| 119 | + "inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"], |
157 | 120 | "options": { |
158 | | - "args": [ |
159 | | - "--passWithNoTests", |
160 | | - "--detectOpenHandles", |
161 | | - "--forceExit" |
162 | | - ] |
| 121 | + "args": ["--passWithNoTests", "--detectOpenHandles", "--forceExit"] |
163 | 122 | } |
164 | 123 | }, |
| 124 | + "vite:test": { |
| 125 | + "dependsOn": ["test-native", "build-native", "^build-native"], |
| 126 | + "inputs": ["default", "^production"] |
| 127 | + }, |
165 | 128 | "lint": { |
166 | | - "dependsOn": [ |
167 | | - "build-native", |
168 | | - "^build-native" |
169 | | - ] |
| 129 | + "dependsOn": ["build-native", "^build-native"] |
170 | 130 | }, |
171 | 131 | "e2e": { |
172 | 132 | "cache": true, |
173 | | - "inputs": [ |
174 | | - "e2eInputs", |
175 | | - "^production" |
176 | | - ] |
| 133 | + "inputs": ["e2eInputs", "^production"] |
177 | 134 | }, |
178 | 135 | "e2e-local": { |
179 | 136 | "cache": true, |
180 | | - "inputs": [ |
181 | | - "e2eInputs", |
182 | | - "^production" |
183 | | - ], |
| 137 | + "inputs": ["e2eInputs", "^production"], |
184 | 138 | "dependsOn": [ |
185 | 139 | "@nx/nx-source:populate-local-registry-storage", |
186 | 140 | "@nx/nx-source:local-registry" |
187 | 141 | ] |
188 | 142 | }, |
189 | 143 | "e2e-ci": { |
190 | | - "inputs": [ |
191 | | - "e2eInputs", |
192 | | - "^production" |
193 | | - ] |
| 144 | + "inputs": ["e2eInputs", "^production"] |
194 | 145 | }, |
195 | 146 | "e2e-macos-local": { |
196 | 147 | "cache": true, |
197 | | - "inputs": [ |
198 | | - "e2eInputs", |
199 | | - "^production" |
200 | | - ], |
| 148 | + "inputs": ["e2eInputs", "^production"], |
201 | 149 | "dependsOn": [ |
202 | 150 | "@nx/nx-source:populate-local-registry-storage", |
203 | 151 | "@nx/nx-source:local-registry" |
204 | 152 | ] |
205 | 153 | }, |
206 | 154 | "e2e-macos-ci": { |
207 | | - "inputs": [ |
208 | | - "e2eInputs", |
209 | | - "^production" |
210 | | - ] |
| 155 | + "inputs": ["e2eInputs", "^production"] |
211 | 156 | }, |
212 | 157 | "e2e-ci--**/**": { |
213 | | - "inputs": [ |
214 | | - "e2eInputs", |
215 | | - "^production" |
216 | | - ], |
| 158 | + "inputs": ["e2eInputs", "^production"], |
217 | 159 | "dependsOn": [ |
218 | 160 | "@nx/nx-source:populate-local-registry-storage", |
219 | 161 | "@nx/nx-source:local-registry" |
220 | 162 | ] |
221 | 163 | }, |
222 | 164 | "e2e-macos-ci--**/*": { |
223 | | - "inputs": [ |
224 | | - "e2eInputs", |
225 | | - "^production" |
226 | | - ], |
| 165 | + "inputs": ["e2eInputs", "^production"], |
227 | 166 | "dependsOn": [ |
228 | 167 | "@nx/nx-source:populate-local-registry-storage", |
229 | 168 | "@nx/nx-source:local-registry" |
230 | 169 | ] |
231 | 170 | }, |
232 | 171 | "e2e-base": { |
233 | | - "inputs": [ |
234 | | - "default", |
235 | | - "^production" |
236 | | - ] |
| 172 | + "inputs": ["default", "^production"] |
237 | 173 | }, |
238 | 174 | "build-storybook": { |
239 | 175 | "inputs": [ |
|
294 | 230 | }, |
295 | 231 | { |
296 | 232 | "plugin": "@nx/jest/plugin", |
297 | | - "include": [ |
298 | | - "e2e/**/*" |
299 | | - ], |
300 | | - "exclude": [ |
301 | | - "e2e/detox/**/*", |
302 | | - "e2e/react-native/**/*", |
303 | | - "e2e/expo/**/*" |
304 | | - ], |
| 233 | + "include": ["e2e/**/*"], |
| 234 | + "exclude": ["e2e/detox/**/*", "e2e/react-native/**/*", "e2e/expo/**/*"], |
305 | 235 | "options": { |
306 | 236 | "targetName": "e2e-local", |
307 | 237 | "ciTargetName": "e2e-ci" |
308 | 238 | } |
309 | 239 | }, |
310 | 240 | { |
311 | 241 | "plugin": "@nx/jest/plugin", |
312 | | - "include": [ |
313 | | - "e2e/detox/**/*", |
314 | | - "e2e/react-native/**/*", |
315 | | - "e2e/expo/**/*" |
316 | | - ], |
| 242 | + "include": ["e2e/detox/**/*", "e2e/react-native/**/*", "e2e/expo/**/*"], |
317 | 243 | "options": { |
318 | 244 | "targetName": "e2e-macos-local", |
319 | 245 | "ciTargetName": "e2e-macos-ci" |
|
347 | 273 | "buildDepsTargetName": "build-deps", |
348 | 274 | "watchDepsTargetName": "watch-deps" |
349 | 275 | } |
| 276 | + }, |
| 277 | + { |
| 278 | + "plugin": "@nx/vite/plugin", |
| 279 | + "include": ["packages/angular-rspack-compiler/**/*"], |
| 280 | + "options": { |
| 281 | + "testTargetName": "vite:test" |
| 282 | + } |
| 283 | + }, |
| 284 | + { |
| 285 | + "plugin": "@nx/js/typescript", |
| 286 | + "include": ["packages/angular-rspack-compiler/**/*"], |
| 287 | + "options": { |
| 288 | + "typecheck": { |
| 289 | + "targetName": "typecheck" |
| 290 | + }, |
| 291 | + "build": { |
| 292 | + "targetName": "build", |
| 293 | + "configName": "tsconfig.lib.json" |
| 294 | + } |
| 295 | + } |
350 | 296 | } |
351 | 297 | ], |
| 298 | + "sync": { |
| 299 | + "disabledTaskSyncGenerators": ["@nx/js:typescript-sync"] |
| 300 | + }, |
352 | 301 | "nxCloudId": "62d013ea0852fe0a2df74438", |
353 | 302 | "nxCloudUrl": "https://staging.nx.app", |
354 | 303 | "parallel": 1, |
|
358 | 307 | "rules": [ |
359 | 308 | { |
360 | 309 | "rule": "@nx/workspace-plugin/conformance-rules/blog-description", |
361 | | - "projects": [ |
362 | | - "docs" |
363 | | - ], |
| 310 | + "projects": ["docs"], |
364 | 311 | "options": { |
365 | 312 | "mdGlobPattern": "{blog,shared}/**/!(sitemap).md" |
366 | 313 | } |
367 | 314 | }, |
368 | 315 | { |
369 | 316 | "rule": "@nx/workspace-plugin/conformance-rules/blog-cover-image", |
370 | | - "projects": [ |
371 | | - "docs" |
372 | | - ], |
| 317 | + "projects": ["docs"], |
373 | 318 | "options": { |
374 | 319 | "mdGlobPattern": "blog/**/!(sitemap).md" |
375 | 320 | } |
|
0 commit comments