|
2 | 2 | "name": "cli-workspace", |
3 | 3 | "$schema": "node_modules/nx/schemas/project-schema.json", |
4 | 4 | "targets": { |
5 | | - "cp-local-cli": { |
6 | | - "executor": "nx:run-commands", |
7 | | - "options": { |
8 | | - "command": "node packages/cli/src/index.ts", |
9 | | - "args": ["--no-progress", "--verbose", "--onlyPlugins=js-packages"], |
10 | | - "env": { |
11 | | - "NODE_OPTIONS": "--import tsx", |
12 | | - "TSX_TSCONFIG_PATH": "tsconfig.base.json" |
13 | | - } |
14 | | - } |
15 | | - }, |
16 | | - "cp-local-executor-cpplugins": { |
17 | | - "dependsOn": ["nx-plugin:build"], |
18 | | - "executor": "./packages/nx-plugin/dist:cli", |
19 | | - "options": { |
20 | | - "verbose": true, |
21 | | - "progress": false, |
22 | | - "onlyPlugins": ["js-packages"], |
23 | | - "env": { |
24 | | - "NODE_OPTIONS": "--import tsx", |
25 | | - "TSX_TSCONFIG_PATH": "tsconfig.base.json" |
26 | | - } |
27 | | - } |
28 | | - }, |
29 | | - "cp-local-executor-cli-cpplugins": { |
30 | | - "dependsOn": ["nx-plugin:build"], |
31 | | - "executor": "./packages/nx-plugin/dist:cli", |
32 | | - "options": { |
33 | | - "bin": "node packages/cli/src/index.ts", |
34 | | - "verbose": true, |
35 | | - "progress": false, |
36 | | - "onlyPlugins": ["js-packages"], |
37 | | - "env": { |
38 | | - "NODE_OPTIONS": "--import tsx", |
39 | | - "TSX_TSCONFIG_PATH": "tsconfig.base.json" |
40 | | - } |
41 | | - } |
42 | | - }, |
43 | 5 | "code-pushup-js-packages": {}, |
44 | 6 | "code-pushup-lighthouse": {}, |
45 | 7 | "code-pushup-coverage": { |
|
63 | 25 | ] |
64 | 26 | }, |
65 | 27 | "code-pushup-jsdocs": {}, |
66 | | - "code-pushup-typescript": {} |
| 28 | + "code-pushup-typescript": {}, |
| 29 | + "code-pushup": { |
| 30 | + "dependsOn": ["code-pushup-*"], |
| 31 | + "executor": "nx:run-commands", |
| 32 | + "options": { |
| 33 | + "args": [ |
| 34 | + "--no-progress", |
| 35 | + "--verbose", |
| 36 | + "--cache.read", |
| 37 | + "--persist.outputDir={projectRoot}/.code-pushup", |
| 38 | + "--upload.project={projectName}" |
| 39 | + ] |
| 40 | + } |
| 41 | + } |
67 | 42 | } |
68 | 43 | } |
0 commit comments