@hexagen-monaco/sync 0.8.0 → 0.11.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/LICENSE +6 -0
- package/README.md +56 -8
- package/dist/application/ports/out/index.d.ts +1 -2
- package/dist/application/ports/out/index.d.ts.map +1 -1
- package/dist/application/ports/out/symbol-reference-index.port.d.ts +74 -0
- package/dist/application/ports/out/symbol-reference-index.port.d.ts.map +1 -0
- package/dist/application/use-cases/get-architecture-graph.use-case.d.ts +1 -1
- package/dist/application/use-cases/get-architecture-graph.use-case.d.ts.map +1 -1
- package/dist/application/use-cases/get-linter-report.use-case.d.ts +1 -1
- package/dist/application/use-cases/get-linter-report.use-case.d.ts.map +1 -1
- package/dist/application/use-cases/index.d.ts +0 -1
- package/dist/application/use-cases/index.d.ts.map +1 -1
- package/dist/application/use-cases/refactoring-impact.use-case.d.ts +24 -6
- package/dist/application/use-cases/refactoring-impact.use-case.d.ts.map +1 -1
- package/dist/arch-linter-bin.d.ts +19 -3
- package/dist/arch-linter-bin.d.ts.map +1 -1
- package/dist/cli.js +4430 -6205
- package/dist/cli.js.map +1 -1
- package/dist/commands/add/index.d.ts +6 -0
- package/dist/commands/add/index.d.ts.map +1 -1
- package/dist/commands/add/validate.d.ts.map +1 -1
- package/dist/commands/adopt/index.d.ts +24 -0
- package/dist/commands/adopt/index.d.ts.map +1 -0
- package/dist/commands/bootstrap/index.d.ts +41 -0
- package/dist/commands/bootstrap/index.d.ts.map +1 -0
- package/dist/commands/bootstrap.d.ts +30 -0
- package/dist/commands/bootstrap.d.ts.map +1 -0
- package/dist/commands/report/baseline-read.d.ts +12 -0
- package/dist/commands/report/baseline-read.d.ts.map +1 -0
- package/dist/commands/report/build-report.d.ts +13 -0
- package/dist/commands/report/build-report.d.ts.map +1 -0
- package/dist/commands/report/context-map.d.ts +9 -0
- package/dist/commands/report/context-map.d.ts.map +1 -0
- package/dist/commands/report/exec-git.d.ts +3 -0
- package/dist/commands/report/exec-git.d.ts.map +1 -0
- package/dist/commands/report/handoff.d.ts +3 -0
- package/dist/commands/report/handoff.d.ts.map +1 -0
- package/dist/commands/report/index.d.ts +14 -0
- package/dist/commands/report/index.d.ts.map +1 -0
- package/dist/commands/report/lint-collect.d.ts +4 -0
- package/dist/commands/report/lint-collect.d.ts.map +1 -0
- package/dist/commands/report/ratchet-trend.d.ts +3 -0
- package/dist/commands/report/ratchet-trend.d.ts.map +1 -0
- package/dist/commands/report/render-html.d.ts +3 -0
- package/dist/commands/report/render-html.d.ts.map +1 -0
- package/dist/commands/report/render-markdown.d.ts +3 -0
- package/dist/commands/report/render-markdown.d.ts.map +1 -0
- package/dist/commands/report/types.d.ts +52 -0
- package/dist/commands/report/types.d.ts.map +1 -0
- package/dist/commands/report/zip-store.d.ts +10 -0
- package/dist/commands/report/zip-store.d.ts.map +1 -0
- package/dist/commands/shared/detect-workspaces.d.ts +12 -0
- package/dist/commands/shared/detect-workspaces.d.ts.map +1 -0
- package/dist/commands/shared/index.d.ts +1 -1
- package/dist/commands/shared/index.d.ts.map +1 -1
- package/dist/commands/shared/project-root.d.ts +7 -0
- package/dist/commands/shared/project-root.d.ts.map +1 -1
- package/dist/domain/services/emission-plan-builder.d.ts +14 -3
- package/dist/domain/services/emission-plan-builder.d.ts.map +1 -1
- package/dist/domain/services/impact-analysis.types.d.ts +6 -1
- package/dist/domain/services/impact-analysis.types.d.ts.map +1 -1
- package/dist/domain/services/index.d.ts +2 -0
- package/dist/domain/services/index.d.ts.map +1 -1
- package/dist/domain/services/layer-classifier.d.ts +53 -2
- package/dist/domain/services/layer-classifier.d.ts.map +1 -1
- package/dist/domain/services/layer-dir-resolver.d.ts +63 -0
- package/dist/domain/services/layer-dir-resolver.d.ts.map +1 -0
- package/dist/domain/services/name-normalizer.d.ts +35 -0
- package/dist/domain/services/name-normalizer.d.ts.map +1 -0
- package/dist/domain/services/stub-template-resolver.d.ts +33 -2
- package/dist/domain/services/stub-template-resolver.d.ts.map +1 -1
- package/dist/generators/apps-framework-templates.d.ts.map +1 -1
- package/dist/generators/apps.d.ts.map +1 -1
- package/dist/generators/architecture-file-templates.d.ts +2 -2
- package/dist/generators/architecture-file-templates.d.ts.map +1 -1
- package/dist/generators/architecture-files.d.ts.map +1 -1
- package/dist/generators/cross-context.d.ts.map +1 -1
- package/dist/generators/eslint.d.ts +2 -0
- package/dist/generators/eslint.d.ts.map +1 -1
- package/dist/generators/layer-folders.d.ts.map +1 -1
- package/dist/generators/package-json.d.ts.map +1 -1
- package/dist/generators/root-file-templates.d.ts +1 -1
- package/dist/generators/root-file-templates.d.ts.map +1 -1
- package/dist/generators/root-files.d.ts.map +1 -1
- package/dist/generators/stubs.d.ts +4 -1
- package/dist/generators/stubs.d.ts.map +1 -1
- package/dist/index.d.ts +23 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1663 -5150
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/adapters/index.d.ts +1 -0
- package/dist/infrastructure/adapters/index.d.ts.map +1 -1
- package/dist/infrastructure/adapters/ts-morph-symbol-index.adapter.d.ts +47 -0
- package/dist/infrastructure/adapters/ts-morph-symbol-index.adapter.d.ts.map +1 -0
- package/dist/infrastructure/config/layout-schema.d.ts +29 -0
- package/dist/infrastructure/config/layout-schema.d.ts.map +1 -0
- package/dist/infrastructure/config/load-layout-config.d.ts +8 -0
- package/dist/infrastructure/config/load-layout-config.d.ts.map +1 -0
- package/dist/linter.d.ts +24 -0
- package/dist/linter.d.ts.map +1 -1
- package/dist/manifest-service.d.ts.map +1 -1
- package/dist/refactoring/impact-analyzer.d.ts +7 -2
- package/dist/refactoring/impact-analyzer.d.ts.map +1 -1
- package/dist/sync-engine.d.ts.map +1 -1
- package/dist/templates/adobe-creative-production/files/src/domain/ports/out/creative-production.port.ts +2 -4
- package/dist/templates/adobe-creative-production/files/src/infrastructure/adobe/creative-production/creative-production.adapter.ts +8 -7
- package/dist/templates/adobe-express/files/src/domain/ports/out/express.port.ts +2 -4
- package/dist/templates/adobe-express/files/src/infrastructure/adobe/express/express.adapter.ts +9 -8
- package/dist/templates/adobe-firefly-composite/files/src/domain/ports/out/composite.port.ts +2 -4
- package/dist/templates/adobe-firefly-composite/files/src/infrastructure/adobe/composite/composite.adapter.ts +12 -12
- package/dist/templates/adobe-firefly-content-tagging/files/src/domain/ports/out/content-tagging.port.ts +2 -4
- package/dist/templates/adobe-firefly-content-tagging/files/src/infrastructure/adobe/content-tagging/content-tagging.adapter.ts +6 -5
- package/dist/templates/adobe-firefly-core/README.md +1 -1
- package/dist/templates/adobe-firefly-core/files/src/domain/errors/creative-service-error.ts +62 -0
- package/dist/templates/adobe-firefly-core/files/src/infrastructure/adobe/errors/to-creative-service-error.ts +45 -0
- package/dist/templates/adobe-firefly-core/files/src/infrastructure/adobe/index.ts +9 -0
- package/dist/templates/adobe-firefly-core/manifest.json +2 -0
- package/dist/templates/adobe-firefly-custom-models/files/src/domain/ports/out/custom-model.port.ts +5 -7
- package/dist/templates/adobe-firefly-custom-models/files/src/infrastructure/adobe/custom-models/firefly-custom-model.adapter.ts +16 -15
- package/dist/templates/adobe-firefly-generate/files/src/domain/ports/out/image-generation.port.ts +6 -8
- package/dist/templates/adobe-firefly-generate/files/src/infrastructure/adobe/generate/firefly-generate.adapter.ts +14 -16
- package/dist/templates/adobe-firefly-media/files/src/domain/ports/out/media-generation.port.ts +6 -8
- package/dist/templates/adobe-firefly-media/files/src/infrastructure/adobe/media/firefly-media.adapter.ts +11 -10
- package/dist/templates/adobe-firefly-upscale/files/src/domain/ports/out/upscale.port.ts +2 -4
- package/dist/templates/adobe-firefly-upscale/files/src/infrastructure/adobe/upscale/upscale.adapter.ts +13 -11
- package/dist/templates/adobe-illustrator/files/src/domain/ports/out/illustrator.port.ts +4 -6
- package/dist/templates/adobe-illustrator/files/src/infrastructure/adobe/illustrator/illustrator.adapter.ts +17 -15
- package/dist/templates/adobe-indesign/files/src/domain/ports/out/indesign.port.ts +4 -6
- package/dist/templates/adobe-indesign/files/src/infrastructure/adobe/indesign/indesign.adapter.ts +10 -9
- package/dist/templates/adobe-lightroom/files/src/domain/ports/out/lightroom.port.ts +4 -6
- package/dist/templates/adobe-lightroom/files/src/infrastructure/adobe/lightroom/lightroom.adapter.ts +10 -9
- package/dist/templates/adobe-photoshop/files/src/domain/ports/out/photoshop-automation.port.ts +6 -8
- package/dist/templates/adobe-photoshop/files/src/infrastructure/adobe/photoshop/photoshop-automation.adapter.ts +12 -11
- package/dist/templates/adobe-substance-3d/files/src/domain/ports/out/substance-3d.port.ts +4 -6
- package/dist/templates/adobe-substance-3d/files/src/infrastructure/adobe/substance-3d/substance-3d.adapter.ts +10 -9
- package/dist/templates/agents-md/files/.agents/tech-stack.md +3 -4
- package/dist/templates/agents-md/files/.agents/testing.md +9 -9
- package/dist/templates/agents-md/files/AGENTS.md +5 -5
- package/dist/templates/bedrock-agentcore-runtime/files/src/application/ports/agent-runtime.port.ts +25 -0
- package/dist/templates/bedrock-agentcore-runtime/files/src/infrastructure/agentcore/http/invocations.handler.ts +1 -1
- package/dist/templates/bedrock-agentcore-runtime/files/src/infrastructure/agentcore/http/server.ts +1 -1
- package/dist/templates/bedrock-agentcore-runtime/files/src/infrastructure/agentcore/runtime/payload.ts +5 -22
- package/dist/templates/bedrock-agentcore-runtime/manifest.json +1 -0
- package/dist/templates/ci-github-actions/README.md +13 -7
- package/dist/templates/ci-github-actions/files/.github/dependabot.yml +9 -2
- package/dist/templates/ci-github-actions/files/.github/workflows/ci.yml +18 -14
- package/dist/templates/ci-github-actions/files/.github/workflows/deploy-fly.yml +12 -6
- package/dist/templates/ci-github-actions/files/.github/workflows/deploy-railway.yml +14 -8
- package/dist/templates/ci-github-actions/files/.github/workflows/deploy-vercel.yml +29 -8
- package/dist/templates/ci-github-actions/files/.github/workflows/deploy-vps.yml +14 -8
- package/dist/templates/ci-github-actions/files/.github/workflows/preview.yml +34 -18
- package/dist/templates/ci-github-actions/manifest.json +2 -2
- package/dist/templates/docker/README.md +3 -0
- package/dist/templates/docker/files/.github/workflows/docker-build.yml +15 -6
- package/dist/templates/docker/manifest.json +1 -0
- package/dist/templates/llm-adapter/files/src/domain/errors/llm-error.ts +35 -0
- package/dist/templates/llm-adapter/files/src/domain/ports/out/llm-client.port.ts +1 -1
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/adapters/anthropic-llm-client.adapter.ts +1 -1
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/adapters/azure-openai-llm-client.adapter.ts +1 -1
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/adapters/ollama-llm-client.adapter.ts +1 -1
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/adapters/openai-llm-client.adapter.ts +1 -1
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/adapters/xai-llm-client.adapter.ts +1 -1
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/errors/llm-errors.ts +9 -23
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/index.ts +4 -3
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/router/llm-router.ts +1 -1
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/utils/retry.ts +1 -1
- package/dist/templates/llm-adapter/files/src/infrastructure/llm/utils/structured-output.ts +1 -1
- package/dist/templates/llm-adapter/manifest.json +1 -0
- package/dist/templates/llm-adapter-bedrock/files/src/infrastructure/llm/adapters/bedrock-llm-client.adapter.ts +1 -1
- package/dist/templates/llm-adapter-bedrock/files/src/infrastructure/llm/errors/bedrock-errors.ts +1 -1
- package/dist/templates/mcp-server/README.md +1 -1
- package/dist/templates/mcp-server/files/src/infrastructure/mcp/registry/tool-registry.test.ts +1 -1
- package/dist/templates/mcp-server/files/src/infrastructure/mcp/tools/example.tool.test.ts +1 -1
- package/dist/templates/mcp-server-http/README.md +1 -1
- package/dist/templates/mcp-server-http/files/src/infrastructure/mcp/auth/bearer.test.ts +1 -1
- package/dist/templates/mcp-server-http/files/src/infrastructure/mcp/auth/oauth.test.ts +1 -1
- package/dist/templates/mcp-server-http/files/src/infrastructure/mcp/guard.test.ts +1 -1
- package/dist/types/manifest/apps.d.ts +1 -1
- package/dist/types/manifest/apps.d.ts.map +1 -1
- package/package.json +6 -5
- package/dist/application/ports/out/project-configuration-read.port.d.ts +0 -9
- package/dist/application/ports/out/project-configuration-read.port.d.ts.map +0 -1
- package/dist/application/ports/out/symbol-reference-provider.port.d.ts +0 -10
- package/dist/application/ports/out/symbol-reference-provider.port.d.ts.map +0 -1
- package/dist/application/use-cases/get-manifest-resource.use-case.d.ts +0 -8
- package/dist/application/use-cases/get-manifest-resource.use-case.d.ts.map +0 -1
- package/dist/generators/validators/index.d.ts +0 -11
- package/dist/generators/validators/index.d.ts.map +0 -1
- package/dist/generators/validators/validate-dependencies.d.ts +0 -7
- package/dist/generators/validators/validate-dependencies.d.ts.map +0 -1
- package/dist/generators/validators/validate-manifest-sync.d.ts +0 -5
- package/dist/generators/validators/validate-manifest-sync.d.ts.map +0 -1
- package/dist/generators/validators/validate-port-adapter.d.ts +0 -5
- package/dist/generators/validators/validate-port-adapter.d.ts.map +0 -1
- package/dist/generators/validators/validation-types.d.ts +0 -20
- package/dist/generators/validators/validation-types.d.ts.map +0 -1
- package/dist/generators/validators.d.ts +0 -7
- package/dist/generators/validators.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps.d.ts","sourceRoot":"","sources":["../../../src/types/manifest/apps.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,KAAK,CAAC;AAElE,MAAM,MAAM,YAAY,GACpB,SAAS,GACT,SAAS,GACT,SAAS,GACT,UAAU,GACV,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"apps.d.ts","sourceRoot":"","sources":["../../../src/types/manifest/apps.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,KAAK,CAAC;AAElE,MAAM,MAAM,YAAY,GACpB,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,UAAU,GACV,OAAO,GACP,KAAK,GACL,cAAc,GACd,OAAO,GACP,SAAS,CAAC;AAEd,MAAM,WAAW,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,kBAAkB;IACjC,WAAW,CAAC,EAAE,OAAO,eAAe,EAAE,YAAY,CAAC;IACnD,QAAQ,CAAC,EAAE,OAAO,eAAe,EAAE,gBAAgB,CAAC;IACpD,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B;;;;;;;;;OASG;IACH,UAAU,CAAC,EAAE,aAAa,EAAE,CAAC;CAC9B;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAAC,CAAC;CAChE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hexagen-monaco/sync",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "HexaGen Sync Engine — Generate and sync modular monorepos",
|
|
6
6
|
"keywords": [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"monorepo",
|
|
9
9
|
"code-generation"
|
|
10
10
|
],
|
|
11
|
-
"license": "
|
|
11
|
+
"license": "UNLICENSED",
|
|
12
12
|
"homepage": "https://github.com/martinkrakowski/hexagen-monaco/tree/main/packages/sync#readme",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
@@ -31,14 +31,15 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
|
-
"node": ">=
|
|
34
|
+
"node": ">=22.7.0"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"commander": "^14.0.3",
|
|
41
|
-
"js-yaml": "^4.1.
|
|
42
|
-
"ts-morph": "^
|
|
41
|
+
"js-yaml": "^4.1.1",
|
|
42
|
+
"ts-morph": "^27.0.2",
|
|
43
|
+
"zod": "^3.23.8"
|
|
43
44
|
}
|
|
44
45
|
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Result } from "@hexagen/shared";
|
|
2
|
-
import type { Manifest } from "@hexagen/project-configuration";
|
|
3
|
-
export interface ProjectConfigurationReadPort {
|
|
4
|
-
/**
|
|
5
|
-
* Reads and validates the current manifest
|
|
6
|
-
*/
|
|
7
|
-
getManifest(): Promise<Result<Manifest>>;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=project-configuration-read.port.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"project-configuration-read.port.d.ts","sourceRoot":"","sources":["../../../../src/application/ports/out/project-configuration-read.port.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE/D,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,WAAW,IAAI,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;CAC1C"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { SourceFile } from "ts-morph";
|
|
2
|
-
export interface SymbolReferenceResult {
|
|
3
|
-
sourceFile: SourceFile;
|
|
4
|
-
reason: string;
|
|
5
|
-
}
|
|
6
|
-
export interface SymbolReferenceProviderPort {
|
|
7
|
-
findReferences(symbolName: string, sourceFiles: SourceFile[]): SymbolReferenceResult[];
|
|
8
|
-
getModificationReason(sourceFile: SourceFile, symbolName: string): string;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=symbol-reference-provider.port.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"symbol-reference-provider.port.d.ts","sourceRoot":"","sources":["../../../../src/application/ports/out/symbol-reference-provider.port.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,UAAU,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,2BAA2B;IAC1C,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,GAAG,qBAAqB,EAAE,CAAC;IACvF,qBAAqB,CAAC,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC;CAC3E"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ProjectConfigurationReadPort } from "../ports/out/project-configuration-read.port.js";
|
|
2
|
-
import { type Manifest } from "@hexagen/project-configuration";
|
|
3
|
-
export declare class GetManifestResourceUseCase {
|
|
4
|
-
private readonly projectConfig;
|
|
5
|
-
constructor(projectConfig: ProjectConfigurationReadPort);
|
|
6
|
-
execute(): Promise<Manifest>;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=get-manifest-resource.use-case.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-manifest-resource.use-case.d.ts","sourceRoot":"","sources":["../../../src/application/use-cases/get-manifest-resource.use-case.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,iDAAiD,CAAC;AACpG,OAAO,EAAkB,KAAK,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE/E,qBAAa,0BAA0B;IACzB,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,4BAA4B;IAElE,OAAO,IAAI,OAAO,CAAC,QAAQ,CAAC;CAOnC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export type { ValidationSeverity, ValidationIssue, ValidationResult, } from "./validation-types.js";
|
|
2
|
-
export { createValidationResult } from "./validation-types.js";
|
|
3
|
-
export { validatePortAdapterCorrespondence } from "./validate-port-adapter.js";
|
|
4
|
-
export { validateManifestToCodeSync } from "./validate-manifest-sync.js";
|
|
5
|
-
export { validateDependencyGraph, validateLayerBoundaries, } from "./validate-dependencies.js";
|
|
6
|
-
import type { BoundedContext } from "../../types/manifest.js";
|
|
7
|
-
import type { SyncConfig } from "../../config.js";
|
|
8
|
-
import type { ValidationResult } from "./validation-types.js";
|
|
9
|
-
declare function validateBoundedContext(moduleDir: string, context: BoundedContext, config: SyncConfig): Promise<ValidationResult>;
|
|
10
|
-
export { validateBoundedContext };
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generators/validators/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,kBAAkB,EAClB,eAAe,EACf,gBAAgB,GACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,EAAE,iCAAiC,EAAE,MAAM,4BAA4B,CAAC;AAC/E,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,EACL,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAS9D,iBAAe,sBAAsB,CACnC,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,cAAc,EACvB,MAAM,EAAE,UAAU,GACjB,OAAO,CAAC,gBAAgB,CAAC,CAU3B;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SyncConfig } from "../../config.js";
|
|
2
|
-
import type { BoundedContext } from "../../types/manifest.js";
|
|
3
|
-
import type { ValidationResult } from "./validation-types.js";
|
|
4
|
-
declare function validateDependencyGraph(config: SyncConfig): Promise<ValidationResult>;
|
|
5
|
-
declare function validateLayerBoundaries(context: BoundedContext): Promise<ValidationResult>;
|
|
6
|
-
export { validateDependencyGraph, validateLayerBoundaries };
|
|
7
|
-
//# sourceMappingURL=validate-dependencies.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate-dependencies.d.ts","sourceRoot":"","sources":["../../../src/generators/validators/validate-dependencies.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAmB,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAG/E,iBAAe,uBAAuB,CACpC,MAAM,EAAE,UAAU,GACjB,OAAO,CAAC,gBAAgB,CAAC,CA6D3B;AAED,iBAAe,uBAAuB,CACpC,OAAO,EAAE,cAAc,GACtB,OAAO,CAAC,gBAAgB,CAAC,CA0B3B;AAED,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { BoundedContext } from "../../types/manifest.js";
|
|
2
|
-
import type { ValidationResult } from "./validation-types.js";
|
|
3
|
-
declare function validateManifestToCodeSync(moduleDir: string, context: BoundedContext): Promise<ValidationResult>;
|
|
4
|
-
export { validateManifestToCodeSync };
|
|
5
|
-
//# sourceMappingURL=validate-manifest-sync.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate-manifest-sync.d.ts","sourceRoot":"","sources":["../../../src/generators/validators/validate-manifest-sync.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,KAAK,EAAmB,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAG/E,iBAAe,0BAA0B,CACvC,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,cAAc,GACtB,OAAO,CAAC,gBAAgB,CAAC,CAyF3B;AAED,OAAO,EAAE,0BAA0B,EAAE,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { BoundedContext } from "../../types/manifest.js";
|
|
2
|
-
import type { ValidationResult } from "./validation-types.js";
|
|
3
|
-
declare function validatePortAdapterCorrespondence(moduleDir: string, context: BoundedContext): Promise<ValidationResult>;
|
|
4
|
-
export { validatePortAdapterCorrespondence };
|
|
5
|
-
//# sourceMappingURL=validate-port-adapter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate-port-adapter.d.ts","sourceRoot":"","sources":["../../../src/generators/validators/validate-port-adapter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,KAAK,EAAmB,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAG/E,iBAAe,iCAAiC,CAC9C,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,cAAc,GACtB,OAAO,CAAC,gBAAgB,CAAC,CA4D3B;AAED,OAAO,EAAE,iCAAiC,EAAE,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export type ValidationSeverity = "error" | "warning" | "info";
|
|
2
|
-
export interface ValidationIssue {
|
|
3
|
-
severity: ValidationSeverity;
|
|
4
|
-
code: string;
|
|
5
|
-
message: string;
|
|
6
|
-
filePath?: string;
|
|
7
|
-
suggestion?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface ValidationResult {
|
|
10
|
-
valid: boolean;
|
|
11
|
-
issues: ValidationIssue[];
|
|
12
|
-
summary: {
|
|
13
|
-
errors: number;
|
|
14
|
-
warnings: number;
|
|
15
|
-
info: number;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
declare function createValidationResult(issues: ValidationIssue[]): ValidationResult;
|
|
19
|
-
export { createValidationResult };
|
|
20
|
-
//# sourceMappingURL=validation-types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validation-types.d.ts","sourceRoot":"","sources":["../../../src/generators/validators/validation-types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;AAE9D,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,OAAO,EAAE;QACP,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH;AAED,iBAAS,sBAAsB,CAAC,MAAM,EAAE,eAAe,EAAE,GAAG,gBAAgB,CAc3E;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export type { ValidationSeverity, ValidationIssue, ValidationResult, } from "./validators/validation-types.js";
|
|
2
|
-
export { createValidationResult } from "./validators/validation-types.js";
|
|
3
|
-
export { validatePortAdapterCorrespondence } from "./validators/validate-port-adapter.js";
|
|
4
|
-
export { validateManifestToCodeSync } from "./validators/validate-manifest-sync.js";
|
|
5
|
-
export { validateDependencyGraph, validateLayerBoundaries, } from "./validators/validate-dependencies.js";
|
|
6
|
-
export { validateBoundedContext } from "./validators/index.js";
|
|
7
|
-
//# sourceMappingURL=validators.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../src/generators/validators.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,kBAAkB,EAClB,eAAe,EACf,gBAAgB,GACjB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,iCAAiC,EAAE,MAAM,uCAAuC,CAAC;AAC1F,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EACL,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC"}
|