@hexagen-monaco/sync 0.14.0 → 0.16.0
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/README.md +63 -0
- package/dist/__tests__/drift-files.test.d.ts +2 -0
- package/dist/__tests__/drift-files.test.d.ts.map +1 -0
- package/dist/application/use-cases/stamp-generator-identity.use-case.d.ts +12 -0
- package/dist/application/use-cases/stamp-generator-identity.use-case.d.ts.map +1 -0
- package/dist/cli.js +2683 -1136
- package/dist/cli.js.map +1 -1
- package/dist/commands/arch/validate-outcome.d.ts +30 -0
- package/dist/commands/arch/validate-outcome.d.ts.map +1 -0
- package/dist/commands/arch/validate.d.ts +3 -1
- package/dist/commands/arch/validate.d.ts.map +1 -1
- package/dist/commands/bootstrap/index.d.ts.map +1 -1
- package/dist/commands/manifest/migrate.d.ts +8 -0
- package/dist/commands/manifest/migrate.d.ts.map +1 -1
- package/dist/commands/remove/index.d.ts +41 -0
- package/dist/commands/remove/index.d.ts.map +1 -0
- package/dist/commands/shared/confirm.d.ts.map +1 -1
- package/dist/commands/sync/check-json-files.test.d.ts +2 -0
- package/dist/commands/sync/check-json-files.test.d.ts.map +1 -0
- package/dist/commands/sync/check-json.d.ts +67 -0
- package/dist/commands/sync/check-json.d.ts.map +1 -0
- package/dist/generators/architecture-files.d.ts.map +1 -1
- package/dist/generators/port-analyzer.d.ts +2 -0
- package/dist/generators/port-analyzer.d.ts.map +1 -1
- package/dist/index.js +683 -554
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/config/index.d.ts +3 -0
- package/dist/infrastructure/config/index.d.ts.map +1 -0
- package/dist/infrastructure/index.d.ts +1 -0
- package/dist/infrastructure/index.d.ts.map +1 -1
- package/dist/preflight.d.ts +4 -1
- package/dist/preflight.d.ts.map +1 -1
- package/dist/results.d.ts +40 -0
- package/dist/results.d.ts.map +1 -1
- package/dist/sync-engine.d.ts +1 -0
- package/dist/sync-engine.d.ts.map +1 -1
- package/dist/types/manifest/generator.d.ts +2 -0
- package/dist/types/manifest/generator.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const ARCH_VALIDATE_JSON_SCHEMA_VERSION = 1;
|
|
2
|
+
export type ArchValidateStatus = "compliant" | "violations" | "could-not-run";
|
|
3
|
+
export interface LintCounts {
|
|
4
|
+
fresh: number;
|
|
5
|
+
expired: number;
|
|
6
|
+
baselineGrowth: number;
|
|
7
|
+
filesScanned: number | null;
|
|
8
|
+
}
|
|
9
|
+
export interface ArchValidateOutcome {
|
|
10
|
+
status: ArchValidateStatus;
|
|
11
|
+
exitCode: 0 | 1 | 2;
|
|
12
|
+
counts: LintCounts | null;
|
|
13
|
+
reason: string | null;
|
|
14
|
+
}
|
|
15
|
+
/** Last stdout line that starts with "{", parsed. null when absent, unparseable, not an object, or missing any of the three arrays. */
|
|
16
|
+
export declare function parseLintJsonLine(stdout: string): LintCounts | null;
|
|
17
|
+
/**
|
|
18
|
+
* linterExit: the child's numeric exit code, or null when it did not exit on its own
|
|
19
|
+
* (timeout or signal). json: whether `--json` was passed to the linter.
|
|
20
|
+
*/
|
|
21
|
+
export declare function classifyLintRun(linterExit: number | null, stdout: string, json: boolean): ArchValidateOutcome;
|
|
22
|
+
export declare function linterNotFoundOutcome(): ArchValidateOutcome;
|
|
23
|
+
/**
|
|
24
|
+
* No `.architecture/manifest.yaml` is reachable from `cwd`. getProjectRoot()
|
|
25
|
+
* would process.exit(1) here, with no JSON line in --json mode; the consumer
|
|
26
|
+
* contract needs could-not-run/2 through the normal emission paths.
|
|
27
|
+
*/
|
|
28
|
+
export declare function noManifestOutcome(cwd: string): ArchValidateOutcome;
|
|
29
|
+
export declare function toArchValidateJson(outcome: ArchValidateOutcome): string;
|
|
30
|
+
//# sourceMappingURL=validate-outcome.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-outcome.d.ts","sourceRoot":"","sources":["../../../src/commands/arch/validate-outcome.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iCAAiC,IAAI,CAAC;AAEnD,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAAG,YAAY,GAAG,eAAe,CAAC;AAE9E,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,kBAAkB,CAAC;IAC3B,QAAQ,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACpB,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC;IAC1B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,uIAAuI;AACvI,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,GAAG,IAAI,CA+CnE;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,GAAG,IAAI,EACzB,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,OAAO,GACZ,mBAAmB,CAkDrB;AAED,wBAAgB,qBAAqB,IAAI,mBAAmB,CAO3D;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB,CAOlE;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,mBAAmB,GAAG,MAAM,CAYvE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../src/commands/arch/validate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../src/commands/arch/validate.ts"],"names":[],"mappings":"AAiBA,wBAAsB,eAAe,CACnC,OAAO,GAAE;IAAE,IAAI,CAAC,EAAE,OAAO,CAAA;CAAO,GAC/B,OAAO,CAAC,IAAI,CAAC,CA8Ef"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/bootstrap/index.ts"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/bootstrap/index.ts"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC,OAAO,EAAW,KAAK,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAU9D,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,sBAAsB,EAAE,CAAC;CACpC;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;CAChB;AAQD,+FAA+F;AAC/F,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAErD;AAED,wBAAgB,yBAAyB,CACvC,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,QAAQ,CAAC,MAAM,CAAC,GAC7B,MAAM,GAAG,SAAS,CAQpB;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG;IACjE,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,CAiBA;AAuJD,wBAAsB,YAAY,CAChC,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC,CA6FzC;AAED,wBAAsB,gBAAgB,CAAC,OAAO,EAAE;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,GAAG,OAAO,CAAC,IAAI,CAAC,CA8BhB;AAED,eAAO,MAAM,kBAAkB,SA0B5B,CAAC"}
|
|
@@ -4,6 +4,14 @@
|
|
|
4
4
|
* registry walk + stamp, report, write back (with a backup, mirroring
|
|
5
5
|
* `manifest split`'s `.pre-split-backup`). All migration semantics — and
|
|
6
6
|
* their tests — live in the use-case.
|
|
7
|
+
*
|
|
8
|
+
* Since H1, it also stamps the generator identity marker (`generator.name`,
|
|
9
|
+
* see stamp-generator-identity.use-case.ts). For a split manifest the marker
|
|
10
|
+
* lives in the side-car named by `workspace_config` (whose `generator`, when
|
|
11
|
+
* present, replaces the root's), otherwise at the root. H1 review 2: both
|
|
12
|
+
* files are resolved to canonical paths inside `.architecture/` — and refused
|
|
13
|
+
* when they are not regular files or resolve elsewhere — before anything is
|
|
14
|
+
* read, backed up or written.
|
|
7
15
|
*/
|
|
8
16
|
import { Command } from "commander";
|
|
9
17
|
export declare const manifestMigrateCommander: Command;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrate.d.ts","sourceRoot":"","sources":["../../../src/commands/manifest/migrate.ts"],"names":[],"mappings":"AACA
|
|
1
|
+
{"version":3,"file":"migrate.d.ts","sourceRoot":"","sources":["../../../src/commands/manifest/migrate.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAwbpC,eAAO,MAAM,wBAAwB,SAmCjC,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { RemoveTemplateUseCase } from "@hexagen/template-engine";
|
|
2
|
+
import type { RemoveTemplateResult } from "@hexagen/template-engine";
|
|
3
|
+
/**
|
|
4
|
+
* `hexagen remove <template>` — the command shell and the testable core
|
|
5
|
+
* (proposal 2026-10-10, "The decided contract"). The core never calls
|
|
6
|
+
* `process.exit`, never reads `process.cwd()`, and prints everything
|
|
7
|
+
* through injected `log` / `error`; the use case owns every decision.
|
|
8
|
+
* Exit codes are 0 and 1 only — there is NO exit code 2.
|
|
9
|
+
*/
|
|
10
|
+
export interface RemoveCommandOptions {
|
|
11
|
+
/** Print the plan and change nothing. */
|
|
12
|
+
dryRun?: boolean;
|
|
13
|
+
/** Remove the registry entry only; delete no file. */
|
|
14
|
+
keepFiles?: boolean;
|
|
15
|
+
/** Skip the prompt and override the dependents / changed-file refusals. */
|
|
16
|
+
force?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface RemoveCommandDeps {
|
|
19
|
+
projectRoot: string;
|
|
20
|
+
useCase: Pick<RemoveTemplateUseCase, "execute">;
|
|
21
|
+
log: (line: string) => void;
|
|
22
|
+
error: (line: string) => void;
|
|
23
|
+
isInteractive: boolean;
|
|
24
|
+
confirm: (message: string) => Promise<boolean>;
|
|
25
|
+
/** Workspace package folders other than the registry root, when known. */
|
|
26
|
+
otherPackages?: string[];
|
|
27
|
+
}
|
|
28
|
+
type RemovalPlanAnswer = Extract<RemoveTemplateResult, {
|
|
29
|
+
kind: "dry-run";
|
|
30
|
+
}>;
|
|
31
|
+
type RemovalOutcomeAnswer = Extract<RemoveTemplateResult, {
|
|
32
|
+
kind: "removed";
|
|
33
|
+
}>;
|
|
34
|
+
/** The --dry-run plan, as lines. Only non-empty lists get a header. */
|
|
35
|
+
export declare function formatRemovalPlan(plan: RemovalPlanAnswer): string[];
|
|
36
|
+
/** The removal outcome, as lines. Only non-empty lists get a header. */
|
|
37
|
+
export declare function formatRemovalOutcome(result: RemovalOutcomeAnswer): string[];
|
|
38
|
+
export declare function runRemoveTemplate(templateId: string, options: RemoveCommandOptions, deps: RemoveCommandDeps): Promise<0 | 1>;
|
|
39
|
+
export declare function removeTemplateCommand(templateId: string, options?: RemoveCommandOptions): Promise<void>;
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/remove/index.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,qBAAqB,EAEtB,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AASrE;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC,yCAAyC;IACzC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,sDAAsD;IACtD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,2EAA2E;IAC3E,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,IAAI,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC;IAChD,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5B,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC/C,0EAA0E;IAC1E,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AA6ED,KAAK,iBAAiB,GAAG,OAAO,CAAC,oBAAoB,EAAE;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC,CAAC;AAC5E,KAAK,oBAAoB,GAAG,OAAO,CAAC,oBAAoB,EAAE;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC,CAAC;AAsB/E,uEAAuE;AACvE,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,iBAAiB,GAAG,MAAM,EAAE,CAkCnE;AAED,wEAAwE;AACxE,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,oBAAoB,GAAG,MAAM,EAAE,CAwC3E;AAED,wBAAsB,iBAAiB,CACrC,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,oBAAoB,EAC7B,IAAI,EAAE,iBAAiB,GACtB,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAsFhB;AAED,wBAAsB,qBAAqB,CACzC,UAAU,EAAE,MAAM,EAClB,OAAO,GAAE,oBAAyB,GACjC,OAAO,CAAC,IAAI,CAAC,CA+Bf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirm.d.ts","sourceRoot":"","sources":["../../../src/commands/shared/confirm.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"confirm.d.ts","sourceRoot":"","sources":["../../../src/commands/shared/confirm.ts"],"names":[],"mappings":"AAmBA,wBAAsB,OAAO,CAC3B,OAAO,EAAE,MAAM,EACf,OAAO,GAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAA;CAAO,GACnD,OAAO,CAAC,OAAO,CAAC,CAelB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-json-files.test.d.ts","sourceRoot":"","sources":["../../../src/commands/sync/check-json-files.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type { DriftFile, SyncRunSummary } from "../../results.js";
|
|
2
|
+
/**
|
|
3
|
+
* Schema version of the machine-readable line `hexagen sync --check --json`
|
|
4
|
+
* prints (lane H2b). Bump on a breaking change. An added key is additive under the
|
|
5
|
+
* compatibility policy (consumer-contract plan, H3), so it keeps the version.
|
|
6
|
+
*/
|
|
7
|
+
export declare const SYNC_CHECK_JSON_SCHEMA_VERSION = 1;
|
|
8
|
+
/** Machine-readable status of a `sync --check` run. */
|
|
9
|
+
export type SyncCheckStatus = "converged" | "drift" | "could-not-run";
|
|
10
|
+
/**
|
|
11
|
+
* The one JSON line `hexagen sync --check --json` writes to stdout. Ten
|
|
12
|
+
* keys, `files` last, documented in this order; `pending`, `errors`,
|
|
13
|
+
* `manifestMissing`, `timingsMs` and `files` are `null` only on the fatal
|
|
14
|
+
* path, where no summary exists to report. On the non-fatal paths `files`
|
|
15
|
+
* is an array (empty when converged), sorted and workspace-relative.
|
|
16
|
+
*/
|
|
17
|
+
export interface SyncCheckJson {
|
|
18
|
+
schemaVersion: number;
|
|
19
|
+
command: "sync --check";
|
|
20
|
+
status: SyncCheckStatus;
|
|
21
|
+
exitCode: 0 | 1;
|
|
22
|
+
pending: {
|
|
23
|
+
created: number;
|
|
24
|
+
updated: number;
|
|
25
|
+
deleted: number;
|
|
26
|
+
total: number;
|
|
27
|
+
} | null;
|
|
28
|
+
errors: number | null;
|
|
29
|
+
manifestMissing: boolean | null;
|
|
30
|
+
reason: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* Per-phase timings, or `null` on the fatal path or when the summary has no
|
|
33
|
+
* `phaseTimingsMs`. `total` is the run's overall duration
|
|
34
|
+
* (`summary.durationMs`).
|
|
35
|
+
*/
|
|
36
|
+
timingsMs: {
|
|
37
|
+
gitStatus: number | null;
|
|
38
|
+
preflight: number | null;
|
|
39
|
+
generators: number;
|
|
40
|
+
linter: number | null;
|
|
41
|
+
total: number;
|
|
42
|
+
} | null;
|
|
43
|
+
/**
|
|
44
|
+
* Per-file drift, sorted and workspace-relative, or `null` on the fatal
|
|
45
|
+
* path. `[]` when converged.
|
|
46
|
+
*/
|
|
47
|
+
files: DriftFile[] | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Build the JSON payload for `sync --check --json`. Exactly one of `summary` /
|
|
51
|
+
* `fatalMessage` is normally defined; when both are undefined the run produced
|
|
52
|
+
* no summary at all, which is treated as fatal (precedence rule 1).
|
|
53
|
+
*
|
|
54
|
+
* Precedence (the contract this lane implements):
|
|
55
|
+
* 1. a fatal error (or no summary) → `could-not-run`, every summary field
|
|
56
|
+
* `null`, `reason` = the error message (or "sync produced no summary");
|
|
57
|
+
* 2. `manifestMissing` → `could-not-run`, `reason` "manifest not found";
|
|
58
|
+
* 3. `errors > 0` → `could-not-run`, `reason` "<n> generator failure(s)";
|
|
59
|
+
* 4. `totalOps > 0` → `drift`;
|
|
60
|
+
* 5. otherwise → `converged`.
|
|
61
|
+
*
|
|
62
|
+
* `exitCode` is the process exit code: `0` only for `converged`, `1`
|
|
63
|
+
* otherwise. The exit-code decision stays in cli.ts (A1 doctrine); this pure
|
|
64
|
+
* builder only mirrors it so the printed line and the process agree.
|
|
65
|
+
*/
|
|
66
|
+
export declare function buildSyncCheckJson(summary: SyncRunSummary | undefined, fatalMessage: string | undefined): SyncCheckJson;
|
|
67
|
+
//# sourceMappingURL=check-json.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-json.d.ts","sourceRoot":"","sources":["../../../src/commands/sync/check-json.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElE;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,IAAI,CAAC;AAEhD,uDAAuD;AACvD,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG,OAAO,GAAG,eAAe,CAAC;AAEtE;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IAC5B,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,cAAc,CAAC;IACxB,MAAM,EAAE,eAAe,CAAC;IACxB,QAAQ,EAAE,CAAC,GAAG,CAAC,CAAC;IAChB,OAAO,EAAE;QACP,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;KACf,GAAG,IAAI,CAAC;IACT,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,eAAe,EAAE,OAAO,GAAG,IAAI,CAAC;IAChC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;;;OAIG;IACH,SAAS,EAAE;QACT,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,KAAK,EAAE,MAAM,CAAC;KACf,GAAG,IAAI,CAAC;IACT;;;OAGG;IACH,KAAK,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,cAAc,GAAG,SAAS,EACnC,YAAY,EAAE,MAAM,GAAG,SAAS,GAC/B,aAAa,CAoFf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"architecture-files.d.ts","sourceRoot":"","sources":["../../src/generators/architecture-files.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"architecture-files.d.ts","sourceRoot":"","sources":["../../src/generators/architecture-files.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,eAAe,CAAC;AAgBvB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAwQzD,wBAAsB,yBAAyB,CAC7C,MAAM,EAAE,UAAU,EAClB,MAAM,CAAC,EAAE,cAAc,GACtB,OAAO,CAAC,eAAe,CAAC,CAsF1B"}
|
|
@@ -45,6 +45,8 @@ export interface PortAnalysisResult {
|
|
|
45
45
|
imports: TypeImport[];
|
|
46
46
|
filePath: string;
|
|
47
47
|
}
|
|
48
|
+
/** Test/run boundary: forget the memo (issue #907). */
|
|
49
|
+
export declare function resetPortAnalysisMemo(): void;
|
|
48
50
|
/**
|
|
49
51
|
* Analyze a port interface file and extract method signatures and imports
|
|
50
52
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"port-analyzer.d.ts","sourceRoot":"","sources":["../../src/generators/port-analyzer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"port-analyzer.d.ts","sourceRoot":"","sources":["../../src/generators/port-analyzer.ts"],"names":[],"mappings":"AAmBA;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,GACb,MAAM,CAQR;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,GACb,MAAM,CASR;AA8DD;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,KAAK,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,OAAO,CAAC;KACrB,CAAC,CAAC;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,mBAAmB,EAAE,CAAC;IAC/B,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAaD,uDAAuD;AACvD,wBAAgB,qBAAqB,IAAI,IAAI,CAE5C;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,YAAY,EAAE,MAAM,GACnB,kBAAkB,GAAG,IAAI,CAkB3B;AA2HD;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,kBAAkB,EAC5B,WAAW,EAAE,MAAM,EACnB,mBAAmB,CAAC,EAAE,MAAM,EAC5B,cAAc,CAAC,EAAE,MAAM,GACtB,MAAM,CAgER;AAED;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,yDAAyD;IACzD,aAAa,EAAE,MAAM,CAAC;IACtB,wDAAwD;IACxD,SAAS,EAAE,MAAM,CAAC;IAClB,yFAAyF;IACzF,eAAe,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,kBAAkB,EAC5B,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,cAAc,EAAE,EAC1B,mBAAmB,CAAC,EAAE,MAAM,EAC5B,cAAc,CAAC,EAAE,MAAM,GACtB,MAAM,CA+GR"}
|