|
4 | 4 | "projectType": "library", |
5 | 5 | "sourceRoot": ".", |
6 | 6 | "targets": { |
7 | | - "test": { |
8 | | - "//": "Run all tests across the solution with code coverage", |
9 | | - "executor": "nx:run-commands", |
10 | | - "options": { |
11 | | - "commands": [ |
12 | | - "pnpm nx run-many -t test --projects=tag:type:test --output-style=stream" |
13 | | - ], |
14 | | - "parallel": false |
15 | | - } |
16 | | - }, |
17 | 7 | "coverage:badges": { |
18 | 8 | "//": "Generate coverage badges from the most recent test run results", |
19 | 9 | "executor": "nx:run-commands", |
20 | | - "dependsOn": [ "test" ], |
| 10 | + "dependsOn": [ ], |
21 | 11 | "options": { |
22 | 12 | "commands": [ |
23 | 13 | "reportgenerator \"-reports:tests/**/TestResults/**/coverage.cobertura.xml\" \"-targetdir:coverage-badges\" \"-reporttypes:Badges\" \"-verbosity:Warning\"" |
|
28 | 18 | "coverage:report": { |
29 | 19 | "//": "Generate HTML coverage report from the most recent test run results", |
30 | 20 | "executor": "nx:run-commands", |
31 | | - "dependsOn": [ "test" ], |
| 21 | + "dependsOn": [ ], |
32 | 22 | "options": { |
33 | 23 | "commands": [ |
34 | 24 | "reportgenerator \"-reports:tests/**/TestResults/**/coverage.cobertura.xml\" \"-targetdir:CoverageReport\" \"-reporttypes:Html;Badges\" \"-verbosity:Info\"" |
|
39 | 29 | "ci": { |
40 | 30 | "//": "Full local CI: run tests and generate HTML coverage report", |
41 | 31 | "executor": "nx:run-commands", |
42 | | - "dependsOn": [ "coverage:report" ], |
| 32 | + "dependsOn": [ ], |
43 | 33 | "options": { |
44 | 34 | "commands": [ |
45 | 35 | "echo '✓ CI pipeline complete'" |
46 | 36 | ], |
47 | 37 | "parallel": false |
48 | 38 | } |
49 | 39 | }, |
50 | | - "pack": { |
51 | | - "//": "Build release config and pack all NuGet packages into dist/packages/", |
52 | | - "executor": "nx:run-commands", |
53 | | - "options": { |
54 | | - "commands": [ |
55 | | - "echo 'Cleaning previous packages...'", |
56 | | - "rm -rf dist/packages 2>/dev/null || true", |
57 | | - "echo 'Building release configuration...'", |
58 | | - "pnpm nx run-many -t build:release --projects=tag:nuget --output-style=stream", |
59 | | - "echo 'Injecting version into templates...'", |
60 | | - "./scripts/inject-template-version.sh", |
61 | | - "echo 'Injecting AGENTS.md into starter templates...'", |
62 | | - "pnpm nx run flowthru:_inject_agents_md", |
63 | | - "echo 'Packing NuGet packages...'", |
64 | | - "pnpm nx run-many -t pack --projects=tag:nuget --output-style=stream", |
65 | | - "echo '\\u2713 NuGet packages created:'", |
66 | | - "ls -lh dist/packages/*.nupkg" |
67 | | - ], |
68 | | - "parallel": false |
69 | | - } |
70 | | - }, |
71 | 40 | "release": { |
72 | 41 | "//": "Determine next version via NX Release, sync to Directory.Build.props, generate changelog, create GitHub Release", |
73 | 42 | "executor": "nx:run-commands", |
|
78 | 47 | "parallel": false |
79 | 48 | } |
80 | 49 | }, |
81 | | - "_inject_agents_md": { |
82 | | - "//": "Copies the canonical AGENTS.md into each starter template before packing", |
83 | | - "executor": "nx:run-commands", |
84 | | - "options": { |
85 | | - "commands": [ |
86 | | - "cp docs/guides/misc/AGENTS.md examples/starter/KedroIris/AGENTS.md", |
87 | | - "cp docs/guides/misc/AGENTS.md examples/starter/KedroIrisPython/AGENTS.md", |
88 | | - "cp docs/guides/misc/AGENTS.md examples/starter/KedroSpaceflights/AGENTS.md", |
89 | | - "cp docs/guides/misc/AGENTS.md examples/starter/KedroSpaceflightsPython/AGENTS.md", |
90 | | - "cp docs/guides/misc/AGENTS.md examples/starter/Minimal/AGENTS.md", |
91 | | - "cp docs/guides/misc/AGENTS.md examples/starter/SpaceflightsEFCore/AGENTS.md" |
92 | | - ], |
93 | | - "parallel": false |
94 | | - } |
95 | | - }, |
96 | 50 | "format": { |
97 | 51 | "//": "Applies all formatting for the project", |
98 | 52 | "executor": "nx:run-commands", |
|
0 commit comments