airgen-cli 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -44,10 +44,10 @@ export function registerReportCommands(program, client) {
44
44
  ]);
45
45
  const stats = {
46
46
  requirements: reqs.meta?.totalItems ?? 0,
47
- traceLinks: (links.links ?? []).length,
47
+ traceLinks: (links.traceLinks ?? []).length,
48
48
  documents: (docs.documents ?? []).length,
49
49
  diagrams: (diagrams.diagrams ?? []).length,
50
- baselines: (baselines.baselines ?? []).length,
50
+ baselines: (baselines.items ?? []).length,
51
51
  };
52
52
  if (isJsonMode()) {
53
53
  output(stats);
@@ -131,7 +131,7 @@ export function registerReportCommands(program, client) {
131
131
  fetchAllRequirements(client, tenant, project),
132
132
  client.get(`/trace-links/${tenant}/${project}`),
133
133
  ]);
134
- const links = linkData.links ?? [];
134
+ const links = linkData.traceLinks ?? [];
135
135
  const linked = new Set();
136
136
  for (const l of links) {
137
137
  if (l.sourceRequirementId)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "airgen-cli",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "AIRGen CLI — requirements engineering from the command line",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -32,7 +32,7 @@
32
32
  "license": "MIT",
33
33
  "repository": {
34
34
  "type": "git",
35
- "url": "https://github.com/airgen-studio/airgen.git",
35
+ "url": "https://github.com/Hollando78/airgen.git",
36
36
  "directory": "packages/cli"
37
37
  },
38
38
  "dependencies": {