|
4 | 4 | "sourceRoot": "static-environments/cli-e2e-env/src", |
5 | 5 | "projectType": "application", |
6 | 6 | "targets": { |
7 | | - "build": { |
8 | | - "executor": "@nx/vite:build", |
9 | | - "outputs": ["{options.outputPath}"], |
10 | | - "defaultConfiguration": "production", |
11 | | - "options": { |
12 | | - "outputPath": "dist/examples/react-todos-app" |
13 | | - }, |
14 | | - "configurations": { |
15 | | - "development": { |
16 | | - "mode": "development" |
17 | | - }, |
18 | | - "production": { |
19 | | - "mode": "production" |
20 | | - } |
21 | | - } |
22 | | - }, |
23 | | - "serve": { |
24 | | - "executor": "@nx/vite:dev-server", |
25 | | - "defaultConfiguration": "development", |
26 | | - "options": { |
27 | | - "buildTarget": "react-todos-app:build" |
28 | | - }, |
29 | | - "configurations": { |
30 | | - "development": { |
31 | | - "buildTarget": "react-todos-app:build:development", |
32 | | - "hmr": true |
33 | | - }, |
34 | | - "production": { |
35 | | - "buildTarget": "react-todos-app:build:production", |
36 | | - "hmr": false |
37 | | - } |
38 | | - } |
39 | | - }, |
40 | | - "test": { |
41 | | - "executor": "@nx/vite:test", |
42 | | - "outputs": ["{options.reportsDirectory}"], |
43 | | - "options": { |
44 | | - "configFile": "examples/react-todos-app/vite.config.ts", |
45 | | - "reportsDirectory": "../../coverage/react-todos-app" |
46 | | - } |
47 | | - }, |
48 | | - "preview": { |
49 | | - "executor": "@nx/vite:preview-server", |
50 | | - "defaultConfiguration": "development", |
51 | | - "options": { |
52 | | - "buildTarget": "react-todos-app:build" |
53 | | - }, |
54 | | - "configurations": { |
55 | | - "development": { |
56 | | - "buildTarget": "react-todos-app:build:development" |
57 | | - }, |
58 | | - "production": { |
59 | | - "buildTarget": "react-todos-app:build:production" |
60 | | - } |
61 | | - } |
62 | | - }, |
63 | 7 | "run-collect": { |
64 | 8 | "executor": "nx:run-commands", |
65 | 9 | "options": { |
66 | | - "command": "npx ../../dist/packages/cli collect --no-progress", |
67 | | - "cwd": "examples/react-todos-app" |
| 10 | + "command": "npx @code-pushup/cli collect --no-progress", |
| 11 | + "cwd": "static-environments/cli-e2e-env" |
68 | 12 | }, |
69 | 13 | "dependsOn": [ |
70 | 14 | { |
|
0 commit comments