@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.
Files changed (185) hide show
  1. package/LICENSE +6 -0
  2. package/README.md +56 -8
  3. package/dist/application/ports/out/index.d.ts +1 -2
  4. package/dist/application/ports/out/index.d.ts.map +1 -1
  5. package/dist/application/ports/out/symbol-reference-index.port.d.ts +74 -0
  6. package/dist/application/ports/out/symbol-reference-index.port.d.ts.map +1 -0
  7. package/dist/application/use-cases/get-architecture-graph.use-case.d.ts +1 -1
  8. package/dist/application/use-cases/get-architecture-graph.use-case.d.ts.map +1 -1
  9. package/dist/application/use-cases/get-linter-report.use-case.d.ts +1 -1
  10. package/dist/application/use-cases/get-linter-report.use-case.d.ts.map +1 -1
  11. package/dist/application/use-cases/index.d.ts +0 -1
  12. package/dist/application/use-cases/index.d.ts.map +1 -1
  13. package/dist/application/use-cases/refactoring-impact.use-case.d.ts +24 -6
  14. package/dist/application/use-cases/refactoring-impact.use-case.d.ts.map +1 -1
  15. package/dist/arch-linter-bin.d.ts +19 -3
  16. package/dist/arch-linter-bin.d.ts.map +1 -1
  17. package/dist/cli.js +2905 -5399
  18. package/dist/cli.js.map +1 -1
  19. package/dist/commands/add/validate.d.ts.map +1 -1
  20. package/dist/commands/adopt/index.d.ts +24 -0
  21. package/dist/commands/adopt/index.d.ts.map +1 -0
  22. package/dist/commands/bootstrap/index.d.ts +41 -0
  23. package/dist/commands/bootstrap/index.d.ts.map +1 -0
  24. package/dist/commands/bootstrap.d.ts +30 -0
  25. package/dist/commands/bootstrap.d.ts.map +1 -0
  26. package/dist/commands/report/baseline-read.d.ts +12 -0
  27. package/dist/commands/report/baseline-read.d.ts.map +1 -0
  28. package/dist/commands/report/build-report.d.ts +13 -0
  29. package/dist/commands/report/build-report.d.ts.map +1 -0
  30. package/dist/commands/report/context-map.d.ts +9 -0
  31. package/dist/commands/report/context-map.d.ts.map +1 -0
  32. package/dist/commands/report/exec-git.d.ts +3 -0
  33. package/dist/commands/report/exec-git.d.ts.map +1 -0
  34. package/dist/commands/report/handoff.d.ts +3 -0
  35. package/dist/commands/report/handoff.d.ts.map +1 -0
  36. package/dist/commands/report/index.d.ts +14 -0
  37. package/dist/commands/report/index.d.ts.map +1 -0
  38. package/dist/commands/report/lint-collect.d.ts +4 -0
  39. package/dist/commands/report/lint-collect.d.ts.map +1 -0
  40. package/dist/commands/report/ratchet-trend.d.ts +3 -0
  41. package/dist/commands/report/ratchet-trend.d.ts.map +1 -0
  42. package/dist/commands/report/render-html.d.ts +3 -0
  43. package/dist/commands/report/render-html.d.ts.map +1 -0
  44. package/dist/commands/report/render-markdown.d.ts +3 -0
  45. package/dist/commands/report/render-markdown.d.ts.map +1 -0
  46. package/dist/commands/report/types.d.ts +52 -0
  47. package/dist/commands/report/types.d.ts.map +1 -0
  48. package/dist/commands/report/zip-store.d.ts +10 -0
  49. package/dist/commands/report/zip-store.d.ts.map +1 -0
  50. package/dist/commands/shared/detect-workspaces.d.ts +12 -0
  51. package/dist/commands/shared/detect-workspaces.d.ts.map +1 -0
  52. package/dist/commands/shared/index.d.ts +1 -1
  53. package/dist/commands/shared/index.d.ts.map +1 -1
  54. package/dist/commands/shared/project-root.d.ts +7 -0
  55. package/dist/commands/shared/project-root.d.ts.map +1 -1
  56. package/dist/domain/services/emission-plan-builder.d.ts +14 -3
  57. package/dist/domain/services/emission-plan-builder.d.ts.map +1 -1
  58. package/dist/domain/services/impact-analysis.types.d.ts +6 -1
  59. package/dist/domain/services/impact-analysis.types.d.ts.map +1 -1
  60. package/dist/domain/services/index.d.ts +2 -0
  61. package/dist/domain/services/index.d.ts.map +1 -1
  62. package/dist/domain/services/layer-classifier.d.ts +53 -2
  63. package/dist/domain/services/layer-classifier.d.ts.map +1 -1
  64. package/dist/domain/services/layer-dir-resolver.d.ts +63 -0
  65. package/dist/domain/services/layer-dir-resolver.d.ts.map +1 -0
  66. package/dist/domain/services/name-normalizer.d.ts +35 -0
  67. package/dist/domain/services/name-normalizer.d.ts.map +1 -0
  68. package/dist/domain/services/stub-template-resolver.d.ts +33 -2
  69. package/dist/domain/services/stub-template-resolver.d.ts.map +1 -1
  70. package/dist/generators/apps-framework-templates.d.ts.map +1 -1
  71. package/dist/generators/architecture-file-templates.d.ts +2 -2
  72. package/dist/generators/architecture-file-templates.d.ts.map +1 -1
  73. package/dist/generators/architecture-files.d.ts.map +1 -1
  74. package/dist/generators/cross-context.d.ts.map +1 -1
  75. package/dist/generators/eslint.d.ts.map +1 -1
  76. package/dist/generators/layer-folders.d.ts.map +1 -1
  77. package/dist/generators/package-json.d.ts.map +1 -1
  78. package/dist/generators/root-file-templates.d.ts +1 -1
  79. package/dist/generators/root-file-templates.d.ts.map +1 -1
  80. package/dist/generators/root-files.d.ts.map +1 -1
  81. package/dist/generators/stubs.d.ts +4 -1
  82. package/dist/generators/stubs.d.ts.map +1 -1
  83. package/dist/index.d.ts +23 -3
  84. package/dist/index.d.ts.map +1 -1
  85. package/dist/index.js +581 -4770
  86. package/dist/index.js.map +1 -1
  87. package/dist/infrastructure/adapters/index.d.ts +1 -0
  88. package/dist/infrastructure/adapters/index.d.ts.map +1 -1
  89. package/dist/infrastructure/adapters/ts-morph-symbol-index.adapter.d.ts +47 -0
  90. package/dist/infrastructure/adapters/ts-morph-symbol-index.adapter.d.ts.map +1 -0
  91. package/dist/infrastructure/config/layout-schema.d.ts +29 -0
  92. package/dist/infrastructure/config/layout-schema.d.ts.map +1 -0
  93. package/dist/infrastructure/config/load-layout-config.d.ts +8 -0
  94. package/dist/infrastructure/config/load-layout-config.d.ts.map +1 -0
  95. package/dist/linter.d.ts +24 -0
  96. package/dist/linter.d.ts.map +1 -1
  97. package/dist/manifest-service.d.ts.map +1 -1
  98. package/dist/refactoring/impact-analyzer.d.ts +7 -2
  99. package/dist/refactoring/impact-analyzer.d.ts.map +1 -1
  100. package/dist/sync-engine.d.ts.map +1 -1
  101. package/dist/templates/adobe-creative-production/files/src/domain/ports/out/creative-production.port.ts +2 -4
  102. package/dist/templates/adobe-creative-production/files/src/infrastructure/adobe/creative-production/creative-production.adapter.ts +8 -7
  103. package/dist/templates/adobe-express/files/src/domain/ports/out/express.port.ts +2 -4
  104. package/dist/templates/adobe-express/files/src/infrastructure/adobe/express/express.adapter.ts +9 -8
  105. package/dist/templates/adobe-firefly-composite/files/src/domain/ports/out/composite.port.ts +2 -4
  106. package/dist/templates/adobe-firefly-composite/files/src/infrastructure/adobe/composite/composite.adapter.ts +12 -12
  107. package/dist/templates/adobe-firefly-content-tagging/files/src/domain/ports/out/content-tagging.port.ts +2 -4
  108. package/dist/templates/adobe-firefly-content-tagging/files/src/infrastructure/adobe/content-tagging/content-tagging.adapter.ts +6 -5
  109. package/dist/templates/adobe-firefly-core/README.md +1 -1
  110. package/dist/templates/adobe-firefly-core/files/src/domain/errors/creative-service-error.ts +62 -0
  111. package/dist/templates/adobe-firefly-core/files/src/infrastructure/adobe/errors/to-creative-service-error.ts +45 -0
  112. package/dist/templates/adobe-firefly-core/files/src/infrastructure/adobe/index.ts +9 -0
  113. package/dist/templates/adobe-firefly-core/manifest.json +2 -0
  114. package/dist/templates/adobe-firefly-custom-models/files/src/domain/ports/out/custom-model.port.ts +5 -7
  115. package/dist/templates/adobe-firefly-custom-models/files/src/infrastructure/adobe/custom-models/firefly-custom-model.adapter.ts +16 -15
  116. package/dist/templates/adobe-firefly-generate/files/src/domain/ports/out/image-generation.port.ts +6 -8
  117. package/dist/templates/adobe-firefly-generate/files/src/infrastructure/adobe/generate/firefly-generate.adapter.ts +14 -16
  118. package/dist/templates/adobe-firefly-media/files/src/domain/ports/out/media-generation.port.ts +6 -8
  119. package/dist/templates/adobe-firefly-media/files/src/infrastructure/adobe/media/firefly-media.adapter.ts +11 -10
  120. package/dist/templates/adobe-firefly-upscale/files/src/domain/ports/out/upscale.port.ts +2 -4
  121. package/dist/templates/adobe-firefly-upscale/files/src/infrastructure/adobe/upscale/upscale.adapter.ts +13 -11
  122. package/dist/templates/adobe-illustrator/files/src/domain/ports/out/illustrator.port.ts +4 -6
  123. package/dist/templates/adobe-illustrator/files/src/infrastructure/adobe/illustrator/illustrator.adapter.ts +17 -15
  124. package/dist/templates/adobe-indesign/files/src/domain/ports/out/indesign.port.ts +4 -6
  125. package/dist/templates/adobe-indesign/files/src/infrastructure/adobe/indesign/indesign.adapter.ts +10 -9
  126. package/dist/templates/adobe-lightroom/files/src/domain/ports/out/lightroom.port.ts +4 -6
  127. package/dist/templates/adobe-lightroom/files/src/infrastructure/adobe/lightroom/lightroom.adapter.ts +10 -9
  128. package/dist/templates/adobe-photoshop/files/src/domain/ports/out/photoshop-automation.port.ts +6 -8
  129. package/dist/templates/adobe-photoshop/files/src/infrastructure/adobe/photoshop/photoshop-automation.adapter.ts +12 -11
  130. package/dist/templates/adobe-substance-3d/files/src/domain/ports/out/substance-3d.port.ts +4 -6
  131. package/dist/templates/adobe-substance-3d/files/src/infrastructure/adobe/substance-3d/substance-3d.adapter.ts +10 -9
  132. package/dist/templates/agents-md/files/AGENTS.md +5 -5
  133. package/dist/templates/bedrock-agentcore-runtime/files/src/application/ports/agent-runtime.port.ts +25 -0
  134. package/dist/templates/bedrock-agentcore-runtime/files/src/infrastructure/agentcore/http/invocations.handler.ts +1 -1
  135. package/dist/templates/bedrock-agentcore-runtime/files/src/infrastructure/agentcore/http/server.ts +1 -1
  136. package/dist/templates/bedrock-agentcore-runtime/files/src/infrastructure/agentcore/runtime/payload.ts +5 -22
  137. package/dist/templates/bedrock-agentcore-runtime/manifest.json +1 -0
  138. package/dist/templates/ci-github-actions/README.md +13 -7
  139. package/dist/templates/ci-github-actions/files/.github/dependabot.yml +9 -2
  140. package/dist/templates/ci-github-actions/files/.github/workflows/ci.yml +18 -14
  141. package/dist/templates/ci-github-actions/files/.github/workflows/deploy-fly.yml +12 -6
  142. package/dist/templates/ci-github-actions/files/.github/workflows/deploy-railway.yml +14 -8
  143. package/dist/templates/ci-github-actions/files/.github/workflows/deploy-vercel.yml +29 -8
  144. package/dist/templates/ci-github-actions/files/.github/workflows/deploy-vps.yml +14 -8
  145. package/dist/templates/ci-github-actions/files/.github/workflows/preview.yml +34 -18
  146. package/dist/templates/ci-github-actions/manifest.json +2 -2
  147. package/dist/templates/docker/README.md +3 -0
  148. package/dist/templates/docker/files/.github/workflows/docker-build.yml +15 -6
  149. package/dist/templates/docker/manifest.json +1 -0
  150. package/dist/templates/llm-adapter/files/src/domain/errors/llm-error.ts +35 -0
  151. package/dist/templates/llm-adapter/files/src/domain/ports/out/llm-client.port.ts +1 -1
  152. package/dist/templates/llm-adapter/files/src/infrastructure/llm/adapters/anthropic-llm-client.adapter.ts +1 -1
  153. package/dist/templates/llm-adapter/files/src/infrastructure/llm/adapters/azure-openai-llm-client.adapter.ts +1 -1
  154. package/dist/templates/llm-adapter/files/src/infrastructure/llm/adapters/ollama-llm-client.adapter.ts +1 -1
  155. package/dist/templates/llm-adapter/files/src/infrastructure/llm/adapters/openai-llm-client.adapter.ts +1 -1
  156. package/dist/templates/llm-adapter/files/src/infrastructure/llm/adapters/xai-llm-client.adapter.ts +1 -1
  157. package/dist/templates/llm-adapter/files/src/infrastructure/llm/errors/llm-errors.ts +9 -23
  158. package/dist/templates/llm-adapter/files/src/infrastructure/llm/index.ts +4 -3
  159. package/dist/templates/llm-adapter/files/src/infrastructure/llm/router/llm-router.ts +1 -1
  160. package/dist/templates/llm-adapter/files/src/infrastructure/llm/utils/retry.ts +1 -1
  161. package/dist/templates/llm-adapter/files/src/infrastructure/llm/utils/structured-output.ts +1 -1
  162. package/dist/templates/llm-adapter/manifest.json +1 -0
  163. package/dist/templates/llm-adapter-bedrock/files/src/infrastructure/llm/adapters/bedrock-llm-client.adapter.ts +1 -1
  164. package/dist/templates/llm-adapter-bedrock/files/src/infrastructure/llm/errors/bedrock-errors.ts +1 -1
  165. package/dist/templates/mcp-server/README.md +1 -1
  166. package/dist/templates/mcp-server-http/README.md +1 -1
  167. package/package.json +6 -5
  168. package/dist/application/ports/out/project-configuration-read.port.d.ts +0 -9
  169. package/dist/application/ports/out/project-configuration-read.port.d.ts.map +0 -1
  170. package/dist/application/ports/out/symbol-reference-provider.port.d.ts +0 -10
  171. package/dist/application/ports/out/symbol-reference-provider.port.d.ts.map +0 -1
  172. package/dist/application/use-cases/get-manifest-resource.use-case.d.ts +0 -8
  173. package/dist/application/use-cases/get-manifest-resource.use-case.d.ts.map +0 -1
  174. package/dist/generators/validators/index.d.ts +0 -11
  175. package/dist/generators/validators/index.d.ts.map +0 -1
  176. package/dist/generators/validators/validate-dependencies.d.ts +0 -7
  177. package/dist/generators/validators/validate-dependencies.d.ts.map +0 -1
  178. package/dist/generators/validators/validate-manifest-sync.d.ts +0 -5
  179. package/dist/generators/validators/validate-manifest-sync.d.ts.map +0 -1
  180. package/dist/generators/validators/validate-port-adapter.d.ts +0 -5
  181. package/dist/generators/validators/validate-port-adapter.d.ts.map +0 -1
  182. package/dist/generators/validators/validation-types.d.ts +0 -20
  183. package/dist/generators/validators/validation-types.d.ts.map +0 -1
  184. package/dist/generators/validators.d.ts +0 -7
  185. package/dist/generators/validators.d.ts.map +0 -1
@@ -1,15 +1,21 @@
1
1
  name: Deploy to Railway
2
2
 
3
- # Production deploy on every merge to main. Railway natively runs background
4
- # worker services alongside the web service — pair with the bullmq template's
5
- # separate-worker mode by adding a second deploy step targeting that service.
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
- # TODO: add in GitHub repo → Settings → Secrets and variables → Actions:
8
- # - RAILWAY_TOKEN (secret) Railway → Account → Tokens
9
- # - RAILWAY_SERVICE (variable) the service name to redeploy (optional)
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
- push:
12
- branches: [main]
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 on every merge to main.
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
- # TODO: add these in GitHub repo → Settings → Secrets and variables → Actions:
6
- # - VERCEL_TOKEN (secret) vercel.com → Account Settings → Tokens
7
- # - VERCEL_ORG_ID (secret) from `vercel link` → .vercel/project.json
8
- # - VERCEL_PROJECT_ID (secret) from `vercel link` → .vercel/project.json
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
- push:
11
- branches: [main]
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: "yarn"
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 on every merge to main via SSH + pull/build/restart.
4
- # Minimal-infrastructure option for a plain VPS running pm2.
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
- # TODO: add in GitHub repo → Settings → Secrets and variables → Actions:
7
- # - VPS_HOST (secret) hostname or IP
8
- # - VPS_USER (secret) ssh user
9
- # - VPS_SSH_KEY (secret) private key with deploy access
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
- push:
12
- branches: [main]
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
- # TODO: reuse the same secrets as deploy-vercel.yml — VERCEL_TOKEN,
7
- # VERCEL_ORG_ID, VERCEL_PROJECT_ID.
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
- # Secrets are not exposed to PRs from forks, so this job would always fail
26
- # for external contributors — skip it there instead.
27
- if: github.event.pull_request.head.repo.full_name == github.repository
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
- - uses: actions/setup-node@v5
35
- with:
36
- node-version: "{node_version}"
37
- # No `cache: yarn` here. setup-node's yarn cache runs the runner's
38
- # global Yarn (Classic 1.22) to locate the store — BEFORE the Corepack
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
- "Merge to main and verify the deploy workflow triggers (only the workflow for your chosen deploy_target was generated)",
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 on every merge to main, and builds
4
- # (without pushing) on PRs so a broken Dockerfile is caught before merge.
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
- push:
11
- branches: [main]
12
- pull_request:
13
- branches: [main]
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 "../../../infrastructure/llm/errors/llm-errors";
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 "../errors/llm-errors";
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 "../errors/llm-errors";
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 "../errors/llm-errors";
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 "../errors/llm-errors";
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 "../errors/llm-errors";
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
- export type LLMErrorKind =
2
- | "auth"
3
- | "rate-limit"
4
- | "service"
5
- | "timeout"
6
- | "parsing"
7
- | "unknown";
8
-
9
- export class LLMError extends Error {
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 "../errors/llm-errors";
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";
@@ -1,4 +1,4 @@
1
- import { isRetryable, type LLMError } from "../errors/llm-errors";
1
+ import { isRetryable, type LLMError } from "../../../domain/errors/llm-error";
2
2
  import { parseIntSafe } from "./parse-env";
3
3
  import type { Result } from "../../../../shared/result";
4
4
 
@@ -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 "../errors/llm-errors";
5
+ import type { LLMError } from "../../../domain/errors/llm-error";
6
6
 
7
7
  const JSON_FENCE_RE = /```(?:json)?\s*([\s\S]*?)```/i;
8
8
 
@@ -84,6 +84,7 @@
84
84
  "LLM_MAX_RETRIES"
85
85
  ],
86
86
  "outputs": [
87
+ "src/domain/errors/llm-error.ts",
87
88
  "src/domain/ports/out/llm-client.port.ts",
88
89
  "src/infrastructure/llm/constants/models.ts",
89
90
  "src/infrastructure/llm/constants/capabilities.ts",
@@ -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 "../errors/llm-errors";
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";
@@ -1,6 +1,6 @@
1
+ import { LLMError } from "../../../domain/errors/llm-error";
1
2
  import {
2
3
  LLMAuthError,
3
- LLMError,
4
4
  LLMRateLimitError,
5
5
  LLMServiceError,
6
6
  } from "./llm-errors";
@@ -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` | `node:test` scaffolds — emitted **only under `--with-tests`** |
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) | `node:test`; pattern-gated behind `--with-tests` (`99-gap-analysis.md`) |
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.9.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": "SEE LICENSE IN 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": ">=20"
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.0",
42
- "ts-morph": "^22.0.0"
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