|
134 | 134 | "configurations": { |
135 | 135 | "print-config": { |
136 | 136 | "command": "print-config", |
137 | | - "output": "{projectRoot}/code-pushup.config.json" |
| 137 | + "output": "{projectRoot}/.code-pushup/code-pushup.config.json" |
138 | 138 | } |
139 | 139 | } |
140 | 140 | }, |
141 | 141 | "code-pushup-coverage": { |
142 | | - "executor": "@code-pushup/nx-plugin:cli", |
143 | 142 | "dependsOn": ["*-test"], |
144 | 143 | "cache": true, |
145 | 144 | "inputs": ["default", "code-pushup-inputs"], |
|
156 | 155 | } |
157 | 156 | }, |
158 | 157 | "code-pushup-eslint": { |
159 | | - "executor": "@code-pushup/nx-plugin:cli", |
160 | 158 | "dependsOn": ["lint"], |
161 | 159 | "cache": true, |
162 | 160 | "inputs": ["default", "code-pushup-inputs"], |
|
173 | 171 | } |
174 | 172 | }, |
175 | 173 | "code-pushup-js-packages": { |
176 | | - "executor": "@code-pushup/nx-plugin:cli", |
177 | | - "cache": false, |
| 174 | + "cache": true, |
178 | 175 | "inputs": [ |
179 | 176 | { |
180 | 177 | "runtime": "date +%Y-%m-%d" |
|
193 | 190 | } |
194 | 191 | }, |
195 | 192 | "code-pushup-lighthouse": { |
196 | | - "executor": "@code-pushup/nx-plugin:cli", |
197 | 193 | "cache": true, |
198 | 194 | "inputs": ["production", "^production", "code-pushup-inputs"], |
199 | 195 | "outputs": [ |
|
209 | 205 | } |
210 | 206 | }, |
211 | 207 | "code-pushup-jsdocs": { |
212 | | - "executor": "@code-pushup/nx-plugin:cli", |
213 | 208 | "cache": true, |
214 | 209 | "inputs": [ |
215 | 210 | "default", |
|
229 | 224 | } |
230 | 225 | }, |
231 | 226 | "code-pushup-typescript": { |
232 | | - "executor": "@code-pushup/nx-plugin:cli", |
233 | 227 | "cache": true, |
234 | 228 | "inputs": [ |
235 | 229 | "default", |
|
249 | 243 | } |
250 | 244 | }, |
251 | 245 | "code-pushup-axe": { |
252 | | - "executor": "@code-pushup/nx-plugin:cli", |
253 | 246 | "cache": true, |
254 | 247 | "inputs": ["default", "code-pushup-inputs"], |
255 | 248 | "outputs": [ |
|
284 | 277 | "appsDir": "examples", |
285 | 278 | "libsDir": "packages" |
286 | 279 | }, |
| 280 | + "pluginsConfig": { |
| 281 | + "@code-pushup/nx-plugin": { |
| 282 | + "projectPrefix": "cli", |
| 283 | + "bin": "packages/cli/src/index.ts", |
| 284 | + "env": { |
| 285 | + "NODE_OPTIONS": "--import tsx", |
| 286 | + "TSX_TSCONFIG_PATH": "tsconfig.base.json" |
| 287 | + } |
| 288 | + } |
| 289 | + }, |
287 | 290 | "generators": {}, |
288 | 291 | "release": { |
289 | 292 | "projects": ["packages/*"], |
|
316 | 319 | "plugin": "@code-pushup/nx-plugin", |
317 | 320 | "options": { |
318 | 321 | "targetName": "code-pushup", |
319 | | - "bin": "packages/cli/src/index.ts", |
320 | | - "projectPrefix": "cli", |
321 | | - "env": { |
322 | | - "NODE_OPTIONS": "--import tsx", |
323 | | - "TSX_TSCONFIG_PATH": "tsconfig.base.json" |
324 | | - } |
| 322 | + "projectPrefix": "cli" |
325 | 323 | }, |
326 | 324 | "exclude": ["tools/**", "testing/**", "examples/**"] |
327 | 325 | }, |
328 | 326 | { |
329 | 327 | "plugin": "@code-pushup/nx-plugin", |
330 | 328 | "options": { |
331 | | - "targetName": "code-pushup-coverage", |
332 | | - "bin": "packages/cli/src/index.ts", |
333 | | - "env": { |
334 | | - "NODE_OPTIONS": "--import tsx", |
335 | | - "TSX_TSCONFIG_PATH": "tsconfig.base.json" |
336 | | - } |
| 329 | + "targetName": "code-pushup-coverage" |
337 | 330 | }, |
338 | 331 | "exclude": ["tools/**", "testing/**", "examples/**"] |
339 | 332 | }, |
340 | 333 | { |
341 | 334 | "plugin": "@code-pushup/nx-plugin", |
342 | 335 | "options": { |
343 | | - "targetName": "code-pushup-eslint", |
344 | | - "bin": "packages/cli/src/index.ts", |
345 | | - "env": { |
346 | | - "NODE_OPTIONS": "--import tsx", |
347 | | - "TSX_TSCONFIG_PATH": "tsconfig.base.json" |
348 | | - } |
| 336 | + "targetName": "code-pushup-eslint" |
349 | 337 | }, |
350 | 338 | "exclude": ["testing/**", "examples/**"] |
351 | 339 | }, |
352 | 340 | { |
353 | 341 | "plugin": "@code-pushup/nx-plugin", |
354 | 342 | "options": { |
355 | | - "targetName": "code-pushup-typescript", |
356 | | - "bin": "packages/cli/src/index.ts", |
357 | | - "env": { |
358 | | - "NODE_OPTIONS": "--import tsx", |
359 | | - "TSX_TSCONFIG_PATH": "tsconfig.base.json" |
360 | | - } |
| 343 | + "targetName": "code-pushup-typescript" |
361 | 344 | }, |
362 | 345 | "exclude": [ |
363 | 346 | "packages/models/**", |
|
371 | 354 | { |
372 | 355 | "plugin": "@code-pushup/nx-plugin", |
373 | 356 | "options": { |
374 | | - "targetName": "code-pushup-jsdocs", |
375 | | - "bin": "packages/cli/src/index.ts", |
376 | | - "env": { |
377 | | - "NODE_OPTIONS": "--import tsx", |
378 | | - "TSX_TSCONFIG_PATH": "tsconfig.base.json" |
379 | | - } |
| 357 | + "targetName": "code-pushup-jsdocs" |
380 | 358 | }, |
381 | 359 | "exclude": [ |
382 | 360 | "packages/models", |
|
389 | 367 | { |
390 | 368 | "plugin": "@code-pushup/nx-plugin", |
391 | 369 | "options": { |
392 | | - "targetName": "code-pushup-js-packages", |
393 | | - "bin": "packages/cli/src/index.ts", |
394 | | - "env": { |
395 | | - "NODE_OPTIONS": "--import tsx", |
396 | | - "TSX_TSCONFIG_PATH": "tsconfig.base.json" |
397 | | - } |
| 370 | + "targetName": "code-pushup-js-packages" |
398 | 371 | }, |
399 | 372 | "exclude": ["packages/**", "tools/**", "testing/**", "examples/**"] |
400 | 373 | }, |
401 | 374 | { |
402 | 375 | "plugin": "@code-pushup/nx-plugin", |
403 | 376 | "options": { |
404 | | - "targetName": "code-pushup-lighthouse", |
405 | | - "bin": "packages/cli/src/index.ts", |
406 | | - "env": { |
407 | | - "NODE_OPTIONS": "--import tsx", |
408 | | - "TSX_TSCONFIG_PATH": "tsconfig.base.json" |
409 | | - } |
| 377 | + "targetName": "code-pushup-lighthouse" |
410 | 378 | }, |
411 | 379 | "exclude": ["packages/**", "tools/**", "testing/**", "examples/**"] |
412 | 380 | }, |
413 | 381 | { |
414 | 382 | "plugin": "@code-pushup/nx-plugin", |
415 | 383 | "options": { |
416 | | - "targetName": "code-pushup-axe", |
417 | | - "bin": "packages/cli/src/index.ts", |
418 | | - "env": { |
419 | | - "NODE_OPTIONS": "--import tsx", |
420 | | - "TSX_TSCONFIG_PATH": "tsconfig.base.json" |
421 | | - } |
| 384 | + "targetName": "code-pushup-axe" |
422 | 385 | }, |
423 | 386 | "exclude": ["packages/**", "tools/**", "testing/**", "examples/**"] |
424 | 387 | }, |
|
0 commit comments