@anarchitects/governance-cli 0.0.2 → 0.0.4

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/check.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { GovernanceAssessment, GovernanceWorkspaceAdapter } from '@anarchitects/governance-core';
1
+ import type { GovernanceAssessment, GovernanceWorkspaceAdapter } from '@anarchitects/governance-core';
2
2
  export interface AgovCheckWithWorkspacePathOptions {
3
3
  profilePath: string;
4
4
  workspacePath: string;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,6 @@
1
1
  export type { AgovCheckOptions, AgovCheckResult, AgovCheckWithAdapterOptions, AgovCheckWithWorkspacePathOptions, } from './check.js';
2
2
  export { runAgovCheck } from './check.js';
3
+ export { AGOV_EXIT_CONFIGURATION_FAILURE, AGOV_EXIT_GOVERNANCE_FAILURE, AGOV_EXIT_RUNTIME_FAILURE, AGOV_EXIT_SUCCESS, AgovCliOutputError, AgovCliRuntimeError, AgovCliUsageError, parseAgovCliArgs, resolveAgovCheckCommand, runAgovCli, type AgovCliConfig, type AgovCliEnvironment, type AgovCliIo, type AgovCliRuntime, type AgovResolvedCheckCommand, type ParsedAgovCheckOptions, type ParsedAgovCliArgs, } from './agov.js';
4
+ export { GenericWorkspaceLoadError, GenericWorkspaceValidationError, loadAndValidateGenericWorkspaceSchema, loadGenericWorkspace, loadGenericWorkspaceAdapterResult, type GenericWorkspaceValidationIssue, type LoadedGenericWorkspace, } from './internal/manual-workspace/load-workspace.js';
5
+ export { StandaloneGovernanceProfileLoadError, StandaloneGovernanceProfileValidationError, loadStandaloneGovernanceProfile, loadStandaloneGovernanceProfileConfig, validateStandaloneGovernanceProfile, type LoadedStandaloneGovernanceProfile, type StandaloneGovernanceProfileValidationIssue, } from './internal/profile/load-standalone-profile.js';
3
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,2BAA2B,EAC3B,iCAAiC,GAClC,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,2BAA2B,EAC3B,iCAAiC,GAClC,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EACL,+BAA+B,EAC/B,4BAA4B,EAC5B,yBAAyB,EACzB,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,uBAAuB,EACvB,UAAU,EACV,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,GACvB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,yBAAyB,EACzB,+BAA+B,EAC/B,qCAAqC,EACrC,oBAAoB,EACpB,iCAAiC,EACjC,KAAK,+BAA+B,EACpC,KAAK,sBAAsB,GAC5B,MAAM,+CAA+C,CAAC;AACvD,OAAO,EACL,oCAAoC,EACpC,0CAA0C,EAC1C,+BAA+B,EAC/B,qCAAqC,EACrC,mCAAmC,EACnC,KAAK,iCAAiC,EACtC,KAAK,0CAA0C,GAChD,MAAM,+CAA+C,CAAC"}
package/dist/index.js CHANGED
@@ -1,4 +1,24 @@
1
- import { r as e } from "./check-CZDqjUys.js";
1
+ import { A as e, a as o, b as n, c as s, d as l, e as i, f as d, G as A, g as c, S as E, h as G, l as t, i as v, j as C, k as g, m as _, p, r as I, n as S, o as f, v as k } from "./agov-CxD8iAC2.js";
2
2
  export {
3
- e as runAgovCheck
3
+ e as AGOV_EXIT_CONFIGURATION_FAILURE,
4
+ o as AGOV_EXIT_GOVERNANCE_FAILURE,
5
+ n as AGOV_EXIT_RUNTIME_FAILURE,
6
+ s as AGOV_EXIT_SUCCESS,
7
+ l as AgovCliOutputError,
8
+ i as AgovCliRuntimeError,
9
+ d as AgovCliUsageError,
10
+ A as GenericWorkspaceLoadError,
11
+ c as GenericWorkspaceValidationError,
12
+ E as StandaloneGovernanceProfileLoadError,
13
+ G as StandaloneGovernanceProfileValidationError,
14
+ t as loadAndValidateGenericWorkspaceSchema,
15
+ v as loadGenericWorkspace,
16
+ C as loadGenericWorkspaceAdapterResult,
17
+ g as loadStandaloneGovernanceProfile,
18
+ _ as loadStandaloneGovernanceProfileConfig,
19
+ p as parseAgovCliArgs,
20
+ I as resolveAgovCheckCommand,
21
+ S as runAgovCheck,
22
+ f as runAgovCli,
23
+ k as validateStandaloneGovernanceProfile
4
24
  };
@@ -1,4 +1,4 @@
1
- import { GovernanceCapability } from '@anarchitects/governance-core';
1
+ import type { GovernanceCapability } from '@anarchitects/governance-core';
2
2
  export interface GovernanceManualWorkspaceCapabilityData {
3
3
  format: 'json' | 'yaml';
4
4
  schemaVersion: number;
@@ -1,4 +1,4 @@
1
- import { GovernanceDiagnostic, GovernanceWorkspace, GovernanceWorkspaceAdapterResult } from '@anarchitects/governance-core';
1
+ import type { GovernanceDiagnostic, GovernanceWorkspace, GovernanceWorkspaceAdapterResult } from '@anarchitects/governance-core';
2
2
  type GenericWorkspaceFormat = 'json' | 'yaml';
3
3
  interface GenericWorkspaceSchema {
4
4
  schemaVersion: 1;
@@ -1,4 +1,4 @@
1
- import { GovernanceSignal, GovernanceSignalSeverity, GovernanceSignalSource, GovernanceSignalType } from '@anarchitects/governance-core';
1
+ import { type GovernanceSignal, type GovernanceSignalSeverity, type GovernanceSignalSource, type GovernanceSignalType } from '@anarchitects/governance-core';
2
2
  export interface SignalAggregate {
3
3
  key: string;
4
4
  source: GovernanceSignalSource;
@@ -1,4 +1,4 @@
1
- import { GovernanceSignal, GovernanceWorkspace, Measurement } from '@anarchitects/governance-core';
1
+ import type { GovernanceSignal, GovernanceWorkspace, Measurement } from '@anarchitects/governance-core';
2
2
  export interface MetricEngineInput {
3
3
  workspace: GovernanceWorkspace;
4
4
  signals: GovernanceSignal[];
@@ -1,4 +1,4 @@
1
- import { GovernanceDiagnostic, GovernanceProfile, NormalizedGovernanceProfile } from '@anarchitects/governance-core';
1
+ import type { GovernanceDiagnostic, GovernanceProfile, NormalizedGovernanceProfile } from '@anarchitects/governance-core';
2
2
  export interface StandaloneGovernanceProfileValidationIssue extends GovernanceDiagnostic {
3
3
  path: string;
4
4
  }
@@ -1,3 +1,3 @@
1
- import { GovernanceAssessment } from '@anarchitects/governance-core';
1
+ import type { GovernanceAssessment } from '@anarchitects/governance-core';
2
2
  export declare function renderCliReport(assessment: GovernanceAssessment): string;
3
3
  //# sourceMappingURL=render-cli.d.ts.map
@@ -1,3 +1,3 @@
1
- import { GovernanceAssessment } from '@anarchitects/governance-core';
1
+ import type { GovernanceAssessment } from '@anarchitects/governance-core';
2
2
  export declare function renderJsonReport(assessment: GovernanceAssessment): string;
3
3
  //# sourceMappingURL=render-json.d.ts.map
@@ -1,5 +1,5 @@
1
- import { Violation } from '@anarchitects/governance-core';
2
- import { GovernanceSignal, GovernanceSignalCategory, GovernanceSignalSeverity } from './types.js';
1
+ import type { Violation } from '@anarchitects/governance-core';
2
+ import type { GovernanceSignal, GovernanceSignalCategory, GovernanceSignalSeverity } from './types.js';
3
3
  export interface GovernanceGraphSnapshotProject {
4
4
  id: string;
5
5
  domain?: string;
@@ -1,4 +1,4 @@
1
- import { AgovCheckResult } from './check.js';
1
+ import type { AgovCheckResult } from './check.js';
2
2
  export type AgovOutputFormat = 'json' | 'markdown' | 'table' | 'text';
3
3
  export declare function renderAgovCheckReport(result: AgovCheckResult, format: AgovOutputFormat): string;
4
4
  export declare function renderAgovCheckJson(result: AgovCheckResult): string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@anarchitects/governance-cli",
3
- "version": "0.0.2",
4
- "description": "Platform-independent standalone Governance CLI that orchestrates Community-owned Governance Core contracts outside Nx.",
3
+ "version": "0.0.4",
4
+ "description": "Platform-independent standalone Governance CLI that orchestrates Anarchitects Governance Core contracts outside Nx.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
@@ -54,7 +54,7 @@
54
54
  }
55
55
  },
56
56
  "dependencies": {
57
- "@anarchitects/governance-core": "^0.0.2",
57
+ "@anarchitects/governance-core": "^0.0.4",
58
58
  "yaml": "^2.8.1"
59
59
  }
60
60
  }