@hexagen-monaco/sync 0.9.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 +2905 -5399
- package/dist/cli.js.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/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.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 +581 -4770
- 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.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-http/README.md +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,15 +1,21 @@
|
|
|
1
1
|
name: Deploy to Railway
|
|
2
2
|
|
|
3
|
-
# Production deploy
|
|
4
|
-
#
|
|
5
|
-
#
|
|
3
|
+
# Production deploy — manual-only (workflow_dispatch) until Railway is
|
|
4
|
+
# configured, so a freshly pushed repo shows zero failed Actions runs (F20).
|
|
5
|
+
# Railway natively runs background worker services alongside the web service —
|
|
6
|
+
# pair with the bullmq template's separate-worker mode by adding a second
|
|
7
|
+
# deploy step targeting that service.
|
|
6
8
|
#
|
|
7
|
-
#
|
|
8
|
-
#
|
|
9
|
-
#
|
|
9
|
+
# TO ENABLE automatic deploys on merge to main:
|
|
10
|
+
# 1. Add in GitHub repo → Settings → Secrets and variables → Actions:
|
|
11
|
+
# - RAILWAY_TOKEN (secret) Railway → Account → Tokens
|
|
12
|
+
# - RAILWAY_SERVICE (variable) the service name to redeploy (optional)
|
|
13
|
+
# 2. Uncomment the push trigger below (keep workflow_dispatch — it gives you
|
|
14
|
+
# a manual deploy button in the Actions tab).
|
|
10
15
|
on:
|
|
11
|
-
|
|
12
|
-
|
|
16
|
+
workflow_dispatch:
|
|
17
|
+
# push:
|
|
18
|
+
# branches: [main]
|
|
13
19
|
|
|
14
20
|
concurrency:
|
|
15
21
|
group: deploy-production
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
name: Deploy to Vercel
|
|
2
2
|
|
|
3
|
-
# Production deploy
|
|
3
|
+
# Production deploy — manual-only (workflow_dispatch) until Vercel is
|
|
4
|
+
# configured, so a freshly pushed repo shows zero failed Actions runs (F20).
|
|
4
5
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
#
|
|
6
|
+
# TO ENABLE automatic deploys on merge to main:
|
|
7
|
+
# 1. Add these in GitHub repo → Settings → Secrets and variables → Actions:
|
|
8
|
+
# - VERCEL_TOKEN (secret) vercel.com → Account Settings → Tokens
|
|
9
|
+
# - VERCEL_ORG_ID (secret) from `vercel link` → .vercel/project.json
|
|
10
|
+
# - VERCEL_PROJECT_ID (secret) from `vercel link` → .vercel/project.json
|
|
11
|
+
# 2. Uncomment the push trigger below (keep workflow_dispatch — it gives you
|
|
12
|
+
# a manual deploy button in the Actions tab).
|
|
9
13
|
on:
|
|
10
|
-
|
|
11
|
-
|
|
14
|
+
workflow_dispatch:
|
|
15
|
+
# push:
|
|
16
|
+
# branches: [main]
|
|
12
17
|
|
|
13
18
|
concurrency:
|
|
14
19
|
group: deploy-production
|
|
@@ -25,10 +30,26 @@ jobs:
|
|
|
25
30
|
steps:
|
|
26
31
|
- uses: actions/checkout@v5
|
|
27
32
|
|
|
33
|
+
# Corepack MUST run before setup-node: setup-node@v5 probes the
|
|
34
|
+
# package-manager cache with the runner's global Yarn (Classic), which
|
|
35
|
+
# hard-errors on a packageManager-pinned yarn@4 project. Corepack
|
|
36
|
+
# activates the package manager pinned in package.json
|
|
37
|
+
# (`packageManager`). Mirrors ci.yml. See SETUP.md.
|
|
38
|
+
- name: Enable Corepack
|
|
39
|
+
run: corepack enable
|
|
40
|
+
|
|
41
|
+
- name: Prepare package manager
|
|
42
|
+
run: |
|
|
43
|
+
corepack prepare "$(node -p 'require("./package.json").packageManager')" --activate
|
|
44
|
+
|
|
28
45
|
- uses: actions/setup-node@v5
|
|
29
46
|
with:
|
|
30
47
|
node-version: "{node_version}"
|
|
31
|
-
cache:
|
|
48
|
+
# No `cache: yarn` — and the v5 auto-probe is disabled explicitly:
|
|
49
|
+
# setup-node@v5 otherwise still runs the global Yarn Classic to locate
|
|
50
|
+
# the store, which fails on a packageManager-pinned project. To cache,
|
|
51
|
+
# add a separate actions/cache step AFTER Corepack. Mirrors ci.yml.
|
|
52
|
+
package-manager-cache: false
|
|
32
53
|
|
|
33
54
|
- run: "yarn install --immutable"
|
|
34
55
|
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
name: Deploy to VPS
|
|
2
2
|
|
|
3
|
-
# Production deploy
|
|
4
|
-
#
|
|
3
|
+
# Production deploy via SSH + pull/build/restart — manual-only
|
|
4
|
+
# (workflow_dispatch) until the VPS secrets are configured, so a freshly pushed
|
|
5
|
+
# repo shows zero failed Actions runs (F20). Minimal-infrastructure option for
|
|
6
|
+
# a plain VPS running pm2.
|
|
5
7
|
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
8
|
-
#
|
|
9
|
-
#
|
|
8
|
+
# TO ENABLE automatic deploys on merge to main:
|
|
9
|
+
# 1. Add in GitHub repo → Settings → Secrets and variables → Actions:
|
|
10
|
+
# - VPS_HOST (secret) hostname or IP
|
|
11
|
+
# - VPS_USER (secret) ssh user
|
|
12
|
+
# - VPS_SSH_KEY (secret) private key with deploy access
|
|
13
|
+
# 2. Uncomment the push trigger below (keep workflow_dispatch — it gives you
|
|
14
|
+
# a manual deploy button in the Actions tab).
|
|
10
15
|
on:
|
|
11
|
-
|
|
12
|
-
|
|
16
|
+
workflow_dispatch:
|
|
17
|
+
# push:
|
|
18
|
+
# branches: [main]
|
|
13
19
|
|
|
14
20
|
concurrency:
|
|
15
21
|
group: deploy-production
|
|
@@ -3,8 +3,18 @@ name: Preview Deploy
|
|
|
3
3
|
# Vercel preview deploy on every PR, commenting the preview URL back on the PR.
|
|
4
4
|
# Pair with deploy_target vercel (or railway with its own preview setup).
|
|
5
5
|
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
6
|
+
# OFF by default (F20): the job is gated on the repository variable
|
|
7
|
+
# ENABLE_PREVIEW_DEPLOYS, so PRs on a freshly pushed repo show a neutral
|
|
8
|
+
# "skipped" check instead of a permanently red one. (A variable, not a secret,
|
|
9
|
+
# is the gate because GitHub does not expose the secrets context to job-level
|
|
10
|
+
# `if:` conditions.)
|
|
11
|
+
#
|
|
12
|
+
# TO ENABLE preview deploys:
|
|
13
|
+
# 1. Add the same secrets as deploy-vercel.yml — VERCEL_TOKEN,
|
|
14
|
+
# VERCEL_ORG_ID, VERCEL_PROJECT_ID (Settings → Secrets and variables →
|
|
15
|
+
# Actions → Secrets).
|
|
16
|
+
# 2. Create the repository variable ENABLE_PREVIEW_DEPLOYS with value `true`
|
|
17
|
+
# (same page → Variables tab).
|
|
8
18
|
on:
|
|
9
19
|
pull_request:
|
|
10
20
|
types: [opened, synchronize, reopened]
|
|
@@ -22,28 +32,25 @@ jobs:
|
|
|
22
32
|
permissions:
|
|
23
33
|
contents: read
|
|
24
34
|
pull-requests: write
|
|
25
|
-
#
|
|
26
|
-
#
|
|
27
|
-
|
|
35
|
+
# Two gates (both must hold, see the header comment):
|
|
36
|
+
# - ENABLE_PREVIEW_DEPLOYS repo variable — off until Vercel is configured
|
|
37
|
+
# (F20: keeps fresh repos free of failing checks).
|
|
38
|
+
# - Secrets are not exposed to PRs from forks, so this job would always
|
|
39
|
+
# fail for external contributors — skip it there instead.
|
|
40
|
+
if: >-
|
|
41
|
+
vars.ENABLE_PREVIEW_DEPLOYS == 'true' &&
|
|
42
|
+
github.event.pull_request.head.repo.full_name == github.repository
|
|
28
43
|
env:
|
|
29
44
|
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
|
|
30
45
|
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
|
|
31
46
|
steps:
|
|
32
47
|
- uses: actions/checkout@v5
|
|
33
48
|
|
|
34
|
-
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
# steps below activate the pinned yarn@4 — so it fails on a
|
|
40
|
-
# packageManager-pinned project. Committing yarn.lock does NOT make it
|
|
41
|
-
# safe: the hazard is ordering, not the lockfile. To cache, add a
|
|
42
|
-
# separate actions/cache step AFTER Corepack instead. Mirrors ci.yml.
|
|
43
|
-
|
|
44
|
-
# Corepack activates the package manager pinned in package.json
|
|
45
|
-
# (`packageManager`); without it the runner's default Yarn (Classic) can't
|
|
46
|
-
# honor a Yarn-4 project. Mirrors ci.yml. See SETUP.md.
|
|
49
|
+
# Corepack MUST run before setup-node: setup-node@v5 probes the
|
|
50
|
+
# package-manager cache with the runner's global Yarn (Classic), which
|
|
51
|
+
# hard-errors on a packageManager-pinned yarn@4 project. Corepack
|
|
52
|
+
# activates the package manager pinned in package.json
|
|
53
|
+
# (`packageManager`). Mirrors ci.yml. See SETUP.md.
|
|
47
54
|
- name: Enable Corepack
|
|
48
55
|
run: corepack enable
|
|
49
56
|
|
|
@@ -51,6 +58,15 @@ jobs:
|
|
|
51
58
|
run: |
|
|
52
59
|
corepack prepare "$(node -p 'require("./package.json").packageManager')" --activate
|
|
53
60
|
|
|
61
|
+
- uses: actions/setup-node@v5
|
|
62
|
+
with:
|
|
63
|
+
node-version: "{node_version}"
|
|
64
|
+
# No `cache: yarn` — and the v5 auto-probe is disabled explicitly:
|
|
65
|
+
# setup-node@v5 otherwise still runs the global Yarn Classic to locate
|
|
66
|
+
# the store, which fails on a packageManager-pinned project. To cache,
|
|
67
|
+
# add a separate actions/cache step AFTER Corepack. Mirrors ci.yml.
|
|
68
|
+
package-manager-cache: false
|
|
69
|
+
|
|
54
70
|
# First run has no committed lockfile, so install is NOT immutable. Switch
|
|
55
71
|
# to `yarn install --immutable` after you commit yarn.lock. See SETUP.md.
|
|
56
72
|
- name: Install dependencies
|
|
@@ -112,8 +112,8 @@
|
|
|
112
112
|
"Add required secrets: GitHub repo → Settings → Secrets and variables → Actions (look for the # TODO comments in the generated workflow files)",
|
|
113
113
|
"Set TURBO_TOKEN (secret) and TURBO_TEAM (variable) for the remote Turbo cache — CI is much faster after the first run",
|
|
114
114
|
"The 'Validate env vars' step runs `check:env`, provided by the env-setup template; delete that step if you did not install env-setup",
|
|
115
|
-
"
|
|
116
|
-
"If preview deploys are enabled, open a PR and verify the preview URL comment appears",
|
|
115
|
+
"Deploy workflows start manual-only (workflow_dispatch) so a fresh repo has zero failing checks — after adding the secrets, uncomment the push trigger in the generated deploy workflow (see its header comment), then merge to main and verify it runs",
|
|
116
|
+
"If preview deploys are enabled: add the Vercel secrets, set the ENABLE_PREVIEW_DEPLOYS repository variable to true, then open a PR and verify the preview URL comment appears",
|
|
117
117
|
"Dependabot opens weekly PRs to keep Actions and dev dependencies current — review and merge them"
|
|
118
118
|
],
|
|
119
119
|
"branch": "feature/generator-template-ci-github-actions"
|
|
@@ -45,6 +45,9 @@ docker compose -f docker-compose.yml -f docker-compose.ci.yml up --build # pro
|
|
|
45
45
|
|
|
46
46
|
## Notes for agents
|
|
47
47
|
|
|
48
|
+
- `docker-build.yml` starts **manual-only** (`workflow_dispatch`) so a fresh repo has zero
|
|
49
|
+
failing checks — once `docker build .` works locally, uncomment its push/pull_request
|
|
50
|
+
triggers (see the workflow's header comment).
|
|
48
51
|
- `ghcr.io` needs no extra secrets (uses `GITHUB_TOKEN`); Docker Hub/ECR require switching the
|
|
49
52
|
commented login step in `docker-build.yml` and setting `REGISTRY_ORG`.
|
|
50
53
|
- The container health check probes `health_path` — point it at `/api/health` if `observability`
|
|
@@ -1,16 +1,25 @@
|
|
|
1
1
|
name: Docker Build & Push
|
|
2
2
|
|
|
3
|
-
# Builds and pushes the production image
|
|
4
|
-
#
|
|
3
|
+
# Builds and pushes the production image — manual-only (workflow_dispatch)
|
|
4
|
+
# until the Dockerfile builds in this repo's layout, so a freshly pushed repo
|
|
5
|
+
# shows zero failed Actions runs (F20). The scaffolded Dockerfile usually needs
|
|
6
|
+
# adapting to your workspace layout before `docker build .` succeeds.
|
|
7
|
+
#
|
|
8
|
+
# TO ENABLE CI image builds (push to main = build+push; PRs = build-only, so a
|
|
9
|
+
# broken Dockerfile is caught before merge):
|
|
10
|
+
# 1. Verify `docker build .` succeeds locally.
|
|
11
|
+
# 2. Uncomment the push/pull_request triggers below (keep workflow_dispatch —
|
|
12
|
+
# it gives you a manual build button in the Actions tab).
|
|
5
13
|
#
|
|
6
14
|
# Default target: GitHub Container Registry (ghcr.io) — zero extra secrets,
|
|
7
15
|
# uses the built-in GITHUB_TOKEN. To target another registry, see the commented
|
|
8
16
|
# alternatives in the "Log in" and "env" sections below and set REGISTRY_ORG.
|
|
9
17
|
on:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
18
|
+
workflow_dispatch:
|
|
19
|
+
# push:
|
|
20
|
+
# branches: [main]
|
|
21
|
+
# pull_request:
|
|
22
|
+
# branches: [main]
|
|
14
23
|
|
|
15
24
|
env:
|
|
16
25
|
REGISTRY: ghcr.io
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"Enable backing services with profiles, e.g. COMPOSE_PROFILES=redis,postgres docker compose up — or persist COMPOSE_PROFILES in .env.local",
|
|
56
56
|
"Verify the app at http://localhost:3000/ — the container health check probes the health_path you chose (default /); point it at /api/health if you install the observability template",
|
|
57
57
|
"Production-equivalent run: docker compose -f docker-compose.yml -f docker-compose.ci.yml up --build",
|
|
58
|
+
"CI image builds start manual-only (workflow_dispatch) so a fresh repo has zero failing checks — once `docker build .` works locally, uncomment the push/pull_request triggers in .github/workflows/docker-build.yml",
|
|
58
59
|
"ghcr.io needs no extra secrets (uses GITHUB_TOKEN). For Docker Hub/ECR, set the REGISTRY_ORG repo variable and switch the commented login step in .github/workflows/docker-build.yml"
|
|
59
60
|
],
|
|
60
61
|
"branch": "feature/generator-template-docker"
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The failure channel of {@link LLMClientPort} — owned by the domain, not by any
|
|
3
|
+
* provider adapter (ADR-0053).
|
|
4
|
+
*
|
|
5
|
+
* `LLMError` is provider-neutral by construction: `kind` enumerates the failure
|
|
6
|
+
* modes a caller can act on (retry, re-auth, surface to the user), and nothing
|
|
7
|
+
* here names a vendor, an SDK, or a transport. Infrastructure adapters map their
|
|
8
|
+
* concrete failures (an HTTP status, an AWS SDK exception, a socket timeout)
|
|
9
|
+
* onto this union at the adapter boundary; the domain never sees the provider's
|
|
10
|
+
* error type, and swapping providers cannot change the port's contract.
|
|
11
|
+
*/
|
|
12
|
+
export type LLMErrorKind =
|
|
13
|
+
| "auth"
|
|
14
|
+
| "rate-limit"
|
|
15
|
+
| "service"
|
|
16
|
+
| "timeout"
|
|
17
|
+
| "parsing"
|
|
18
|
+
| "unknown";
|
|
19
|
+
|
|
20
|
+
export class LLMError extends Error {
|
|
21
|
+
constructor(
|
|
22
|
+
public readonly kind: LLMErrorKind,
|
|
23
|
+
message: string,
|
|
24
|
+
public readonly cause?: unknown,
|
|
25
|
+
public readonly retryAfterMs?: number,
|
|
26
|
+
) {
|
|
27
|
+
super(message);
|
|
28
|
+
this.name = "LLMError";
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/** Retry policy is a property of the failure kind, so it lives with the union. */
|
|
33
|
+
export function isRetryable(error: LLMError): boolean {
|
|
34
|
+
return error.kind === "service" || error.kind === "rate-limit";
|
|
35
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ZodSchema } from "zod";
|
|
2
2
|
import type { Result } from "../../../shared/result";
|
|
3
|
-
import type { LLMError } from "
|
|
3
|
+
import type { LLMError } from "../../errors/llm-error";
|
|
4
4
|
|
|
5
5
|
export interface LLMCallOptions {
|
|
6
6
|
model?: string;
|
|
@@ -5,7 +5,7 @@ import type {
|
|
|
5
5
|
LLMResponse,
|
|
6
6
|
} from "../../../domain/ports/out/llm-client.port";
|
|
7
7
|
import { classifyHttpError, LLMServiceError } from "../errors/llm-errors";
|
|
8
|
-
import type { LLMError } from "
|
|
8
|
+
import type { LLMError } from "../../../domain/errors/llm-error";
|
|
9
9
|
import { withRetry } from "../utils/retry";
|
|
10
10
|
import { withTimeout } from "../utils/timeout";
|
|
11
11
|
import { callStructured } from "../utils/structured-output";
|
|
@@ -5,7 +5,7 @@ import type {
|
|
|
5
5
|
LLMResponse,
|
|
6
6
|
} from "../../../domain/ports/out/llm-client.port";
|
|
7
7
|
import { classifyHttpError, LLMServiceError } from "../errors/llm-errors";
|
|
8
|
-
import type { LLMError } from "
|
|
8
|
+
import type { LLMError } from "../../../domain/errors/llm-error";
|
|
9
9
|
import { withRetry } from "../utils/retry";
|
|
10
10
|
import { withTimeout } from "../utils/timeout";
|
|
11
11
|
import { callStructured } from "../utils/structured-output";
|
|
@@ -5,7 +5,7 @@ import type {
|
|
|
5
5
|
LLMResponse,
|
|
6
6
|
} from "../../../domain/ports/out/llm-client.port";
|
|
7
7
|
import { LLMServiceError } from "../errors/llm-errors";
|
|
8
|
-
import type { LLMError } from "
|
|
8
|
+
import type { LLMError } from "../../../domain/errors/llm-error";
|
|
9
9
|
import { withRetry } from "../utils/retry";
|
|
10
10
|
import { withTimeout } from "../utils/timeout";
|
|
11
11
|
import { callStructured } from "../utils/structured-output";
|
|
@@ -5,7 +5,7 @@ import type {
|
|
|
5
5
|
LLMResponse,
|
|
6
6
|
} from "../../../domain/ports/out/llm-client.port";
|
|
7
7
|
import { classifyHttpError, LLMServiceError } from "../errors/llm-errors";
|
|
8
|
-
import type { LLMError } from "
|
|
8
|
+
import type { LLMError } from "../../../domain/errors/llm-error";
|
|
9
9
|
import { withRetry } from "../utils/retry";
|
|
10
10
|
import { withTimeout } from "../utils/timeout";
|
|
11
11
|
import { callStructured } from "../utils/structured-output";
|
package/dist/templates/llm-adapter/files/src/infrastructure/llm/adapters/xai-llm-client.adapter.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type {
|
|
|
5
5
|
LLMResponse,
|
|
6
6
|
} from "../../../domain/ports/out/llm-client.port";
|
|
7
7
|
import { classifyHttpError, LLMServiceError } from "../errors/llm-errors";
|
|
8
|
-
import type { LLMError } from "
|
|
8
|
+
import type { LLMError } from "../../../domain/errors/llm-error";
|
|
9
9
|
import { withRetry } from "../utils/retry";
|
|
10
10
|
import { withTimeout } from "../utils/timeout";
|
|
11
11
|
import { callStructured } from "../utils/structured-output";
|
|
@@ -1,22 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
constructor(
|
|
11
|
-
public readonly kind: LLMErrorKind,
|
|
12
|
-
message: string,
|
|
13
|
-
public readonly cause?: unknown,
|
|
14
|
-
public readonly retryAfterMs?: number,
|
|
15
|
-
) {
|
|
16
|
-
super(message);
|
|
17
|
-
this.name = "LLMError";
|
|
18
|
-
}
|
|
19
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Transport-specific specialisations of the domain failure union.
|
|
3
|
+
*
|
|
4
|
+
* The union itself (`LLMError` / `LLMErrorKind`) belongs to the domain — the
|
|
5
|
+
* port that declares the failure channel owns it (ADR-0053). What lives here is
|
|
6
|
+
* infrastructure: subclasses carrying provider/transport detail, and the HTTP
|
|
7
|
+
* classifier that maps a wire response onto the union at the adapter boundary.
|
|
8
|
+
*/
|
|
9
|
+
import { LLMError } from "../../../domain/errors/llm-error";
|
|
20
10
|
|
|
21
11
|
export class LLMAuthError extends LLMError {
|
|
22
12
|
constructor(message = "LLM authentication failed — check your API key") {
|
|
@@ -77,7 +67,3 @@ export function classifyHttpError(status: number, retryAfterHeader?: string | nu
|
|
|
77
67
|
if (status >= 500) return new LLMServiceError(`LLM service error (HTTP ${status})`);
|
|
78
68
|
return new LLMError("unknown", `Unexpected LLM HTTP status: ${status}`);
|
|
79
69
|
}
|
|
80
|
-
|
|
81
|
-
export function isRetryable(error: LLMError): boolean {
|
|
82
|
-
return error.kind === "service" || error.kind === "rate-limit";
|
|
83
|
-
}
|
|
@@ -22,16 +22,17 @@ export {
|
|
|
22
22
|
isVisionModel,
|
|
23
23
|
} from "./constants/capabilities";
|
|
24
24
|
|
|
25
|
+
// The failure union is domain-owned (ADR-0053); the transport specialisations
|
|
26
|
+
// stay in infrastructure. Re-exported together so callers keep one import.
|
|
27
|
+
export { LLMError, isRetryable } from "../../domain/errors/llm-error";
|
|
28
|
+
export type { LLMErrorKind } from "../../domain/errors/llm-error";
|
|
25
29
|
export {
|
|
26
|
-
LLMError,
|
|
27
30
|
LLMAuthError,
|
|
28
31
|
LLMRateLimitError,
|
|
29
32
|
LLMServiceError,
|
|
30
33
|
LLMTimeoutError,
|
|
31
34
|
LLMParsingError,
|
|
32
|
-
isRetryable,
|
|
33
35
|
} from "./errors/llm-errors";
|
|
34
|
-
export type { LLMErrorKind } from "./errors/llm-errors";
|
|
35
36
|
|
|
36
37
|
export { withRetry } from "./utils/retry";
|
|
37
38
|
export { withTimeout } from "./utils/timeout";
|
|
@@ -4,7 +4,7 @@ import type {
|
|
|
4
4
|
LLMCallOptions,
|
|
5
5
|
LLMResponse,
|
|
6
6
|
} from "../../../domain/ports/out/llm-client.port";
|
|
7
|
-
import type { LLMError } from "
|
|
7
|
+
import type { LLMError } from "../../../domain/errors/llm-error";
|
|
8
8
|
import { MODELS } from "../constants/models";
|
|
9
9
|
import { XaiLLMClientAdapter } from "../adapters/xai-llm-client.adapter";
|
|
10
10
|
import { OpenAILLMClientAdapter } from "../adapters/openai-llm-client.adapter";
|
|
@@ -2,7 +2,7 @@ import type { ZodSchema } from "zod";
|
|
|
2
2
|
import { LLMParsingError } from "../errors/llm-errors";
|
|
3
3
|
import type { LLMClientPort, LLMCallOptions } from "../../../domain/ports/out/llm-client.port";
|
|
4
4
|
import type { Result } from "../../../../shared/result";
|
|
5
|
-
import type { LLMError } from "
|
|
5
|
+
import type { LLMError } from "../../../domain/errors/llm-error";
|
|
6
6
|
|
|
7
7
|
const JSON_FENCE_RE = /```(?:json)?\s*([\s\S]*?)```/i;
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ import type {
|
|
|
10
10
|
LLMCallOptions,
|
|
11
11
|
LLMResponse,
|
|
12
12
|
} from "../../../domain/ports/out/llm-client.port";
|
|
13
|
-
import type { LLMError } from "
|
|
13
|
+
import type { LLMError } from "../../../domain/errors/llm-error";
|
|
14
14
|
import { classifyAwsError } from "../errors/bedrock-errors";
|
|
15
15
|
import { withRetry } from "../utils/retry";
|
|
16
16
|
import { withTimeout } from "../utils/timeout";
|
|
@@ -21,7 +21,7 @@ Design intent: `docs/planning/generator-templates/18-mcp-server.md`. Requires
|
|
|
21
21
|
| `src/infrastructure/mcp/tools/example.tool.ts` | Worked tool: input validation, use-case call, **explicit `Result`→MCP mapping (incl. error path)**, `dry_run` |
|
|
22
22
|
| `bin/cli.ts`, `.mcp.json.example`, `.env.mcp.example` | Entry point + client/env config |
|
|
23
23
|
| `resources/`, `prompts/` (opt-in) | Read-only resource + reusable prompt stubs |
|
|
24
|
-
| `*.test.ts` |
|
|
24
|
+
| `*.test.ts` | Vitest scaffolds — emitted **only under `--with-tests`** |
|
|
25
25
|
|
|
26
26
|
Everything under `infrastructure/mcp/**` is `@hexagen-server-only` (ADR-0037): it
|
|
27
27
|
holds credentials + privileged use-cases and must never reach a client bundle.
|
|
@@ -78,7 +78,7 @@ vars would be the proper static fix — an engine follow-up, not this addon.)
|
|
|
78
78
|
| `transport/register-transports.ts` | **re-emit** — registers stdio + streamable-http |
|
|
79
79
|
| `guard.ts` | `assertSafeTransport` — refuses streamable-http without an auth mode |
|
|
80
80
|
| `auth/bearer.ts` / `auth/oauth.ts` | gated on `auth`; `http.ts` imports the chosen one via `{auth}` |
|
|
81
|
-
| `*.test.ts` (guard, bearer, oauth) |
|
|
81
|
+
| `*.test.ts` (guard, bearer, oauth) | Vitest; pattern-gated behind `--with-tests` (`99-gap-analysis.md`) |
|
|
82
82
|
| `.env.mcp-http.example` | `MCP_HTTP_PORT`/`MCP_AUTH_MODE` seeded from the answers |
|
|
83
83
|
|
|
84
84
|
## SDK
|
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
|