@living-architecture/riviere-cli 0.6.2 → 0.6.3

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.
package/dist/bin.js CHANGED
@@ -24397,14 +24397,12 @@ function createComponentSummaryCommand() {
24397
24397
  `
24398
24398
  Examples:
24399
24399
  $ riviere builder component-summary
24400
- $ riviere builder component-summary --json
24400
+ $ riviere builder component-summary > summary.json
24401
24401
  `
24402
- ).option("--graph <path>", getDefaultGraphPathDescription()).option("--json", "Output result as JSON").action(async (options) => {
24402
+ ).option("--graph <path>", getDefaultGraphPathDescription()).action(async (options) => {
24403
24403
  await withGraphBuilder(options.graph, async (builder) => {
24404
24404
  const stats = builder.stats();
24405
- if (options.json === true) {
24406
- console.log(JSON.stringify(formatSuccess(stats)));
24407
- }
24405
+ console.log(JSON.stringify(formatSuccess(stats)));
24408
24406
  });
24409
24407
  });
24410
24408
  }
package/dist/index.js CHANGED
@@ -24413,14 +24413,12 @@ function createComponentSummaryCommand() {
24413
24413
  `
24414
24414
  Examples:
24415
24415
  $ riviere builder component-summary
24416
- $ riviere builder component-summary --json
24416
+ $ riviere builder component-summary > summary.json
24417
24417
  `
24418
- ).option("--graph <path>", getDefaultGraphPathDescription()).option("--json", "Output result as JSON").action(async (options) => {
24418
+ ).option("--graph <path>", getDefaultGraphPathDescription()).action(async (options) => {
24419
24419
  await withGraphBuilder(options.graph, async (builder) => {
24420
24420
  const stats = builder.stats();
24421
- if (options.json === true) {
24422
- console.log(JSON.stringify(formatSuccess(stats)));
24423
- }
24421
+ console.log(JSON.stringify(formatSuccess(stats)));
24424
24422
  });
24425
24423
  });
24426
24424
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@living-architecture/riviere-cli",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -26,8 +26,8 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "commander": "^14.0.2",
29
+ "@living-architecture/riviere-builder": "0.5.2",
29
30
  "@living-architecture/riviere-query": "0.4.2",
30
- "@living-architecture/riviere-schema": "0.4.2",
31
- "@living-architecture/riviere-builder": "0.5.2"
31
+ "@living-architecture/riviere-schema": "0.4.2"
32
32
  }
33
33
  }