ddd-ts-kit 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +774 -2
- package/dist/alias/alias-problem.d.ts +3 -0
- package/dist/alias/alias-problem.d.ts.map +1 -0
- package/dist/alias/alias-problem.js +18 -0
- package/dist/alias/alias-problem.js.map +1 -0
- package/dist/alias/alias-root.d.ts +8 -0
- package/dist/alias/alias-root.d.ts.map +1 -0
- package/dist/alias/alias-root.js +2 -0
- package/dist/alias/alias-root.js.map +1 -0
- package/dist/alias/alias-roots.d.ts +12 -0
- package/dist/alias/alias-roots.d.ts.map +1 -0
- package/dist/alias/alias-roots.js +15 -0
- package/dist/alias/alias-roots.js.map +1 -0
- package/dist/alias/build-layout.d.ts +6 -0
- package/dist/alias/build-layout.d.ts.map +1 -0
- package/dist/alias/build-layout.js +2 -0
- package/dist/alias/build-layout.js.map +1 -0
- package/dist/alias/compiler-paths.d.ts +8 -0
- package/dist/alias/compiler-paths.d.ts.map +1 -0
- package/dist/alias/compiler-paths.js +9 -0
- package/dist/alias/compiler-paths.js.map +1 -0
- package/dist/alias/context-alias.d.ts +4 -0
- package/dist/alias/context-alias.d.ts.map +1 -0
- package/dist/alias/context-alias.js +7 -0
- package/dist/alias/context-alias.js.map +1 -0
- package/dist/alias/default-build-layout.d.ts +4 -0
- package/dist/alias/default-build-layout.d.ts.map +1 -0
- package/dist/alias/default-build-layout.js +3 -0
- package/dist/alias/default-build-layout.js.map +1 -0
- package/dist/alias/directory-alias.d.ts +4 -0
- package/dist/alias/directory-alias.d.ts.map +1 -0
- package/dist/alias/directory-alias.js +11 -0
- package/dist/alias/directory-alias.js.map +1 -0
- package/dist/alias/fixed-alias-roots.d.ts +19 -0
- package/dist/alias/fixed-alias-roots.d.ts.map +1 -0
- package/dist/alias/fixed-alias-roots.js +10 -0
- package/dist/alias/fixed-alias-roots.js.map +1 -0
- package/dist/alias/index.d.ts +13 -0
- package/dist/alias/index.d.ts.map +1 -0
- package/dist/alias/index.js +11 -0
- package/dist/alias/index.js.map +1 -0
- package/dist/alias/module-name-mapper.d.ts +7 -0
- package/dist/alias/module-name-mapper.d.ts.map +1 -0
- package/dist/alias/module-name-mapper.js +12 -0
- package/dist/alias/module-name-mapper.js.map +1 -0
- package/dist/alias/platform-alias.d.ts +4 -0
- package/dist/alias/platform-alias.d.ts.map +1 -0
- package/dist/alias/platform-alias.js +7 -0
- package/dist/alias/platform-alias.js.map +1 -0
- package/dist/alias/to-alias.d.ts +7 -0
- package/dist/alias/to-alias.d.ts.map +1 -0
- package/dist/alias/to-alias.js +13 -0
- package/dist/alias/to-alias.js.map +1 -0
- package/dist/bin.d.ts +3 -0
- package/dist/bin.d.ts.map +1 -0
- package/dist/bin.js +4 -0
- package/dist/bin.js.map +1 -0
- package/dist/build/computed-imports.d.ts +8 -0
- package/dist/build/computed-imports.d.ts.map +1 -0
- package/dist/build/computed-imports.js +15 -0
- package/dist/build/computed-imports.js.map +1 -0
- package/dist/build/emitted-place.d.ts +9 -0
- package/dist/build/emitted-place.d.ts.map +1 -0
- package/dist/build/emitted-place.js +2 -0
- package/dist/build/emitted-place.js.map +1 -0
- package/dist/build/emitted-specifier.d.ts +8 -0
- package/dist/build/emitted-specifier.d.ts.map +1 -0
- package/dist/build/emitted-specifier.js +28 -0
- package/dist/build/emitted-specifier.js.map +1 -0
- package/dist/build/index.d.ts +3 -0
- package/dist/build/index.d.ts.map +1 -0
- package/dist/build/index.js +3 -0
- package/dist/build/index.js.map +1 -0
- package/dist/build/rewrite-aliases.d.ts +15 -0
- package/dist/build/rewrite-aliases.d.ts.map +1 -0
- package/dist/build/rewrite-aliases.js +60 -0
- package/dist/build/rewrite-aliases.js.map +1 -0
- package/dist/build/rewrite-report.d.ts +11 -0
- package/dist/build/rewrite-report.d.ts.map +1 -0
- package/dist/build/rewrite-report.js +2 -0
- package/dist/build/rewrite-report.js.map +1 -0
- package/dist/build/rewrite-specifiers.d.ts +14 -0
- package/dist/build/rewrite-specifiers.d.ts.map +1 -0
- package/dist/build/rewrite-specifiers.js +32 -0
- package/dist/build/rewrite-specifiers.js.map +1 -0
- package/dist/build/rewritten.d.ts +9 -0
- package/dist/build/rewritten.d.ts.map +1 -0
- package/dist/build/rewritten.js +2 -0
- package/dist/build/rewritten.js.map +1 -0
- package/dist/build/specifier-literal.d.ts +8 -0
- package/dist/build/specifier-literal.d.ts.map +1 -0
- package/dist/build/specifier-literal.js +2 -0
- package/dist/build/specifier-literal.js.map +1 -0
- package/dist/build/specifier-literals.d.ts +10 -0
- package/dist/build/specifier-literals.d.ts.map +1 -0
- package/dist/build/specifier-literals.js +33 -0
- package/dist/build/specifier-literals.js.map +1 -0
- package/dist/check/alias/alias-files.d.ts +8 -0
- package/dist/check/alias/alias-files.d.ts.map +1 -0
- package/dist/check/alias/alias-files.js +8 -0
- package/dist/check/alias/alias-files.js.map +1 -0
- package/dist/check/alias/build-layout-of.d.ts +5 -0
- package/dist/check/alias/build-layout-of.d.ts.map +1 -0
- package/dist/check/alias/build-layout-of.js +11 -0
- package/dist/check/alias/build-layout-of.js.map +1 -0
- package/dist/check/alias/build-scripts.d.ts +5 -0
- package/dist/check/alias/build-scripts.d.ts.map +1 -0
- package/dist/check/alias/build-scripts.js +22 -0
- package/dist/check/alias/build-scripts.js.map +1 -0
- package/dist/check/alias/compiler-options-of.d.ts +8 -0
- package/dist/check/alias/compiler-options-of.d.ts.map +1 -0
- package/dist/check/alias/compiler-options-of.js +34 -0
- package/dist/check/alias/compiler-options-of.js.map +1 -0
- package/dist/check/alias/compiler-paths.d.ts +8 -0
- package/dist/check/alias/compiler-paths.d.ts.map +1 -0
- package/dist/check/alias/compiler-paths.js +42 -0
- package/dist/check/alias/compiler-paths.js.map +1 -0
- package/dist/check/alias/configured-alias.d.ts +5 -0
- package/dist/check/alias/configured-alias.d.ts.map +1 -0
- package/dist/check/alias/configured-alias.js +15 -0
- package/dist/check/alias/configured-alias.js.map +1 -0
- package/dist/check/alias/graph-tools.d.ts +5 -0
- package/dist/check/alias/graph-tools.d.ts.map +1 -0
- package/dist/check/alias/graph-tools.js +28 -0
- package/dist/check/alias/graph-tools.js.map +1 -0
- package/dist/check/alias/inspected.d.ts +10 -0
- package/dist/check/alias/inspected.d.ts.map +1 -0
- package/dist/check/alias/inspected.js +2 -0
- package/dist/check/alias/inspected.js.map +1 -0
- package/dist/check/alias/manifest-scripts.d.ts +11 -0
- package/dist/check/alias/manifest-scripts.d.ts.map +1 -0
- package/dist/check/alias/manifest-scripts.js +19 -0
- package/dist/check/alias/manifest-scripts.js.map +1 -0
- package/dist/check/alias/parse-jsonc.d.ts +3 -0
- package/dist/check/alias/parse-jsonc.d.ts.map +1 -0
- package/dist/check/alias/parse-jsonc.js +17 -0
- package/dist/check/alias/parse-jsonc.js.map +1 -0
- package/dist/check/alias/read-project-file.d.ts +4 -0
- package/dist/check/alias/read-project-file.d.ts.map +1 -0
- package/dist/check/alias/read-project-file.js +12 -0
- package/dist/check/alias/read-project-file.js.map +1 -0
- package/dist/check/alias/source-runners.d.ts +5 -0
- package/dist/check/alias/source-runners.d.ts.map +1 -0
- package/dist/check/alias/source-runners.js +21 -0
- package/dist/check/alias/source-runners.js.map +1 -0
- package/dist/check/alias/test-runners.d.ts +8 -0
- package/dist/check/alias/test-runners.d.ts.map +1 -0
- package/dist/check/alias/test-runners.js +53 -0
- package/dist/check/alias/test-runners.js.map +1 -0
- package/dist/check/canonical/context-doc-headings.d.ts +2 -0
- package/dist/check/canonical/context-doc-headings.d.ts.map +1 -0
- package/dist/check/canonical/context-doc-headings.js +9 -0
- package/dist/check/canonical/context-doc-headings.js.map +1 -0
- package/dist/check/canonical/is-canonical-directory.d.ts +2 -0
- package/dist/check/canonical/is-canonical-directory.d.ts.map +1 -0
- package/dist/check/canonical/is-canonical-directory.js +17 -0
- package/dist/check/canonical/is-canonical-directory.js.map +1 -0
- package/dist/check/canonical/matches-directory.d.ts +3 -0
- package/dist/check/canonical/matches-directory.d.ts.map +1 -0
- package/dist/check/canonical/matches-directory.js +7 -0
- package/dist/check/canonical/matches-directory.js.map +1 -0
- package/dist/check/canonical/open-directories.d.ts +3 -0
- package/dist/check/canonical/open-directories.d.ts.map +1 -0
- package/dist/check/canonical/open-directories.js +3 -0
- package/dist/check/canonical/open-directories.js.map +1 -0
- package/dist/check/canonical/role-of.d.ts +4 -0
- package/dist/check/canonical/role-of.d.ts.map +1 -0
- package/dist/check/canonical/role-of.js +7 -0
- package/dist/check/canonical/role-of.js.map +1 -0
- package/dist/check/canonical/role.d.ts +11 -0
- package/dist/check/canonical/role.d.ts.map +1 -0
- package/dist/check/canonical/role.js +2 -0
- package/dist/check/canonical/role.js.map +1 -0
- package/dist/check/canonical/roles.d.ts +4 -0
- package/dist/check/canonical/roles.d.ts.map +1 -0
- package/dist/check/canonical/roles.js +46 -0
- package/dist/check/canonical/roles.js.map +1 -0
- package/dist/check/catalogue/architecture-rules.d.ts +4 -0
- package/dist/check/catalogue/architecture-rules.d.ts.map +1 -0
- package/dist/check/catalogue/architecture-rules.js +122 -0
- package/dist/check/catalogue/architecture-rules.js.map +1 -0
- package/dist/check/catalogue/clean-rule-ids.d.ts +3 -0
- package/dist/check/catalogue/clean-rule-ids.d.ts.map +1 -0
- package/dist/check/catalogue/clean-rule-ids.js +14 -0
- package/dist/check/catalogue/clean-rule-ids.js.map +1 -0
- package/dist/check/catalogue/default-severities.d.ts +4 -0
- package/dist/check/catalogue/default-severities.d.ts.map +1 -0
- package/dist/check/catalogue/default-severities.js +11 -0
- package/dist/check/catalogue/default-severities.js.map +1 -0
- package/dist/check/catalogue/delegated-rules.d.ts +15 -0
- package/dist/check/catalogue/delegated-rules.d.ts.map +1 -0
- package/dist/check/catalogue/delegated-rules.js +21 -0
- package/dist/check/catalogue/delegated-rules.js.map +1 -0
- package/dist/check/catalogue/eslint-authority.d.ts +2 -0
- package/dist/check/catalogue/eslint-authority.d.ts.map +1 -0
- package/dist/check/catalogue/eslint-authority.js +2 -0
- package/dist/check/catalogue/eslint-authority.js.map +1 -0
- package/dist/check/catalogue/eslint-only-rules.d.ts +9 -0
- package/dist/check/catalogue/eslint-only-rules.d.ts.map +1 -0
- package/dist/check/catalogue/eslint-only-rules.js +24 -0
- package/dist/check/catalogue/eslint-only-rules.js.map +1 -0
- package/dist/check/catalogue/formatter-rule.d.ts +9 -0
- package/dist/check/catalogue/formatter-rule.d.ts.map +1 -0
- package/dist/check/catalogue/formatter-rule.js +9 -0
- package/dist/check/catalogue/formatter-rule.js.map +1 -0
- package/dist/check/catalogue/known-rule-ids.d.ts +3 -0
- package/dist/check/catalogue/known-rule-ids.d.ts.map +1 -0
- package/dist/check/catalogue/known-rule-ids.js +5 -0
- package/dist/check/catalogue/known-rule-ids.js.map +1 -0
- package/dist/check/catalogue/rule-ids.d.ts +3 -0
- package/dist/check/catalogue/rule-ids.d.ts.map +1 -0
- package/dist/check/catalogue/rule-ids.js +9 -0
- package/dist/check/catalogue/rule-ids.js.map +1 -0
- package/dist/check/catalogue/rules.d.ts +3 -0
- package/dist/check/catalogue/rules.d.ts.map +1 -0
- package/dist/check/catalogue/rules.js +4 -0
- package/dist/check/catalogue/rules.js.map +1 -0
- package/dist/check/catalogue/suppression-rule.d.ts +9 -0
- package/dist/check/catalogue/suppression-rule.d.ts.map +1 -0
- package/dist/check/catalogue/suppression-rule.js +10 -0
- package/dist/check/catalogue/suppression-rule.js.map +1 -0
- package/dist/check/commands/changed-files.d.ts +3 -0
- package/dist/check/commands/changed-files.d.ts.map +1 -0
- package/dist/check/commands/changed-files.js +21 -0
- package/dist/check/commands/changed-files.js.map +1 -0
- package/dist/check/commands/check-command.d.ts +3 -0
- package/dist/check/commands/check-command.d.ts.map +1 -0
- package/dist/check/commands/check-command.js +63 -0
- package/dist/check/commands/check-command.js.map +1 -0
- package/dist/check/commands/check-file-command.d.ts +3 -0
- package/dist/check/commands/check-file-command.d.ts.map +1 -0
- package/dist/check/commands/check-file-command.js +34 -0
- package/dist/check/commands/check-file-command.js.map +1 -0
- package/dist/check/commands/explain-command.d.ts +3 -0
- package/dist/check/commands/explain-command.d.ts.map +1 -0
- package/dist/check/commands/explain-command.js +59 -0
- package/dist/check/commands/explain-command.js.map +1 -0
- package/dist/check/commands/known-rules.d.ts +3 -0
- package/dist/check/commands/known-rules.d.ts.map +1 -0
- package/dist/check/commands/known-rules.js +16 -0
- package/dist/check/commands/known-rules.js.map +1 -0
- package/dist/check/commands/rules-command.d.ts +3 -0
- package/dist/check/commands/rules-command.d.ts.map +1 -0
- package/dist/check/commands/rules-command.js +38 -0
- package/dist/check/commands/rules-command.js.map +1 -0
- package/dist/check/commands/self-check.d.ts +5 -0
- package/dist/check/commands/self-check.d.ts.map +1 -0
- package/dist/check/commands/self-check.js +23 -0
- package/dist/check/commands/self-check.js.map +1 -0
- package/dist/check/comments/comment-lines.d.ts +14 -0
- package/dist/check/comments/comment-lines.d.ts.map +1 -0
- package/dist/check/comments/comment-lines.js +34 -0
- package/dist/check/comments/comment-lines.js.map +1 -0
- package/dist/check/comments/is-directive.d.ts +3 -0
- package/dist/check/comments/is-directive.d.ts.map +1 -0
- package/dist/check/comments/is-directive.js +6 -0
- package/dist/check/comments/is-directive.js.map +1 -0
- package/dist/check/comments/looks-like-code.d.ts +2 -0
- package/dist/check/comments/looks-like-code.d.ts.map +1 -0
- package/dist/check/comments/looks-like-code.js +42 -0
- package/dist/check/comments/looks-like-code.js.map +1 -0
- package/dist/check/comments/restates-name.d.ts +3 -0
- package/dist/check/comments/restates-name.d.ts.map +1 -0
- package/dist/check/comments/restates-name.js +49 -0
- package/dist/check/comments/restates-name.js.map +1 -0
- package/dist/check/configuration/config-inspection.d.ts +28 -0
- package/dist/check/configuration/config-inspection.d.ts.map +1 -0
- package/dist/check/configuration/config-inspection.js +141 -0
- package/dist/check/configuration/config-inspection.js.map +1 -0
- package/dist/check/configuration/raw-config.d.ts +4 -0
- package/dist/check/configuration/raw-config.d.ts.map +1 -0
- package/dist/check/configuration/raw-config.js +12 -0
- package/dist/check/configuration/raw-config.js.map +1 -0
- package/dist/check/coverage/ignore-hints.d.ts +6 -0
- package/dist/check/coverage/ignore-hints.d.ts.map +1 -0
- package/dist/check/coverage/ignore-hints.js +30 -0
- package/dist/check/coverage/ignore-hints.js.map +1 -0
- package/dist/check/coverage/runner-settings.d.ts +8 -0
- package/dist/check/coverage/runner-settings.d.ts.map +1 -0
- package/dist/check/coverage/runner-settings.js +85 -0
- package/dist/check/coverage/runner-settings.js.map +1 -0
- package/dist/check/coverage/script-flags.d.ts +8 -0
- package/dist/check/coverage/script-flags.d.ts.map +1 -0
- package/dist/check/coverage/script-flags.js +29 -0
- package/dist/check/coverage/script-flags.js.map +1 -0
- package/dist/check/declarations/arguments-of.d.ts +6 -0
- package/dist/check/declarations/arguments-of.d.ts.map +1 -0
- package/dist/check/declarations/arguments-of.js +9 -0
- package/dist/check/declarations/arguments-of.js.map +1 -0
- package/dist/check/declarations/binding-call.d.ts +12 -0
- package/dist/check/declarations/binding-call.d.ts.map +1 -0
- package/dist/check/declarations/binding-call.js +2 -0
- package/dist/check/declarations/binding-call.js.map +1 -0
- package/dist/check/declarations/binding-calls.d.ts +9 -0
- package/dist/check/declarations/binding-calls.d.ts.map +1 -0
- package/dist/check/declarations/binding-calls.js +36 -0
- package/dist/check/declarations/binding-calls.js.map +1 -0
- package/dist/check/declarations/classes-of.d.ts +9 -0
- package/dist/check/declarations/classes-of.d.ts.map +1 -0
- package/dist/check/declarations/classes-of.js +84 -0
- package/dist/check/declarations/classes-of.js.map +1 -0
- package/dist/check/declarations/declarations-entry.d.ts +2 -0
- package/dist/check/declarations/declarations-entry.d.ts.map +1 -0
- package/dist/check/declarations/declarations-entry.js +2 -0
- package/dist/check/declarations/declarations-entry.js.map +1 -0
- package/dist/check/declarations/declared-as.d.ts +9 -0
- package/dist/check/declarations/declared-as.d.ts.map +1 -0
- package/dist/check/declarations/declared-as.js +11 -0
- package/dist/check/declarations/declared-as.js.map +1 -0
- package/dist/check/declarations/declared-class.d.ts +11 -0
- package/dist/check/declarations/declared-class.d.ts.map +1 -0
- package/dist/check/declarations/declared-class.js +2 -0
- package/dist/check/declarations/declared-class.js.map +1 -0
- package/dist/check/declarations/declared-event-handlers.d.ts +19 -0
- package/dist/check/declarations/declared-event-handlers.d.ts.map +1 -0
- package/dist/check/declarations/declared-event-handlers.js +16 -0
- package/dist/check/declarations/declared-event-handlers.js.map +1 -0
- package/dist/check/declarations/decoration.d.ts +10 -0
- package/dist/check/declarations/decoration.d.ts.map +1 -0
- package/dist/check/declarations/decoration.js +2 -0
- package/dist/check/declarations/decoration.js.map +1 -0
- package/dist/check/declarations/dependency-list.d.ts +11 -0
- package/dist/check/declarations/dependency-list.d.ts.map +1 -0
- package/dist/check/declarations/dependency-list.js +2 -0
- package/dist/check/declarations/dependency-list.js.map +1 -0
- package/dist/check/declarations/dependency-lists.d.ts +8 -0
- package/dist/check/declarations/dependency-lists.d.ts.map +1 -0
- package/dist/check/declarations/dependency-lists.js +27 -0
- package/dist/check/declarations/dependency-lists.js.map +1 -0
- package/dist/check/declarations/literal-in.d.ts +5 -0
- package/dist/check/declarations/literal-in.d.ts.map +1 -0
- package/dist/check/declarations/literal-in.js +6 -0
- package/dist/check/declarations/literal-in.js.map +1 -0
- package/dist/check/declarations/option-of.d.ts +11 -0
- package/dist/check/declarations/option-of.d.ts.map +1 -0
- package/dist/check/declarations/option-of.js +22 -0
- package/dist/check/declarations/option-of.js.map +1 -0
- package/dist/check/declarations/whole-literal.d.ts +5 -0
- package/dist/check/declarations/whole-literal.d.ts.map +1 -0
- package/dist/check/declarations/whole-literal.js +6 -0
- package/dist/check/declarations/whole-literal.js.map +1 -0
- package/dist/check/domain-events/adapter-folders.d.ts +14 -0
- package/dist/check/domain-events/adapter-folders.d.ts.map +1 -0
- package/dist/check/domain-events/adapter-folders.js +18 -0
- package/dist/check/domain-events/adapter-folders.js.map +1 -0
- package/dist/check/domain-events/event-handler.d.ts +10 -0
- package/dist/check/domain-events/event-handler.d.ts.map +1 -0
- package/dist/check/domain-events/event-handler.js +2 -0
- package/dist/check/domain-events/event-handler.js.map +1 -0
- package/dist/check/domain-events/event-handlers-of.d.ts +11 -0
- package/dist/check/domain-events/event-handlers-of.d.ts.map +1 -0
- package/dist/check/domain-events/event-handlers-of.js +57 -0
- package/dist/check/domain-events/event-handlers-of.js.map +1 -0
- package/dist/check/domain-events/handler-dependencies.d.ts +9 -0
- package/dist/check/domain-events/handler-dependencies.d.ts.map +1 -0
- package/dist/check/domain-events/handler-dependencies.js +50 -0
- package/dist/check/domain-events/handler-dependencies.js.map +1 -0
- package/dist/check/domain-events/handler-dependency.d.ts +8 -0
- package/dist/check/domain-events/handler-dependency.d.ts.map +1 -0
- package/dist/check/domain-events/handler-dependency.js +2 -0
- package/dist/check/domain-events/handler-dependency.js.map +1 -0
- package/dist/check/domain-events/is-registered-after-commit.d.ts +8 -0
- package/dist/check/domain-events/is-registered-after-commit.d.ts.map +1 -0
- package/dist/check/domain-events/is-registered-after-commit.js +34 -0
- package/dist/check/domain-events/is-registered-after-commit.js.map +1 -0
- package/dist/check/domain-events/refused-before-commit.d.ts +8 -0
- package/dist/check/domain-events/refused-before-commit.d.ts.map +1 -0
- package/dist/check/domain-events/refused-before-commit.js +37 -0
- package/dist/check/domain-events/refused-before-commit.js.map +1 -0
- package/dist/check/engine/check-result.d.ts +11 -0
- package/dist/check/engine/check-result.d.ts.map +1 -0
- package/dist/check/engine/check-result.js +2 -0
- package/dist/check/engine/check-result.js.map +1 -0
- package/dist/check/engine/format-check.d.ts +4 -0
- package/dist/check/engine/format-check.d.ts.map +1 -0
- package/dist/check/engine/format-check.js +65 -0
- package/dist/check/engine/format-check.js.map +1 -0
- package/dist/check/engine/run-check.d.ts +10 -0
- package/dist/check/engine/run-check.d.ts.map +1 -0
- package/dist/check/engine/run-check.js +26 -0
- package/dist/check/engine/run-check.js.map +1 -0
- package/dist/check/engine/summarize.d.ts +5 -0
- package/dist/check/engine/summarize.d.ts.map +1 -0
- package/dist/check/engine/summarize.js +12 -0
- package/dist/check/engine/summarize.js.map +1 -0
- package/dist/check/events/consumer-registrations.d.ts +18 -0
- package/dist/check/events/consumer-registrations.d.ts.map +1 -0
- package/dist/check/events/consumer-registrations.js +35 -0
- package/dist/check/events/consumer-registrations.js.map +1 -0
- package/dist/check/events/domain-event-names.d.ts +5 -0
- package/dist/check/events/domain-event-names.d.ts.map +1 -0
- package/dist/check/events/domain-event-names.js +7 -0
- package/dist/check/events/domain-event-names.js.map +1 -0
- package/dist/check/events/event-declarations.d.ts +15 -0
- package/dist/check/events/event-declarations.d.ts.map +1 -0
- package/dist/check/events/event-declarations.js +37 -0
- package/dist/check/events/event-declarations.js.map +1 -0
- package/dist/check/events/in-declaration.d.ts +3 -0
- package/dist/check/events/in-declaration.d.ts.map +1 -0
- package/dist/check/events/in-declaration.js +4 -0
- package/dist/check/events/in-declaration.js.map +1 -0
- package/dist/check/events/is-type-literal.d.ts +4 -0
- package/dist/check/events/is-type-literal.d.ts.map +1 -0
- package/dist/check/events/is-type-literal.js +6 -0
- package/dist/check/events/is-type-literal.js.map +1 -0
- package/dist/check/events/name-of-event-class.d.ts +4 -0
- package/dist/check/events/name-of-event-class.d.ts.map +1 -0
- package/dist/check/events/name-of-event-class.js +11 -0
- package/dist/check/events/name-of-event-class.js.map +1 -0
- package/dist/check/explain/authz-docs.d.ts +3 -0
- package/dist/check/explain/authz-docs.d.ts.map +1 -0
- package/dist/check/explain/authz-docs.js +46 -0
- package/dist/check/explain/authz-docs.js.map +1 -0
- package/dist/check/explain/clean-docs.d.ts +3 -0
- package/dist/check/explain/clean-docs.d.ts.map +1 -0
- package/dist/check/explain/clean-docs.js +39 -0
- package/dist/check/explain/clean-docs.js.map +1 -0
- package/dist/check/explain/context-docs.d.ts +3 -0
- package/dist/check/explain/context-docs.d.ts.map +1 -0
- package/dist/check/explain/context-docs.js +44 -0
- package/dist/check/explain/context-docs.js.map +1 -0
- package/dist/check/explain/events-docs.d.ts +3 -0
- package/dist/check/explain/events-docs.d.ts.map +1 -0
- package/dist/check/explain/events-docs.js +75 -0
- package/dist/check/explain/events-docs.js.map +1 -0
- package/dist/check/explain/imports-docs.d.ts +3 -0
- package/dist/check/explain/imports-docs.d.ts.map +1 -0
- package/dist/check/explain/imports-docs.js +31 -0
- package/dist/check/explain/imports-docs.js.map +1 -0
- package/dist/check/explain/language-docs.d.ts +3 -0
- package/dist/check/explain/language-docs.d.ts.map +1 -0
- package/dist/check/explain/language-docs.js +30 -0
- package/dist/check/explain/language-docs.js.map +1 -0
- package/dist/check/explain/layer-docs.d.ts +3 -0
- package/dist/check/explain/layer-docs.d.ts.map +1 -0
- package/dist/check/explain/layer-docs.js +39 -0
- package/dist/check/explain/layer-docs.js.map +1 -0
- package/dist/check/explain/layout-docs.d.ts +3 -0
- package/dist/check/explain/layout-docs.d.ts.map +1 -0
- package/dist/check/explain/layout-docs.js +73 -0
- package/dist/check/explain/layout-docs.js.map +1 -0
- package/dist/check/explain/ports-docs.d.ts +3 -0
- package/dist/check/explain/ports-docs.d.ts.map +1 -0
- package/dist/check/explain/ports-docs.js +68 -0
- package/dist/check/explain/ports-docs.js.map +1 -0
- package/dist/check/explain/rule-docs.d.ts +4 -0
- package/dist/check/explain/rule-docs.d.ts.map +1 -0
- package/dist/check/explain/rule-docs.js +30 -0
- package/dist/check/explain/rule-docs.js.map +1 -0
- package/dist/check/explain/scheduling-docs.d.ts +3 -0
- package/dist/check/explain/scheduling-docs.d.ts.map +1 -0
- package/dist/check/explain/scheduling-docs.js +37 -0
- package/dist/check/explain/scheduling-docs.js.map +1 -0
- package/dist/check/explain/standard-docs.d.ts +3 -0
- package/dist/check/explain/standard-docs.d.ts.map +1 -0
- package/dist/check/explain/standard-docs.js +45 -0
- package/dist/check/explain/standard-docs.js.map +1 -0
- package/dist/check/explain/tree-docs.d.ts +3 -0
- package/dist/check/explain/tree-docs.d.ts.map +1 -0
- package/dist/check/explain/tree-docs.js +83 -0
- package/dist/check/explain/tree-docs.js.map +1 -0
- package/dist/check/explain/wiring-docs.d.ts +3 -0
- package/dist/check/explain/wiring-docs.d.ts.map +1 -0
- package/dist/check/explain/wiring-docs.js +57 -0
- package/dist/check/explain/wiring-docs.js.map +1 -0
- package/dist/check/exports/explained-mains.d.ts +8 -0
- package/dist/check/exports/explained-mains.d.ts.map +1 -0
- package/dist/check/exports/explained-mains.js +26 -0
- package/dist/check/exports/explained-mains.js.map +1 -0
- package/dist/check/exports/export-verdict.d.ts +11 -0
- package/dist/check/exports/export-verdict.d.ts.map +1 -0
- package/dist/check/exports/export-verdict.js +2 -0
- package/dist/check/exports/export-verdict.js.map +1 -0
- package/dist/check/exports/exported.d.ts +12 -0
- package/dist/check/exports/exported.d.ts.map +1 -0
- package/dist/check/exports/exported.js +2 -0
- package/dist/check/exports/exported.js.map +1 -0
- package/dist/check/exports/file-exports.d.ts +5 -0
- package/dist/check/exports/file-exports.d.ts.map +1 -0
- package/dist/check/exports/file-exports.js +106 -0
- package/dist/check/exports/file-exports.js.map +1 -0
- package/dist/check/exports/judge-exports.d.ts +9 -0
- package/dist/check/exports/judge-exports.d.ts.map +1 -0
- package/dist/check/exports/judge-exports.js +34 -0
- package/dist/check/exports/judge-exports.js.map +1 -0
- package/dist/check/exports/kebab-case-of.d.ts +8 -0
- package/dist/check/exports/kebab-case-of.d.ts.map +1 -0
- package/dist/check/exports/kebab-case-of.js +14 -0
- package/dist/check/exports/kebab-case-of.js.map +1 -0
- package/dist/check/exports/local-types.d.ts +9 -0
- package/dist/check/exports/local-types.d.ts.map +1 -0
- package/dist/check/exports/local-types.js +26 -0
- package/dist/check/exports/local-types.js.map +1 -0
- package/dist/check/exports/matches-glob.d.ts +3 -0
- package/dist/check/exports/matches-glob.d.ts.map +1 -0
- package/dist/check/exports/matches-glob.js +17 -0
- package/dist/check/exports/matches-glob.js.map +1 -0
- package/dist/check/exports/named-after.d.ts +7 -0
- package/dist/check/exports/named-after.d.ts.map +1 -0
- package/dist/check/exports/named-after.js +15 -0
- package/dist/check/exports/named-after.js.map +1 -0
- package/dist/check/exports/shares-state.d.ts +9 -0
- package/dist/check/exports/shares-state.d.ts.map +1 -0
- package/dist/check/exports/shares-state.js +37 -0
- package/dist/check/exports/shares-state.js.map +1 -0
- package/dist/check/exports/type-closure.d.ts +7 -0
- package/dist/check/exports/type-closure.d.ts.map +1 -0
- package/dist/check/exports/type-closure.js +21 -0
- package/dist/check/exports/type-closure.js.map +1 -0
- package/dist/check/exports/type-family.d.ts +21 -0
- package/dist/check/exports/type-family.d.ts.map +1 -0
- package/dist/check/exports/type-family.js +36 -0
- package/dist/check/exports/type-family.js.map +1 -0
- package/dist/check/fixtures/aggregate.d.ts +4 -0
- package/dist/check/fixtures/aggregate.d.ts.map +1 -0
- package/dist/check/fixtures/aggregate.js +11 -0
- package/dist/check/fixtures/aggregate.js.map +1 -0
- package/dist/check/fixtures/alias-declarations.d.ts +4 -0
- package/dist/check/fixtures/alias-declarations.d.ts.map +1 -0
- package/dist/check/fixtures/alias-declarations.js +43 -0
- package/dist/check/fixtures/alias-declarations.js.map +1 -0
- package/dist/check/fixtures/alias-declared-fixtures.d.ts +3 -0
- package/dist/check/fixtures/alias-declared-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/alias-declared-fixtures.js +54 -0
- package/dist/check/fixtures/alias-declared-fixtures.js.map +1 -0
- package/dist/check/fixtures/authz-declared-fixtures.d.ts +3 -0
- package/dist/check/fixtures/authz-declared-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/authz-declared-fixtures.js +103 -0
- package/dist/check/fixtures/authz-declared-fixtures.js.map +1 -0
- package/dist/check/fixtures/authz-fixtures.d.ts +3 -0
- package/dist/check/fixtures/authz-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/authz-fixtures.js +155 -0
- package/dist/check/fixtures/authz-fixtures.js.map +1 -0
- package/dist/check/fixtures/clean-fixtures.d.ts +3 -0
- package/dist/check/fixtures/clean-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/clean-fixtures.js +259 -0
- package/dist/check/fixtures/clean-fixtures.js.map +1 -0
- package/dist/check/fixtures/composition-fixtures.d.ts +3 -0
- package/dist/check/fixtures/composition-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/composition-fixtures.js +62 -0
- package/dist/check/fixtures/composition-fixtures.js.map +1 -0
- package/dist/check/fixtures/config-fixtures.d.ts +3 -0
- package/dist/check/fixtures/config-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/config-fixtures.js +100 -0
- package/dist/check/fixtures/config-fixtures.js.map +1 -0
- package/dist/check/fixtures/config.d.ts +3 -0
- package/dist/check/fixtures/config.d.ts.map +1 -0
- package/dist/check/fixtures/config.js +23 -0
- package/dist/check/fixtures/config.js.map +1 -0
- package/dist/check/fixtures/consumer-fixtures.d.ts +3 -0
- package/dist/check/fixtures/consumer-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/consumer-fixtures.js +117 -0
- package/dist/check/fixtures/consumer-fixtures.js.map +1 -0
- package/dist/check/fixtures/context-doc.d.ts +3 -0
- package/dist/check/fixtures/context-doc.d.ts.map +1 -0
- package/dist/check/fixtures/context-doc.js +13 -0
- package/dist/check/fixtures/context-doc.js.map +1 -0
- package/dist/check/fixtures/context-fixtures.d.ts +3 -0
- package/dist/check/fixtures/context-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/context-fixtures.js +93 -0
- package/dist/check/fixtures/context-fixtures.js.map +1 -0
- package/dist/check/fixtures/coverage-fixtures.d.ts +3 -0
- package/dist/check/fixtures/coverage-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/coverage-fixtures.js +94 -0
- package/dist/check/fixtures/coverage-fixtures.js.map +1 -0
- package/dist/check/fixtures/declaration.d.ts +3 -0
- package/dist/check/fixtures/declaration.d.ts.map +1 -0
- package/dist/check/fixtures/declaration.js +6 -0
- package/dist/check/fixtures/declaration.js.map +1 -0
- package/dist/check/fixtures/declarations-fixtures.d.ts +3 -0
- package/dist/check/fixtures/declarations-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/declarations-fixtures.js +149 -0
- package/dist/check/fixtures/declarations-fixtures.js.map +1 -0
- package/dist/check/fixtures/declared-barrel.d.ts +3 -0
- package/dist/check/fixtures/declared-barrel.d.ts.map +1 -0
- package/dist/check/fixtures/declared-barrel.js +4 -0
- package/dist/check/fixtures/declared-barrel.js.map +1 -0
- package/dist/check/fixtures/declared-context.d.ts +4 -0
- package/dist/check/fixtures/declared-context.d.ts.map +1 -0
- package/dist/check/fixtures/declared-context.js +27 -0
- package/dist/check/fixtures/declared-context.js.map +1 -0
- package/dist/check/fixtures/declared-project.d.ts +4 -0
- package/dist/check/fixtures/declared-project.d.ts.map +1 -0
- package/dist/check/fixtures/declared-project.js +15 -0
- package/dist/check/fixtures/declared-project.js.map +1 -0
- package/dist/check/fixtures/declared.d.ts +19 -0
- package/dist/check/fixtures/declared.d.ts.map +1 -0
- package/dist/check/fixtures/declared.js +21 -0
- package/dist/check/fixtures/declared.js.map +1 -0
- package/dist/check/fixtures/discovered-project.d.ts +4 -0
- package/dist/check/fixtures/discovered-project.d.ts.map +1 -0
- package/dist/check/fixtures/discovered-project.js +11 -0
- package/dist/check/fixtures/discovered-project.js.map +1 -0
- package/dist/check/fixtures/domain-events-fixtures.d.ts +3 -0
- package/dist/check/fixtures/domain-events-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/domain-events-fixtures.js +154 -0
- package/dist/check/fixtures/domain-events-fixtures.js.map +1 -0
- package/dist/check/fixtures/events-fixtures.d.ts +3 -0
- package/dist/check/fixtures/events-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/events-fixtures.js +75 -0
- package/dist/check/fixtures/events-fixtures.js.map +1 -0
- package/dist/check/fixtures/extractable-fixtures.d.ts +3 -0
- package/dist/check/fixtures/extractable-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/extractable-fixtures.js +123 -0
- package/dist/check/fixtures/extractable-fixtures.js.map +1 -0
- package/dist/check/fixtures/fixture-files.d.ts +3 -0
- package/dist/check/fixtures/fixture-files.d.ts.map +1 -0
- package/dist/check/fixtures/fixture-files.js +2 -0
- package/dist/check/fixtures/fixture-files.js.map +1 -0
- package/dist/check/fixtures/fixture.d.ts +15 -0
- package/dist/check/fixtures/fixture.d.ts.map +1 -0
- package/dist/check/fixtures/fixture.js +2 -0
- package/dist/check/fixtures/fixture.js.map +1 -0
- package/dist/check/fixtures/fixtures.d.ts +8 -0
- package/dist/check/fixtures/fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/fixtures.js +62 -0
- package/dist/check/fixtures/fixtures.js.map +1 -0
- package/dist/check/fixtures/governance-fixtures.d.ts +3 -0
- package/dist/check/fixtures/governance-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/governance-fixtures.js +93 -0
- package/dist/check/fixtures/governance-fixtures.js.map +1 -0
- package/dist/check/fixtures/handler.d.ts +4 -0
- package/dist/check/fixtures/handler.d.ts.map +1 -0
- package/dist/check/fixtures/handler.js +7 -0
- package/dist/check/fixtures/handler.js.map +1 -0
- package/dist/check/fixtures/imports-fixtures.d.ts +3 -0
- package/dist/check/fixtures/imports-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/imports-fixtures.js +88 -0
- package/dist/check/fixtures/imports-fixtures.js.map +1 -0
- package/dist/check/fixtures/language-fixtures.d.ts +3 -0
- package/dist/check/fixtures/language-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/language-fixtures.js +73 -0
- package/dist/check/fixtures/language-fixtures.js.map +1 -0
- package/dist/check/fixtures/layer-fixtures.d.ts +3 -0
- package/dist/check/fixtures/layer-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/layer-fixtures.js +199 -0
- package/dist/check/fixtures/layer-fixtures.js.map +1 -0
- package/dist/check/fixtures/layout-fixtures.d.ts +3 -0
- package/dist/check/fixtures/layout-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/layout-fixtures.js +165 -0
- package/dist/check/fixtures/layout-fixtures.js.map +1 -0
- package/dist/check/fixtures/naming-fixtures.d.ts +3 -0
- package/dist/check/fixtures/naming-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/naming-fixtures.js +83 -0
- package/dist/check/fixtures/naming-fixtures.js.map +1 -0
- package/dist/check/fixtures/outbox-fixtures.d.ts +3 -0
- package/dist/check/fixtures/outbox-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/outbox-fixtures.js +79 -0
- package/dist/check/fixtures/outbox-fixtures.js.map +1 -0
- package/dist/check/fixtures/outside-package-deviation.d.ts +3 -0
- package/dist/check/fixtures/outside-package-deviation.d.ts.map +1 -0
- package/dist/check/fixtures/outside-package-deviation.js +5 -0
- package/dist/check/fixtures/outside-package-deviation.js.map +1 -0
- package/dist/check/fixtures/paths.d.ts +39 -0
- package/dist/check/fixtures/paths.d.ts.map +1 -0
- package/dist/check/fixtures/paths.js +41 -0
- package/dist/check/fixtures/paths.js.map +1 -0
- package/dist/check/fixtures/ports-fixtures.d.ts +3 -0
- package/dist/check/fixtures/ports-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/ports-fixtures.js +225 -0
- package/dist/check/fixtures/ports-fixtures.js.map +1 -0
- package/dist/check/fixtures/project.d.ts +4 -0
- package/dist/check/fixtures/project.d.ts.map +1 -0
- package/dist/check/fixtures/project.js +17 -0
- package/dist/check/fixtures/project.js.map +1 -0
- package/dist/check/fixtures/purity-fixtures.d.ts +3 -0
- package/dist/check/fixtures/purity-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/purity-fixtures.js +64 -0
- package/dist/check/fixtures/purity-fixtures.js.map +1 -0
- package/dist/check/fixtures/run-fixture.d.ts +11 -0
- package/dist/check/fixtures/run-fixture.d.ts.map +1 -0
- package/dist/check/fixtures/run-fixture.js +49 -0
- package/dist/check/fixtures/run-fixture.js.map +1 -0
- package/dist/check/fixtures/run-self-check.d.ts +4 -0
- package/dist/check/fixtures/run-self-check.d.ts.map +1 -0
- package/dist/check/fixtures/run-self-check.js +7 -0
- package/dist/check/fixtures/run-self-check.js.map +1 -0
- package/dist/check/fixtures/samples.d.ts +9 -0
- package/dist/check/fixtures/samples.d.ts.map +1 -0
- package/dist/check/fixtures/samples.js +9 -0
- package/dist/check/fixtures/samples.js.map +1 -0
- package/dist/check/fixtures/scheduling-fixtures.d.ts +3 -0
- package/dist/check/fixtures/scheduling-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/scheduling-fixtures.js +129 -0
- package/dist/check/fixtures/scheduling-fixtures.js.map +1 -0
- package/dist/check/fixtures/source.d.ts +3 -0
- package/dist/check/fixtures/source.d.ts.map +1 -0
- package/dist/check/fixtures/source.js +5 -0
- package/dist/check/fixtures/source.js.map +1 -0
- package/dist/check/fixtures/standard-fixtures.d.ts +3 -0
- package/dist/check/fixtures/standard-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/standard-fixtures.js +86 -0
- package/dist/check/fixtures/standard-fixtures.js.map +1 -0
- package/dist/check/fixtures/test-fixtures.d.ts +3 -0
- package/dist/check/fixtures/test-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/test-fixtures.js +77 -0
- package/dist/check/fixtures/test-fixtures.js.map +1 -0
- package/dist/check/fixtures/tracing-fixtures.d.ts +3 -0
- package/dist/check/fixtures/tracing-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/tracing-fixtures.js +55 -0
- package/dist/check/fixtures/tracing-fixtures.js.map +1 -0
- package/dist/check/fixtures/tree-fixtures.d.ts +3 -0
- package/dist/check/fixtures/tree-fixtures.d.ts.map +1 -0
- package/dist/check/fixtures/tree-fixtures.js +194 -0
- package/dist/check/fixtures/tree-fixtures.js.map +1 -0
- package/dist/check/fixtures/without-file.d.ts +3 -0
- package/dist/check/fixtures/without-file.d.ts.map +1 -0
- package/dist/check/fixtures/without-file.js +4 -0
- package/dist/check/fixtures/without-file.js.map +1 -0
- package/dist/check/governance/adr-directory.d.ts +2 -0
- package/dist/check/governance/adr-directory.d.ts.map +1 -0
- package/dist/check/governance/adr-directory.js +2 -0
- package/dist/check/governance/adr-directory.js.map +1 -0
- package/dist/check/governance/decision-records.d.ts +9 -0
- package/dist/check/governance/decision-records.d.ts.map +1 -0
- package/dist/check/governance/decision-records.js +27 -0
- package/dist/check/governance/decision-records.js.map +1 -0
- package/dist/check/governance/record-number.d.ts +3 -0
- package/dist/check/governance/record-number.d.ts.map +1 -0
- package/dist/check/governance/record-number.js +6 -0
- package/dist/check/governance/record-number.js.map +1 -0
- package/dist/check/governance/referenced-record.d.ts +3 -0
- package/dist/check/governance/referenced-record.d.ts.map +1 -0
- package/dist/check/governance/referenced-record.js +7 -0
- package/dist/check/governance/referenced-record.js.map +1 -0
- package/dist/check/language/add-glossary-rows.d.ts +6 -0
- package/dist/check/language/add-glossary-rows.d.ts.map +1 -0
- package/dist/check/language/add-glossary-rows.js +19 -0
- package/dist/check/language/add-glossary-rows.js.map +1 -0
- package/dist/check/language/base-forms.d.ts +3 -0
- package/dist/check/language/base-forms.d.ts.map +1 -0
- package/dist/check/language/base-forms.js +71 -0
- package/dist/check/language/base-forms.js.map +1 -0
- package/dist/check/language/glossaries.d.ts +15 -0
- package/dist/check/language/glossaries.d.ts.map +1 -0
- package/dist/check/language/glossaries.js +44 -0
- package/dist/check/language/glossaries.js.map +1 -0
- package/dist/check/language/glossary-cells.d.ts +3 -0
- package/dist/check/language/glossary-cells.d.ts.map +1 -0
- package/dist/check/language/glossary-cells.js +10 -0
- package/dist/check/language/glossary-cells.js.map +1 -0
- package/dist/check/language/parse-glossary.d.ts +10 -0
- package/dist/check/language/parse-glossary.d.ts.map +1 -0
- package/dist/check/language/parse-glossary.js +29 -0
- package/dist/check/language/parse-glossary.js.map +1 -0
- package/dist/check/language/same-word.d.ts +3 -0
- package/dist/check/language/same-word.d.ts.map +1 -0
- package/dist/check/language/same-word.js +7 -0
- package/dist/check/language/same-word.js.map +1 -0
- package/dist/check/language/technical-words.d.ts +3 -0
- package/dist/check/language/technical-words.d.ts.map +1 -0
- package/dist/check/language/technical-words.js +18 -0
- package/dist/check/language/technical-words.js.map +1 -0
- package/dist/check/language/unknown-words.d.ts +4 -0
- package/dist/check/language/unknown-words.d.ts.map +1 -0
- package/dist/check/language/unknown-words.js +47 -0
- package/dist/check/language/unknown-words.js.map +1 -0
- package/dist/check/layers/aspects-package.d.ts +2 -0
- package/dist/check/layers/aspects-package.d.ts.map +1 -0
- package/dist/check/layers/aspects-package.js +2 -0
- package/dist/check/layers/aspects-package.js.map +1 -0
- package/dist/check/layers/outside-concern.d.ts +4 -0
- package/dist/check/layers/outside-concern.d.ts.map +1 -0
- package/dist/check/layers/outside-concern.js +40 -0
- package/dist/check/layers/outside-concern.js.map +1 -0
- package/dist/check/model/context-location.d.ts +9 -0
- package/dist/check/model/context-location.d.ts.map +1 -0
- package/dist/check/model/context-location.js +2 -0
- package/dist/check/model/context-location.js.map +1 -0
- package/dist/check/model/finding.d.ts +7 -0
- package/dist/check/model/finding.d.ts.map +1 -0
- package/dist/check/model/finding.js +2 -0
- package/dist/check/model/finding.js.map +1 -0
- package/dist/check/model/flaw.d.ts +6 -0
- package/dist/check/model/flaw.d.ts.map +1 -0
- package/dist/check/model/flaw.js +2 -0
- package/dist/check/model/flaw.js.map +1 -0
- package/dist/check/model/import-target.d.ts +13 -0
- package/dist/check/model/import-target.d.ts.map +1 -0
- package/dist/check/model/import-target.js +2 -0
- package/dist/check/model/import-target.js.map +1 -0
- package/dist/check/model/layer.d.ts +2 -0
- package/dist/check/model/layer.d.ts.map +1 -0
- package/dist/check/model/layer.js +2 -0
- package/dist/check/model/layer.js.map +1 -0
- package/dist/check/model/location.d.ts +5 -0
- package/dist/check/model/location.d.ts.map +1 -0
- package/dist/check/model/location.js +2 -0
- package/dist/check/model/location.js.map +1 -0
- package/dist/check/model/project.d.ts +17 -0
- package/dist/check/model/project.d.ts.map +1 -0
- package/dist/check/model/project.js +2 -0
- package/dist/check/model/project.js.map +1 -0
- package/dist/check/model/report.d.ts +9 -0
- package/dist/check/model/report.d.ts.map +1 -0
- package/dist/check/model/report.js +2 -0
- package/dist/check/model/report.js.map +1 -0
- package/dist/check/model/resolved-import.d.ts +11 -0
- package/dist/check/model/resolved-import.d.ts.map +1 -0
- package/dist/check/model/resolved-import.js +2 -0
- package/dist/check/model/resolved-import.js.map +1 -0
- package/dist/check/model/rule-doc.d.ts +6 -0
- package/dist/check/model/rule-doc.d.ts.map +1 -0
- package/dist/check/model/rule-doc.js +2 -0
- package/dist/check/model/rule-doc.js.map +1 -0
- package/dist/check/model/rule.d.ts +12 -0
- package/dist/check/model/rule.d.ts.map +1 -0
- package/dist/check/model/rule.js +2 -0
- package/dist/check/model/rule.js.map +1 -0
- package/dist/check/model/source-file.d.ts +16 -0
- package/dist/check/model/source-file.d.ts.map +1 -0
- package/dist/check/model/source-file.js +2 -0
- package/dist/check/model/source-file.js.map +1 -0
- package/dist/check/model/violation.d.ts +10 -0
- package/dist/check/model/violation.d.ts.map +1 -0
- package/dist/check/model/violation.js +2 -0
- package/dist/check/model/violation.js.map +1 -0
- package/dist/check/ports/bodiless-members.d.ts +10 -0
- package/dist/check/ports/bodiless-members.d.ts.map +1 -0
- package/dist/check/ports/bodiless-members.js +44 -0
- package/dist/check/ports/bodiless-members.js.map +1 -0
- package/dist/check/ports/class-declaring.d.ts +9 -0
- package/dist/check/ports/class-declaring.d.ts.map +1 -0
- package/dist/check/ports/class-declaring.js +16 -0
- package/dist/check/ports/class-declaring.js.map +1 -0
- package/dist/check/ports/port-misuse.d.ts +5 -0
- package/dist/check/ports/port-misuse.d.ts.map +1 -0
- package/dist/check/ports/port-misuse.js +17 -0
- package/dist/check/ports/port-misuse.js.map +1 -0
- package/dist/check/project/assemble-project.d.ts +4 -0
- package/dist/check/project/assemble-project.d.ts.map +1 -0
- package/dist/check/project/assemble-project.js +16 -0
- package/dist/check/project/assemble-project.js.map +1 -0
- package/dist/check/project/is-source.d.ts +3 -0
- package/dist/check/project/is-source.d.ts.map +1 -0
- package/dist/check/project/is-source.js +7 -0
- package/dist/check/project/is-source.js.map +1 -0
- package/dist/check/project/is-test-file.d.ts +3 -0
- package/dist/check/project/is-test-file.d.ts.map +1 -0
- package/dist/check/project/is-test-file.js +4 -0
- package/dist/check/project/is-test-file.js.map +1 -0
- package/dist/check/project/is-under.d.ts +2 -0
- package/dist/check/project/is-under.d.ts.map +1 -0
- package/dist/check/project/is-under.js +4 -0
- package/dist/check/project/is-under.js.map +1 -0
- package/dist/check/project/load-loose-project.d.ts +4 -0
- package/dist/check/project/load-loose-project.d.ts.map +1 -0
- package/dist/check/project/load-loose-project.js +22 -0
- package/dist/check/project/load-loose-project.js.map +1 -0
- package/dist/check/project/load-project.d.ts +7 -0
- package/dist/check/project/load-project.d.ts.map +1 -0
- package/dist/check/project/load-project.js +37 -0
- package/dist/check/project/load-project.js.map +1 -0
- package/dist/check/project/load-source-file.d.ts +5 -0
- package/dist/check/project/load-source-file.d.ts.map +1 -0
- package/dist/check/project/load-source-file.js +30 -0
- package/dist/check/project/load-source-file.js.map +1 -0
- package/dist/check/project/locate.d.ts +5 -0
- package/dist/check/project/locate.d.ts.map +1 -0
- package/dist/check/project/locate.js +45 -0
- package/dist/check/project/locate.js.map +1 -0
- package/dist/check/project/resolve-import.d.ts +5 -0
- package/dist/check/project/resolve-import.d.ts.map +1 -0
- package/dist/check/project/resolve-import.js +33 -0
- package/dist/check/project/resolve-import.js.map +1 -0
- package/dist/check/project/source-at.d.ts +8 -0
- package/dist/check/project/source-at.d.ts.map +1 -0
- package/dist/check/project/source-at.js +29 -0
- package/dist/check/project/source-at.js.map +1 -0
- package/dist/check/project/to-posix.d.ts +2 -0
- package/dist/check/project/to-posix.d.ts.map +1 -0
- package/dist/check/project/to-posix.js +5 -0
- package/dist/check/project/to-posix.js.map +1 -0
- package/dist/check/project/walk-directory.d.ts +3 -0
- package/dist/check/project/walk-directory.d.ts.map +1 -0
- package/dist/check/project/walk-directory.js +27 -0
- package/dist/check/project/walk-directory.js.map +1 -0
- package/dist/check/purity/define-purity-rule.d.ts +5 -0
- package/dist/check/purity/define-purity-rule.d.ts.map +1 -0
- package/dist/check/purity/define-purity-rule.js +33 -0
- package/dist/check/purity/define-purity-rule.js.map +1 -0
- package/dist/check/purity/purity-rule.d.ts +13 -0
- package/dist/check/purity/purity-rule.d.ts.map +1 -0
- package/dist/check/purity/purity-rule.js +2 -0
- package/dist/check/purity/purity-rule.js.map +1 -0
- package/dist/check/rules/aspects-outside-in.d.ts +3 -0
- package/dist/check/rules/aspects-outside-in.d.ts.map +1 -0
- package/dist/check/rules/aspects-outside-in.js +43 -0
- package/dist/check/rules/aspects-outside-in.js.map +1 -0
- package/dist/check/rules/authz-actor-explicit.d.ts +3 -0
- package/dist/check/rules/authz-actor-explicit.d.ts.map +1 -0
- package/dist/check/rules/authz-actor-explicit.js +50 -0
- package/dist/check/rules/authz-actor-explicit.js.map +1 -0
- package/dist/check/rules/authz-declared.d.ts +3 -0
- package/dist/check/rules/authz-declared.d.ts.map +1 -0
- package/dist/check/rules/authz-declared.js +149 -0
- package/dist/check/rules/authz-declared.js.map +1 -0
- package/dist/check/rules/authz-in-application.d.ts +3 -0
- package/dist/check/rules/authz-in-application.d.ts.map +1 -0
- package/dist/check/rules/authz-in-application.js +112 -0
- package/dist/check/rules/authz-in-application.js.map +1 -0
- package/dist/check/rules/clean-blank-lines.d.ts +3 -0
- package/dist/check/rules/clean-blank-lines.d.ts.map +1 -0
- package/dist/check/rules/clean-blank-lines.js +78 -0
- package/dist/check/rules/clean-blank-lines.js.map +1 -0
- package/dist/check/rules/clean-braces.d.ts +3 -0
- package/dist/check/rules/clean-braces.d.ts.map +1 -0
- package/dist/check/rules/clean-braces.js +66 -0
- package/dist/check/rules/clean-braces.js.map +1 -0
- package/dist/check/rules/clean-file-size.d.ts +3 -0
- package/dist/check/rules/clean-file-size.d.ts.map +1 -0
- package/dist/check/rules/clean-file-size.js +23 -0
- package/dist/check/rules/clean-file-size.js.map +1 -0
- package/dist/check/rules/clean-function-size.d.ts +3 -0
- package/dist/check/rules/clean-function-size.d.ts.map +1 -0
- package/dist/check/rules/clean-function-size.js +85 -0
- package/dist/check/rules/clean-function-size.js.map +1 -0
- package/dist/check/rules/clean-no-commented-out-code.d.ts +3 -0
- package/dist/check/rules/clean-no-commented-out-code.d.ts.map +1 -0
- package/dist/check/rules/clean-no-commented-out-code.js +24 -0
- package/dist/check/rules/clean-no-commented-out-code.js.map +1 -0
- package/dist/check/rules/clean-no-escape-hatch.d.ts +3 -0
- package/dist/check/rules/clean-no-escape-hatch.d.ts.map +1 -0
- package/dist/check/rules/clean-no-escape-hatch.js +51 -0
- package/dist/check/rules/clean-no-escape-hatch.js.map +1 -0
- package/dist/check/rules/clean-no-flag-argument.d.ts +3 -0
- package/dist/check/rules/clean-no-flag-argument.d.ts.map +1 -0
- package/dist/check/rules/clean-no-flag-argument.js +34 -0
- package/dist/check/rules/clean-no-flag-argument.js.map +1 -0
- package/dist/check/rules/clean-no-hash-private.d.ts +3 -0
- package/dist/check/rules/clean-no-hash-private.d.ts.map +1 -0
- package/dist/check/rules/clean-no-hash-private.js +15 -0
- package/dist/check/rules/clean-no-hash-private.js.map +1 -0
- package/dist/check/rules/clean-no-noise-comment.d.ts +3 -0
- package/dist/check/rules/clean-no-noise-comment.d.ts.map +1 -0
- package/dist/check/rules/clean-no-noise-comment.js +92 -0
- package/dist/check/rules/clean-no-noise-comment.js.map +1 -0
- package/dist/check/rules/clean-one-export-per-file.d.ts +3 -0
- package/dist/check/rules/clean-one-export-per-file.d.ts.map +1 -0
- package/dist/check/rules/clean-one-export-per-file.js +97 -0
- package/dist/check/rules/clean-one-export-per-file.js.map +1 -0
- package/dist/check/rules/clean-stepdown.d.ts +3 -0
- package/dist/check/rules/clean-stepdown.d.ts.map +1 -0
- package/dist/check/rules/clean-stepdown.js +78 -0
- package/dist/check/rules/clean-stepdown.js.map +1 -0
- package/dist/check/rules/composition-only-in-module.d.ts +3 -0
- package/dist/check/rules/composition-only-in-module.d.ts.map +1 -0
- package/dist/check/rules/composition-only-in-module.js +89 -0
- package/dist/check/rules/composition-only-in-module.js.map +1 -0
- package/dist/check/rules/config-valid.d.ts +3 -0
- package/dist/check/rules/config-valid.d.ts.map +1 -0
- package/dist/check/rules/config-valid.js +22 -0
- package/dist/check/rules/config-valid.js.map +1 -0
- package/dist/check/rules/context-declared-relationship.d.ts +3 -0
- package/dist/check/rules/context-declared-relationship.d.ts.map +1 -0
- package/dist/check/rules/context-declared-relationship.js +34 -0
- package/dist/check/rules/context-declared-relationship.js.map +1 -0
- package/dist/check/rules/context-extractable.d.ts +3 -0
- package/dist/check/rules/context-extractable.d.ts.map +1 -0
- package/dist/check/rules/context-extractable.js +137 -0
- package/dist/check/rules/context-extractable.js.map +1 -0
- package/dist/check/rules/context-no-cycle.d.ts +3 -0
- package/dist/check/rules/context-no-cycle.d.ts.map +1 -0
- package/dist/check/rules/context-no-cycle.js +44 -0
- package/dist/check/rules/context-no-cycle.js.map +1 -0
- package/dist/check/rules/context-published-language-is-a-contract.d.ts +3 -0
- package/dist/check/rules/context-published-language-is-a-contract.d.ts.map +1 -0
- package/dist/check/rules/context-published-language-is-a-contract.js +31 -0
- package/dist/check/rules/context-published-language-is-a-contract.js.map +1 -0
- package/dist/check/rules/context-published-language-only.d.ts +3 -0
- package/dist/check/rules/context-published-language-only.d.ts.map +1 -0
- package/dist/check/rules/context-published-language-only.js +30 -0
- package/dist/check/rules/context-published-language-only.js.map +1 -0
- package/dist/check/rules/declarations-barrel-current.d.ts +3 -0
- package/dist/check/rules/declarations-barrel-current.d.ts.map +1 -0
- package/dist/check/rules/declarations-barrel-current.js +69 -0
- package/dist/check/rules/declarations-barrel-current.js.map +1 -0
- package/dist/check/rules/declarations-role-declared.d.ts +3 -0
- package/dist/check/rules/declarations-role-declared.d.ts.map +1 -0
- package/dist/check/rules/declarations-role-declared.js +131 -0
- package/dist/check/rules/declarations-role-declared.js.map +1 -0
- package/dist/check/rules/domain-events-dispatched-on-save.d.ts +3 -0
- package/dist/check/rules/domain-events-dispatched-on-save.d.ts.map +1 -0
- package/dist/check/rules/domain-events-dispatched-on-save.js +68 -0
- package/dist/check/rules/domain-events-dispatched-on-save.js.map +1 -0
- package/dist/check/rules/domain-events-transactional-before-commit.d.ts +3 -0
- package/dist/check/rules/domain-events-transactional-before-commit.d.ts.map +1 -0
- package/dist/check/rules/domain-events-transactional-before-commit.js +69 -0
- package/dist/check/rules/domain-events-transactional-before-commit.js.map +1 -0
- package/dist/check/rules/events-consumer-idempotent.d.ts +3 -0
- package/dist/check/rules/events-consumer-idempotent.d.ts.map +1 -0
- package/dist/check/rules/events-consumer-idempotent.js +99 -0
- package/dist/check/rules/events-consumer-idempotent.js.map +1 -0
- package/dist/check/rules/events-defined-in-published-language.d.ts +3 -0
- package/dist/check/rules/events-defined-in-published-language.d.ts.map +1 -0
- package/dist/check/rules/events-defined-in-published-language.js +90 -0
- package/dist/check/rules/events-defined-in-published-language.js.map +1 -0
- package/dist/check/rules/events-name-format.d.ts +3 -0
- package/dist/check/rules/events-name-format.d.ts.map +1 -0
- package/dist/check/rules/events-name-format.js +45 -0
- package/dist/check/rules/events-name-format.js.map +1 -0
- package/dist/check/rules/events-outbox-required.d.ts +3 -0
- package/dist/check/rules/events-outbox-required.d.ts.map +1 -0
- package/dist/check/rules/events-outbox-required.js +111 -0
- package/dist/check/rules/events-outbox-required.js.map +1 -0
- package/dist/check/rules/governance-recorded-deviation.d.ts +3 -0
- package/dist/check/rules/governance-recorded-deviation.d.ts.map +1 -0
- package/dist/check/rules/governance-recorded-deviation.js +193 -0
- package/dist/check/rules/governance-recorded-deviation.js.map +1 -0
- package/dist/check/rules/imports-alias-declared.d.ts +3 -0
- package/dist/check/rules/imports-alias-declared.d.ts.map +1 -0
- package/dist/check/rules/imports-alias-declared.js +28 -0
- package/dist/check/rules/imports-alias-declared.js.map +1 -0
- package/dist/check/rules/imports-alias-only.d.ts +3 -0
- package/dist/check/rules/imports-alias-only.d.ts.map +1 -0
- package/dist/check/rules/imports-alias-only.js +73 -0
- package/dist/check/rules/imports-alias-only.js.map +1 -0
- package/dist/check/rules/language-glossary-term.d.ts +3 -0
- package/dist/check/rules/language-glossary-term.d.ts.map +1 -0
- package/dist/check/rules/language-glossary-term.js +68 -0
- package/dist/check/rules/language-glossary-term.js.map +1 -0
- package/dist/check/rules/language-no-technical-name.d.ts +3 -0
- package/dist/check/rules/language-no-technical-name.d.ts.map +1 -0
- package/dist/check/rules/language-no-technical-name.js +40 -0
- package/dist/check/rules/language-no-technical-name.js.map +1 -0
- package/dist/check/rules/layer-application-inward.d.ts +3 -0
- package/dist/check/rules/layer-application-inward.d.ts.map +1 -0
- package/dist/check/rules/layer-application-inward.js +64 -0
- package/dist/check/rules/layer-application-inward.js.map +1 -0
- package/dist/check/rules/layer-domain-purity.d.ts +3 -0
- package/dist/check/rules/layer-domain-purity.d.ts.map +1 -0
- package/dist/check/rules/layer-domain-purity.js +69 -0
- package/dist/check/rules/layer-domain-purity.js.map +1 -0
- package/dist/check/rules/layer-infrastructure-no-presentation.d.ts +3 -0
- package/dist/check/rules/layer-infrastructure-no-presentation.d.ts.map +1 -0
- package/dist/check/rules/layer-infrastructure-no-presentation.js +26 -0
- package/dist/check/rules/layer-infrastructure-no-presentation.js.map +1 -0
- package/dist/check/rules/layer-presentation-no-infrastructure.d.ts +3 -0
- package/dist/check/rules/layer-presentation-no-infrastructure.d.ts.map +1 -0
- package/dist/check/rules/layer-presentation-no-infrastructure.js +27 -0
- package/dist/check/rules/layer-presentation-no-infrastructure.js.map +1 -0
- package/dist/check/rules/naming-one-concept-per-file.d.ts +3 -0
- package/dist/check/rules/naming-one-concept-per-file.d.ts.map +1 -0
- package/dist/check/rules/naming-one-concept-per-file.js +59 -0
- package/dist/check/rules/naming-one-concept-per-file.js.map +1 -0
- package/dist/check/rules/naming-search-not-list.d.ts +3 -0
- package/dist/check/rules/naming-search-not-list.d.ts.map +1 -0
- package/dist/check/rules/naming-search-not-list.js +70 -0
- package/dist/check/rules/naming-search-not-list.js.map +1 -0
- package/dist/check/rules/naming-suffix.d.ts +3 -0
- package/dist/check/rules/naming-suffix.d.ts.map +1 -0
- package/dist/check/rules/naming-suffix.js +57 -0
- package/dist/check/rules/naming-suffix.js.map +1 -0
- package/dist/check/rules/ports-abstract-class.d.ts +3 -0
- package/dist/check/rules/ports-abstract-class.d.ts.map +1 -0
- package/dist/check/rules/ports-abstract-class.js +84 -0
- package/dist/check/rules/ports-abstract-class.js.map +1 -0
- package/dist/check/rules/ports-implements-never-extends.d.ts +3 -0
- package/dist/check/rules/ports-implements-never-extends.d.ts.map +1 -0
- package/dist/check/rules/ports-implements-never-extends.js +78 -0
- package/dist/check/rules/ports-implements-never-extends.js.map +1 -0
- package/dist/check/rules/ports-no-concrete-dependency.d.ts +3 -0
- package/dist/check/rules/ports-no-concrete-dependency.d.ts.map +1 -0
- package/dist/check/rules/ports-no-concrete-dependency.js +34 -0
- package/dist/check/rules/ports-no-concrete-dependency.js.map +1 -0
- package/dist/check/rules/ports-no-token-constant.d.ts +3 -0
- package/dist/check/rules/ports-no-token-constant.d.ts.map +1 -0
- package/dist/check/rules/ports-no-token-constant.js +77 -0
- package/dist/check/rules/ports-no-token-constant.js.map +1 -0
- package/dist/check/rules/ports-value-import.d.ts +3 -0
- package/dist/check/rules/ports-value-import.d.ts.map +1 -0
- package/dist/check/rules/ports-value-import.js +30 -0
- package/dist/check/rules/ports-value-import.js.map +1 -0
- package/dist/check/rules/purity-no-ambient-randomness.d.ts +2 -0
- package/dist/check/rules/purity-no-ambient-randomness.d.ts.map +1 -0
- package/dist/check/rules/purity-no-ambient-randomness.js +28 -0
- package/dist/check/rules/purity-no-ambient-randomness.js.map +1 -0
- package/dist/check/rules/purity-no-environment.d.ts +2 -0
- package/dist/check/rules/purity-no-environment.d.ts.map +1 -0
- package/dist/check/rules/purity-no-environment.js +35 -0
- package/dist/check/rules/purity-no-environment.js.map +1 -0
- package/dist/check/rules/purity-no-system-clock.d.ts +2 -0
- package/dist/check/rules/purity-no-system-clock.d.ts.map +1 -0
- package/dist/check/rules/purity-no-system-clock.js +13 -0
- package/dist/check/rules/purity-no-system-clock.js.map +1 -0
- package/dist/check/rules/scheduling-job-name.d.ts +3 -0
- package/dist/check/rules/scheduling-job-name.d.ts.map +1 -0
- package/dist/check/rules/scheduling-job-name.js +79 -0
- package/dist/check/rules/scheduling-job-name.js.map +1 -0
- package/dist/check/rules/scheduling-job-triggers-use-case.d.ts +3 -0
- package/dist/check/rules/scheduling-job-triggers-use-case.d.ts.map +1 -0
- package/dist/check/rules/scheduling-job-triggers-use-case.js +127 -0
- package/dist/check/rules/scheduling-job-triggers-use-case.js.map +1 -0
- package/dist/check/rules/standard-no-parallel-interface.d.ts +3 -0
- package/dist/check/rules/standard-no-parallel-interface.d.ts.map +1 -0
- package/dist/check/rules/standard-no-parallel-interface.js +49 -0
- package/dist/check/rules/standard-no-parallel-interface.js.map +1 -0
- package/dist/check/rules/test-builder-required.d.ts +3 -0
- package/dist/check/rules/test-builder-required.d.ts.map +1 -0
- package/dist/check/rules/test-builder-required.js +46 -0
- package/dist/check/rules/test-builder-required.js.map +1 -0
- package/dist/check/rules/test-coverage-governed.d.ts +3 -0
- package/dist/check/rules/test-coverage-governed.d.ts.map +1 -0
- package/dist/check/rules/test-coverage-governed.js +20 -0
- package/dist/check/rules/test-coverage-governed.js.map +1 -0
- package/dist/check/rules/test-no-mocks.d.ts +3 -0
- package/dist/check/rules/test-no-mocks.d.ts.map +1 -0
- package/dist/check/rules/test-no-mocks.js +42 -0
- package/dist/check/rules/test-no-mocks.js.map +1 -0
- package/dist/check/rules/test-spec-required.d.ts +3 -0
- package/dist/check/rules/test-spec-required.d.ts.map +1 -0
- package/dist/check/rules/test-spec-required.js +52 -0
- package/dist/check/rules/test-spec-required.js.map +1 -0
- package/dist/check/rules/tracing-platform-only.d.ts +3 -0
- package/dist/check/rules/tracing-platform-only.d.ts.map +1 -0
- package/dist/check/rules/tracing-platform-only.js +46 -0
- package/dist/check/rules/tracing-platform-only.js.map +1 -0
- package/dist/check/rules/tree-closed.d.ts +3 -0
- package/dist/check/rules/tree-closed.d.ts.map +1 -0
- package/dist/check/rules/tree-closed.js +88 -0
- package/dist/check/rules/tree-closed.js.map +1 -0
- package/dist/check/rules/tree-context-doc.d.ts +3 -0
- package/dist/check/rules/tree-context-doc.d.ts.map +1 -0
- package/dist/check/rules/tree-context-doc.js +67 -0
- package/dist/check/rules/tree-context-doc.js.map +1 -0
- package/dist/check/scan/blank.d.ts +3 -0
- package/dist/check/scan/blank.d.ts.map +1 -0
- package/dist/check/scan/blank.js +5 -0
- package/dist/check/scan/blank.js.map +1 -0
- package/dist/check/scan/block-comment-record.d.ts +11 -0
- package/dist/check/scan/block-comment-record.d.ts.map +1 -0
- package/dist/check/scan/block-comment-record.js +2 -0
- package/dist/check/scan/block-comment-record.js.map +1 -0
- package/dist/check/scan/clause-names.d.ts +7 -0
- package/dist/check/scan/clause-names.d.ts.map +1 -0
- package/dist/check/scan/clause-names.js +24 -0
- package/dist/check/scan/clause-names.js.map +1 -0
- package/dist/check/scan/comment-record.d.ts +9 -0
- package/dist/check/scan/comment-record.d.ts.map +1 -0
- package/dist/check/scan/comment-record.js +2 -0
- package/dist/check/scan/comment-record.js.map +1 -0
- package/dist/check/scan/find-imports.d.ts +5 -0
- package/dist/check/scan/find-imports.d.ts.map +1 -0
- package/dist/check/scan/find-imports.js +9 -0
- package/dist/check/scan/find-imports.js.map +1 -0
- package/dist/check/scan/found-statement.d.ts +8 -0
- package/dist/check/scan/found-statement.d.ts.map +1 -0
- package/dist/check/scan/found-statement.js +2 -0
- package/dist/check/scan/found-statement.js.map +1 -0
- package/dist/check/scan/import-record.d.ts +12 -0
- package/dist/check/scan/import-record.d.ts.map +1 -0
- package/dist/check/scan/import-record.js +2 -0
- package/dist/check/scan/import-record.js.map +1 -0
- package/dist/check/scan/lexer.d.ts +37 -0
- package/dist/check/scan/lexer.d.ts.map +1 -0
- package/dist/check/scan/lexer.js +220 -0
- package/dist/check/scan/lexer.js.map +1 -0
- package/dist/check/scan/scan.d.ts +16 -0
- package/dist/check/scan/scan.d.ts.map +1 -0
- package/dist/check/scan/scan.js +17 -0
- package/dist/check/scan/scan.js.map +1 -0
- package/dist/check/scan/statement-of.d.ts +5 -0
- package/dist/check/scan/statement-of.d.ts.map +1 -0
- package/dist/check/scan/statement-of.js +70 -0
- package/dist/check/scan/statement-of.js.map +1 -0
- package/dist/check/scan/string-record.d.ts +7 -0
- package/dist/check/scan/string-record.d.ts.map +1 -0
- package/dist/check/scan/string-record.js +2 -0
- package/dist/check/scan/string-record.js.map +1 -0
- package/dist/check/scheduling/is-job-file.d.ts +4 -0
- package/dist/check/scheduling/is-job-file.d.ts.map +1 -0
- package/dist/check/scheduling/is-job-file.js +8 -0
- package/dist/check/scheduling/is-job-file.js.map +1 -0
- package/dist/check/scheduling/job-names.d.ts +12 -0
- package/dist/check/scheduling/job-names.d.ts.map +1 -0
- package/dist/check/scheduling/job-names.js +28 -0
- package/dist/check/scheduling/job-names.js.map +1 -0
- package/dist/check/standard/boundary-names.d.ts +3 -0
- package/dist/check/standard/boundary-names.d.ts.map +1 -0
- package/dist/check/standard/boundary-names.js +3 -0
- package/dist/check/standard/boundary-names.js.map +1 -0
- package/dist/check/standard/parallel-names.d.ts +4 -0
- package/dist/check/standard/parallel-names.d.ts.map +1 -0
- package/dist/check/standard/parallel-names.js +76 -0
- package/dist/check/standard/parallel-names.js.map +1 -0
- package/dist/check/standard/standard-interfaces-fix.d.ts +2 -0
- package/dist/check/standard/standard-interfaces-fix.d.ts.map +1 -0
- package/dist/check/standard/standard-interfaces-fix.js +2 -0
- package/dist/check/standard/standard-interfaces-fix.js.map +1 -0
- package/dist/check/standard/standard-names-in.d.ts +3 -0
- package/dist/check/standard/standard-names-in.d.ts.map +1 -0
- package/dist/check/standard/standard-names-in.js +5 -0
- package/dist/check/standard/standard-names-in.js.map +1 -0
- package/dist/check/structure/class-shape.d.ts +19 -0
- package/dist/check/structure/class-shape.d.ts.map +1 -0
- package/dist/check/structure/class-shape.js +2 -0
- package/dist/check/structure/class-shape.js.map +1 -0
- package/dist/check/structure/function-shape.d.ts +13 -0
- package/dist/check/structure/function-shape.d.ts.map +1 -0
- package/dist/check/structure/function-shape.js +2 -0
- package/dist/check/structure/function-shape.js.map +1 -0
- package/dist/check/structure/inline-functions.d.ts +15 -0
- package/dist/check/structure/inline-functions.d.ts.map +1 -0
- package/dist/check/structure/inline-functions.js +90 -0
- package/dist/check/structure/inline-functions.js.map +1 -0
- package/dist/check/structure/method-shape.d.ts +8 -0
- package/dist/check/structure/method-shape.d.ts.map +1 -0
- package/dist/check/structure/method-shape.js +2 -0
- package/dist/check/structure/method-shape.js.map +1 -0
- package/dist/check/structure/methods-of.d.ts +9 -0
- package/dist/check/structure/methods-of.d.ts.map +1 -0
- package/dist/check/structure/methods-of.js +82 -0
- package/dist/check/structure/methods-of.js.map +1 -0
- package/dist/check/structure/read-structure.d.ts +14 -0
- package/dist/check/structure/read-structure.d.ts.map +1 -0
- package/dist/check/structure/read-structure.js +75 -0
- package/dist/check/structure/read-structure.js.map +1 -0
- package/dist/check/structure/signature-at.d.ts +10 -0
- package/dist/check/structure/signature-at.d.ts.map +1 -0
- package/dist/check/structure/signature-at.js +50 -0
- package/dist/check/structure/signature-at.js.map +1 -0
- package/dist/check/structure/statement-blocks.d.ts +13 -0
- package/dist/check/structure/statement-blocks.d.ts.map +1 -0
- package/dist/check/structure/statement-blocks.js +71 -0
- package/dist/check/structure/statement-blocks.js.map +1 -0
- package/dist/check/structure/top-level-function.d.ts +5 -0
- package/dist/check/structure/top-level-function.d.ts.map +1 -0
- package/dist/check/structure/top-level-function.js +2 -0
- package/dist/check/structure/top-level-function.js.map +1 -0
- package/dist/check/support/binding-place.d.ts +4 -0
- package/dist/check/support/binding-place.d.ts.map +1 -0
- package/dist/check/support/binding-place.js +8 -0
- package/dist/check/support/binding-place.js.map +1 -0
- package/dist/check/support/describe-target.d.ts +3 -0
- package/dist/check/support/describe-target.d.ts.map +1 -0
- package/dist/check/support/describe-target.js +11 -0
- package/dist/check/support/describe-target.js.map +1 -0
- package/dist/check/support/imported-from.d.ts +5 -0
- package/dist/check/support/imported-from.d.ts.map +1 -0
- package/dist/check/support/imported-from.js +5 -0
- package/dist/check/support/imported-from.js.map +1 -0
- package/dist/check/support/imports-package.d.ts +4 -0
- package/dist/check/support/imports-package.d.ts.map +1 -0
- package/dist/check/support/imports-package.js +5 -0
- package/dist/check/support/imports-package.js.map +1 -0
- package/dist/check/support/in-context.d.ts +4 -0
- package/dist/check/support/in-context.d.ts.map +1 -0
- package/dist/check/support/in-context.js +4 -0
- package/dist/check/support/in-context.js.map +1 -0
- package/dist/check/support/in-layer.d.ts +6 -0
- package/dist/check/support/in-layer.d.ts.map +1 -0
- package/dist/check/support/in-layer.js +6 -0
- package/dist/check/support/in-layer.js.map +1 -0
- package/dist/check/support/in-layers.d.ts +6 -0
- package/dist/check/support/in-layers.d.ts.map +1 -0
- package/dist/check/support/in-layers.js +6 -0
- package/dist/check/support/in-layers.js.map +1 -0
- package/dist/check/support/is-declared-style.d.ts +4 -0
- package/dist/check/support/is-declared-style.d.ts.map +1 -0
- package/dist/check/support/is-declared-style.js +5 -0
- package/dist/check/support/is-declared-style.js.map +1 -0
- package/dist/check/support/is-port-file.d.ts +4 -0
- package/dist/check/support/is-port-file.d.ts.map +1 -0
- package/dist/check/support/is-port-file.js +12 -0
- package/dist/check/support/is-port-file.js.map +1 -0
- package/dist/check/support/is-record.d.ts +2 -0
- package/dist/check/support/is-record.d.ts.map +1 -0
- package/dist/check/support/is-record.js +4 -0
- package/dist/check/support/is-record.js.map +1 -0
- package/dist/check/support/kebab-segment.d.ts +2 -0
- package/dist/check/support/kebab-segment.d.ts.map +1 -0
- package/dist/check/support/kebab-segment.js +2 -0
- package/dist/check/support/kebab-segment.js.map +1 -0
- package/dist/check/support/line-of-sequence.d.ts +3 -0
- package/dist/check/support/line-of-sequence.d.ts.map +1 -0
- package/dist/check/support/line-of-sequence.js +13 -0
- package/dist/check/support/line-of-sequence.js.map +1 -0
- package/dist/check/support/line-of.d.ts +3 -0
- package/dist/check/support/line-of.d.ts.map +1 -0
- package/dist/check/support/line-of.js +6 -0
- package/dist/check/support/line-of.js.map +1 -0
- package/dist/check/support/path-in-context.d.ts +5 -0
- package/dist/check/support/path-in-context.d.ts.map +1 -0
- package/dist/check/support/path-in-context.js +9 -0
- package/dist/check/support/path-in-context.js.map +1 -0
- package/dist/check/support/per-file.d.ts +7 -0
- package/dist/check/support/per-file.d.ts.map +1 -0
- package/dist/check/support/per-file.js +8 -0
- package/dist/check/support/per-file.js.map +1 -0
- package/dist/check/support/reporter.d.ts +5 -0
- package/dist/check/support/reporter.d.ts.map +1 -0
- package/dist/check/support/reporter.js +6 -0
- package/dist/check/support/reporter.js.map +1 -0
- package/dist/check/support/role-directory.d.ts +4 -0
- package/dist/check/support/role-directory.d.ts.map +1 -0
- package/dist/check/support/role-directory.js +5 -0
- package/dist/check/support/role-directory.js.map +1 -0
- package/dist/check/support/source-declaring.d.ts +5 -0
- package/dist/check/support/source-declaring.d.ts.map +1 -0
- package/dist/check/support/source-declaring.js +8 -0
- package/dist/check/support/source-declaring.js.map +1 -0
- package/dist/check/support/to-violations.d.ts +5 -0
- package/dist/check/support/to-violations.d.ts.map +1 -0
- package/dist/check/support/to-violations.js +4 -0
- package/dist/check/support/to-violations.js.map +1 -0
- package/dist/check/suppressions/find-suppressions.d.ts +10 -0
- package/dist/check/suppressions/find-suppressions.d.ts.map +1 -0
- package/dist/check/suppressions/find-suppressions.js +23 -0
- package/dist/check/suppressions/find-suppressions.js.map +1 -0
- package/dist/check/suppressions/is-suppressed.d.ts +8 -0
- package/dist/check/suppressions/is-suppressed.d.ts.map +1 -0
- package/dist/check/suppressions/is-suppressed.js +11 -0
- package/dist/check/suppressions/is-suppressed.js.map +1 -0
- package/dist/check/suppressions/suppression-rule-id.d.ts +2 -0
- package/dist/check/suppressions/suppression-rule-id.d.ts.map +1 -0
- package/dist/check/suppressions/suppression-rule-id.js +2 -0
- package/dist/check/suppressions/suppression-rule-id.js.map +1 -0
- package/dist/check/suppressions/suppression-violations.d.ts +6 -0
- package/dist/check/suppressions/suppression-violations.d.ts.map +1 -0
- package/dist/check/suppressions/suppression-violations.js +25 -0
- package/dist/check/suppressions/suppression-violations.js.map +1 -0
- package/dist/check/text/after-type-parameters.d.ts +3 -0
- package/dist/check/text/after-type-parameters.d.ts.map +1 -0
- package/dist/check/text/after-type-parameters.js +19 -0
- package/dist/check/text/after-type-parameters.js.map +1 -0
- package/dist/check/text/brace-depth-at.d.ts +2 -0
- package/dist/check/text/brace-depth-at.d.ts.map +1 -0
- package/dist/check/text/brace-depth-at.js +5 -0
- package/dist/check/text/brace-depth-at.js.map +1 -0
- package/dist/check/text/brackets.d.ts +6 -0
- package/dist/check/text/brackets.d.ts.map +1 -0
- package/dist/check/text/brackets.js +3 -0
- package/dist/check/text/brackets.js.map +1 -0
- package/dist/check/text/call-arguments.d.ts +4 -0
- package/dist/check/text/call-arguments.d.ts.map +1 -0
- package/dist/check/text/call-arguments.js +8 -0
- package/dist/check/text/call-arguments.js.map +1 -0
- package/dist/check/text/call-end.d.ts +3 -0
- package/dist/check/text/call-end.d.ts.map +1 -0
- package/dist/check/text/call-end.js +17 -0
- package/dist/check/text/call-end.js.map +1 -0
- package/dist/check/text/chain-end.d.ts +3 -0
- package/dist/check/text/chain-end.d.ts.map +1 -0
- package/dist/check/text/chain-end.js +14 -0
- package/dist/check/text/chain-end.js.map +1 -0
- package/dist/check/text/end-at-depth-zero.d.ts +3 -0
- package/dist/check/text/end-at-depth-zero.d.ts.map +1 -0
- package/dist/check/text/end-at-depth-zero.js +19 -0
- package/dist/check/text/end-at-depth-zero.js.map +1 -0
- package/dist/check/text/escape-reg-exp.d.ts +3 -0
- package/dist/check/text/escape-reg-exp.d.ts.map +1 -0
- package/dist/check/text/escape-reg-exp.js +5 -0
- package/dist/check/text/escape-reg-exp.js.map +1 -0
- package/dist/check/text/exported-class.d.ts +8 -0
- package/dist/check/text/exported-class.d.ts.map +1 -0
- package/dist/check/text/exported-class.js +8 -0
- package/dist/check/text/exported-class.js.map +1 -0
- package/dist/check/text/first-argument.d.ts +3 -0
- package/dist/check/text/first-argument.d.ts.map +1 -0
- package/dist/check/text/first-argument.js +6 -0
- package/dist/check/text/first-argument.js.map +1 -0
- package/dist/check/text/identifier.d.ts +3 -0
- package/dist/check/text/identifier.d.ts.map +1 -0
- package/dist/check/text/identifier.js +6 -0
- package/dist/check/text/identifier.js.map +1 -0
- package/dist/check/text/list-part.d.ts +6 -0
- package/dist/check/text/list-part.d.ts.map +1 -0
- package/dist/check/text/list-part.js +2 -0
- package/dist/check/text/list-part.js.map +1 -0
- package/dist/check/text/matching-bracket.d.ts +3 -0
- package/dist/check/text/matching-bracket.d.ts.map +1 -0
- package/dist/check/text/matching-bracket.js +16 -0
- package/dist/check/text/matching-bracket.js.map +1 -0
- package/dist/check/text/split-at-commas.d.ts +4 -0
- package/dist/check/text/split-at-commas.d.ts.map +1 -0
- package/dist/check/text/split-at-commas.js +21 -0
- package/dist/check/text/split-at-commas.js.map +1 -0
- package/dist/check/text/split-parameters.d.ts +3 -0
- package/dist/check/text/split-parameters.d.ts.map +1 -0
- package/dist/check/text/split-parameters.js +14 -0
- package/dist/check/text/split-parameters.js.map +1 -0
- package/dist/check/text/split-top-level.d.ts +4 -0
- package/dist/check/text/split-top-level.d.ts.map +1 -0
- package/dist/check/text/split-top-level.js +12 -0
- package/dist/check/text/split-top-level.js.map +1 -0
- package/dist/check/text/statement-end.d.ts +3 -0
- package/dist/check/text/statement-end.d.ts.map +1 -0
- package/dist/check/text/statement-end.js +6 -0
- package/dist/check/text/statement-end.js.map +1 -0
- package/dist/cli-error.d.ts +7 -0
- package/dist/cli-error.d.ts.map +1 -0
- package/dist/cli-error.js +11 -0
- package/dist/cli-error.js.map +1 -0
- package/dist/commands/arguments.d.ts +22 -0
- package/dist/commands/arguments.d.ts.map +1 -0
- package/dist/commands/arguments.js +65 -0
- package/dist/commands/arguments.js.map +1 -0
- package/dist/commands/build-aliases.d.ts +4 -0
- package/dist/commands/build-aliases.d.ts.map +1 -0
- package/dist/commands/build-aliases.js +18 -0
- package/dist/commands/build-aliases.js.map +1 -0
- package/dist/commands/check.d.ts +4 -0
- package/dist/commands/check.d.ts.map +1 -0
- package/dist/commands/check.js +4 -0
- package/dist/commands/check.js.map +1 -0
- package/dist/commands/checks.d.ts +4 -0
- package/dist/commands/checks.d.ts.map +1 -0
- package/dist/commands/checks.js +5 -0
- package/dist/commands/checks.js.map +1 -0
- package/dist/commands/command.d.ts +4 -0
- package/dist/commands/command.d.ts.map +1 -0
- package/dist/commands/command.js +2 -0
- package/dist/commands/command.js.map +1 -0
- package/dist/commands/commit-size.d.ts +4 -0
- package/dist/commands/commit-size.d.ts.map +1 -0
- package/dist/commands/commit-size.js +17 -0
- package/dist/commands/commit-size.js.map +1 -0
- package/dist/commands/depcruise-config.d.ts +4 -0
- package/dist/commands/depcruise-config.d.ts.map +1 -0
- package/dist/commands/depcruise-config.js +37 -0
- package/dist/commands/depcruise-config.js.map +1 -0
- package/dist/commands/describe.d.ts +4 -0
- package/dist/commands/describe.d.ts.map +1 -0
- package/dist/commands/describe.js +18 -0
- package/dist/commands/describe.js.map +1 -0
- package/dist/commands/docs.d.ts +3 -0
- package/dist/commands/docs.d.ts.map +1 -0
- package/dist/commands/docs.js +31 -0
- package/dist/commands/docs.js.map +1 -0
- package/dist/commands/find-root.d.ts +3 -0
- package/dist/commands/find-root.d.ts.map +1 -0
- package/dist/commands/find-root.js +18 -0
- package/dist/commands/find-root.js.map +1 -0
- package/dist/commands/format-context.d.ts +9 -0
- package/dist/commands/format-context.d.ts.map +1 -0
- package/dist/commands/format-context.js +45 -0
- package/dist/commands/format-context.js.map +1 -0
- package/dist/commands/generate.d.ts +3 -0
- package/dist/commands/generate.d.ts.map +1 -0
- package/dist/commands/generate.js +132 -0
- package/dist/commands/generate.js.map +1 -0
- package/dist/commands/init.d.ts +3 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +55 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/io.d.ts +6 -0
- package/dist/commands/io.d.ts.map +1 -0
- package/dist/commands/io.js +2 -0
- package/dist/commands/io.js.map +1 -0
- package/dist/commands/known-context.d.ts +4 -0
- package/dist/commands/known-context.d.ts.map +1 -0
- package/dist/commands/known-context.js +13 -0
- package/dist/commands/known-context.js.map +1 -0
- package/dist/commands/list.d.ts +3 -0
- package/dist/commands/list.d.ts.map +1 -0
- package/dist/commands/list.js +42 -0
- package/dist/commands/list.js.map +1 -0
- package/dist/commands/print-report.d.ts +6 -0
- package/dist/commands/print-report.d.ts.map +1 -0
- package/dist/commands/print-report.js +29 -0
- package/dist/commands/print-report.js.map +1 -0
- package/dist/commands/status.d.ts +4 -0
- package/dist/commands/status.d.ts.map +1 -0
- package/dist/commands/status.js +14 -0
- package/dist/commands/status.js.map +1 -0
- package/dist/commands/todo.d.ts +4 -0
- package/dist/commands/todo.d.ts.map +1 -0
- package/dist/commands/todo.js +28 -0
- package/dist/commands/todo.js.map +1 -0
- package/dist/commands/worker-scope.d.ts +4 -0
- package/dist/commands/worker-scope.d.ts.map +1 -0
- package/dist/commands/worker-scope.js +34 -0
- package/dist/commands/worker-scope.js.map +1 -0
- package/dist/commit/change.d.ts +7 -0
- package/dist/commit/change.d.ts.map +1 -0
- package/dist/commit/change.js +2 -0
- package/dist/commit/change.js.map +1 -0
- package/dist/commit/commit-size.d.ts +21 -0
- package/dist/commit/commit-size.d.ts.map +1 -0
- package/dist/commit/commit-size.js +2 -0
- package/dist/commit/commit-size.js.map +1 -0
- package/dist/commit/format-commit-size.d.ts +4 -0
- package/dist/commit/format-commit-size.d.ts.map +1 -0
- package/dist/commit/format-commit-size.js +24 -0
- package/dist/commit/format-commit-size.js.map +1 -0
- package/dist/commit/is-derived.d.ts +4 -0
- package/dist/commit/is-derived.d.ts.map +1 -0
- package/dist/commit/is-derived.js +22 -0
- package/dist/commit/is-derived.js.map +1 -0
- package/dist/commit/measure-commit.d.ts +5 -0
- package/dist/commit/measure-commit.d.ts.map +1 -0
- package/dist/commit/measure-commit.js +28 -0
- package/dist/commit/measure-commit.js.map +1 -0
- package/dist/commit/read-changes.d.ts +8 -0
- package/dist/commit/read-changes.d.ts.map +1 -0
- package/dist/commit/read-changes.js +55 -0
- package/dist/commit/read-changes.js.map +1 -0
- package/dist/commit/run-git.d.ts +3 -0
- package/dist/commit/run-git.d.ts.map +1 -0
- package/dist/commit/run-git.js +7 -0
- package/dist/commit/run-git.js.map +1 -0
- package/dist/commit/slice-of.d.ts +4 -0
- package/dist/commit/slice-of.d.ts.map +1 -0
- package/dist/commit/slice-of.js +22 -0
- package/dist/commit/slice-of.js.map +1 -0
- package/dist/commit/worker-scope-file.d.ts +3 -0
- package/dist/commit/worker-scope-file.d.ts.map +1 -0
- package/dist/commit/worker-scope-file.js +3 -0
- package/dist/commit/worker-scope-file.js.map +1 -0
- package/dist/config/add-context-to-config-text.d.ts +7 -0
- package/dist/config/add-context-to-config-text.d.ts.map +1 -0
- package/dist/config/add-context-to-config-text.js +14 -0
- package/dist/config/add-context-to-config-text.js.map +1 -0
- package/dist/config/classifications.d.ts +2 -0
- package/dist/config/classifications.d.ts.map +1 -0
- package/dist/config/classifications.js +2 -0
- package/dist/config/classifications.js.map +1 -0
- package/dist/config/commit-limit-problems.d.ts +10 -0
- package/dist/config/commit-limit-problems.d.ts.map +1 -0
- package/dist/config/commit-limit-problems.js +35 -0
- package/dist/config/commit-limit-problems.js.map +1 -0
- package/dist/config/commit-limits.d.ts +6 -0
- package/dist/config/commit-limits.d.ts.map +1 -0
- package/dist/config/commit-limits.js +2 -0
- package/dist/config/commit-limits.js.map +1 -0
- package/dist/config/config-file.d.ts +2 -0
- package/dist/config/config-file.d.ts.map +1 -0
- package/dist/config/config-file.js +2 -0
- package/dist/config/config-file.js.map +1 -0
- package/dist/config/config.d.ts +60 -0
- package/dist/config/config.d.ts.map +1 -0
- package/dist/config/config.js +2 -0
- package/dist/config/config.js.map +1 -0
- package/dist/config/coverage-layers.d.ts +3 -0
- package/dist/config/coverage-layers.d.ts.map +1 -0
- package/dist/config/coverage-layers.js +3 -0
- package/dist/config/coverage-layers.js.map +1 -0
- package/dist/config/coverage-metrics.d.ts +3 -0
- package/dist/config/coverage-metrics.d.ts.map +1 -0
- package/dist/config/coverage-metrics.js +3 -0
- package/dist/config/coverage-metrics.js.map +1 -0
- package/dist/config/coverage-problems.d.ts +10 -0
- package/dist/config/coverage-problems.d.ts.map +1 -0
- package/dist/config/coverage-problems.js +68 -0
- package/dist/config/coverage-problems.js.map +1 -0
- package/dist/config/coverage.d.ts +6 -0
- package/dist/config/coverage.d.ts.map +1 -0
- package/dist/config/coverage.js +2 -0
- package/dist/config/coverage.js.map +1 -0
- package/dist/config/default-allowed-packages.d.ts +9 -0
- package/dist/config/default-allowed-packages.d.ts.map +1 -0
- package/dist/config/default-allowed-packages.js +27 -0
- package/dist/config/default-allowed-packages.js.map +1 -0
- package/dist/config/default-commit-limits.d.ts +4 -0
- package/dist/config/default-commit-limits.d.ts.map +1 -0
- package/dist/config/default-commit-limits.js +3 -0
- package/dist/config/default-commit-limits.js.map +1 -0
- package/dist/config/default-import-alias.d.ts +2 -0
- package/dist/config/default-import-alias.d.ts.map +1 -0
- package/dist/config/default-import-alias.js +2 -0
- package/dist/config/default-import-alias.js.map +1 -0
- package/dist/config/edit-config-text.d.ts +3 -0
- package/dist/config/edit-config-text.d.ts.map +1 -0
- package/dist/config/edit-config-text.js +12 -0
- package/dist/config/edit-config-text.js.map +1 -0
- package/dist/config/function-lines-ceiling.d.ts +3 -0
- package/dist/config/function-lines-ceiling.d.ts.map +1 -0
- package/dist/config/function-lines-ceiling.js +3 -0
- package/dist/config/function-lines-ceiling.js.map +1 -0
- package/dist/config/guard-modes.d.ts +2 -0
- package/dist/config/guard-modes.d.ts.map +1 -0
- package/dist/config/guard-modes.js +2 -0
- package/dist/config/guard-modes.js.map +1 -0
- package/dist/config/index.d.ts +23 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +21 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/is-one-of.d.ts +2 -0
- package/dist/config/is-one-of.d.ts.map +1 -0
- package/dist/config/is-one-of.js +4 -0
- package/dist/config/is-one-of.js.map +1 -0
- package/dist/config/is-positive-integer.d.ts +2 -0
- package/dist/config/is-positive-integer.d.ts.map +1 -0
- package/dist/config/is-positive-integer.js +4 -0
- package/dist/config/is-positive-integer.js.map +1 -0
- package/dist/config/is-rate.d.ts +3 -0
- package/dist/config/is-rate.d.ts.map +1 -0
- package/dist/config/is-rate.js +5 -0
- package/dist/config/is-rate.js.map +1 -0
- package/dist/config/is-reference-coverage.d.ts +4 -0
- package/dist/config/is-reference-coverage.d.ts.map +1 -0
- package/dist/config/is-reference-coverage.js +8 -0
- package/dist/config/is-reference-coverage.js.map +1 -0
- package/dist/config/parse-commit-limits.d.ts +4 -0
- package/dist/config/parse-commit-limits.d.ts.map +1 -0
- package/dist/config/parse-commit-limits.js +10 -0
- package/dist/config/parse-commit-limits.js.map +1 -0
- package/dist/config/parse-config.d.ts +7 -0
- package/dist/config/parse-config.d.ts.map +1 -0
- package/dist/config/parse-config.js +71 -0
- package/dist/config/parse-config.js.map +1 -0
- package/dist/config/parse-context.d.ts +3 -0
- package/dist/config/parse-context.d.ts.map +1 -0
- package/dist/config/parse-context.js +34 -0
- package/dist/config/parse-context.js.map +1 -0
- package/dist/config/parse-coverage.d.ts +4 -0
- package/dist/config/parse-coverage.d.ts.map +1 -0
- package/dist/config/parse-coverage.js +27 -0
- package/dist/config/parse-coverage.js.map +1 -0
- package/dist/config/parse-limits.d.ts +3 -0
- package/dist/config/parse-limits.d.ts.map +1 -0
- package/dist/config/parse-limits.js +14 -0
- package/dist/config/parse-limits.js.map +1 -0
- package/dist/config/parse-one-per-file.d.ts +4 -0
- package/dist/config/parse-one-per-file.d.ts.map +1 -0
- package/dist/config/parse-one-per-file.js +14 -0
- package/dist/config/parse-one-per-file.js.map +1 -0
- package/dist/config/parse-stack.d.ts +3 -0
- package/dist/config/parse-stack.d.ts.map +1 -0
- package/dist/config/parse-stack.js +45 -0
- package/dist/config/parse-stack.js.map +1 -0
- package/dist/config/read-config.d.ts +8 -0
- package/dist/config/read-config.d.ts.map +1 -0
- package/dist/config/read-config.js +26 -0
- package/dist/config/read-config.js.map +1 -0
- package/dist/config/reference-coverage.d.ts +10 -0
- package/dist/config/reference-coverage.d.ts.map +1 -0
- package/dist/config/reference-coverage.js +14 -0
- package/dist/config/reference-coverage.js.map +1 -0
- package/dist/config/relationships.d.ts +2 -0
- package/dist/config/relationships.d.ts.map +1 -0
- package/dist/config/relationships.js +9 -0
- package/dist/config/relationships.js.map +1 -0
- package/dist/config/serialize-config.d.ts +4 -0
- package/dist/config/serialize-config.d.ts.map +1 -0
- package/dist/config/serialize-config.js +50 -0
- package/dist/config/serialize-config.js.map +1 -0
- package/dist/config/severities.d.ts +3 -0
- package/dist/config/severities.d.ts.map +1 -0
- package/dist/config/severities.js +2 -0
- package/dist/config/severities.js.map +1 -0
- package/dist/config/stack.d.ts +57 -0
- package/dist/config/stack.d.ts.map +1 -0
- package/dist/config/stack.js +19 -0
- package/dist/config/stack.js.map +1 -0
- package/dist/config/values/is-record.d.ts +2 -0
- package/dist/config/values/is-record.d.ts.map +1 -0
- package/dist/config/values/is-record.js +4 -0
- package/dist/config/values/is-record.js.map +1 -0
- package/dist/config/values/map-entries.d.ts +2 -0
- package/dist/config/values/map-entries.d.ts.map +1 -0
- package/dist/config/values/map-entries.js +5 -0
- package/dist/config/values/map-entries.js.map +1 -0
- package/dist/config/values/posix.d.ts +2 -0
- package/dist/config/values/posix.d.ts.map +1 -0
- package/dist/config/values/posix.js +4 -0
- package/dist/config/values/posix.js.map +1 -0
- package/dist/config/values/strings.d.ts +2 -0
- package/dist/config/values/strings.d.ts.map +1 -0
- package/dist/config/values/strings.js +4 -0
- package/dist/config/values/strings.js.map +1 -0
- package/dist/config/values/text.d.ts +2 -0
- package/dist/config/values/text.d.ts.map +1 -0
- package/dist/config/values/text.js +4 -0
- package/dist/config/values/text.js.map +1 -0
- package/dist/declared/barrel-file.d.ts +3 -0
- package/dist/declared/barrel-file.d.ts.map +1 -0
- package/dist/declared/barrel-file.js +5 -0
- package/dist/declared/barrel-file.js.map +1 -0
- package/dist/declared/declared-role-of.d.ts +4 -0
- package/dist/declared/declared-role-of.d.ts.map +1 -0
- package/dist/declared/declared-role-of.js +10 -0
- package/dist/declared/declared-role-of.js.map +1 -0
- package/dist/declared/declared-role.d.ts +20 -0
- package/dist/declared/declared-role.d.ts.map +1 -0
- package/dist/declared/declared-role.js +25 -0
- package/dist/declared/declared-role.js.map +1 -0
- package/dist/declared/index.d.ts +6 -0
- package/dist/declared/index.d.ts.map +1 -0
- package/dist/declared/index.js +6 -0
- package/dist/declared/index.js.map +1 -0
- package/dist/declared/render-barrel.d.ts +8 -0
- package/dist/declared/render-barrel.d.ts.map +1 -0
- package/dist/declared/render-barrel.js +21 -0
- package/dist/declared/render-barrel.js.map +1 -0
- package/dist/declared/routes-file.d.ts +3 -0
- package/dist/declared/routes-file.d.ts.map +1 -0
- package/dist/declared/routes-file.js +5 -0
- package/dist/declared/routes-file.js.map +1 -0
- package/dist/depcruise/context-rules.d.ts +4 -0
- package/dist/depcruise/context-rules.d.ts.map +1 -0
- package/dist/depcruise/context-rules.js +51 -0
- package/dist/depcruise/context-rules.js.map +1 -0
- package/dist/depcruise/cruise-configuration.d.ts +13 -0
- package/dist/depcruise/cruise-configuration.d.ts.map +1 -0
- package/dist/depcruise/cruise-configuration.js +37 -0
- package/dist/depcruise/cruise-configuration.js.map +1 -0
- package/dist/depcruise/cruise-rule.d.ts +9 -0
- package/dist/depcruise/cruise-rule.d.ts.map +1 -0
- package/dist/depcruise/cruise-rule.js +2 -0
- package/dist/depcruise/cruise-rule.js.map +1 -0
- package/dist/depcruise/depcruise-file.d.ts +3 -0
- package/dist/depcruise/depcruise-file.d.ts.map +1 -0
- package/dist/depcruise/depcruise-file.js +3 -0
- package/dist/depcruise/depcruise-file.js.map +1 -0
- package/dist/depcruise/escape-pattern.d.ts +3 -0
- package/dist/depcruise/escape-pattern.d.ts.map +1 -0
- package/dist/depcruise/escape-pattern.js +5 -0
- package/dist/depcruise/escape-pattern.js.map +1 -0
- package/dist/depcruise/hygiene-rules.d.ts +4 -0
- package/dist/depcruise/hygiene-rules.d.ts.map +1 -0
- package/dist/depcruise/hygiene-rules.js +74 -0
- package/dist/depcruise/hygiene-rules.js.map +1 -0
- package/dist/depcruise/layer-rules.d.ts +4 -0
- package/dist/depcruise/layer-rules.d.ts.map +1 -0
- package/dist/depcruise/layer-rules.js +76 -0
- package/dist/depcruise/layer-rules.js.map +1 -0
- package/dist/depcruise/package-patterns.d.ts +3 -0
- package/dist/depcruise/package-patterns.d.ts.map +1 -0
- package/dist/depcruise/package-patterns.js +6 -0
- package/dist/depcruise/package-patterns.js.map +1 -0
- package/dist/depcruise/render-cruise-file.d.ts +4 -0
- package/dist/depcruise/render-cruise-file.d.ts.map +1 -0
- package/dist/depcruise/render-cruise-file.js +8 -0
- package/dist/depcruise/render-cruise-file.js.map +1 -0
- package/dist/depcruise/test-files.d.ts +4 -0
- package/dist/depcruise/test-files.d.ts.map +1 -0
- package/dist/depcruise/test-files.js +11 -0
- package/dist/depcruise/test-files.js.map +1 -0
- package/dist/describe/context-description.d.ts +98 -0
- package/dist/describe/context-description.d.ts.map +1 -0
- package/dist/describe/context-description.js +2 -0
- package/dist/describe/context-description.js.map +1 -0
- package/dist/describe/context-sources.d.ts +16 -0
- package/dist/describe/context-sources.d.ts.map +1 -0
- package/dist/describe/context-sources.js +2 -0
- package/dist/describe/context-sources.js.map +1 -0
- package/dist/describe/describe-context.d.ts +10 -0
- package/dist/describe/describe-context.d.ts.map +1 -0
- package/dist/describe/describe-context.js +67 -0
- package/dist/describe/describe-context.js.map +1 -0
- package/dist/describe/format-description.d.ts +4 -0
- package/dist/describe/format-description.d.ts.map +1 -0
- package/dist/describe/format-description.js +69 -0
- package/dist/describe/format-description.js.map +1 -0
- package/dist/describe/read-adapters.d.ts +13 -0
- package/dist/describe/read-adapters.d.ts.map +1 -0
- package/dist/describe/read-adapters.js +46 -0
- package/dist/describe/read-adapters.js.map +1 -0
- package/dist/describe/read-consumed-events.d.ts +5 -0
- package/dist/describe/read-consumed-events.d.ts.map +1 -0
- package/dist/describe/read-consumed-events.js +64 -0
- package/dist/describe/read-consumed-events.js.map +1 -0
- package/dist/describe/read-event-definitions.d.ts +11 -0
- package/dist/describe/read-event-definitions.d.ts.map +1 -0
- package/dist/describe/read-event-definitions.js +11 -0
- package/dist/describe/read-event-definitions.js.map +1 -0
- package/dist/describe/read-policies.d.ts +5 -0
- package/dist/describe/read-policies.d.ts.map +1 -0
- package/dist/describe/read-policies.js +18 -0
- package/dist/describe/read-policies.js.map +1 -0
- package/dist/describe/read-ports.d.ts +6 -0
- package/dist/describe/read-ports.d.ts.map +1 -0
- package/dist/describe/read-ports.js +28 -0
- package/dist/describe/read-ports.js.map +1 -0
- package/dist/describe/read-published-events.d.ts +5 -0
- package/dist/describe/read-published-events.d.ts.map +1 -0
- package/dist/describe/read-published-events.js +31 -0
- package/dist/describe/read-published-events.js.map +1 -0
- package/dist/describe/read-routes.d.ts +5 -0
- package/dist/describe/read-routes.d.ts.map +1 -0
- package/dist/describe/read-routes.js +50 -0
- package/dist/describe/read-routes.js.map +1 -0
- package/dist/describe/read-use-cases.d.ts +5 -0
- package/dist/describe/read-use-cases.d.ts.map +1 -0
- package/dist/describe/read-use-cases.js +32 -0
- package/dist/describe/read-use-cases.js.map +1 -0
- package/dist/describe/reference-lines.d.ts +4 -0
- package/dist/describe/reference-lines.d.ts.map +1 -0
- package/dist/describe/reference-lines.js +124 -0
- package/dist/describe/reference-lines.js.map +1 -0
- package/dist/docs/broker-strategy.d.ts +4 -0
- package/dist/docs/broker-strategy.d.ts.map +1 -0
- package/dist/docs/broker-strategy.js +17 -0
- package/dist/docs/broker-strategy.js.map +1 -0
- package/dist/docs/context-facts.d.ts +44 -0
- package/dist/docs/context-facts.d.ts.map +1 -0
- package/dist/docs/context-facts.js +2 -0
- package/dist/docs/context-facts.js.map +1 -0
- package/dist/docs/context-map-file.d.ts +3 -0
- package/dist/docs/context-map-file.d.ts.map +1 -0
- package/dist/docs/context-map-file.js +3 -0
- package/dist/docs/context-map-file.js.map +1 -0
- package/dist/docs/context-map-lines.d.ts +4 -0
- package/dist/docs/context-map-lines.d.ts.map +1 -0
- package/dist/docs/context-map-lines.js +37 -0
- package/dist/docs/context-map-lines.js.map +1 -0
- package/dist/docs/declared-facts.d.ts +33 -0
- package/dist/docs/declared-facts.d.ts.map +1 -0
- package/dist/docs/declared-facts.js +2 -0
- package/dist/docs/declared-facts.js.map +1 -0
- package/dist/docs/e2e-specs.d.ts +4 -0
- package/dist/docs/e2e-specs.d.ts.map +1 -0
- package/dist/docs/e2e-specs.js +9 -0
- package/dist/docs/e2e-specs.js.map +1 -0
- package/dist/docs/ensure-reference-region.d.ts +6 -0
- package/dist/docs/ensure-reference-region.d.ts.map +1 -0
- package/dist/docs/ensure-reference-region.js +20 -0
- package/dist/docs/ensure-reference-region.js.map +1 -0
- package/dist/docs/read-context.d.ts +6 -0
- package/dist/docs/read-context.d.ts.map +1 -0
- package/dist/docs/read-context.js +100 -0
- package/dist/docs/read-context.js.map +1 -0
- package/dist/docs/read-contexts.d.ts +6 -0
- package/dist/docs/read-contexts.d.ts.map +1 -0
- package/dist/docs/read-contexts.js +7 -0
- package/dist/docs/read-contexts.js.map +1 -0
- package/dist/docs/read-declarations.d.ts +5 -0
- package/dist/docs/read-declarations.d.ts.map +1 -0
- package/dist/docs/read-declarations.js +66 -0
- package/dist/docs/read-declarations.js.map +1 -0
- package/dist/docs/read-jobs.d.ts +9 -0
- package/dist/docs/read-jobs.d.ts.map +1 -0
- package/dist/docs/read-jobs.js +48 -0
- package/dist/docs/read-jobs.js.map +1 -0
- package/dist/docs/refresh-context-doc.d.ts +10 -0
- package/dist/docs/refresh-context-doc.d.ts.map +1 -0
- package/dist/docs/refresh-context-doc.js +62 -0
- package/dist/docs/refresh-context-doc.js.map +1 -0
- package/dist/docs/without-comments.d.ts +6 -0
- package/dist/docs/without-comments.d.ts.map +1 -0
- package/dist/docs/without-comments.js +17 -0
- package/dist/docs/without-comments.js.map +1 -0
- package/dist/docs/write-docs.d.ts +9 -0
- package/dist/docs/write-docs.d.ts.map +1 -0
- package/dist/docs/write-docs.js +43 -0
- package/dist/docs/write-docs.js.map +1 -0
- package/dist/generate/access-vars.d.ts +10 -0
- package/dist/generate/access-vars.d.ts.map +1 -0
- package/dist/generate/access-vars.js +81 -0
- package/dist/generate/access-vars.js.map +1 -0
- package/dist/generate/apply-wiring.d.ts +4 -0
- package/dist/generate/apply-wiring.d.ts.map +1 -0
- package/dist/generate/apply-wiring.js +24 -0
- package/dist/generate/apply-wiring.js.map +1 -0
- package/dist/generate/assembled-context.d.ts +7 -0
- package/dist/generate/assembled-context.d.ts.map +1 -0
- package/dist/generate/assembled-context.js +16 -0
- package/dist/generate/assembled-context.js.map +1 -0
- package/dist/generate/concept-role.d.ts +6 -0
- package/dist/generate/concept-role.d.ts.map +1 -0
- package/dist/generate/concept-role.js +2 -0
- package/dist/generate/concept-role.js.map +1 -0
- package/dist/generate/concept.d.ts +9 -0
- package/dist/generate/concept.d.ts.map +1 -0
- package/dist/generate/concept.js +38 -0
- package/dist/generate/concept.js.map +1 -0
- package/dist/generate/context-vars.d.ts +6 -0
- package/dist/generate/context-vars.d.ts.map +1 -0
- package/dist/generate/context-vars.js +15 -0
- package/dist/generate/context-vars.js.map +1 -0
- package/dist/generate/declare-permission.d.ts +5 -0
- package/dist/generate/declare-permission.d.ts.map +1 -0
- package/dist/generate/declare-permission.js +17 -0
- package/dist/generate/declare-permission.js.map +1 -0
- package/dist/generate/emit.d.ts +7 -0
- package/dist/generate/emit.d.ts.map +1 -0
- package/dist/generate/emit.js +20 -0
- package/dist/generate/emit.js.map +1 -0
- package/dist/generate/event-names.d.ts +10 -0
- package/dist/generate/event-names.d.ts.map +1 -0
- package/dist/generate/event-names.js +14 -0
- package/dist/generate/event-names.js.map +1 -0
- package/dist/generate/files-under.d.ts +4 -0
- package/dist/generate/files-under.d.ts.map +1 -0
- package/dist/generate/files-under.js +8 -0
- package/dist/generate/files-under.js.map +1 -0
- package/dist/generate/find-kind.d.ts +4 -0
- package/dist/generate/find-kind.d.ts.map +1 -0
- package/dist/generate/find-kind.js +6 -0
- package/dist/generate/find-kind.js.map +1 -0
- package/dist/generate/host-imports.d.ts +4 -0
- package/dist/generate/host-imports.d.ts.map +1 -0
- package/dist/generate/host-imports.js +5 -0
- package/dist/generate/host-imports.js.map +1 -0
- package/dist/generate/is-declared.d.ts +4 -0
- package/dist/generate/is-declared.d.ts.map +1 -0
- package/dist/generate/is-declared.js +5 -0
- package/dist/generate/is-declared.js.map +1 -0
- package/dist/generate/kind.d.ts +61 -0
- package/dist/generate/kind.d.ts.map +1 -0
- package/dist/generate/kind.js +2 -0
- package/dist/generate/kind.js.map +1 -0
- package/dist/generate/kinds/acl-kind.d.ts +3 -0
- package/dist/generate/kinds/acl-kind.d.ts.map +1 -0
- package/dist/generate/kinds/acl-kind.js +26 -0
- package/dist/generate/kinds/acl-kind.js.map +1 -0
- package/dist/generate/kinds/adapter-kind.d.ts +3 -0
- package/dist/generate/kinds/adapter-kind.d.ts.map +1 -0
- package/dist/generate/kinds/adapter-kind.js +99 -0
- package/dist/generate/kinds/adapter-kind.js.map +1 -0
- package/dist/generate/kinds/adr-kind.d.ts +3 -0
- package/dist/generate/kinds/adr-kind.d.ts.map +1 -0
- package/dist/generate/kinds/adr-kind.js +29 -0
- package/dist/generate/kinds/adr-kind.js.map +1 -0
- package/dist/generate/kinds/aggregate-kind.d.ts +3 -0
- package/dist/generate/kinds/aggregate-kind.d.ts.map +1 -0
- package/dist/generate/kinds/aggregate-kind.js +27 -0
- package/dist/generate/kinds/aggregate-kind.js.map +1 -0
- package/dist/generate/kinds/builder-kind.d.ts +3 -0
- package/dist/generate/kinds/builder-kind.d.ts.map +1 -0
- package/dist/generate/kinds/builder-kind.js +21 -0
- package/dist/generate/kinds/builder-kind.js.map +1 -0
- package/dist/generate/kinds/command-kind.d.ts +3 -0
- package/dist/generate/kinds/command-kind.d.ts.map +1 -0
- package/dist/generate/kinds/command-kind.js +50 -0
- package/dist/generate/kinds/command-kind.js.map +1 -0
- package/dist/generate/kinds/context-kind.d.ts +3 -0
- package/dist/generate/kinds/context-kind.d.ts.map +1 -0
- package/dist/generate/kinds/context-kind.js +30 -0
- package/dist/generate/kinds/context-kind.js.map +1 -0
- package/dist/generate/kinds/context-request.d.ts +10 -0
- package/dist/generate/kinds/context-request.d.ts.map +1 -0
- package/dist/generate/kinds/context-request.js +2 -0
- package/dist/generate/kinds/context-request.js.map +1 -0
- package/dist/generate/kinds/declare-storage.d.ts +5 -0
- package/dist/generate/kinds/declare-storage.d.ts.map +1 -0
- package/dist/generate/kinds/declare-storage.js +43 -0
- package/dist/generate/kinds/declare-storage.js.map +1 -0
- package/dist/generate/kinds/domain-error-kind.d.ts +3 -0
- package/dist/generate/kinds/domain-error-kind.d.ts.map +1 -0
- package/dist/generate/kinds/domain-error-kind.js +31 -0
- package/dist/generate/kinds/domain-error-kind.js.map +1 -0
- package/dist/generate/kinds/domain-event-kind.d.ts +3 -0
- package/dist/generate/kinds/domain-event-kind.d.ts.map +1 -0
- package/dist/generate/kinds/domain-event-kind.js +18 -0
- package/dist/generate/kinds/domain-event-kind.js.map +1 -0
- package/dist/generate/kinds/domain-service-kind.d.ts +3 -0
- package/dist/generate/kinds/domain-service-kind.d.ts.map +1 -0
- package/dist/generate/kinds/domain-service-kind.js +24 -0
- package/dist/generate/kinds/domain-service-kind.js.map +1 -0
- package/dist/generate/kinds/e2e-kind.d.ts +3 -0
- package/dist/generate/kinds/e2e-kind.d.ts.map +1 -0
- package/dist/generate/kinds/e2e-kind.js +58 -0
- package/dist/generate/kinds/e2e-kind.js.map +1 -0
- package/dist/generate/kinds/ensure-domain-event.d.ts +5 -0
- package/dist/generate/kinds/ensure-domain-event.d.ts.map +1 -0
- package/dist/generate/kinds/ensure-domain-event.js +11 -0
- package/dist/generate/kinds/ensure-domain-event.js.map +1 -0
- package/dist/generate/kinds/entity-kind.d.ts +3 -0
- package/dist/generate/kinds/entity-kind.d.ts.map +1 -0
- package/dist/generate/kinds/entity-kind.js +24 -0
- package/dist/generate/kinds/entity-kind.js.map +1 -0
- package/dist/generate/kinds/event-declaration.d.ts +7 -0
- package/dist/generate/kinds/event-declaration.d.ts.map +1 -0
- package/dist/generate/kinds/event-declaration.js +2 -0
- package/dist/generate/kinds/event-declaration.js.map +1 -0
- package/dist/generate/kinds/event-handler-kind.d.ts +3 -0
- package/dist/generate/kinds/event-handler-kind.d.ts.map +1 -0
- package/dist/generate/kinds/event-handler-kind.js +36 -0
- package/dist/generate/kinds/event-handler-kind.js.map +1 -0
- package/dist/generate/kinds/event-vars.d.ts +6 -0
- package/dist/generate/kinds/event-vars.d.ts.map +1 -0
- package/dist/generate/kinds/event-vars.js +7 -0
- package/dist/generate/kinds/event-vars.js.map +1 -0
- package/dist/generate/kinds/existing-aggregate.d.ts +5 -0
- package/dist/generate/kinds/existing-aggregate.d.ts.map +1 -0
- package/dist/generate/kinds/existing-aggregate.js +16 -0
- package/dist/generate/kinds/existing-aggregate.js.map +1 -0
- package/dist/generate/kinds/extraction/add-compose-service.d.ts +4 -0
- package/dist/generate/kinds/extraction/add-compose-service.d.ts.map +1 -0
- package/dist/generate/kinds/extraction/add-compose-service.js +13 -0
- package/dist/generate/kinds/extraction/add-compose-service.js.map +1 -0
- package/dist/generate/kinds/extraction/edit-json.d.ts +6 -0
- package/dist/generate/kinds/extraction/edit-json.d.ts.map +1 -0
- package/dist/generate/kinds/extraction/edit-json.js +12 -0
- package/dist/generate/kinds/extraction/edit-json.js.map +1 -0
- package/dist/generate/kinds/extraction/entry-point.d.ts +13 -0
- package/dist/generate/kinds/extraction/entry-point.d.ts.map +1 -0
- package/dist/generate/kinds/extraction/entry-point.js +29 -0
- package/dist/generate/kinds/extraction/entry-point.js.map +1 -0
- package/dist/generate/kinds/extraction/record-of.d.ts +3 -0
- package/dist/generate/kinds/extraction/record-of.d.ts.map +1 -0
- package/dist/generate/kinds/extraction/record-of.js +5 -0
- package/dist/generate/kinds/extraction/record-of.js.map +1 -0
- package/dist/generate/kinds/extraction/service-selection.d.ts +9 -0
- package/dist/generate/kinds/extraction/service-selection.d.ts.map +1 -0
- package/dist/generate/kinds/extraction/service-selection.js +44 -0
- package/dist/generate/kinds/extraction/service-selection.js.map +1 -0
- package/dist/generate/kinds/find-event-declaration.d.ts +5 -0
- package/dist/generate/kinds/find-event-declaration.d.ts.map +1 -0
- package/dist/generate/kinds/find-event-declaration.js +18 -0
- package/dist/generate/kinds/find-event-declaration.js.map +1 -0
- package/dist/generate/kinds/gateway-kind.d.ts +3 -0
- package/dist/generate/kinds/gateway-kind.d.ts.map +1 -0
- package/dist/generate/kinds/gateway-kind.js +53 -0
- package/dist/generate/kinds/gateway-kind.js.map +1 -0
- package/dist/generate/kinds/generate-context.d.ts +6 -0
- package/dist/generate/kinds/generate-context.d.ts.map +1 -0
- package/dist/generate/kinds/generate-context.js +49 -0
- package/dist/generate/kinds/generate-context.js.map +1 -0
- package/dist/generate/kinds/generate-repository.d.ts +5 -0
- package/dist/generate/kinds/generate-repository.d.ts.map +1 -0
- package/dist/generate/kinds/generate-repository.js +40 -0
- package/dist/generate/kinds/generate-repository.js.map +1 -0
- package/dist/generate/kinds/integration-event-kind.d.ts +3 -0
- package/dist/generate/kinds/integration-event-kind.d.ts.map +1 -0
- package/dist/generate/kinds/integration-event-kind.js +70 -0
- package/dist/generate/kinds/integration-event-kind.js.map +1 -0
- package/dist/generate/kinds/integration-handler-kind.d.ts +3 -0
- package/dist/generate/kinds/integration-handler-kind.d.ts.map +1 -0
- package/dist/generate/kinds/integration-handler-kind.js +94 -0
- package/dist/generate/kinds/integration-handler-kind.js.map +1 -0
- package/dist/generate/kinds/job/constructor-parameters.d.ts +3 -0
- package/dist/generate/kinds/job/constructor-parameters.d.ts.map +1 -0
- package/dist/generate/kinds/job/constructor-parameters.js +33 -0
- package/dist/generate/kinds/job/constructor-parameters.js.map +1 -0
- package/dist/generate/kinds/job/grant-system-actor.d.ts +17 -0
- package/dist/generate/kinds/job/grant-system-actor.d.ts.map +1 -0
- package/dist/generate/kinds/job/grant-system-actor.js +67 -0
- package/dist/generate/kinds/job/grant-system-actor.js.map +1 -0
- package/dist/generate/kinds/job/job-vars.d.ts +13 -0
- package/dist/generate/kinds/job/job-vars.d.ts.map +1 -0
- package/dist/generate/kinds/job/job-vars.js +49 -0
- package/dist/generate/kinds/job/job-vars.js.map +1 -0
- package/dist/generate/kinds/job/read-sent-command.d.ts +5 -0
- package/dist/generate/kinds/job/read-sent-command.d.ts.map +1 -0
- package/dist/generate/kinds/job/read-sent-command.js +62 -0
- package/dist/generate/kinds/job/read-sent-command.js.map +1 -0
- package/dist/generate/kinds/job/requested-schedule.d.ts +5 -0
- package/dist/generate/kinds/job/requested-schedule.d.ts.map +1 -0
- package/dist/generate/kinds/job/requested-schedule.js +21 -0
- package/dist/generate/kinds/job/requested-schedule.js.map +1 -0
- package/dist/generate/kinds/job/sent-command.d.ts +12 -0
- package/dist/generate/kinds/job/sent-command.d.ts.map +1 -0
- package/dist/generate/kinds/job/sent-command.js +2 -0
- package/dist/generate/kinds/job/sent-command.js.map +1 -0
- package/dist/generate/kinds/job/written-schedule.d.ts +4 -0
- package/dist/generate/kinds/job/written-schedule.d.ts.map +1 -0
- package/dist/generate/kinds/job/written-schedule.js +8 -0
- package/dist/generate/kinds/job/written-schedule.js.map +1 -0
- package/dist/generate/kinds/job-kind.d.ts +3 -0
- package/dist/generate/kinds/job-kind.d.ts.map +1 -0
- package/dist/generate/kinds/job-kind.js +56 -0
- package/dist/generate/kinds/job-kind.js.map +1 -0
- package/dist/generate/kinds/policy-kind.d.ts +3 -0
- package/dist/generate/kinds/policy-kind.d.ts.map +1 -0
- package/dist/generate/kinds/policy-kind.js +38 -0
- package/dist/generate/kinds/policy-kind.js.map +1 -0
- package/dist/generate/kinds/port-kind.d.ts +3 -0
- package/dist/generate/kinds/port-kind.d.ts.map +1 -0
- package/dist/generate/kinds/port-kind.js +27 -0
- package/dist/generate/kinds/port-kind.js.map +1 -0
- package/dist/generate/kinds/publish-in-index.d.ts +4 -0
- package/dist/generate/kinds/publish-in-index.d.ts.map +1 -0
- package/dist/generate/kinds/publish-in-index.js +20 -0
- package/dist/generate/kinds/publish-in-index.js.map +1 -0
- package/dist/generate/kinds/query-kind.d.ts +3 -0
- package/dist/generate/kinds/query-kind.d.ts.map +1 -0
- package/dist/generate/kinds/query-kind.js +79 -0
- package/dist/generate/kinds/query-kind.js.map +1 -0
- package/dist/generate/kinds/repository-adapter.d.ts +10 -0
- package/dist/generate/kinds/repository-adapter.d.ts.map +1 -0
- package/dist/generate/kinds/repository-adapter.js +23 -0
- package/dist/generate/kinds/repository-adapter.js.map +1 -0
- package/dist/generate/kinds/repository-kind.d.ts +3 -0
- package/dist/generate/kinds/repository-kind.d.ts.map +1 -0
- package/dist/generate/kinds/repository-kind.js +16 -0
- package/dist/generate/kinds/repository-kind.js.map +1 -0
- package/dist/generate/kinds/route/dto-classes.d.ts +5 -0
- package/dist/generate/kinds/route/dto-classes.d.ts.map +1 -0
- package/dist/generate/kinds/route/dto-classes.js +14 -0
- package/dist/generate/kinds/route/dto-classes.js.map +1 -0
- package/dist/generate/kinds/route/endpoint.d.ts +7 -0
- package/dist/generate/kinds/route/endpoint.d.ts.map +1 -0
- package/dist/generate/kinds/route/endpoint.js +2 -0
- package/dist/generate/kinds/route/endpoint.js.map +1 -0
- package/dist/generate/kinds/route/find-use-case.d.ts +7 -0
- package/dist/generate/kinds/route/find-use-case.d.ts.map +1 -0
- package/dist/generate/kinds/route/find-use-case.js +33 -0
- package/dist/generate/kinds/route/find-use-case.js.map +1 -0
- package/dist/generate/kinds/route/parse-endpoint.d.ts +4 -0
- package/dist/generate/kinds/route/parse-endpoint.d.ts.map +1 -0
- package/dist/generate/kinds/route/parse-endpoint.js +16 -0
- package/dist/generate/kinds/route/parse-endpoint.js.map +1 -0
- package/dist/generate/kinds/route/route-vars.d.ts +13 -0
- package/dist/generate/kinds/route/route-vars.d.ts.map +1 -0
- package/dist/generate/kinds/route/route-vars.js +77 -0
- package/dist/generate/kinds/route/route-vars.js.map +1 -0
- package/dist/generate/kinds/route/use-case.d.ts +13 -0
- package/dist/generate/kinds/route/use-case.d.ts.map +1 -0
- package/dist/generate/kinds/route/use-case.js +2 -0
- package/dist/generate/kinds/route/use-case.js.map +1 -0
- package/dist/generate/kinds/route-kind.d.ts +3 -0
- package/dist/generate/kinds/route-kind.d.ts.map +1 -0
- package/dist/generate/kinds/route-kind.js +50 -0
- package/dist/generate/kinds/route-kind.js.map +1 -0
- package/dist/generate/kinds/service-kind.d.ts +3 -0
- package/dist/generate/kinds/service-kind.d.ts.map +1 -0
- package/dist/generate/kinds/service-kind.js +34 -0
- package/dist/generate/kinds/service-kind.js.map +1 -0
- package/dist/generate/kinds/traced-command.d.ts +12 -0
- package/dist/generate/kinds/traced-command.d.ts.map +1 -0
- package/dist/generate/kinds/traced-command.js +19 -0
- package/dist/generate/kinds/traced-command.js.map +1 -0
- package/dist/generate/kinds/value-object-kind.d.ts +3 -0
- package/dist/generate/kinds/value-object-kind.d.ts.map +1 -0
- package/dist/generate/kinds/value-object-kind.js +24 -0
- package/dist/generate/kinds/value-object-kind.js.map +1 -0
- package/dist/generate/kinds/worker-kind.d.ts +3 -0
- package/dist/generate/kinds/worker-kind.d.ts.map +1 -0
- package/dist/generate/kinds/worker-kind.js +54 -0
- package/dist/generate/kinds/worker-kind.js.map +1 -0
- package/dist/generate/kinds/write-adr.d.ts +10 -0
- package/dist/generate/kinds/write-adr.d.ts.map +1 -0
- package/dist/generate/kinds/write-adr.js +31 -0
- package/dist/generate/kinds/write-adr.js.map +1 -0
- package/dist/generate/kinds/write-context-files.d.ts +12 -0
- package/dist/generate/kinds/write-context-files.d.ts.map +1 -0
- package/dist/generate/kinds/write-context-files.js +78 -0
- package/dist/generate/kinds/write-context-files.js.map +1 -0
- package/dist/generate/kinds/write-domain-event.d.ts +4 -0
- package/dist/generate/kinds/write-domain-event.d.ts.map +1 -0
- package/dist/generate/kinds/write-domain-event.js +9 -0
- package/dist/generate/kinds/write-domain-event.js.map +1 -0
- package/dist/generate/kinds-help.d.ts +17 -0
- package/dist/generate/kinds-help.d.ts.map +1 -0
- package/dist/generate/kinds-help.js +17 -0
- package/dist/generate/kinds-help.js.map +1 -0
- package/dist/generate/kinds.d.ts +4 -0
- package/dist/generate/kinds.d.ts.map +1 -0
- package/dist/generate/kinds.js +54 -0
- package/dist/generate/kinds.js.map +1 -0
- package/dist/generate/label.d.ts +6 -0
- package/dist/generate/label.d.ts.map +1 -0
- package/dist/generate/label.js +6 -0
- package/dist/generate/label.js.map +1 -0
- package/dist/generate/learn-terms.d.ts +4 -0
- package/dist/generate/learn-terms.d.ts.map +1 -0
- package/dist/generate/learn-terms.js +17 -0
- package/dist/generate/learn-terms.js.map +1 -0
- package/dist/generate/named.d.ts +5 -0
- package/dist/generate/named.d.ts.map +1 -0
- package/dist/generate/named.js +5 -0
- package/dist/generate/named.js.map +1 -0
- package/dist/generate/open-scope.d.ts +5 -0
- package/dist/generate/open-scope.d.ts.map +1 -0
- package/dist/generate/open-scope.js +19 -0
- package/dist/generate/open-scope.js.map +1 -0
- package/dist/generate/parse-terms.d.ts +7 -0
- package/dist/generate/parse-terms.d.ts.map +1 -0
- package/dist/generate/parse-terms.js +12 -0
- package/dist/generate/parse-terms.js.map +1 -0
- package/dist/generate/permission-named.d.ts +4 -0
- package/dist/generate/permission-named.d.ts.map +1 -0
- package/dist/generate/permission-named.js +12 -0
- package/dist/generate/permission-named.js.map +1 -0
- package/dist/generate/permissions-file.d.ts +4 -0
- package/dist/generate/permissions-file.d.ts.map +1 -0
- package/dist/generate/permissions-file.js +5 -0
- package/dist/generate/permissions-file.js.map +1 -0
- package/dist/generate/refresh-barrels.d.ts +9 -0
- package/dist/generate/refresh-barrels.d.ts.map +1 -0
- package/dist/generate/refresh-barrels.js +29 -0
- package/dist/generate/refresh-barrels.js.map +1 -0
- package/dist/generate/refuse-shared-writes.d.ts +8 -0
- package/dist/generate/refuse-shared-writes.d.ts.map +1 -0
- package/dist/generate/refuse-shared-writes.js +16 -0
- package/dist/generate/refuse-shared-writes.js.map +1 -0
- package/dist/generate/relative-to.d.ts +3 -0
- package/dist/generate/relative-to.d.ts.map +1 -0
- package/dist/generate/relative-to.js +7 -0
- package/dist/generate/relative-to.js.map +1 -0
- package/dist/generate/require-file.d.ts +10 -0
- package/dist/generate/require-file.d.ts.map +1 -0
- package/dist/generate/require-file.js +10 -0
- package/dist/generate/require-file.js.map +1 -0
- package/dist/generate/schedule/cron-field-values.d.ts +4 -0
- package/dist/generate/schedule/cron-field-values.d.ts.map +1 -0
- package/dist/generate/schedule/cron-field-values.js +32 -0
- package/dist/generate/schedule/cron-field-values.js.map +1 -0
- package/dist/generate/schedule/cron-field.d.ts +8 -0
- package/dist/generate/schedule/cron-field.d.ts.map +1 -0
- package/dist/generate/schedule/cron-field.js +2 -0
- package/dist/generate/schedule/cron-field.js.map +1 -0
- package/dist/generate/schedule/cron-problem.d.ts +3 -0
- package/dist/generate/schedule/cron-problem.d.ts.map +1 -0
- package/dist/generate/schedule/cron-problem.js +41 -0
- package/dist/generate/schedule/cron-problem.js.map +1 -0
- package/dist/generate/schedule/duration-problem.d.ts +3 -0
- package/dist/generate/schedule/duration-problem.d.ts.map +1 -0
- package/dist/generate/schedule/duration-problem.js +14 -0
- package/dist/generate/schedule/duration-problem.js.map +1 -0
- package/dist/generate/schedule/job-schedule-problem.d.ts +7 -0
- package/dist/generate/schedule/job-schedule-problem.d.ts.map +1 -0
- package/dist/generate/schedule/job-schedule-problem.js +25 -0
- package/dist/generate/schedule/job-schedule-problem.js.map +1 -0
- package/dist/generate/schedule/job-schedule.d.ts +7 -0
- package/dist/generate/schedule/job-schedule.d.ts.map +1 -0
- package/dist/generate/schedule/job-schedule.js +2 -0
- package/dist/generate/schedule/job-schedule.js.map +1 -0
- package/dist/generate/scope.d.ts +14 -0
- package/dist/generate/scope.d.ts.map +1 -0
- package/dist/generate/scope.js +2 -0
- package/dist/generate/scope.js.map +1 -0
- package/dist/generate/shared-writes.d.ts +12 -0
- package/dist/generate/shared-writes.d.ts.map +1 -0
- package/dist/generate/shared-writes.js +58 -0
- package/dist/generate/shared-writes.js.map +1 -0
- package/dist/generate/spec-vars.d.ts +10 -0
- package/dist/generate/spec-vars.d.ts.map +1 -0
- package/dist/generate/spec-vars.js +41 -0
- package/dist/generate/spec-vars.js.map +1 -0
- package/dist/generate/storage-vars.d.ts +9 -0
- package/dist/generate/storage-vars.d.ts.map +1 -0
- package/dist/generate/storage-vars.js +26 -0
- package/dist/generate/storage-vars.js.map +1 -0
- package/dist/generate/use-case-message.d.ts +7 -0
- package/dist/generate/use-case-message.d.ts.map +1 -0
- package/dist/generate/use-case-message.js +2 -0
- package/dist/generate/use-case-message.js.map +1 -0
- package/dist/generate/vars.d.ts +5 -0
- package/dist/generate/vars.d.ts.map +1 -0
- package/dist/generate/vars.js +6 -0
- package/dist/generate/vars.js.map +1 -0
- package/dist/generate/wire.d.ts +12 -0
- package/dist/generate/wire.d.ts.map +1 -0
- package/dist/generate/wire.js +38 -0
- package/dist/generate/wire.js.map +1 -0
- package/dist/generate/wiring-family.d.ts +9 -0
- package/dist/generate/wiring-family.d.ts.map +1 -0
- package/dist/generate/wiring-family.js +13 -0
- package/dist/generate/wiring-family.js.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/init/add-context.d.ts +5 -0
- package/dist/init/add-context.d.ts.map +1 -0
- package/dist/init/add-context.js +11 -0
- package/dist/init/add-context.js.map +1 -0
- package/dist/init/existing-name.d.ts +3 -0
- package/dist/init/existing-name.d.ts.map +1 -0
- package/dist/init/existing-name.js +14 -0
- package/dist/init/existing-name.js.map +1 -0
- package/dist/init/files/audit-files.d.ts +8 -0
- package/dist/init/files/audit-files.d.ts.map +1 -0
- package/dist/init/files/audit-files.js +30 -0
- package/dist/init/files/audit-files.js.map +1 -0
- package/dist/init/files/auth-files.d.ts +5 -0
- package/dist/init/files/auth-files.d.ts.map +1 -0
- package/dist/init/files/auth-files.js +49 -0
- package/dist/init/files/auth-files.js.map +1 -0
- package/dist/init/files/end-to-end-files.d.ts +5 -0
- package/dist/init/files/end-to-end-files.d.ts.map +1 -0
- package/dist/init/files/end-to-end-files.js +23 -0
- package/dist/init/files/end-to-end-files.js.map +1 -0
- package/dist/init/files/family-of.d.ts +4 -0
- package/dist/init/files/family-of.d.ts.map +1 -0
- package/dist/init/files/family-of.js +5 -0
- package/dist/init/files/family-of.js.map +1 -0
- package/dist/init/files/guidance-files.d.ts +3 -0
- package/dist/init/files/guidance-files.d.ts.map +1 -0
- package/dist/init/files/guidance-files.js +9 -0
- package/dist/init/files/guidance-files.js.map +1 -0
- package/dist/init/files/init-file.d.ts +7 -0
- package/dist/init/files/init-file.d.ts.map +1 -0
- package/dist/init/files/init-file.js +2 -0
- package/dist/init/files/init-file.js.map +1 -0
- package/dist/init/files/init-files.d.ts +4 -0
- package/dist/init/files/init-files.d.ts.map +1 -0
- package/dist/init/files/init-files.js +23 -0
- package/dist/init/files/init-files.js.map +1 -0
- package/dist/init/files/persistence-files.d.ts +4 -0
- package/dist/init/files/persistence-files.d.ts.map +1 -0
- package/dist/init/files/persistence-files.js +60 -0
- package/dist/init/files/persistence-files.js.map +1 -0
- package/dist/init/files/pipeline-files.d.ts +5 -0
- package/dist/init/files/pipeline-files.d.ts.map +1 -0
- package/dist/init/files/pipeline-files.js +25 -0
- package/dist/init/files/pipeline-files.js.map +1 -0
- package/dist/init/files/platform-file.d.ts +9 -0
- package/dist/init/files/platform-file.d.ts.map +1 -0
- package/dist/init/files/platform-file.js +10 -0
- package/dist/init/files/platform-file.js.map +1 -0
- package/dist/init/files/platform-files.d.ts +5 -0
- package/dist/init/files/platform-files.d.ts.map +1 -0
- package/dist/init/files/platform-files.js +67 -0
- package/dist/init/files/platform-files.js.map +1 -0
- package/dist/init/files/project-files.d.ts +5 -0
- package/dist/init/files/project-files.d.ts.map +1 -0
- package/dist/init/files/project-files.js +26 -0
- package/dist/init/files/project-files.js.map +1 -0
- package/dist/init/files/script-files.d.ts +4 -0
- package/dist/init/files/script-files.d.ts.map +1 -0
- package/dist/init/files/script-files.js +8 -0
- package/dist/init/files/script-files.js.map +1 -0
- package/dist/init/files/when.d.ts +3 -0
- package/dist/init/files/when.d.ts.map +1 -0
- package/dist/init/files/when.js +4 -0
- package/dist/init/files/when.js.map +1 -0
- package/dist/init/is-record.d.ts +2 -0
- package/dist/init/is-record.d.ts.map +1 -0
- package/dist/init/is-record.js +4 -0
- package/dist/init/is-record.js.map +1 -0
- package/dist/init/knip-vars.d.ts +9 -0
- package/dist/init/knip-vars.d.ts.map +1 -0
- package/dist/init/knip-vars.js +18 -0
- package/dist/init/knip-vars.js.map +1 -0
- package/dist/init/manifest/baseline.d.ts +13 -0
- package/dist/init/manifest/baseline.d.ts.map +1 -0
- package/dist/init/manifest/baseline.js +21 -0
- package/dist/init/manifest/baseline.js.map +1 -0
- package/dist/init/manifest/database-scripts.d.ts +3 -0
- package/dist/init/manifest/database-scripts.d.ts.map +1 -0
- package/dist/init/manifest/database-scripts.js +37 -0
- package/dist/init/manifest/database-scripts.js.map +1 -0
- package/dist/init/manifest/dependencies-for.d.ts +7 -0
- package/dist/init/manifest/dependencies-for.d.ts.map +1 -0
- package/dist/init/manifest/dependencies-for.js +95 -0
- package/dist/init/manifest/dependencies-for.js.map +1 -0
- package/dist/init/manifest/documentation-scripts.d.ts +3 -0
- package/dist/init/manifest/documentation-scripts.d.ts.map +1 -0
- package/dist/init/manifest/documentation-scripts.js +16 -0
- package/dist/init/manifest/documentation-scripts.js.map +1 -0
- package/dist/init/manifest/pipeline-manifest.d.ts +7 -0
- package/dist/init/manifest/pipeline-manifest.d.ts.map +1 -0
- package/dist/init/manifest/pipeline-manifest.js +13 -0
- package/dist/init/manifest/pipeline-manifest.js.map +1 -0
- package/dist/init/manifest/scripts-for.d.ts +4 -0
- package/dist/init/manifest/scripts-for.d.ts.map +1 -0
- package/dist/init/manifest/scripts-for.js +42 -0
- package/dist/init/manifest/scripts-for.js.map +1 -0
- package/dist/init/manifest/test-scripts.d.ts +8 -0
- package/dist/init/manifest/test-scripts.d.ts.map +1 -0
- package/dist/init/manifest/test-scripts.js +29 -0
- package/dist/init/manifest/test-scripts.js.map +1 -0
- package/dist/init/manifest/versions.d.ts +3 -0
- package/dist/init/manifest/versions.d.ts.map +1 -0
- package/dist/init/manifest/versions.js +75 -0
- package/dist/init/manifest/versions.js.map +1 -0
- package/dist/init/manifest/write-manifest.d.ts +10 -0
- package/dist/init/manifest/write-manifest.d.ts.map +1 -0
- package/dist/init/manifest/write-manifest.js +69 -0
- package/dist/init/manifest/write-manifest.js.map +1 -0
- package/dist/init/record-no-outbox.d.ts +5 -0
- package/dist/init/record-no-outbox.d.ts.map +1 -0
- package/dist/init/record-no-outbox.js +16 -0
- package/dist/init/record-no-outbox.js.map +1 -0
- package/dist/init/run-init.d.ts +9 -0
- package/dist/init/run-init.d.ts.map +1 -0
- package/dist/init/run-init.js +45 -0
- package/dist/init/run-init.js.map +1 -0
- package/dist/init/stack/choose.d.ts +3 -0
- package/dist/init/stack/choose.d.ts.map +1 -0
- package/dist/init/stack/choose.js +13 -0
- package/dist/init/stack/choose.js.map +1 -0
- package/dist/init/stack/resolve-persistence.d.ts +10 -0
- package/dist/init/stack/resolve-persistence.d.ts.map +1 -0
- package/dist/init/stack/resolve-persistence.js +26 -0
- package/dist/init/stack/resolve-persistence.js.map +1 -0
- package/dist/init/stack/resolve-stack.d.ts +6 -0
- package/dist/init/stack/resolve-stack.d.ts.map +1 -0
- package/dist/init/stack/resolve-stack.js +88 -0
- package/dist/init/stack/resolve-stack.js.map +1 -0
- package/dist/init/stack/resolve-style.d.ts +12 -0
- package/dist/init/stack/resolve-style.d.ts.map +1 -0
- package/dist/init/stack/resolve-style.js +21 -0
- package/dist/init/stack/resolve-style.js.map +1 -0
- package/dist/init/stack/stack-options.d.ts +27 -0
- package/dist/init/stack/stack-options.d.ts.map +1 -0
- package/dist/init/stack/stack-options.js +2 -0
- package/dist/init/stack/stack-options.js.map +1 -0
- package/dist/init/template-vars.d.ts +5 -0
- package/dist/init/template-vars.d.ts.map +1 -0
- package/dist/init/template-vars.js +48 -0
- package/dist/init/template-vars.js.map +1 -0
- package/dist/init/write-agent-settings.d.ts +4 -0
- package/dist/init/write-agent-settings.d.ts.map +1 -0
- package/dist/init/write-agent-settings.js +95 -0
- package/dist/init/write-agent-settings.js.map +1 -0
- package/dist/init/write-type-script-configs.d.ts +9 -0
- package/dist/init/write-type-script-configs.d.ts.map +1 -0
- package/dist/init/write-type-script-configs.js +39 -0
- package/dist/init/write-type-script-configs.js.map +1 -0
- package/dist/json/format-json.d.ts +7 -0
- package/dist/json/format-json.d.ts.map +1 -0
- package/dist/json/format-json.js +57 -0
- package/dist/json/format-json.js.map +1 -0
- package/dist/layout/chain-links.d.ts +7 -0
- package/dist/layout/chain-links.d.ts.map +1 -0
- package/dist/layout/chain-links.js +19 -0
- package/dist/layout/chain-links.js.map +1 -0
- package/dist/layout/fit-block.d.ts +7 -0
- package/dist/layout/fit-block.d.ts.map +1 -0
- package/dist/layout/fit-block.js +27 -0
- package/dist/layout/fit-block.js.map +1 -0
- package/dist/layout/fit-declaration.d.ts +7 -0
- package/dist/layout/fit-declaration.d.ts.map +1 -0
- package/dist/layout/fit-declaration.js +78 -0
- package/dist/layout/fit-declaration.js.map +1 -0
- package/dist/layout/fit-source.d.ts +8 -0
- package/dist/layout/fit-source.d.ts.map +1 -0
- package/dist/layout/fit-source.js +60 -0
- package/dist/layout/fit-source.js.map +1 -0
- package/dist/layout/fit-statement.d.ts +9 -0
- package/dist/layout/fit-statement.d.ts.map +1 -0
- package/dist/layout/fit-statement.js +112 -0
- package/dist/layout/fit-statement.js.map +1 -0
- package/dist/layout/index.d.ts +5 -0
- package/dist/layout/index.d.ts.map +1 -0
- package/dist/layout/index.js +5 -0
- package/dist/layout/index.js.map +1 -0
- package/dist/layout/line-width.d.ts +3 -0
- package/dist/layout/line-width.d.ts.map +1 -0
- package/dist/layout/line-width.js +3 -0
- package/dist/layout/line-width.js.map +1 -0
- package/dist/layout/nesting.d.ts +6 -0
- package/dist/layout/nesting.d.ts.map +1 -0
- package/dist/layout/nesting.js +31 -0
- package/dist/layout/nesting.js.map +1 -0
- package/dist/layout/open-callback.d.ts +8 -0
- package/dist/layout/open-callback.d.ts.map +1 -0
- package/dist/layout/open-callback.js +45 -0
- package/dist/layout/open-callback.js.map +1 -0
- package/dist/layout/split-top-level.d.ts +3 -0
- package/dist/layout/split-top-level.d.ts.map +1 -0
- package/dist/layout/split-top-level.js +15 -0
- package/dist/layout/split-top-level.js.map +1 -0
- package/dist/markers/index.d.ts +4 -0
- package/dist/markers/index.d.ts.map +1 -0
- package/dist/markers/index.js +4 -0
- package/dist/markers/index.js.map +1 -0
- package/dist/markers/insert-in-region.d.ts +6 -0
- package/dist/markers/insert-in-region.d.ts.map +1 -0
- package/dist/markers/insert-in-region.js +54 -0
- package/dist/markers/insert-in-region.js.map +1 -0
- package/dist/markers/marker.d.ts +6 -0
- package/dist/markers/marker.d.ts.map +1 -0
- package/dist/markers/marker.js +8 -0
- package/dist/markers/marker.js.map +1 -0
- package/dist/markers/merge-imports.d.ts +6 -0
- package/dist/markers/merge-imports.d.ts.map +1 -0
- package/dist/markers/merge-imports.js +54 -0
- package/dist/markers/merge-imports.js.map +1 -0
- package/dist/markers/parse-wiring.d.ts +3 -0
- package/dist/markers/parse-wiring.d.ts.map +1 -0
- package/dist/markers/parse-wiring.js +17 -0
- package/dist/markers/parse-wiring.js.map +1 -0
- package/dist/markers/replace-region.d.ts +3 -0
- package/dist/markers/replace-region.d.ts.map +1 -0
- package/dist/markers/replace-region.js +14 -0
- package/dist/markers/replace-region.js.map +1 -0
- package/dist/naming/assert-past-fact.d.ts +3 -0
- package/dist/naming/assert-past-fact.d.ts.map +1 -0
- package/dist/naming/assert-past-fact.js +9 -0
- package/dist/naming/assert-past-fact.js.map +1 -0
- package/dist/naming/capitalize.d.ts +2 -0
- package/dist/naming/capitalize.d.ts.map +1 -0
- package/dist/naming/capitalize.js +4 -0
- package/dist/naming/capitalize.js.map +1 -0
- package/dist/naming/event-name.d.ts +4 -0
- package/dist/naming/event-name.d.ts.map +1 -0
- package/dist/naming/event-name.js +5 -0
- package/dist/naming/event-name.js.map +1 -0
- package/dist/naming/index.d.ts +9 -0
- package/dist/naming/index.d.ts.map +1 -0
- package/dist/naming/index.js +8 -0
- package/dist/naming/index.js.map +1 -0
- package/dist/naming/looks-like-past-fact.d.ts +4 -0
- package/dist/naming/looks-like-past-fact.d.ts.map +1 -0
- package/dist/naming/looks-like-past-fact.js +69 -0
- package/dist/naming/looks-like-past-fact.js.map +1 -0
- package/dist/naming/name.d.ts +15 -0
- package/dist/naming/name.d.ts.map +1 -0
- package/dist/naming/name.js +2 -0
- package/dist/naming/name.js.map +1 -0
- package/dist/naming/parse-concept-name.d.ts +9 -0
- package/dist/naming/parse-concept-name.d.ts.map +1 -0
- package/dist/naming/parse-concept-name.js +22 -0
- package/dist/naming/parse-concept-name.js.map +1 -0
- package/dist/naming/parse-context-name.d.ts +3 -0
- package/dist/naming/parse-context-name.d.ts.map +1 -0
- package/dist/naming/parse-context-name.js +10 -0
- package/dist/naming/parse-context-name.js.map +1 -0
- package/dist/naming/split-words.d.ts +3 -0
- package/dist/naming/split-words.d.ts.map +1 -0
- package/dist/naming/split-words.js +12 -0
- package/dist/naming/split-words.js.map +1 -0
- package/dist/naming/to-name.d.ts +3 -0
- package/dist/naming/to-name.d.ts.map +1 -0
- package/dist/naming/to-name.js +25 -0
- package/dist/naming/to-name.js.map +1 -0
- package/dist/progress/format-progress.d.ts +4 -0
- package/dist/progress/format-progress.d.ts.map +1 -0
- package/dist/progress/format-progress.js +44 -0
- package/dist/progress/format-progress.js.map +1 -0
- package/dist/progress/progress.d.ts +28 -0
- package/dist/progress/progress.d.ts.map +1 -0
- package/dist/progress/progress.js +2 -0
- package/dist/progress/progress.js.map +1 -0
- package/dist/progress/read-progress.d.ts +6 -0
- package/dist/progress/read-progress.d.ts.map +1 -0
- package/dist/progress/read-progress.js +40 -0
- package/dist/progress/read-progress.js.map +1 -0
- package/dist/progress/read-remaining.d.ts +6 -0
- package/dist/progress/read-remaining.d.ts.map +1 -0
- package/dist/progress/read-remaining.js +35 -0
- package/dist/progress/read-remaining.js.map +1 -0
- package/dist/progress/read-slices.d.ts +6 -0
- package/dist/progress/read-slices.d.ts.map +1 -0
- package/dist/progress/read-slices.js +46 -0
- package/dist/progress/read-slices.js.map +1 -0
- package/dist/progress/remaining-in.d.ts +4 -0
- package/dist/progress/remaining-in.d.ts.map +1 -0
- package/dist/progress/remaining-in.js +20 -0
- package/dist/progress/remaining-in.js.map +1 -0
- package/dist/progress/remaining.d.ts +11 -0
- package/dist/progress/remaining.d.ts.map +1 -0
- package/dist/progress/remaining.js +2 -0
- package/dist/progress/remaining.js.map +1 -0
- package/dist/progress/slice.d.ts +18 -0
- package/dist/progress/slice.d.ts.map +1 -0
- package/dist/progress/slice.js +2 -0
- package/dist/progress/slice.js.map +1 -0
- package/dist/run.d.ts +3 -0
- package/dist/run.d.ts.map +1 -0
- package/dist/run.js +130 -0
- package/dist/run.js.map +1 -0
- package/dist/stack/alias-vars.d.ts +8 -0
- package/dist/stack/alias-vars.d.ts.map +1 -0
- package/dist/stack/alias-vars.js +25 -0
- package/dist/stack/alias-vars.js.map +1 -0
- package/dist/stack/audit-vars.d.ts +5 -0
- package/dist/stack/audit-vars.d.ts.map +1 -0
- package/dist/stack/audit-vars.js +17 -0
- package/dist/stack/audit-vars.js.map +1 -0
- package/dist/stack/authentication-vars.d.ts +5 -0
- package/dist/stack/authentication-vars.d.ts.map +1 -0
- package/dist/stack/authentication-vars.js +8 -0
- package/dist/stack/authentication-vars.js.map +1 -0
- package/dist/stack/broker-vars.d.ts +4 -0
- package/dist/stack/broker-vars.d.ts.map +1 -0
- package/dist/stack/broker-vars.js +34 -0
- package/dist/stack/broker-vars.js.map +1 -0
- package/dist/stack/cache-vars.d.ts +5 -0
- package/dist/stack/cache-vars.d.ts.map +1 -0
- package/dist/stack/cache-vars.js +7 -0
- package/dist/stack/cache-vars.js.map +1 -0
- package/dist/stack/error-vars.d.ts +8 -0
- package/dist/stack/error-vars.d.ts.map +1 -0
- package/dist/stack/error-vars.js +11 -0
- package/dist/stack/error-vars.js.map +1 -0
- package/dist/stack/event-vars.d.ts +5 -0
- package/dist/stack/event-vars.d.ts.map +1 -0
- package/dist/stack/event-vars.js +28 -0
- package/dist/stack/event-vars.js.map +1 -0
- package/dist/stack/one.d.ts +3 -0
- package/dist/stack/one.d.ts.map +1 -0
- package/dist/stack/one.js +6 -0
- package/dist/stack/one.js.map +1 -0
- package/dist/stack/persistence-vars.d.ts +5 -0
- package/dist/stack/persistence-vars.d.ts.map +1 -0
- package/dist/stack/persistence-vars.js +32 -0
- package/dist/stack/persistence-vars.js.map +1 -0
- package/dist/stack/provided-brokers.d.ts +3 -0
- package/dist/stack/provided-brokers.d.ts.map +1 -0
- package/dist/stack/provided-brokers.js +3 -0
- package/dist/stack/provided-brokers.js.map +1 -0
- package/dist/stack/redis-vars.d.ts +5 -0
- package/dist/stack/redis-vars.d.ts.map +1 -0
- package/dist/stack/redis-vars.js +16 -0
- package/dist/stack/redis-vars.js.map +1 -0
- package/dist/stack/stack-vars.d.ts +5 -0
- package/dist/stack/stack-vars.d.ts.map +1 -0
- package/dist/stack/stack-vars.js +64 -0
- package/dist/stack/stack-vars.js.map +1 -0
- package/dist/stack/uses-legacy-decorators.d.ts +8 -0
- package/dist/stack/uses-legacy-decorators.d.ts.map +1 -0
- package/dist/stack/uses-legacy-decorators.js +9 -0
- package/dist/stack/uses-legacy-decorators.js.map +1 -0
- package/dist/stack/with-database.d.ts +3 -0
- package/dist/stack/with-database.d.ts.map +1 -0
- package/dist/stack/with-database.js +3 -0
- package/dist/stack/with-database.js.map +1 -0
- package/dist/templating/index.d.ts +7 -0
- package/dist/templating/index.d.ts.map +1 -0
- package/dist/templating/index.js +6 -0
- package/dist/templating/index.js.map +1 -0
- package/dist/templating/list-templates.d.ts +3 -0
- package/dist/templating/list-templates.d.ts.map +1 -0
- package/dist/templating/list-templates.js +17 -0
- package/dist/templating/list-templates.js.map +1 -0
- package/dist/templating/read-template.d.ts +2 -0
- package/dist/templating/read-template.d.ts.map +1 -0
- package/dist/templating/read-template.js +22 -0
- package/dist/templating/read-template.js.map +1 -0
- package/dist/templating/render-context.d.ts +6 -0
- package/dist/templating/render-context.d.ts.map +1 -0
- package/dist/templating/render-context.js +2 -0
- package/dist/templating/render-context.js.map +1 -0
- package/dist/templating/render-template.d.ts +4 -0
- package/dist/templating/render-template.d.ts.map +1 -0
- package/dist/templating/render-template.js +12 -0
- package/dist/templating/render-template.js.map +1 -0
- package/dist/templating/render.d.ts +4 -0
- package/dist/templating/render.d.ts.map +1 -0
- package/dist/templating/render.js +18 -0
- package/dist/templating/render.js.map +1 -0
- package/dist/templating/rendering.d.ts +18 -0
- package/dist/templating/rendering.d.ts.map +1 -0
- package/dist/templating/rendering.js +72 -0
- package/dist/templating/rendering.js.map +1 -0
- package/dist/templating/template-exists.d.ts +2 -0
- package/dist/templating/template-exists.d.ts.map +1 -0
- package/dist/templating/template-exists.js +13 -0
- package/dist/templating/template-exists.js.map +1 -0
- package/dist/templating/templates-root.d.ts +3 -0
- package/dist/templating/templates-root.d.ts.map +1 -0
- package/dist/templating/templates-root.js +4 -0
- package/dist/templating/templates-root.js.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +2 -0
- package/dist/version.js.map +1 -0
- package/dist/worker/briefing-of.d.ts +7 -0
- package/dist/worker/briefing-of.d.ts.map +1 -0
- package/dist/worker/briefing-of.js +59 -0
- package/dist/worker/briefing-of.js.map +1 -0
- package/dist/worker/open-worker-scope.d.ts +18 -0
- package/dist/worker/open-worker-scope.d.ts.map +1 -0
- package/dist/worker/open-worker-scope.js +111 -0
- package/dist/worker/open-worker-scope.js.map +1 -0
- package/dist/worker/worker-generators.d.ts +4 -0
- package/dist/worker/worker-generators.d.ts.map +1 -0
- package/dist/worker/worker-generators.js +14 -0
- package/dist/worker/worker-generators.js.map +1 -0
- package/dist/worker/worker-place.d.ts +15 -0
- package/dist/worker/worker-place.d.ts.map +1 -0
- package/dist/worker/worker-place.js +2 -0
- package/dist/worker/worker-place.js.map +1 -0
- package/dist/worker/worker-scope.d.ts +26 -0
- package/dist/worker/worker-scope.d.ts.map +1 -0
- package/dist/worker/worker-scope.js +2 -0
- package/dist/worker/worker-scope.js.map +1 -0
- package/dist/workspace/index.d.ts +3 -0
- package/dist/workspace/index.d.ts.map +1 -0
- package/dist/workspace/index.js +2 -0
- package/dist/workspace/index.js.map +1 -0
- package/dist/workspace/next-step.d.ts +8 -0
- package/dist/workspace/next-step.d.ts.map +1 -0
- package/dist/workspace/next-step.js +2 -0
- package/dist/workspace/next-step.js.map +1 -0
- package/dist/workspace/todo-location.d.ts +7 -0
- package/dist/workspace/todo-location.d.ts.map +1 -0
- package/dist/workspace/todo-location.js +2 -0
- package/dist/workspace/todo-location.js.map +1 -0
- package/dist/workspace/todos-in.d.ts +4 -0
- package/dist/workspace/todos-in.d.ts.map +1 -0
- package/dist/workspace/todos-in.js +12 -0
- package/dist/workspace/todos-in.js.map +1 -0
- package/dist/workspace/workspace-report.d.ts +11 -0
- package/dist/workspace/workspace-report.d.ts.map +1 -0
- package/dist/workspace/workspace-report.js +2 -0
- package/dist/workspace/workspace-report.js.map +1 -0
- package/dist/workspace/workspace.d.ts +33 -0
- package/dist/workspace/workspace.d.ts.map +1 -0
- package/dist/workspace/workspace.js +131 -0
- package/dist/workspace/workspace.js.map +1 -0
- package/package.json +31 -4
- package/templates/acl/translator.spec.ts.tpl +12 -0
- package/templates/acl/translator.ts.tpl +14 -0
- package/templates/adapter/adapter.declared.ts.tpl +46 -0
- package/templates/adapter/adapter.spec.ts.tpl +58 -0
- package/templates/adapter/adapter.ts.tpl +30 -0
- package/templates/adapter/wiring.tsyringe.tpl +18 -0
- package/templates/adr/adr.md.tpl +37 -0
- package/templates/aggregate/aggregate.spec.ts.tpl +36 -0
- package/templates/aggregate/aggregate.ts.tpl +37 -0
- package/templates/architecture/extractable.declared.spec.ts.tpl +44 -0
- package/templates/architecture/extractable.manual.spec.ts.tpl +28 -0
- package/templates/architecture/extractable.tsyringe.spec.ts.tpl +35 -0
- package/templates/architecture/wiring.declared.tpl +6 -0
- package/templates/architecture/wiring.manual.tpl +4 -0
- package/templates/architecture/wiring.tsyringe.tpl +4 -0
- package/templates/builder/builder.ts.tpl +32 -0
- package/templates/command/command.ts.tpl +27 -0
- package/templates/command/handler.declared.ts.tpl +36 -0
- package/templates/command/handler.spec.buses.ts.tpl +87 -0
- package/templates/command/handler.spec.tsyringe.ts.tpl +102 -0
- package/templates/command/handler.ts.tpl +33 -0
- package/templates/command/wiring.manual.tpl +14 -0
- package/templates/command/wiring.tsyringe.tpl +15 -0
- package/templates/context/CONTEXT.md.tpl +46 -0
- package/templates/context/module.manual.ts.tpl +34 -0
- package/templates/context/module.tsyringe.ts.tpl +15 -0
- package/templates/context/permission-set.tpl +4 -0
- package/templates/context/permission.tpl +2 -0
- package/templates/context/permissions.spec.ts.tpl +14 -0
- package/templates/context/permissions.ts.tpl +6 -0
- package/templates/context/published-language-index.ts.tpl +1 -0
- package/templates/context/routes.spec.ts.tpl +14 -0
- package/templates/context/routes.ts.tpl +11 -0
- package/templates/context/wiring.declared.tpl +13 -0
- package/templates/context/wiring.manual.tpl +4 -0
- package/templates/context/wiring.tsyringe.tpl +11 -0
- package/templates/docs/context-map.md.tpl +23 -0
- package/templates/docs/integration-readme.md.tpl +27 -0
- package/templates/domain-error/domain-error.spec.ts.tpl +12 -0
- package/templates/domain-error/domain-error.ts.tpl +10 -0
- package/templates/domain-event/domain-event.spec.ts.tpl +11 -0
- package/templates/domain-event/domain-event.ts.tpl +11 -0
- package/templates/domain-service/domain-service.spec.ts.tpl +12 -0
- package/templates/domain-service/domain-service.ts.tpl +3 -0
- package/templates/e2e/e2e.spec.ts.tpl +106 -0
- package/templates/entity/entity.spec.ts.tpl +25 -0
- package/templates/entity/entity.ts.tpl +29 -0
- package/templates/event-handler/event-handler.declared.ts.tpl +14 -0
- package/templates/event-handler/event-handler.spec.ts.tpl +38 -0
- package/templates/event-handler/event-handler.ts.tpl +12 -0
- package/templates/event-handler/wiring.manual.tpl +24 -0
- package/templates/event-handler/wiring.tsyringe.tpl +25 -0
- package/templates/gateway/adapter.declared.ts.tpl +11 -0
- package/templates/gateway/adapter.ts.tpl +9 -0
- package/templates/gateway/contract.spec.ts.tpl +19 -0
- package/templates/gateway/contract.ts.tpl +3 -0
- package/templates/gateway/fake.ts.tpl +5 -0
- package/templates/gateway/platform-test.declared.tpl +4 -0
- package/templates/gateway/platform.declared.tpl +4 -0
- package/templates/gateway/port.ts.tpl +3 -0
- package/templates/gateway/wiring.tsyringe.tpl +7 -0
- package/templates/init/CLAUDE.md.tpl +39 -0
- package/templates/init/README.md.tpl +262 -0
- package/templates/init/docker/Dockerfile.tpl +26 -0
- package/templates/init/docker/docker-compose.yml.tpl +234 -0
- package/templates/init/docker/dockerignore.tpl +6 -0
- package/templates/init/docker/env.example.tpl +139 -0
- package/templates/init/docker/keycloak-realm.json.tpl +112 -0
- package/templates/init/e2e/auth-environment.jwt.ts.tpl +6 -0
- package/templates/init/e2e/auth-environment.keycloak.ts.tpl +6 -0
- package/templates/init/e2e/auth-environment.none.ts.tpl +2 -0
- package/templates/init/e2e/create-credentials.jwt.ts.tpl +44 -0
- package/templates/init/e2e/create-credentials.keycloak.ts.tpl +79 -0
- package/templates/init/e2e/create-credentials.none.ts.tpl +30 -0
- package/templates/init/e2e/jest.e2e.config.js.tpl +8 -0
- package/templates/init/e2e/start-application.database.ts.tpl +142 -0
- package/templates/init/e2e/start-application.memory.ts.tpl +146 -0
- package/templates/init/e2e/story-of.ts.tpl +19 -0
- package/templates/init/e2e/test-environment.ts.tpl +33 -0
- package/templates/init/e2e/vitest.e2e.config.ts.tpl +25 -0
- package/templates/init/gitignore.tpl +9 -0
- package/templates/init/jest.config.js.tpl +28 -0
- package/templates/init/main.ts.tpl +98 -0
- package/templates/init/platform/audit/audit.module.manual.ts.tpl +39 -0
- package/templates/init/platform/audit/audit.module.tsyringe.ts.tpl +47 -0
- package/templates/init/platform/audit/audit.permissions.ts.tpl +6 -0
- package/templates/init/platform/audit/audited-events.ts.tpl +9 -0
- package/templates/init/platform/audit/create-audit.ts.tpl +111 -0
- package/templates/init/platform/audit/search-audit-entries.handler.ts.tpl +18 -0
- package/templates/init/platform/audit/search-audit-entries.query.ts.tpl +16 -0
- package/templates/init/platform/audit/search-audit-entries.route.ts.tpl +197 -0
- package/templates/init/platform/auth/access-policies.ts.tpl +9 -0
- package/templates/init/platform/auth/attribute-policies.ts.tpl +16 -0
- package/templates/init/platform/auth/authorization.tsyringe.ts.tpl +25 -0
- package/templates/init/platform/auth/create-authenticator.jwt.ts.tpl +12 -0
- package/templates/init/platform/auth/create-authenticator.keycloak.ts.tpl +15 -0
- package/templates/init/platform/auth/create-authenticator.none.ts.tpl +8 -0
- package/templates/init/platform/auth/create-authorizer.abac.ts.tpl +8 -0
- package/templates/init/platform/auth/create-authorizer.custom.ts.tpl +8 -0
- package/templates/init/platform/auth/create-authorizer.rbac.ts.tpl +7 -0
- package/templates/init/platform/auth/create-authorizer.rebac.ts.tpl +14 -0
- package/templates/init/platform/auth/create-tuple-store.contract.spec.ts.tpl +8 -0
- package/templates/init/platform/auth/create-tuple-store.ts.tpl +6 -0
- package/templates/init/platform/auth/custom-authorizer.contract.spec.ts.tpl +25 -0
- package/templates/init/platform/auth/custom-authorizer.ts.tpl +40 -0
- package/templates/init/platform/auth/development-actor-header.ts.tpl +2 -0
- package/templates/init/platform/auth/development-header-authenticator.ts.tpl +37 -0
- package/templates/init/platform/auth/http-boundary.ts.tpl +92 -0
- package/templates/init/platform/auth/log-decisions.ts.tpl +28 -0
- package/templates/init/platform/auth/offline-authenticator.ts.tpl +6 -0
- package/templates/init/platform/auth/permission-mapping.ts.tpl +7 -0
- package/templates/init/platform/auth/permissions.ts.tpl +15 -0
- package/templates/init/platform/auth/principal-of.none.ts.tpl +21 -0
- package/templates/init/platform/auth/principal-of.tokens.ts.tpl +7 -0
- package/templates/init/platform/auth/relate-system-actors.ts.tpl +17 -0
- package/templates/init/platform/auth/relation-tuples.ts.tpl +6 -0
- package/templates/init/platform/auth/relationship-schema.ts.tpl +16 -0
- package/templates/init/platform/auth/roles.ts.tpl +17 -0
- package/templates/init/platform/auth/security-schemes.none.ts.tpl +4 -0
- package/templates/init/platform/auth/security-schemes.tokens.ts.tpl +2 -0
- package/templates/init/platform/auth/use-case-protection.ts.tpl +38 -0
- package/templates/init/platform/buses/create-command-bus.ts.tpl +86 -0
- package/templates/init/platform/buses/create-query-bus.ts.tpl +29 -0
- package/templates/init/platform/compose-application.manual.ts.tpl +187 -0
- package/templates/init/platform/compose-application.tsyringe.ts.tpl +273 -0
- package/templates/init/platform/config/app-config.ts.tpl +97 -0
- package/templates/init/platform/config/config-error.ts.tpl +7 -0
- package/templates/init/platform/config/load-config.ts.tpl +253 -0
- package/templates/init/platform/config/read-tracing.ts.tpl +53 -0
- package/templates/init/platform/create-platform.manual.ts.tpl +313 -0
- package/templates/init/platform/database/connect-to-database.drizzle.ts.tpl +14 -0
- package/templates/init/platform/database/connect-to-database.knex.ts.tpl +18 -0
- package/templates/init/platform/database/create-client.prisma.ts.tpl +14 -0
- package/templates/init/platform/database/create-data-source.typeorm.ts.tpl +12 -0
- package/templates/init/platform/database/data-source.typeorm.ts.tpl +10 -0
- package/templates/init/platform/database/database.drizzle.ts.tpl +9 -0
- package/templates/init/platform/database/database.prisma.ts.tpl +5 -0
- package/templates/init/platform/database/drizzle.config.ts.tpl +8 -0
- package/templates/init/platform/database/inert-persistence.memory.ts.tpl +7 -0
- package/templates/init/platform/database/inert-persistence.pooled.ts.tpl +10 -0
- package/templates/init/platform/database/inert-persistence.prisma.ts.tpl +11 -0
- package/templates/init/platform/database/inert-persistence.typeorm.ts.tpl +11 -0
- package/templates/init/platform/database/knexfile.js.tpl +9 -0
- package/templates/init/platform/database/migration.knex.js.tpl +8 -0
- package/templates/init/platform/database/open-persistence.contract.spec.ts.tpl +17 -0
- package/templates/init/platform/database/open-persistence.memory.ts.tpl +35 -0
- package/templates/init/platform/database/open-persistence.pooled.ts.tpl +9 -0
- package/templates/init/platform/database/open-persistence.prisma.ts.tpl +11 -0
- package/templates/init/platform/database/open-persistence.typeorm.ts.tpl +11 -0
- package/templates/init/platform/database/open-test-database.drizzle.ts.tpl +146 -0
- package/templates/init/platform/database/open-test-database.knex.ts.tpl +83 -0
- package/templates/init/platform/database/open-test-database.prisma.ts.tpl +82 -0
- package/templates/init/platform/database/open-test-database.typeorm.ts.tpl +78 -0
- package/templates/init/platform/database/persistence-over.drizzle.ts.tpl +17 -0
- package/templates/init/platform/database/persistence-over.knex.ts.tpl +17 -0
- package/templates/init/platform/database/persistence-over.prisma.ts.tpl +20 -0
- package/templates/init/platform/database/persistence-over.typeorm.ts.tpl +21 -0
- package/templates/init/platform/database/persistence.memory.ts.tpl +20 -0
- package/templates/init/platform/database/persistence.orm.ts.tpl +19 -0
- package/templates/init/platform/database/prisma.config.ts.tpl +8 -0
- package/templates/init/platform/database/schema.drizzle.ts.tpl +19 -0
- package/templates/init/platform/database/schema.knex.ts.tpl +27 -0
- package/templates/init/platform/database/schema.prisma.tpl +48 -0
- package/templates/init/platform/database/schema.typeorm.ts.tpl +15 -0
- package/templates/init/platform/errors.ts.tpl +11 -0
- package/templates/init/platform/events/aggregate-key-of.ts.tpl +24 -0
- package/templates/init/platform/events/create-event-provider.custom.ts.tpl +9 -0
- package/templates/init/platform/events/create-event-provider.kafka.ts.tpl +51 -0
- package/templates/init/platform/events/create-event-provider.nats.ts.tpl +50 -0
- package/templates/init/platform/events/create-event-provider.rabbitmq.ts.tpl +48 -0
- package/templates/init/platform/events/create-event-provider.redis.ts.tpl +50 -0
- package/templates/init/platform/events/custom-event-bus.contract.spec.ts.tpl +8 -0
- package/templates/init/platform/events/custom-event-bus.ts.tpl +25 -0
- package/templates/init/platform/events/event-provider.ts.tpl +13 -0
- package/templates/init/platform/events/in-process-events.ts.tpl +14 -0
- package/templates/init/platform/events/start-outbox-relay.ts.tpl +74 -0
- package/templates/init/platform/http/create-app-module.ts.tpl +12 -0
- package/templates/init/platform/http/refusal-for.ts.tpl +39 -0
- package/templates/init/platform/http/start-http-server.express.ts.tpl +81 -0
- package/templates/init/platform/http/start-http-server.fastify.ts.tpl +59 -0
- package/templates/init/platform/http/start-http-server.nest.ts.tpl +99 -0
- package/templates/init/platform/http/with-documentation.ts.tpl +20 -0
- package/templates/init/platform/job-settings.ts.tpl +23 -0
- package/templates/init/platform/jobs/configured-job-scheduler.ts.tpl +43 -0
- package/templates/init/platform/lay-foundations.tsyringe.ts.tpl +74 -0
- package/templates/init/platform/observability/create-logger.pino.ts.tpl +28 -0
- package/templates/init/platform/observability/create-logger.stdout.ts.tpl +36 -0
- package/templates/init/platform/observability/create-logger.winston.ts.tpl +29 -0
- package/templates/init/platform/observability/create-metrics.ts.tpl +6 -0
- package/templates/init/platform/platform-test.module.tsyringe.ts.tpl +24 -0
- package/templates/init/platform/platform.manual.ts.tpl +81 -0
- package/templates/init/platform/platform.module.tsyringe.ts.tpl +146 -0
- package/templates/init/platform/redis/open-redis.ts.tpl +70 -0
- package/templates/init/platform/resilience/adapter-aspects.ts.tpl +17 -0
- package/templates/init/platform/resilience/default-resilience.ts.tpl +4 -0
- package/templates/init/platform/resilience/own-policy.ts.tpl +20 -0
- package/templates/init/platform/resilience/resilience-settings.ts.tpl +6 -0
- package/templates/init/platform/resilience/self-governed.ts.tpl +2 -0
- package/templates/init/platform/tracing.ts.tpl +19 -0
- package/templates/init/rules/application.md.tpl +25 -0
- package/templates/init/rules/domain.md.tpl +18 -0
- package/templates/init/rules/infrastructure.md.tpl +24 -0
- package/templates/init/rules/platform.md.tpl +31 -0
- package/templates/init/rules/presentation.md.tpl +19 -0
- package/templates/init/rules/published-language.md.tpl +15 -0
- package/templates/init/rules/tests.md.tpl +27 -0
- package/templates/init/scripts/events.ts.tpl +122 -0
- package/templates/init/scripts/openapi.ts.tpl +57 -0
- package/templates/integration-event/audited.tpl +4 -0
- package/templates/integration-event/integration-event.class-validator.ts.tpl +14 -0
- package/templates/integration-event/integration-event.custom.ts.tpl +21 -0
- package/templates/integration-event/integration-event.zod.ts.tpl +20 -0
- package/templates/integration-event/payload.class-validator.ts.tpl +8 -0
- package/templates/integration-event/payload.custom.ts.tpl +4 -0
- package/templates/integration-event/publisher.declared.ts.tpl +24 -0
- package/templates/integration-event/publisher.spec.ts.tpl +26 -0
- package/templates/integration-event/publisher.ts.tpl +22 -0
- package/templates/integration-event/wiring.manual.tpl +11 -0
- package/templates/integration-event/wiring.tsyringe.tpl +12 -0
- package/templates/integration-handler/integration-handler.declared.ts.tpl +16 -0
- package/templates/integration-handler/integration-handler.spec.ts.tpl +40 -0
- package/templates/integration-handler/integration-handler.ts.tpl +26 -0
- package/templates/integration-handler/wiring.manual.tpl +32 -0
- package/templates/integration-handler/wiring.tsyringe.tpl +23 -0
- package/templates/job/job.declared.ts.tpl +16 -0
- package/templates/job/job.spec.buses.ts.tpl +45 -0
- package/templates/job/job.spec.tsyringe.ts.tpl +52 -0
- package/templates/job/job.ts.tpl +14 -0
- package/templates/job/settings.tpl +2 -0
- package/templates/job/wiring.manual.tpl +10 -0
- package/templates/job/wiring.tsyringe.tpl +5 -0
- package/templates/pipeline/biome.json.tpl +47 -0
- package/templates/pipeline/commitlint.config.mjs +8 -0
- package/templates/pipeline/eslint.config.mjs.tpl +9 -0
- package/templates/pipeline/github/branch-protection.md +77 -0
- package/templates/pipeline/github/dependabot.yml +59 -0
- package/templates/pipeline/github/workflows/ci.yml +260 -0
- package/templates/pipeline/github/workflows/codeql.yml +35 -0
- package/templates/pipeline/github/workflows/pr-title.yml +29 -0
- package/templates/pipeline/gitlab/gitlab-ci.yml +208 -0
- package/templates/pipeline/gitlab/merge-request-settings.md +89 -0
- package/templates/pipeline/knip.json.tpl +26 -0
- package/templates/pipeline/lefthook.yml +28 -0
- package/templates/pipeline/package-scripts.json +38 -0
- package/templates/pipeline/renovate.json +67 -0
- package/templates/pipeline/vitest.config.ts.tpl +48 -0
- package/templates/policy/policy.declared.ts.tpl +11 -0
- package/templates/policy/policy.spec.declared.ts.tpl +26 -0
- package/templates/policy/policy.spec.ts.tpl +21 -0
- package/templates/policy/policy.ts.tpl +10 -0
- package/templates/policy/registration.tpl +4 -0
- package/templates/port/fake.ts.tpl +5 -0
- package/templates/port/port.ts.tpl +3 -0
- package/templates/query/handler.declared.ts.tpl +14 -0
- package/templates/query/handler.spec.buses.ts.tpl +54 -0
- package/templates/query/handler.spec.tsyringe.ts.tpl +64 -0
- package/templates/query/handler.ts.tpl +13 -0
- package/templates/query/query.ts.tpl +13 -0
- package/templates/query/reader.fake.ts.tpl +8 -0
- package/templates/query/reader.in-memory.ts.tpl +21 -0
- package/templates/query/reader.port.ts.tpl +6 -0
- package/templates/query/result.ts.tpl +3 -0
- package/templates/query/search.handler.declared.ts.tpl +21 -0
- package/templates/query/search.handler.spec.buses.ts.tpl +59 -0
- package/templates/query/search.handler.spec.tsyringe.ts.tpl +58 -0
- package/templates/query/search.handler.ts.tpl +20 -0
- package/templates/query/search.query.ts.tpl +19 -0
- package/templates/query/search.reader.fake.ts.tpl +8 -0
- package/templates/query/search.reader.in-memory.ts.tpl +72 -0
- package/templates/query/search.reader.port.ts.tpl +7 -0
- package/templates/query/search.reader.spec.ts.tpl +46 -0
- package/templates/query/search.result.ts.tpl +11 -0
- package/templates/query/search.wiring.manual.tpl +12 -0
- package/templates/query/search.wiring.tsyringe.tpl +10 -0
- package/templates/query/wiring.manual.tpl +12 -0
- package/templates/query/wiring.tsyringe.tpl +9 -0
- package/templates/repository/contract.spec.ts.tpl +96 -0
- package/templates/repository/drizzle/mapper.ts.tpl +28 -0
- package/templates/repository/drizzle/repository.ts.tpl +90 -0
- package/templates/repository/drizzle/schema-export.tpl +2 -0
- package/templates/repository/drizzle/schema.ts.tpl +9 -0
- package/templates/repository/drizzle/table.tpl +32 -0
- package/templates/repository/fake.ts.tpl +16 -0
- package/templates/repository/knex/mapper.ts.tpl +18 -0
- package/templates/repository/knex/repository.ts.tpl +117 -0
- package/templates/repository/knex/row.ts.tpl +16 -0
- package/templates/repository/knex/schema-export.tpl +4 -0
- package/templates/repository/knex/schema.ts.tpl +3 -0
- package/templates/repository/knex/table.tpl +23 -0
- package/templates/repository/knex/tables.ts.tpl +13 -0
- package/templates/repository/none/repository.ts.tpl +48 -0
- package/templates/repository/prisma/mapper.ts.tpl +21 -0
- package/templates/repository/prisma/model.tpl +14 -0
- package/templates/repository/prisma/repository.ts.tpl +55 -0
- package/templates/repository/repository.ts.tpl +6 -0
- package/templates/repository/typeorm/mapper.ts.tpl +18 -0
- package/templates/repository/typeorm/repository.ts.tpl +58 -0
- package/templates/repository/typeorm/row.ts.tpl +11 -0
- package/templates/repository/typeorm/schema-export.tpl +4 -0
- package/templates/repository/typeorm/schema.ts.tpl +9 -0
- package/templates/repository/typeorm/table.tpl +15 -0
- package/templates/repository/wiring.manual.tpl +9 -0
- package/templates/repository/wiring.tsyringe.tpl +14 -0
- package/templates/route/dto.accepted.ts.tpl +6 -0
- package/templates/route/dto.answer.ts.tpl +3 -0
- package/templates/route/dto.body.ts.tpl +3 -0
- package/templates/route/dto.line.ts.tpl +8 -0
- package/templates/route/dto.params.ts.tpl +5 -0
- package/templates/route/route.class-validator.ts.tpl +70 -0
- package/templates/route/route.none.ts.tpl +89 -0
- package/templates/route/route.search.ts.tpl +82 -0
- package/templates/route/route.spec.ts.tpl +42 -0
- package/templates/route/route.standard-schema.ts.tpl +98 -0
- package/templates/route/route.zod.ts.tpl +80 -0
- package/templates/route/routes.on-tsyringe.tpl +4 -0
- package/templates/route/wiring.manual.tpl +4 -0
- package/templates/service/compose.tpl +11 -0
- package/templates/service/main.ts.tpl +104 -0
- package/templates/value-object/value-object.spec.ts.tpl +24 -0
- package/templates/value-object/value-object.ts.tpl +26 -0
- package/templates/worker/compose.tpl +11 -0
- package/templates/worker/main.ts.tpl +63 -0
package/README.md
CHANGED
|
@@ -1,3 +1,775 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ddd-ts-kit
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Bootstrap, scaffold, document and verify Domain-Driven Design and Clean Architecture projects
|
|
4
|
+
in TypeScript. One binary: `init` creates the project, `generate` writes every piece of
|
|
5
|
+
boilerplate at its canonical place, `docs` keeps the architecture documentation current,
|
|
6
|
+
`describe`, `status` and `todo` read the project back as facts, `check` proves that the code
|
|
7
|
+
still follows [docs/ARCHITECTURE.md](../../docs/ARCHITECTURE.md).
|
|
8
|
+
`init` also installs the quality pipeline: ESLint with `@ddd-ts-kit/eslint-plugin`,
|
|
9
|
+
dependency-cruiser, knip, coverage thresholds, git hooks and the CI of GitHub or GitLab.
|
|
10
|
+
|
|
11
|
+
The generator and the checker share one definition of the canonical tree, and a test generates
|
|
12
|
+
every kind for every stack and requires zero violation: they cannot disagree.
|
|
13
|
+
|
|
14
|
+
No runtime dependency. Node 22.12 or later.
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
npx ddd-ts-kit init
|
|
18
|
+
npx ddd-ts-kit generate context billing --classification core --term "Invoice=A request for payment"
|
|
19
|
+
npx ddd-ts-kit generate aggregate billing Invoice
|
|
20
|
+
npx ddd-ts-kit generate command billing IssueInvoice --aggregate Invoice --permission invoice.issue --term "Issue=To make an invoice final"
|
|
21
|
+
npx ddd-ts-kit generate route billing IssueInvoice --method POST --path /invoices
|
|
22
|
+
npx ddd-ts-kit check
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Every command accepts `--json` (machine-readable output, errors included) and `--cwd <dir>`.
|
|
26
|
+
Commands other than `init` look for `ddd-ts-kit.config.json` in the directory and its parents.
|
|
27
|
+
Exit codes: `0` success, `1` violations, stale documentation or, under `--strict`, a commit over
|
|
28
|
+
its limits, `2` wrong usage (the message says what to do).
|
|
29
|
+
|
|
30
|
+
## init
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
ddd-ts-kit init [--http express|fastify|nest|none]
|
|
34
|
+
[--validation zod|class-validator|standard-schema|none]
|
|
35
|
+
[--di tsyringe|nest|manual] [--tests vitest|jest]
|
|
36
|
+
[--orm drizzle|knex|prisma|typeorm|custom|none]
|
|
37
|
+
[--database postgres|mysql|sqlite|none]
|
|
38
|
+
[--events in-memory|outbox] [--docs-ui swagger|scalar|redoc|none]
|
|
39
|
+
[--ci github|gitlab|both|none]
|
|
40
|
+
[--authn jwt|keycloak|none] [--authz rbac|abac|rebac|custom]
|
|
41
|
+
[--broker none|rabbitmq|kafka|nats|redis|custom] [--cache none|redis] [--audit on|off]
|
|
42
|
+
[--errors none|sentry] [--logger stdout|pino|winston]
|
|
43
|
+
[--style declared|explicit] [--assembly barrel|discovery]
|
|
44
|
+
[--allow-no-outbox "<reason>"] [--import-alias '$<name>/']
|
|
45
|
+
[--context <name>:<core|supporting|generic>]...
|
|
46
|
+
[--dry-run] [--force]
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Works in an empty directory or an existing project. An existing file is never replaced without
|
|
50
|
+
`--force`; it is reported as skipped. An existing `package.json` is merged: missing scripts and
|
|
51
|
+
dependencies are added, yours are kept and mentioned in the notes. Run again later, `init` keeps
|
|
52
|
+
the stack recorded in the config.
|
|
53
|
+
|
|
54
|
+
Defaults: `express`, `zod`, `tsyringe` (`nest` with `--http nest`, and only then), `vitest`,
|
|
55
|
+
`drizzle` on `postgres`, `outbox` when there is an ORM, `swagger`, `github`, `jwt`, `rbac`, no broker,
|
|
56
|
+
the cache in the process, the audit trail `on` when there is an ORM, unexpected failures reported
|
|
57
|
+
nowhere (`--errors none`), JSON lines on the standard output (`--logger stdout`), and the
|
|
58
|
+
`declared` style with a `barrel` wherever the declarations are read: with `--di tsyringe`.
|
|
59
|
+
|
|
60
|
+
**Two styles.** In the `declared` style each class says what it is with a decorator of
|
|
61
|
+
`@ddd-ts-kit/kernel/declarations` (`@Requires` or `@Public` on a command or a query,
|
|
62
|
+
`@CommandHandler`, `@QueryHandler`, `@IntegrationEventHandler`, `@DomainEventHandler`, `@Scheduled`,
|
|
63
|
+
`@Policy`, `@Repository`, `@Gateway`, `@Adapter`), a context has no `<context>.module.ts`, and the
|
|
64
|
+
composition root assembles it in one line. In the `explicit` style every binding is written in the
|
|
65
|
+
module file of the context: `builder.bind(Port).toClass(Adapter, [Ports])`,
|
|
66
|
+
`builder.command(Message).requires(...).handledBy(Handler, [Ports])`, `builder.job(name, schedule)`.
|
|
67
|
+
`--style declared` is refused with `--di manual` and `--di nest`: the declarations are plain
|
|
68
|
+
metadata, and only `@ddd-ts-kit/di` (on tsyringe) turns them into bindings.
|
|
69
|
+
`--assembly` says how a declared context reaches the composition root: `barrel` (the default) is one
|
|
70
|
+
generated file per context, `<context>.declarations.ts`, static, followed by a bundler, by knip and
|
|
71
|
+
by dependency-cruiser; `discovery` writes `await discoverContext(...)` instead, with the knip entry
|
|
72
|
+
and the dependency-cruiser exception the discovered files need (publishers and jobs included: they
|
|
73
|
+
are discovered like the rest), and inlines `@ddd-ts-kit/di` in the two vitest configs, so that the
|
|
74
|
+
files it imports itself are compiled by the runner. Discovery is accepted behind a broker: a
|
|
75
|
+
context listens on the subscriber `EventSubscribers.forContext(name)` hands it, in either assembly.
|
|
76
|
+
A config written before `stack.style` existed is explicit.
|
|
77
|
+
|
|
78
|
+
**A port is an abstract class and its own injection token.** `application/ports/<name>.port.ts`
|
|
79
|
+
and `domain/repositories/<name>.repository.ts` hold one abstract class each. Generated code holds
|
|
80
|
+
no `token()`, no UPPER_SNAKE injection constant, no `<context>.ports.ts` and no
|
|
81
|
+
`platform/tokens.ts`: a dependency list names port classes (`[InvoiceRepository, IdGenerator, Clock]`),
|
|
82
|
+
kernel ports are value imports wherever they are named in a list or a binding, an adapter
|
|
83
|
+
`implements` its port. Every generated file exports one class, interface or function and is named
|
|
84
|
+
after it.
|
|
85
|
+
|
|
86
|
+
**Domain events leave with the save.** A generated command handler builds or loads its aggregate,
|
|
87
|
+
calls one intention method, `await repository.save(aggregate)` and returns: no `pullEvents()`, and
|
|
88
|
+
no `DomainEventDispatcher` in a handler or in a repository adapter, which only persists. The events
|
|
89
|
+
the aggregate recorded are dispatched once the save resolves, inside the unit of work of the
|
|
90
|
+
command: by the kernel module on tsyringe, by `dispatchingOnSave` around each repository in
|
|
91
|
+
`platform/create-platform.ts` with hand wiring (`domain-events/dispatched-on-save`).
|
|
92
|
+
|
|
93
|
+
`--events in-memory` together with an ORM is refused unless `--allow-no-outbox "<reason>"` is given:
|
|
94
|
+
it records a `deviations` entry (`stack.events`) and writes the decision record it points to. The generated
|
|
95
|
+
persistence of the four ORMs is written for PostgreSQL; `custom` starts on in-memory adapters
|
|
96
|
+
held to the contract suites, for you to replace. The choices are recorded under `stack` in the
|
|
97
|
+
config, `docsUi`, `ci` and `logger` included.
|
|
98
|
+
|
|
99
|
+
| Written | Content |
|
|
100
|
+
|---|---|
|
|
101
|
+
| `ddd-ts-kit.config.json` | stack, contexts, rule severities ([docs/CONFIG.md](../../docs/CONFIG.md)) |
|
|
102
|
+
| `package.json` | scripts and dependencies of the stack (below); `build` is the compiler, then `ddd-ts-kit build-aliases` |
|
|
103
|
+
| `tsconfig.json`, `tsconfig.build.json` | strict, NodeNext, `rootDir` `.` and `outDir` `dist`, and `paths`: the one declaration of the import alias (`@/*` to `./src/*`, `$test/*`, `$scripts/*`, and `$generated/*` with Prisma), derived from `importAlias` (`--import-alias '$<name>/'`, `@/` by default; `#<name>/` and `@<name>/` are refused with the reason); the build config extends the other and declares no `paths`; `experimentalDecorators` (and `emitDecoratorMetadata`) only for nest or class-validator, whose decorators are legacy ones: the declarations and the aspects serve both modes |
|
|
104
|
+
| `src/main.ts` | composition root: tracing first (error reporting second with `--errors sentry`), config, persistence, application (`log`, `traceConsumers: config.tracing.consumers`, `resilience`, `jobs: { start: config.runJobs, settings: jobSettings(process.env) }`), outbox relay, HTTP server; on `SIGTERM` or `SIGINT` it closes the server, stops the relay, stops the application, closes the persistence and shuts the tracing down |
|
|
105
|
+
| `src/platform/` | one export per file, each named after it, in one folder per concern. At its root: `tracing.ts`, `compose-application.ts` and `job-settings.ts` (`jobSettings(environment, context?)`: one line per job, `JOB_<CONTEXT>_<JOB>_ENABLED=false` switches one off). `config/` (`app-config.ts`, `load-config.ts`, `config-error.ts`, `read-tracing.ts`: fail-fast on `DATABASE_URL`, `LOG_LEVEL`, `LOG_FORMAT`, `LOG_SCRUB_MESSAGES`, the `OUTBOUND_*` policy, `RUN_JOBS` and the tracing variables below); `observability/` (`create-logger.ts`, see `--logger`; `create-metrics.ts`: a `NoopMetrics` behind a `TODO(platform)`); `resilience/` (`resilience-settings.ts`, `default-resilience.ts`, `adapter-aspects.ts`: retry with backoff and a timeout for `external` and `gateway`, `own-policy.ts` for an adapter that states its own, `self-governed.ts`); `events/`, `database/`, `auth/`, `audit/`, `redis/` (below); `http/` (`start-http-server.ts`, `with-documentation.ts`: `/docs` and `/openapi.json`, off in production unless `API_DOCS=true`). With `--di tsyringe`: `compose-application.ts` (`composeApplication(persistence, options, contexts?)`: `kernelModule({...})`, the platform module, the authorization module, the contexts; installs the aspect runtime), `lay-foundations.ts` (one execution scope, clock, id generator, logger, metrics, instrumentation and audit, built before any module), `platform.module.ts` (what replaces the in-process defaults of the kernel: unit of work, processed-event store, the storage class, `OutboxStore`, `EventSubscribers` behind a broker, `ErrorMapper`, and `builder.around(['external', 'gateway'], ...)`, the resilience of every adapter that leaves the process), `platform-test.module.ts` (what a handler spec lists next to its context: the storage class bound to a factory that throws), `buses/create-command-bus.ts` and `create-query-bus.ts` (outermost first: `errorReportingMiddleware`, `loggingMiddleware`, `metricsMiddleware`, the permission, the span of the use case, the audit entry, then the unit of work of a command). With `--di manual` or `nest`: `compose-application.ts`, `platform.ts` (`interface Platform`, with `jobs: JobScheduler` and `adapter`, which wraps what a module file instantiates), `create-platform.ts`, `jobs/configured-job-scheduler.ts` (applies `job-settings.ts` to what a module registers) |
|
|
106
|
+
| tracing | wired once, by the platform (`tracing/platform-only`): no `decorate` hook, no `decorate-bindings.ts`. `tracing.ts` starts `initTracing` of `@ddd-ts-kit/tracing/node` before any other module, on what `config/read-tracing.ts` validates: `OTEL_EXPORTER_OTLP_ENDPOINT` (a URL; left out, no span leaves the process), `TRACE_SAMPLE_RATIO` (0 to 1) and `TRACE_CONSUMERS` (`continue`, the default: a consumed event stays in the trace of its publication; `link`: each delivery starts a trace linked to it). With `--di tsyringe`: `lay-foundations.ts` builds `traceApplication({ consumers })`, `compose-application.ts` hands it to `kernelModule({ instrumentation })` (one span per use case, repository call, domain event, publication, consumer and job) and gives the outbox relay `tracedPublisher(bus)`. With hand wiring: `create-platform.ts` applies the members of `traceApplication()` itself (`useCase` on both buses, `domainEvents`, `publisher`, `binding` around every adapter, `job`, `executionScope`, `errorReporter`), with `tracedSubscriber` and `tracedPublisher` around the provider. With an HTTP stack, in both families, `auth/http-boundary.ts` sets `around: tracedRoutes()`: one `SERVER` span per request, named by its route |
|
|
107
|
+
| `--logger` | `src/platform/observability/create-logger.ts`, one per choice: `stdout` (the default) is the `StdoutLogger` of `@ddd-ts-kit/aspects`, JSON lines, credentials not redacted; `pino` is `createPinoLogger` of `@ddd-ts-kit/pino` (dependencies `pino` and `pino-pretty`); `winston` is `createWinstonLogger` of `@ddd-ts-kit/winston`; these two redact the credential keys of the kernel. Every entry carries `traceLogFields(scope)`: the correlation id, origin, actor and tenant of the work in progress and the ids of the active trace. `LOG_LEVEL`, `LOG_FORMAT` (`json`, the default, or `pretty`; with `stdout`, which has no pretty format, `pretty` is refused when the configuration is loaded) and `LOG_SCRUB_MESSAGES` (`[message removed]` in place of the message of a logged error that is not a `DomainError`) are validated in `config/load-config.ts`. Stopping the application flushes the error reporter, then the logger, last: `container.stop()` does it on tsyringe, `compose-application.ts` flushes explicitly with hand wiring. The tools and the tests compose the application without `log` and write nothing |
|
|
108
|
+
| `src/platform/auth/` | `create-authenticator.ts` (`--authn jwt`: `JwtAuthenticator` on `AUTH_ISSUER`, `AUTH_AUDIENCE`, `AUTH_JWKS_URI`; `--authn keycloak`: `keycloakAuthenticator` on `KEYCLOAK_URL`, `KEYCLOAK_REALM`, `KEYCLOAK_AUDIENCE` and the optional `KEYCLOAK_CLIENT_ID`; `--authn none`: `development-header-authenticator.ts`, which reads `x-development-actor` and throws in production), `principal-of.ts`, `security-schemes.ts`, `offline-authenticator.ts`, `http-boundary.ts` (`resolvePrincipal` answering a `Session`, `executionScope`, `errorMapper` and `onError`, spread into the mount options: every request runs inside the execution scope, with its correlation id), `create-authorizer.ts` and the files of the model (`roles.ts`, with the role `system` every system actor holds; `attribute-policies.ts`; `relationship-schema.ts`, `create-tuple-store.ts` and its contract spec, `relation-tuples.ts`, `relate-system-actors.ts`, `permission-mapping.ts` and `permissions.ts`; `custom-authorizer.ts`, its `authorizerContract` spec and `permissions.ts`), `authorization.ts` (`authorizationModule` with tsyringe) or `use-case-protection.ts` (the guard of the hand-wired buses), `access-policies.ts`, and with `--audit off` `log-decisions.ts` (one log entry per decision, ids and codes only). Without an HTTP stack there is no authenticator and no boundary |
|
|
109
|
+
| `--audit on` | `src/platform/audit/`: `create-audit.ts` (the trail, the `onDecision` of the authorization, the middleware before the unit of work, the integration events subscribed under the consumer name `audit`), `audited-events.ts` (the registry `generate integration-event` adds to), `audit.module.ts`, and with an HTTP stack the read side: `audit.permissions.ts` (`audit:trail.read`), `search-audit-entries.query.ts`, its handler, `search-audit-entries.route.ts` (`GET /audit/entries`: cursor pages, filters `actorId`, `action`, `outcome`, `correlationId`). It is a capability of the platform, not a bounded context: no model, one protected query over the `AuditReader` port, bounded by the tenant of the actor. A scheduled job is audited like a request: origin `schedule`, actor `system:<context>.<job>`. With knex the two tables and their append-only triggers are created by the first migration; with drizzle the tables are in `schema.ts` and `npm run db:audit-guard` prints the trigger statements for a custom migration; with prisma, typeorm, `custom` or no ORM the trail is an `InMemoryAuditTrail` behind a `TODO(platform)`. The test databases leave the audit schema out of `reset()` |
|
|
110
|
+
| `--cache redis` | `src/platform/redis/open-redis.ts` (`RedisServices`: the cache bound to the kernel `Cache`, the limiter to `RateLimiter`, the lock to `Lock`, which keeps a scheduled job to one instance, the relay signal as the `wakeOn` of the outbox relay with `relayWakeUpMiddleware` on the command bus), `http/refusal-for.ts` (one sliding window per caller address, 429 `application/problem+json` with `retry-after`; `RATE_LIMIT_MAX`, `RATE_LIMIT_WINDOW_MS`), `GET /health/ready` on the HTTP server, `REDIS_URL` validated, a compose service `cache` running Dragonfly with a healthcheck. Without a server (tools, tests without `REDIS_URL`) the same ports stay in the memory of the process |
|
|
111
|
+
| `--errors sentry` | unexpected failures reported to Sentry or GlitchTip (one protocol, only the DSN differs) through the kernel `ErrorReporter`, bound to `@ddd-ts-kit/sentry`. `src/platform/errors.ts` (`initSentry` on the validated configuration, then `reportProcessFailures`), the second import of `main.ts`, of `apps/<context>/main.ts` and of `apps/worker/main.ts`, right after `tracing.ts`; `errors` handed to `composeApplication`, which gives it to the kernel module on tsyringe (`errorReporter`, flushed by `container.stop()` before the logger, `errorReportingMiddleware` first on both buses, the default scheduler observing with `reportFailedRuns`) or to `createPlatform` by hand (the same middleware, `onRun: reportFailedRuns(errors)`, `platform.errors`, flushed two seconds at most when the application stops); `reportHttpErrors` in `auth/http-boundary.ts` for every request answered 5xx; `DeadLetterReports` on the `onFailure` hook of a provided broker (`createEventProvider(config, errors)`, with `observing` around each consumer) and of the outbox relay. `SENTRY_DSN`, `SENTRY_ENVIRONMENT` (default: `NODE_ENV`), `SENTRY_RELEASE` and `SENTRY_SCRUB_MESSAGES` validated in `config/load-config.ts` as `errorReporting`: without a DSN the application starts and reports nothing; a DSN that is not a URL refuses the start. Dependencies `@ddd-ts-kit/sentry` and `@sentry/node`. A compose profile `errors` running GlitchTip 6.2.6 with its own PostgreSQL and Valkey (`GLITCHTIP_PORT`, loopback only, development bootstrap), and a section of the generated README saying how to read its DSN. The tools and the tests compose the application without a reporter. It goes with every other choice of the stack; with `--errors none` nothing of this is written |
|
|
112
|
+
| `--authn keycloak` | a compose service `keycloak` (Keycloak 26.8.0, `start-dev --import-realm`, profile `identity`) and `docker/keycloak/<project>-realm.json`: the API client, a public client `<project>-local` with the direct grant, its audience and `tenant_id` mappers, the realm role `admin`, and the demo users `demo-admin` and `demo-user`, for local development only |
|
|
113
|
+
| `src/platform/events/` | `event-provider.ts` (`bus`, `forConsumer(name)`, `start()`, `close()`), `in-process-events.ts`, and for `--broker` `create-event-provider.ts`: `RabbitMqEventBus` (`AMQP_URL`), `KafkaEventBus` (`KAFKA_BROKERS`, with `aggregate-key-of.ts` for per-aggregate order), `NatsEventBus` (`NATS_URL`) or `RedisStreamsEventBus` of `@ddd-ts-kit/redis/event-bus` (`REDIS_URL`: Redis, Dragonfly or Valkey), each with one subscriber per consuming context (`forConsumer`), `assertTopology` at start, its address validated and a compose service with a healthcheck; or `custom-event-bus.ts` with its `eventBusContract` spec. `start-outbox-relay.ts` with the outbox. `--broker redis` with `--cache redis` is one server and one compose service, `cache`; alone, the service is `streams` |
|
|
114
|
+
| `src/platform/database/` | `persistence.ts` (`interface Persistence`: unit of work, outbox and processed-event stores of the ORM package, the storage handle), `open-persistence.ts`, `persistence-over.ts`, `inert-persistence.ts`, the connection (`connect-to-database.ts`, `create-client.ts` or `create-data-source.ts`), `schema.ts`, `open-test-database.ts` (PostgreSQL in process, or the server named by a URL). The storage class a repository adapter names in its dependency list: `database.ts` with drizzle and prisma (`abstract class Database extends` the context type of the ORM package), `KnexContext` of `@ddd-ts-kit/knex`, `TypeOrmContext` of `@ddd-ts-kit/typeorm` |
|
|
115
|
+
| migration tooling | `drizzle.config.ts`, `knexfile.js` and `migrations/0001_initial.js`, `prisma/schema.prisma` and `prisma.config.ts`, or `data-source.ts` |
|
|
116
|
+
| `scripts/openapi.ts`, `scripts/events.ts` | write `openapi/openapi.json`, `docs/integration/asyncapi.json` and `docs/integration/event-catalog.md`; `--check` fails on a difference |
|
|
117
|
+
| `docker-compose.yml`, `.env.example`, `Dockerfile`, `.dockerignore` | the database with a healthcheck and a named volume, `jaegertracing/jaeger:2.22.0` behind the `observability` profile (its UI and its OTLP port bound to 127.0.0.1), ports from `.env`; a multi-stage, non-root image with production dependencies only |
|
|
118
|
+
| `vitest.e2e.config.ts`, `test/e2e/support/` | `start-application.ts` (the whole application on a free port, on an in-process database unless `DATABASE_URL` is set, no job run by time), `create-credentials.ts`, `auth-environment.ts`, `test-environment.ts`, `story-of.ts` (`storyOf(trace)`: a trace without the calls an adapter makes on itself, the form `expectSpanTree` asserts) |
|
|
119
|
+
| `docs/context-map.md`, `docs/integration/README.md` | see `docs` |
|
|
120
|
+
| `test/architecture/extractable.spec.ts` | written with the first context: boots each context alone on the kernel and the platform, its jobs included |
|
|
121
|
+
| `eslint.config.mjs` | the `dddTsKit` preset of `@ddd-ts-kit/eslint-plugin`, typed linting on the project's tsconfig |
|
|
122
|
+
| `.dependency-cruiser.cjs` | the import graph rules, generated from the config (see `depcruise-config`) |
|
|
123
|
+
| `biome.json` | the formatter: Biome with its linter and its import organiser off, line width 120; `npm run format` writes, `npm run format:check` checks, and what the CLI generates is already formatted |
|
|
124
|
+
| `knip.json` | dead code: entry points are `main.ts` and `apps/*/main.ts`, the scripts, the specs and the fakes, the module files in the explicit style, the role files under discovery (jobs and publishers included) |
|
|
125
|
+
| `vitest.config.ts` | unit and integration projects, the coverage thresholds read from `ddd-ts-kit.config.json` (`governedCoverage`), per context and layer, in the standard decorator mode `decorators()` of `@ddd-ts-kit/testing/vitest`, which compiles the files holding a decorator with the compiler of the project (Vitest does not lower standard decorators; it lowers legacy ones itself, so a project with `experimentalDecorators` gets no plugin), and under `--assembly discovery` `server.deps.inline: ['@ddd-ts-kit/di']` |
|
|
126
|
+
| `lefthook.yml`, `commitlint.config.mjs` | pre-commit (ESLint, the format check and `check` on the staged files, `check --commit-size --staged`, which never blocks), pre-push (types, unit tests) and commit-msg hooks (`npm run hooks:install`), conventional commits |
|
|
127
|
+
| `--ci github` | `.github/workflows/ci.yml`, `codeql.yml`, `pr-title.yml`, `.github/dependabot.yml`, `.github/branch-protection.md`, `renovate.json` |
|
|
128
|
+
| `--ci gitlab` | `.gitlab-ci.yml` (architecture findings as a Code Quality report through `check --format gitlab`), `.gitlab/merge-request-settings.md`, `renovate.json` |
|
|
129
|
+
| `README.md`, `CLAUDE.md`, `.claude/rules/*.md` | how to run it; a slim guide (commands, how to read less, the map of the rules, generated files, compiler note, the skills of the plugin: `/ddd-ts-kit:start`, `glossary`, `use-case`, `document`, `quality-gate`) and the invariants in seven rule files, `domain.md`, `application.md`, `published-language.md`, `infrastructure.md`, `presentation.md`, `platform.md` and `tests.md`, each scoped by a `paths` frontmatter |
|
|
130
|
+
| `.claude/settings.json` | permissions only: the checks and generators run without asking, `.env` files are unreadable (`.env.example` stays readable), the three generated documents are not edited by hand, `git push`, `npm publish` and any edit of the files that hold the rules and the pipeline (`ddd-ts-kit.config.json`, `eslint.config.mjs`, `biome.json`, `.dependency-cruiser.cjs`, `knip.json`, `lefthook.yml`, `.gitlab-ci.yml`, `.github/workflows/**`, `.claude/settings.json`) ask first |
|
|
131
|
+
| `.gitignore` | `node_modules`, `dist`, `coverage`, `.env`, `*.tsbuildinfo` and `.ddd-ts-kit/`, where `worker-scope` writes |
|
|
132
|
+
|
|
133
|
+
`--ci both` writes the two pipelines, `--ci none` neither (and no `renovate.json`). The pipeline
|
|
134
|
+
files are copies of the assets of the repository's `pipeline/` directory, shipped in
|
|
135
|
+
`templates/pipeline/`; a test fails when a copy differs from its source by more than its
|
|
136
|
+
documented placeholders.
|
|
137
|
+
|
|
138
|
+
An existing `.claude/settings.json` is never overwritten: the missing permissions are appended
|
|
139
|
+
to its lists, everything else is kept, and the notes of the command list what was added. The
|
|
140
|
+
`.env` rule relies on the gitignore semantics of permission patterns: `Read(./.env.*)` is
|
|
141
|
+
denied and `Read(!./.env.example)`, a negation placed after it in the same list, takes the
|
|
142
|
+
example file back out.
|
|
143
|
+
|
|
144
|
+
Every `.ts` file `init` and `generate` write imports by the alias (`@/platform/errors.js`),
|
|
145
|
+
never by a relative path; the barrel and a published-language index re-export by it too.
|
|
146
|
+
|
|
147
|
+
Scripts: `dev` (`tsx watch`, which resolves an alias from the `paths` of `tsconfig.json`,
|
|
148
|
+
with `.env` loaded by `--env-file-if-exists` and tracing preloaded),
|
|
149
|
+
`build` (the compiler, then `ddd-ts-kit build-aliases`), `start` (plain `node` on `dist/`), `typecheck`, `lint`, `lint:fix`, `test`, `test:e2e`, `check:arch`, `depcruise`,
|
|
150
|
+
`deadcode`, `quality`, `openapi:generate|check`, `events:generate|check`, `docs:generate|check`,
|
|
151
|
+
`db:generate`, `db:migrate`, `infra:up`, `infra:down`, `hooks:install`, `start:<context>` and
|
|
152
|
+
`start:worker` once `generate service` and `generate worker` wrote their entry, the `ci:*` scripts the
|
|
153
|
+
pipelines call, `test:coverage` (every spec once, each context and layer held to the thresholds of
|
|
154
|
+
`ddd-ts-kit.config.json`) and `verify`, which chains the whole baseline: typecheck, lint,
|
|
155
|
+
`format:check`, `test:coverage`, end-to-end tests, `check:arch`, `depcruise`, `deadcode`,
|
|
156
|
+
`docs:check`.
|
|
157
|
+
|
|
158
|
+
`package.json` carries two compilers: `typescript ~6.0.3`, which the tools load as a library,
|
|
159
|
+
and `@typescript/native` (`npm:typescript@~7.0.2`), which `build` and `typecheck` call by path
|
|
160
|
+
(`node node_modules/@typescript/native/bin/tsc`). `npx tsc` would run the older one.
|
|
161
|
+
|
|
162
|
+
`init` and `generate context` start with the language: the first entry of `next` is the glossary
|
|
163
|
+
of the context to fill in.
|
|
164
|
+
|
|
165
|
+
## generate (alias g)
|
|
166
|
+
|
|
167
|
+
```
|
|
168
|
+
ddd-ts-kit generate <kind> ... [--term "<Term>=<meaning>"]... [--allow-name] [--local-only] [--dry-run] [--force]
|
|
169
|
+
ddd-ts-kit generate --help --json
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
| Kind | Arguments | Writes |
|
|
173
|
+
|---|---|---|
|
|
174
|
+
| `context` | `<name> --classification <c> [--purpose "<two sentences>"] [--term ...]... [--upstream <ctx>[:relationship]]...` | `CONTEXT.md` with its glossary, `published-language/index.ts`, config entry, registration in `platform/compose-application.ts` and in `test/architecture/extractable.spec.ts`; on tsyringe, with HTTP, `presentation/http/<name>.routes.ts` (a function of the two buses, in both styles); declared: the barrel `<name>.declarations.ts`; explicit and hand wiring: `<name>.module.ts`. `application/authorization/<name>.permissions.ts` is born with the first permission, or at once when `platform/auth/permissions.ts` lists the permission sets (rebac, custom) |
|
|
175
|
+
| `aggregate` | `<context> <Name>` | aggregate, builder, spec in given / when / then |
|
|
176
|
+
| `builder` | `<context> <Aggregate>` | `test/builders/<name>.builder.ts`, a class extending `Builder` |
|
|
177
|
+
| `entity` | `<context> <Name>` | entity, spec |
|
|
178
|
+
| `value-object` (`vo`) | `<context> <Name>` | value object, spec |
|
|
179
|
+
| `domain-event` | `<context> <Aggregate> <Fact>` | event named `<context>.<aggregate>.<fact>`, spec |
|
|
180
|
+
| `domain-error` | `<context> <Name> [--code CODE]` | error with a stable code, spec |
|
|
181
|
+
| `domain-service` | `<context> <Name>` | service, spec |
|
|
182
|
+
| `repository` | `<context> <Aggregate> [--tenant-scoped]` | the port `domain/repositories/<name>.repository.ts` (`abstract class <Name>Repository extends Repository<<Name>>`), the adapter of the project's ORM (`implements` the port) with its mapper and table (or model), a fake, one `repositoryContract` spec run on both, registration |
|
|
183
|
+
| `command` | `<context> <UseCaseName> (--permission <aggregate>.<action> \| --public) [--aggregate <Name>]` | `<use-case>.command.ts` on `AuthorizedCommand` (plain `Command` when public), `<use-case>.handler.ts` (it builds the aggregate, saves it and answers: the events leave with the save), spec through the bus with the refusal of an actor who lacks the permission, registration with `.requires(...)` or `.public()` (and the repository when missing). A generated command answers `void` or the identifier of its aggregate, so no `<use-case>.result.ts` is written |
|
|
184
|
+
| `query` | `<context> <UseCaseName> (--permission <aggregate>.<action> \| --public) [--search]` | `<use-case>.query.ts` on `AuthorizedQuery` (plain `Query` when public), `<use-case>.result.ts`, `<use-case>.handler.ts`, the read port `application/ports/<use-case>-reader.port.ts` (an abstract class), its in-memory adapter, fake, spec, registration on the query bus. With `--search` (needs `--permission`): a kernel `PageRequest` in the query, the item, the sort and `Page<Item>` in the result file, a handler that asks `Access.scope` and hands the scope to the read port, an in-memory reader paging by offset or cursor |
|
|
185
|
+
| `port` | `<context> <Name>` | `application/ports/<name>.port.ts`, one abstract class, and its fake |
|
|
186
|
+
| `route` | `<context> <UseCaseName> --method <GET\|POST\|PUT\|PATCH\|DELETE> --path <p> [--command\|--query]` | route depending on `CommandBus` or `QueryBus`, spec, registration in `<context>.routes.ts` (the module file with hand wiring); with class-validator one DTO class per file (`<use-case>-params.dto.ts`, `-body`, `-answer`, `-accepted`, `-line`) |
|
|
187
|
+
| `integration-event` | `<context> <Aggregate> <Fact> [--version n]` | `defineIntegrationEvent` declaration in the published language (its payload in `<event>.v<n>.payload.ts` with class-validator or a schema of your own), index export, the publisher `application/integration/publishers/<event>.publisher.ts`, spec, registration, a line of `platform/audit/audited-events.ts` |
|
|
188
|
+
| `integration-handler` (`consumer`) | `<context> <upstreamContext> <eventType>` | `application/integration/handlers/<name>.integration-handler.ts`, a class `<Name>IntegrationHandler` depending on `CommandBus`, its spec, its idempotent subscription under the consumer name `<context>.<name>`; refused unless the upstream is declared |
|
|
189
|
+
| `event-handler` | `<context> <Aggregate> <Fact> [--phase after-commit]` | reaction to a domain event of the context, spec, subscription; before the commit of the unit of work by default, after it with `--phase after-commit` (an effect no transaction covers, at most once), and the spec runs the reaction in that phase |
|
|
190
|
+
| `job` | `<context> <Name> (--every <duration> \| --cron "<expression>" [--time-zone <zone>]) --command <UseCaseName>` | `application/scheduling/<name>.job.ts`, a class `<Name>Job implements ScheduledJob` that sends the command, as `systemActor('<context>.<name>')` when it is protected, with `execution.scheduledAt` when the command takes it; `test/unit/<name>.job.spec.ts`, which runs the job (by name on tsyringe, `application.jobs.runNow`; `job.run(occurrence)` with hand wiring) and asserts the command it sent; its registration; its switch in `platform/job-settings.ts`; the grant of its system actor (below) |
|
|
191
|
+
| `acl` | `<context> <upstreamOrSystemName>` | translator in `infrastructure/anti-corruption/`, spec |
|
|
192
|
+
| `e2e` | `<context> <UseCaseName>` | `test/e2e/<use-case>.e2e.spec.ts` driving the route of the use case: 401 without a credential, 403 without the permission, the documented status with it; for a command, one more test asserts the trace of the request, exact on names and structure, with `installTestTracing()` and `expectSpanTree(storyOf(trace), [...])` of `@ddd-ts-kit/tracing/testing` (`POST /invoices`, then `command IssueInvoiceCommand`, then `repository InvoiceRepository.save`); needs the route |
|
|
193
|
+
| `policy` | `<context> <Name> --permission <aggregate>.<action>` | `application/authorization/<name>.policy.ts`, spec; declared: the class carries `@Policy(permission, { name })` and nothing else is written; explicit: registration in `platform/auth/access-policies.ts` |
|
|
194
|
+
| `gateway` | `<context> <upstreamContext> <Name>` | the read contract in the upstream's published language (`<name>.contract.ts`, an abstract class and the token of the upstream value), the port `application/ports/<name>-gateway.port.ts`, an in-process adapter in `infrastructure/external/` bound `.as('gateway')`, a fake, one contract suite; refused unless the upstream is declared |
|
|
195
|
+
| `adapter` | `<context> <Port> [--kind external\|gateway] [--decorators]` | `infrastructure/external/remote-<port>.adapter.ts` for an existing port, its spec, and on tsyringe its binding `builder.bind(<Port>).toClass(Remote<Port>).as(<kind>).with(ownPolicy(retry(...), timeout(...)))`; with `--decorators`, on every stack, the class carries `@Retry` and `@Timeout` of `@ddd-ts-kit/aspects/decorators` on its one outbound method and is bound `.with(ownPolicy())`. Explicit: a port that is already bound, or hand wiring, gets a note instead of a binding. Declared: the class carries `@Adapter(<Port>, { kind, aspects })`, or `@Gateway(<Port>, { aspects })` in `remote-<port>.gateway.ts` with `--kind gateway`, and a port that already has a declared adapter is refused |
|
|
196
|
+
| `service` | `<context>` | `src/apps/<context>/main.ts` (kernel, platform, that context only, with its jobs: `jobSettings(process.env, '<context>')`), script `start:<context>`, a compose service behind the `services` profile, the knip entry, `deployable: true` in the config. The Dockerfile takes the entry as build argument `ENTRY` |
|
|
197
|
+
| `worker` | none | `src/apps/worker/main.ts`: the modules of `main.ts`, no HTTP server, no outbox relay, the jobs started whatever `RUN_JOBS` says, a graceful stop; script `start:worker`, a compose service `worker` behind the `services` profile, the knip entry, `"worker": true` in the config, and `RUN_JOBS` defaulting to `false` from then on, so the API stops running the jobs the worker runs. With several instances the lock has to be a real one: `--cache redis` binds the Redis lock, without it the generated README says the limit. A context named `worker` is refused |
|
|
198
|
+
| `adr` | `"<title>" [--deviation <what>] [--reason "<why>"]` | `docs/adr/NNNN-<slug>.md`; with `--deviation`, the `deviations` entry of the config that points to it |
|
|
199
|
+
|
|
200
|
+
- **The declared style, kind by kind.** No token anywhere: a list names port classes. `command`
|
|
201
|
+
and `query` put `@Requires(<permissions>[...])` or `@Public()` on the message and
|
|
202
|
+
`@CommandHandler(Message, [InvoiceRepository, IdGenerator, Clock])` or
|
|
203
|
+
`@QueryHandler(Message, [<UseCase>Reader])` on the handler; `repository` writes
|
|
204
|
+
`@Repository(InvoiceRepository, [<storage>, ExecutionScope, Clock])`, the storage being
|
|
205
|
+
`Database` of the platform (drizzle, prisma), `KnexContext` or `TypeOrmContext`; the in-memory
|
|
206
|
+
adapter of a read port is `in-memory-<name>-reader.repository.ts`, a role file with
|
|
207
|
+
`@Repository(<UseCase>Reader)`; `integration-handler` writes
|
|
208
|
+
`@IntegrationEventHandler(definition, { consumer }, [CommandBus])` and is refused when the
|
|
209
|
+
upstream does not declare the event; `event-handler` and the publisher of `integration-event`
|
|
210
|
+
write `@DomainEventHandler(Event, { name })` (the publisher with
|
|
211
|
+
`[IntegrationEventPublisher, IdGenerator]`), and both are found like any role file: the
|
|
212
|
+
composition root lists no publisher; `job` writes `@Scheduled('<context>.<name>', schedule, [CommandBus])`;
|
|
213
|
+
`policy` writes a class with `@Policy(permission, { name })` and registers nothing; `gateway`
|
|
214
|
+
writes `@Gateway(<Name>Gateway, [<Name>Contract])` and binds the upstream value in the marker
|
|
215
|
+
regions of `platform/platform.module.ts` and `platform/platform-test.module.ts`: a value or a
|
|
216
|
+
factory is what a decorator cannot say; `route` adds its function to
|
|
217
|
+
`presentation/http/<context>.routes.ts`. A handler spec builds its test application from
|
|
218
|
+
`platformTestModule`, `contextModule('<context>', <context>Declarations)`, an authorization
|
|
219
|
+
module and fakes (`fake(InvoiceRepository, new FakeInvoiceRepository())`).
|
|
220
|
+
- **The explicit style, kind by kind.** The same files without decorators, and one line of the
|
|
221
|
+
module file each: `builder.bind(InvoiceRepository).toClass(DrizzleInvoiceRepository, [Database, ExecutionScope, Clock]).as('repository')`,
|
|
222
|
+
`builder.command(IssueInvoiceCommand).requires(...).handledBy(IssueInvoiceHandler, [InvoiceRepository, IdGenerator, Clock])`,
|
|
223
|
+
`builder.on(definition, { consumer }).handledBy(Handler, [CommandBus])`,
|
|
224
|
+
`builder.job('<context>.<name>', schedule).handledBy(<Name>Job, [CommandBus])`; a publisher and
|
|
225
|
+
a domain event handler are bound under themselves and subscribed in the `start` region. With
|
|
226
|
+
hand wiring (`--di manual`, `--di nest`) the module file is a function of the `Platform`:
|
|
227
|
+
`platform.adapter(new DrizzleInvoiceRepository(...), { kind: 'repository', context, token })`,
|
|
228
|
+
which gives the repository its span and the dispatch of what it saves,
|
|
229
|
+
`platform.commands.register(Message, new Handler(...), { context })`,
|
|
230
|
+
`platform.jobs.register({ name, schedule, run })`.
|
|
231
|
+
- **Jobs.** The schedule is validated when the job is generated, by the rules of the scheduler
|
|
232
|
+
(`parseJobSchedule` of the kernel, pinned by a test): a duration (`15m`, `2s`, digits alone are
|
|
233
|
+
milliseconds) or a five-field cron expression, with an IANA time zone; `--time-zone` without
|
|
234
|
+
`--cron` is refused, and so is a job without `--command`, a command that does not exist (with the
|
|
235
|
+
command that creates it) and a command whose constructor needs more than the actor and the
|
|
236
|
+
instant the work is for: a job only says that the time has come, the handler finds what to act
|
|
237
|
+
on. Parameters that are optional or have a default are left out of the call.
|
|
238
|
+
- **The grant of a job.** A job whose command is protected sends it as `system:<context>.<name>`,
|
|
239
|
+
which has no right unless the model gives it one. `generate job` writes the grant where the model
|
|
240
|
+
makes it one line, in a `system-grants` marker region, and `next` points at that line:
|
|
241
|
+
`--authz rbac`, the id of the permission under the role `system` of `platform/auth/roles.ts`,
|
|
242
|
+
the role `createAuthorizer` gives every system actor (`systemRole`); `--authz abac`, a
|
|
243
|
+
`permit('system-<job>', [permission], ({ actor }) => actor.id === 'system:<job>')` rule in
|
|
244
|
+
`platform/auth/attribute-policies.ts`; `--authz rebac`, the tuple
|
|
245
|
+
`context:<context>#operator@system:system:<job>` in `platform/auth/relate-system-actors.ts`,
|
|
246
|
+
written to the tuple store when the application starts, as long as the schema still lets a
|
|
247
|
+
`system` subject operate a context. With `--authz custom`, a removed region, a remodelled
|
|
248
|
+
relationship schema or a permission the generator cannot read, nothing is written and the job
|
|
249
|
+
file carries the `TODO(domain)` naming the actor and the permission.
|
|
250
|
+
- **The barrel is derived.** `<context>.declarations.ts` holds one `export *` per role file, sorted
|
|
251
|
+
by path. Every `generate`, and `docs`, rewrite it; `docs --check` and `check`
|
|
252
|
+
(`declarations/barrel-current`) report one that a role file written by hand left behind.
|
|
253
|
+
- **Deny by default.** `command` and `query` are refused without `--permission` or `--public`. A new
|
|
254
|
+
permission joins `<context>.permissions.ts`; its words are checked against the glossary like any
|
|
255
|
+
other name. With `--authz rebac` the requirement names the context as its resource, a starting
|
|
256
|
+
point to replace by the element the right bears on.
|
|
257
|
+
- `route` hands `actorOf(context.principal)` to a protected use case and sets `security` (the scheme
|
|
258
|
+
of `--authn`, or `false` for a public one). `integration-handler` carries `systemActor('<context>.<name>')`
|
|
259
|
+
for the command it builds; behind a broker it listens on the subscriber of its context
|
|
260
|
+
(`EventSubscribers.forContext`), its mark and its work in one unit of work.
|
|
261
|
+
- A generated repository adapter only persists: it takes `ExecutionScope` and `Clock`, never
|
|
262
|
+
`ActorContext` nor a dispatcher, and stamps `created_at`, `created_by`, `updated_at`, `updated_by` with `stampCreation` and `stampUpdate`;
|
|
263
|
+
the table uses `auditColumns` of the ORM package (the five fields are written out for Prisma).
|
|
264
|
+
The sample fact of an aggregate is `registeredAt`, since `created_at` is the audit column.
|
|
265
|
+
`repository --tenant-scoped` (drizzle and knex) adds `tenantColumn` and puts `tenantScopeOf(scope)`
|
|
266
|
+
on the insert and in the condition of every read and update, with a spec that one tenant does
|
|
267
|
+
not see another's rows. With another ORM the regular adapter is written and a note says what to add.
|
|
268
|
+
- `adapter --decorators` is accepted on every stack: the aspects decorators serve the standard
|
|
269
|
+
mode and the legacy one a `tsconfig.json` with `experimentalDecorators` imposes.
|
|
270
|
+
- `route` of a `--search` query reads the page with `pageQuerySchema` and answers `pageSchemaOf` and
|
|
271
|
+
`pageResponse`. A subscription of an integration event handler that is not a `builder.on` is
|
|
272
|
+
written in the `start` region with `idempotent(...)` around `inEventScope(...)`.
|
|
273
|
+
- **The language first.** The name of an aggregate, entity, value object, domain service, domain
|
|
274
|
+
event, command or query is refused when one of its words is not covered by a term of the
|
|
275
|
+
`## Ubiquitous language` table of the context (plural, past participle and -ing forms are
|
|
276
|
+
recognised). `--term "<Term>=<meaning>"`, repeatable, adds the rows in the same command.
|
|
277
|
+
Technical words (`Manager`, `Helper`, `Data`, `Impl`, `Model`...) and an event fact that does
|
|
278
|
+
not read as past tense are refused too. `--allow-name` overrides the three checks; `check`
|
|
279
|
+
will still report what the glossary does not define.
|
|
280
|
+
- Generated code compiles as is and passes `check`, the ESLint preset, dependency-cruiser and knip
|
|
281
|
+
at the default severities: one export per file, files far under 350 lines, `private` members,
|
|
282
|
+
the blank-line layout. Every place that needs business knowledge carries a
|
|
283
|
+
`// TODO(domain): ...` comment saying which decision is expected, and a place where an adapter is
|
|
284
|
+
to be replaced a `// TODO(platform): ...` one; the only other comments say what the code cannot.
|
|
285
|
+
- Specs hold one real passing test where it can be written generically, and `it.todo` entries
|
|
286
|
+
naming the behaviours to cover. No mock: fakes, builders, and the test application. On tsyringe a
|
|
287
|
+
handler spec goes through `createTestApplication` of `@ddd-ts-kit/di` and observes the facts
|
|
288
|
+
announced with the save with `application.domainEvents.on('<name>', ...)`; with hand wiring it
|
|
289
|
+
goes through `createTestBuses()` of `@ddd-ts-kit/testing`, whose `dispatching(fake)` makes the
|
|
290
|
+
save of a fake announce its events to `domainEvents`.
|
|
291
|
+
- `--json` prints `{ dryRun, created, updated, skipped, next, todos, notes }`. `next` lists the
|
|
292
|
+
`TODO(domain)` places as `file:line`, the glossary first, then the lines a command wrote for the
|
|
293
|
+
team to check (the grant of a job); `todos` adds their text.
|
|
294
|
+
- A kind that needs something else to compile either creates it (a missing repository or
|
|
295
|
+
domain event) or stops with the command that creates it (a missing aggregate, use case or
|
|
296
|
+
route).
|
|
297
|
+
- Registration goes between marker comments (`// ddd-ts-kit:<region>` ... `// /ddd-ts-kit:<region>`,
|
|
298
|
+
HTML comments in Markdown). Remove a marker and the generator prints what to add by hand.
|
|
299
|
+
- Every `generate` refreshes the generated documentation and `.dependency-cruiser.cjs` when
|
|
300
|
+
they exist; generating twice changes nothing.
|
|
301
|
+
- `--local-only` refuses, naming the files and writing nothing, when the run would write outside
|
|
302
|
+
`<contextsDir>/<context>/` and `test/e2e/*.e2e.spec.ts`. `generate --help --json` prints every
|
|
303
|
+
kind with its `usage`, `aliases`, `summary` and `writesShared`, plus `shared` and `sharedWhen`:
|
|
304
|
+
what it writes outside its context, and when. Both serve a build split between workers (see
|
|
305
|
+
`worker-scope`).
|
|
306
|
+
- A fake is an entry point for knip and may have no importer for dependency-cruiser: a port
|
|
307
|
+
and its fake generated before a use case needs them fail neither analyzer. A domain service
|
|
308
|
+
is kept alive by the spec generated with it.
|
|
309
|
+
|
|
310
|
+
Templates are plain files in `templates/<kind>/`, with `{{name.pascal}}`, `{{name.camel}}`,
|
|
311
|
+
`{{name.kebab}}`, `{{name.constant}}`, `{{context.kebab}}` placeholders and
|
|
312
|
+
`{{#if x}}` / `{{#unless x}}` blocks. An unknown placeholder is an error.
|
|
313
|
+
|
|
314
|
+
## docs
|
|
315
|
+
|
|
316
|
+
```
|
|
317
|
+
ddd-ts-kit docs [--check]
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
Regenerates what is derived from the config and the code, and nothing else:
|
|
321
|
+
|
|
322
|
+
- `docs/context-map.md`, between `<!-- ddd-ts-kit:context-map -->` markers: a Mermaid diagram
|
|
323
|
+
(one node per context styled by classification, one arrow per relationship from upstream to
|
|
324
|
+
downstream labelled with the pattern) and the table of contexts with the first sentence of
|
|
325
|
+
their purpose, upstreams, downstreams, published events and whether they are deployable alone. The text outside the markers is
|
|
326
|
+
kept; on first creation the four written sections are laid out with hints.
|
|
327
|
+
- the generated lists of every `CONTEXT.md` (aggregates, published events, permissions, scheduled
|
|
328
|
+
jobs as a table of name, schedule and command, relationships);
|
|
329
|
+
- the barrel of every declared context, `<context>.declarations.ts`;
|
|
330
|
+
- the reference of every `CONTEXT.md`: the facts of `describe`, as tables under `## Reference`,
|
|
331
|
+
between `ddd-ts-kit:reference` markers; a `CONTEXT.md` that has no such section gets it after its
|
|
332
|
+
last generated list;
|
|
333
|
+
- `docs/integration/README.md`, created once and never rewritten; its Provider section starts with
|
|
334
|
+
the strategy of the chosen broker.
|
|
335
|
+
|
|
336
|
+
`--check` writes nothing, names each stale file and exits 1. The event catalog and the
|
|
337
|
+
AsyncAPI document need the code of the project to run, so they are produced by
|
|
338
|
+
`scripts/events.ts` (`npm run events:generate`, part of `npm run docs:generate`).
|
|
339
|
+
|
|
340
|
+
## depcruise-config
|
|
341
|
+
|
|
342
|
+
```
|
|
343
|
+
ddd-ts-kit depcruise-config [--check | --write]
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
Prints the dependency-cruiser configuration derived from `ddd-ts-kit.config.json`: layers,
|
|
347
|
+
published languages, declared upstreams, allowed packages, cycles and orphans. `--write` saves
|
|
348
|
+
it as `.dependency-cruiser.cjs`; `--check` exits 1 when the file is missing or stale, which is
|
|
349
|
+
what `npm run depcruise` runs first. Edit the config, not the file.
|
|
350
|
+
|
|
351
|
+
## build-aliases
|
|
352
|
+
|
|
353
|
+
```
|
|
354
|
+
ddd-ts-kit build-aliases [--project <tsconfig>]
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
The second step of `npm run build`, after the compiler. The compiler emits an import alias as
|
|
358
|
+
it was written (`@/platform/errors.js`), and Node resolves no alias: this command rewrites, in
|
|
359
|
+
every `.js`, `.mjs`, `.cjs`, `.d.ts`, `.d.mts` and `.d.cts` under the output directory of the
|
|
360
|
+
tsconfig (`tsconfig.build.json` by default), each alias specifier into the relative path of the
|
|
361
|
+
emitted file it names, so that `node dist/src/main.js` runs with no loader and no flag.
|
|
362
|
+
|
|
363
|
+
- Rewritten: the specifier of `import ... from`, `export ... from`, a bare `import`,
|
|
364
|
+
`import('...')` and `require('...')` with a string literal, `import.meta.resolve('...')`, and
|
|
365
|
+
in declarations `import type`, `typeof import('...')` and `declare module '...'`.
|
|
366
|
+
- Exact: the file is scanned, not searched; a string that only looks like an import, in other
|
|
367
|
+
code, a comment, a template or a regular expression, is left alone. Lines never move and the
|
|
368
|
+
source maps are not touched.
|
|
369
|
+
- Idempotent: a second run rewrites nothing.
|
|
370
|
+
- It exits 2 and writes nothing when an alias names no emitted file, when `import()` is given
|
|
371
|
+
an alias completed at run time (a template with an interpolation, a concatenation), or when
|
|
372
|
+
the output directory does not exist.
|
|
373
|
+
|
|
374
|
+
`--json` answers `{ outDir, files, changed, specifiers }`. `ddd-ts-kit check` reports a script
|
|
375
|
+
that compiles without this step (`imports/alias-declared`). The whole mechanism:
|
|
376
|
+
[docs/tools/import-aliases.md](../../docs/tools/import-aliases.md).
|
|
377
|
+
|
|
378
|
+
## list
|
|
379
|
+
|
|
380
|
+
```
|
|
381
|
+
ddd-ts-kit list [--context <name>]
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
`--context` restricts the answer to one context. Contexts with their classification, glossary size, upstreams, aggregates, commands, queries,
|
|
385
|
+
domain events, published events, integration event handlers, scheduled jobs (name, schedule, the
|
|
386
|
+
command each sends; `jobs` in `--json`), builders, permissions, policies, gateways and whether the
|
|
387
|
+
context is deployable alone, then the end-to-end specs. In the declared style the use cases, the
|
|
388
|
+
handlers, the policies, the gateways and the adapters are read from the decorators: a command or a
|
|
389
|
+
query shows what it requires (or `public`), a handler its consumer name and its event, a policy its
|
|
390
|
+
permission, an adapter its port; `--json` adds them under `declarations`. In the explicit style the
|
|
391
|
+
jobs are read from the `builder.job(...)` and `platform.jobs.register(...)` lines of the module file.
|
|
392
|
+
|
|
393
|
+
## describe
|
|
394
|
+
|
|
395
|
+
```
|
|
396
|
+
ddd-ts-kit describe <context>
|
|
397
|
+
```
|
|
398
|
+
|
|
399
|
+
One context as facts read from the config and the source text, in both styles: use cases with
|
|
400
|
+
their permission (or `public`), routes (method, path, operation id, use case, schema names, error
|
|
401
|
+
codes), consumed and published events, ports with their adapters, policies, gateways with their
|
|
402
|
+
upstream, scheduled jobs, upstreams and downstreams. Field lists are not guessed: they are in
|
|
403
|
+
`openapi/openapi.json` and `docs/integration/event-catalog.md`. `docs` writes the same facts in
|
|
404
|
+
each `CONTEXT.md`.
|
|
405
|
+
|
|
406
|
+
`--json` prints one object:
|
|
407
|
+
|
|
408
|
+
| Key | Value |
|
|
409
|
+
|---|---|
|
|
410
|
+
| `name`, `classification`, `purpose`, `deployable`, `doc` | the context, its purpose (empty until written) and the path of its `CONTEXT.md` |
|
|
411
|
+
| `glossary`, `aggregates`, `domainEvents`, `permissions` | names |
|
|
412
|
+
| `upstreams`, `downstreams` | `{ context, relationship }` |
|
|
413
|
+
| `useCases` | `{ kind, name, permission, file }`, `kind` being `command` or `query` |
|
|
414
|
+
| `routes` | `{ method, path, operationId, useCase, permission, request: [{ part, schema }], responses: [{ status, schema }], errors, file }` |
|
|
415
|
+
| `consumedEvents` | `{ type, version, from, handler, consumer, file }` |
|
|
416
|
+
| `publishedEvents` | `{ type, versions, publishers }` |
|
|
417
|
+
| `ports` | `{ name, kind, adapters, file }`, `kind` being that of its binding (`repository`, `external`, `gateway`) |
|
|
418
|
+
| `policies` | `{ name, permission, file }` |
|
|
419
|
+
| `gateways` | `{ name, upstream, adapters, file }` |
|
|
420
|
+
| `jobs` | `{ name, schedule, command }` |
|
|
421
|
+
| `contracts` | `{ openapi, eventCatalog }`: where the field lists are |
|
|
422
|
+
|
|
423
|
+
## status, todo
|
|
424
|
+
|
|
425
|
+
```
|
|
426
|
+
ddd-ts-kit status
|
|
427
|
+
ddd-ts-kit todo [<context>]
|
|
428
|
+
```
|
|
429
|
+
|
|
430
|
+
`status` prints the `Next:` line of `docs/architecture/plan.md`, the rows of
|
|
431
|
+
`docs/architecture/slices.md` by status and by owner, and per context the `TODO(domain)`,
|
|
432
|
+
`TODO(platform)` and `it.todo` left, then those outside the contexts. A missing file is not an
|
|
433
|
+
error. `--json` prints `{ next, slices, remaining }`: `next` and `slices` are `null` when their
|
|
434
|
+
file is missing, `slices` holds `{ file, rows, byStatus, byOwner }`, `remaining` one
|
|
435
|
+
`{ context, domain, platform, test }` per context, and one with an empty `context` for what is
|
|
436
|
+
left outside them.
|
|
437
|
+
|
|
438
|
+
`todo` lists those markers as `file:line` with their kind and their text, in the project or in one
|
|
439
|
+
context; `--json` prints `{ count, remaining: [{ kind, context, file, line, text }] }`.
|
|
440
|
+
|
|
441
|
+
## worker-scope
|
|
442
|
+
|
|
443
|
+
```
|
|
444
|
+
ddd-ts-kit worker-scope <context> [--worktree <path>] [--branch <name>] [--dry-run]
|
|
445
|
+
```
|
|
446
|
+
|
|
447
|
+
Prepares the place of one worker of a build split by context: creates a git worktree of the
|
|
448
|
+
project (`../<project>-<context>` by default) on the branch `build/<context>`, writes
|
|
449
|
+
`.ddd-ts-kit/worker.json` in it (`{ "context": "<context>" }`; `init` ignores `.ddd-ts-kit/`), and
|
|
450
|
+
prints the briefing of the worker: its scope, the generators it may run, its slices still to do
|
|
451
|
+
from `docs/architecture/slices.md`, the published languages it consumes. An existing worktree is
|
|
452
|
+
kept and only the file is written again; `--dry-run` creates and writes nothing. It needs a git
|
|
453
|
+
repository with one commit at least. The worker then generates with `--local-only`.
|
|
454
|
+
|
|
455
|
+
## check
|
|
456
|
+
|
|
457
|
+
```
|
|
458
|
+
ddd-ts-kit check [paths...] [--rule <id>]... [--format text|json|github|gitlab]
|
|
459
|
+
[--changed-since <git-ref>] [--self]
|
|
460
|
+
ddd-ts-kit check --clean-only <dir>... [--rule <id>]... [--format text|json|github]
|
|
461
|
+
ddd-ts-kit check --commit-size [--staged] [--strict]
|
|
462
|
+
```
|
|
463
|
+
|
|
464
|
+
Each violation has a rule id, a severity, a file, a line, a message and a `fix`: one sentence
|
|
465
|
+
saying what to do instead. Exit code 1 when there is at least one error.
|
|
466
|
+
|
|
467
|
+
- `paths` and `--changed-since` limit what is reported, not what is analysed.
|
|
468
|
+
`--changed-since` runs `git diff --name-only --relative <ref>...` in the project.
|
|
469
|
+
- `--format github` prints `::error file=...,line=...::` annotations.
|
|
470
|
+
- `--format gitlab` prints a GitLab Code Quality report: one issue per violation, `major` for
|
|
471
|
+
an error and `minor` for a warning, with a fingerprint that does not depend on the line.
|
|
472
|
+
- Severities come from `rules` in the config (`error`, `warn`, `off`). Default `error`, except
|
|
473
|
+
`test/no-mocks`, `test/builder-required`, `clean/function-size`, `clean/no-noise-comment`,
|
|
474
|
+
`clean/no-flag-argument`, `standard/no-parallel-interface` and, held by ESLint,
|
|
475
|
+
`application/command-query-separation` (`warn`). `any` in a test file is
|
|
476
|
+
always a warning.
|
|
477
|
+
- `limits: { "maxParameters": 3, "maxFunctionLines": 30 }` in the config sets
|
|
478
|
+
`clean/function-size`. `maxFunctionLines` goes from 1 to 100: a value above is read as 100 and
|
|
479
|
+
reported by `config/valid`, and a function of more than 100 lines is an `error` whatever the
|
|
480
|
+
severity of the rule (only `off` silences it). `clean/file-size` (350 lines) is not configurable.
|
|
481
|
+
- `onePerFile: { "allow": [{ "file": "<path or glob>", "reason": "<why these exports are one thing>" }] }`
|
|
482
|
+
exempts files from the count of `clean/one-export-per-file`, never from its file name check;
|
|
483
|
+
`*` matches inside one path segment, `**` across segments; an entry without a reason is ignored
|
|
484
|
+
and reported by `config/valid`.
|
|
485
|
+
- `domainAllowedPackages`, `applicationAllowedPackages` and `publishedLanguageAllowedPackages`
|
|
486
|
+
extend what the inner layers may import. `@ddd-ts-kit/aspects`, `@ddd-ts-kit/audit`,
|
|
487
|
+
`@ddd-ts-kit/redis`, `@ddd-ts-kit/scheduling`, `@ddd-ts-kit/sentry` and `@ddd-ts-kit/tracing`
|
|
488
|
+
stay refused in `domain/` and `application/` even when a list names them.
|
|
489
|
+
- `standardInterfaces: { "<DeclaredName>": "<kernel interface to use instead>" }` in the config
|
|
490
|
+
adds names to `standard/no-parallel-interface` over its defaults; the value `false` drops a
|
|
491
|
+
default name.
|
|
492
|
+
- Suppress one line with `// ddd-ts-kit-disable-next-line <rule-id> -- ADR-0007: <reason>`. Without a
|
|
493
|
+
reason the comment is itself a violation, and so is a reason that names no existing decision record. On the first line of a file it also covers
|
|
494
|
+
file-level violations.
|
|
495
|
+
- `--clean-only` runs the rules that judge a file on its own (`clean/stepdown`,
|
|
496
|
+
`clean/function-size`, `clean/no-commented-out-code`, `clean/no-noise-comment`,
|
|
497
|
+
`clean/no-escape-hatch`, `clean/no-hash-private`, `clean/blank-lines`, `clean/braces`,
|
|
498
|
+
`clean/one-export-per-file`, `clean/file-size`) on any directories, without a project or a config.
|
|
499
|
+
- `--self` replays the rule fixtures shipped with the CLI and exits 0 when every rule behaves
|
|
500
|
+
as expected.
|
|
501
|
+
|
|
502
|
+
| Rule | Detects |
|
|
503
|
+
|---|---|
|
|
504
|
+
| `layer/domain-purity` | in `domain/`: a package outside `domainAllowedPackages`, any Node built-in, another layer, another context; any entry of `@ddd-ts-kit/aspects`, `@ddd-ts-kit/audit`, `@ddd-ts-kit/redis`, `@ddd-ts-kit/scheduling`, `@ddd-ts-kit/sentry` or `@ddd-ts-kit/tracing`, allowed or not; `@ddd-ts-kit/kernel/declarations`, although the kernel is allowed: the domain declares nothing |
|
|
505
|
+
| `layer/application-inward` | in `application/`: `infrastructure/`, `presentation/`, the platform, a package outside the allow-list, a Node built-in; any entry of `@ddd-ts-kit/aspects`, `@ddd-ts-kit/audit`, `@ddd-ts-kit/redis`, `@ddd-ts-kit/scheduling`, `@ddd-ts-kit/sentry` or `@ddd-ts-kit/tracing`, allowed or not, with where the concern belongs (the composition root, a bus middleware, an adapter, a port) |
|
|
506
|
+
| `layer/presentation-no-infrastructure`, `layer/infrastructure-no-presentation` | the forbidden import, inside one context |
|
|
507
|
+
| `context/published-language-only` | an import of another context outside its `published-language/` |
|
|
508
|
+
| `context/declared-relationship` | an import of a published language whose context is not a declared upstream |
|
|
509
|
+
| `context/published-language-is-a-contract` | `published-language/` importing anything but its allow-list and other published languages |
|
|
510
|
+
| `context/no-cycle` | a cycle in the declared upstreams, with its path |
|
|
511
|
+
| `tree/closed` | a directory outside the canonical tree and `extraDirectories`; a source file outside a role directory; in the declared style `<context>.declarations.ts` is accepted at the root of a context |
|
|
512
|
+
| `tree/context-doc` | a missing `CONTEXT.md`, a missing section, a classification that contradicts the config |
|
|
513
|
+
| `naming/suffix` | a file without the suffix of its role, or not in kebab-case. `application/scheduling/` holds `*.job.ts`; a use case folder accepts `*.result.ts` next to its message and its handler; `presentation/http/<context>.routes.ts`, named after its context instead of a role, is accepted in both styles |
|
|
514
|
+
| `naming/one-concept-per-file` | several exported classes in an aggregate, entity, value object, event, command, query, handler, event handler, integration event handler or job file; in the declared style, several classes carrying a declaration decorator in one role file |
|
|
515
|
+
| `naming/search-not-list` | in a context, a method named `list` or `list<Something>` in a port (`domain/repositories/*.repository.ts`, `application/ports/*.port.ts`), in a class of `infrastructure/` or in a fake of `test/fakes/`; under `application/queries/`, a folder or a file named `list`, `list-...` or `list....`, or a class named `List` or `List<Something>`. Properties and `listAccessible` (required by the `Authorizer` port) are not judged. Name them `search...`: `generate query <context> Search<Things> --search` |
|
|
516
|
+
| `test/spec-required` | an aggregate, value object, domain service, handler, domain event handler, integration event handler or job without a spec (a `*.result.ts` needs none) |
|
|
517
|
+
| `test/no-mocks` | `vi.mock`, `vi.fn`, `vi.spyOn`, their `jest` twins, or a mocking library in a context's tests |
|
|
518
|
+
| `test/builder-required` | an aggregate without `test/builders/<name>.builder.ts` |
|
|
519
|
+
| `events/name-format` | an event name that is not `<context>.<aggregate>.<fact>` in kebab-case with the right context |
|
|
520
|
+
| `events/defined-in-published-language` | `defineIntegrationEvent` outside a published language, without a payload, twice for one version; an event described by hand |
|
|
521
|
+
| `language/glossary-term` | a class of the model named with a word the glossary of its context does not define; an empty glossary |
|
|
522
|
+
| `language/no-technical-name` | `Manager`, `Helper`, `Util`, `Utils`, `Data`, `Info`, `Processor`, `Wrapper`, `Impl`, `Base`, `Abstract`, `Dto`, `Entity`, `Model` in a type declared under `domain/` or in a use case folder |
|
|
523
|
+
| `purity/no-system-clock` | `new Date()` without argument, `Date.now()`, `performance.now()` in `domain/` or `application/` |
|
|
524
|
+
| `purity/no-ambient-randomness` | `Math.random`, the random source of `crypto`, an id library |
|
|
525
|
+
| `purity/no-environment` | `process.env` and friends, `console`, `fetch`, file system and network modules |
|
|
526
|
+
| `clean/stepdown` | a private method before the last public one or above its first caller; a non-exported function above its first use |
|
|
527
|
+
| `clean/function-size` | more parameters or body lines than the limits (constructors are exempt from the parameter limit, module files and `describe` callbacks from the line limit); any function of more than 100 lines, those included, reported as an `error` |
|
|
528
|
+
| `clean/no-commented-out-code` | comment lines shaped like statements |
|
|
529
|
+
| `clean/no-noise-comment` | banners, closing-brace labels, authors and dates, empty `@param` and `@returns`, a comment that only repeats the declared name, a `TODO` without owner or reference |
|
|
530
|
+
| `clean/no-escape-hatch` | `any`, a non-null assertion, `@ts-ignore`, `@ts-nocheck`, `@ts-expect-error` or `eslint-disable` without a reason |
|
|
531
|
+
| `clean/no-flag-argument` | a `boolean` parameter on a public method of a domain class or on `execute` |
|
|
532
|
+
| `clean/no-hash-private` | a `#name` class member: field, method, accessor, static |
|
|
533
|
+
| `clean/blank-lines` | an approximation of the layout ESLint and the formatter hold: a `return` whose previous line is neither blank, nor an opening brace, nor a `case` label; a blank line right after an opening brace or right before a closing one |
|
|
534
|
+
| `clean/braces` | an `if`, `else`, `for`, `while` or `do` whose body has no braces or shares a line with them, an `else` on a line of its own; an approximation of what ESLint (`curly`) and the formatter hold |
|
|
535
|
+
| `clean/one-export-per-file` | under the source root, tests apart: more than one exported class, interface or function that the allowances do not explain (the types of the signature of the main export, a type and a value sharing one name, a type with its constructors, the accessors of one private state, `onePerFile.allow`); a file not named after its main export in kebab-case (`invoice.aggregate.ts` for `Invoice`); an `index.ts` or a `<context>.declarations.ts` that holds anything but re-exports |
|
|
536
|
+
| `clean/file-size` | a file of more than 350 lines, sources and tests; a path with a segment `generated` and declaration files are exempt |
|
|
537
|
+
| `composition/only-in-module` | `new X`, or `bind(..).toClass(X, ..)` and `rebind(..).toClass(X, ..)`, of a class imported from `infrastructure/`, outside the module file, `main.ts`, the platform and tests; in a file importing `@ddd-ts-kit/di`, a call of `contextModule`, `discoverContext` or `.include(` outside those places and `apps/<context>/main.ts` |
|
|
538
|
+
| `imports/alias-only` | under the source root, `test/` and `scripts/`: an `import`, `export ... from` or `import()` with a relative specifier, the same directory included (the fix names the alias to write; `eslint --fix` writes it); an alias specifier with a `.` or `..` segment |
|
|
539
|
+
| `imports/alias-declared` | an `importAlias` that is not `@/` or `$<name>/`, or that is `$test/`, `$scripts/`, `$generated/`; a `paths` entry of `tsconfig.json` missing or different from what `importAlias` gives (the fix gives the entry); another `paths` entry under an alias; a `baseUrl`; a `tsconfig.build.json` whose `paths` differ; `paths` of `knip.json` mapping an alias; a script that compiles (`tsc` without `--noEmit`) and does not run `ddd-ts-kit build-aliases` afterwards; a script running `tsx --tsconfig` on another file; a `vitest` config at the root without `tsconfigPaths: true`, a `jest` config without the derived `moduleNameMapper` entries, or `.dependency-cruiser.cjs` without `tsConfig`. A project without `package.json` is not judged |
|
|
540
|
+
| `config/valid` | unknown upstream, classification, relationship, rule id or `guard` mode; a context missing on disk or in the config; a `commit` limit that is not a positive integer |
|
|
541
|
+
| `config/suppression-needs-reason` | a suppression without a rule id or a reason (kept as an alias next to `governance/recorded-deviation`, which judges the reason) |
|
|
542
|
+
| `authz/declared` | in a module file, `builder.command(X)` or `builder.query(X)` without `.requires(` or `.public(` in its chain, unless the message class carries `@Requires` or `@Public` of `@ddd-ts-kit/kernel/declarations`; with manual or nest wiring, a command or query class absent from every `requires(X, ...)` and `publicUseCase(X)` of the module file and of `application/authorization/`; a `defineRoute` without `security` (the route type refuses it already, and an empty list too: this is the text-level net for a definition built loosely); in the declared style, the exported class of a `*.command.ts` or `*.query.ts` file carrying neither `@Requires` nor `@Public` |
|
|
543
|
+
| `authz/in-application` | `presentation/`: a test on roles, `isAdmin`, the import of an authorizer or of `Access`; `infrastructure/`: `authorize(` or `check(` on an authorizer or access, `ForbiddenError`; `domain/`: any import of `@ddd-ts-kit/auth`, of the actor types of the kernel (`Actor`, `ActorContext`, `Session`, `ExecutionContext`, the authorized messages), a read of `.roles` or `.permissions` on an actor. The request glue of `@ddd-ts-kit/auth` (`actorOf`, `sessionOf`, `resolveSession`, `SessionAuthenticator`) is free in `presentation/`. `presentation/` and `infrastructure/`: the import of `Requires`, `Public` or `Policy` from `@ddd-ts-kit/kernel/declarations`, or of the ports `Access` and `PolicyAccess` from `@ddd-ts-kit/auth`; they are free in `application/` |
|
|
544
|
+
| `authz/actor-explicit` | in `domain/` and `application/`: `ActorContext`, `ExecutionScope` (as a type or as a value: the class is the token of a dependency list), `AsyncLocalStorageExecutionScope`, `ScopedActorContext`, `AsyncLocalStorage`; `.current()` or `.require()` on an actor context or on something named `scope`, `scopes` or `...executionScope`; an import of `stampCreation`, `stampUpdate` or `tenantScopeOf` |
|
|
545
|
+
| `aspects/outside-in` | an import of `@ddd-ts-kit/aspects/decorators` outside `infrastructure/` of a context and the platform directory: `presentation/`, the module file, `published-language/`, the shared kernel, `main.ts`, any other source (`domain/` and `application/` are reported by the two `layer/*` rules instead) |
|
|
546
|
+
| `tracing/platform-only` | an import of `@ddd-ts-kit/tracing` or of an `@opentelemetry/*` package outside the platform directory, `main.ts` and `apps/`, tests included |
|
|
547
|
+
| `standard/no-parallel-interface` | a class, interface or type alias declared as `ILogger`, `AppLogger`, `LoggerService`, `LoggerInterface`, `IMetrics`, `MetricsService`, `ICache`, `CacheService`, `UserContext`, `CurrentUser`, `AuthContext`, `RequestContext` (outside `presentation/` and the platform), `UserSession`, `AuthSession`, `SessionData`, `PaginatedResult`, `PageResult`, `PaginatedResponse`, `Paginated`, `PaginationParams`, `PageParams`, `AuditLog`, `AuditLogEntry`, `AuditRecord`, `IJobScheduler`, `JobSchedulerService`, `CronScheduler`, `TaskScheduler`, `IScheduledJob`, `CronJob`, `ScheduledTask`, `BackgroundJob`, `IErrorReporter`, `ErrorReporterService`, `ErrorTracker`, `ExceptionReporter`, `CrashReporter`, `I` followed by a standard name (`IClock`, `IIdGenerator`, `IUnitOfWork`, `ISession`, ...) or a name of `standardInterfaces`; a class that implements or extends the standard interface is an adapter and is not reported |
|
|
548
|
+
| `events/outbox-required` | `stack.events` other than `outbox` with an ORM and no `stack.events` deviation; in `domain/` and `application/`, the import of a broker client or of a bus or relay implementation; a publisher depending on more than `IntegrationEventPublisher`; a platform module that hands out a publisher and never names `OutboxPublisher` |
|
|
549
|
+
| `events/consumer-idempotent` | an integration event handler class (`application/integration/handlers/*.integration-handler.ts`) that neither carries `@IntegrationEventHandler` nor is registered in its module file under a consumer name; an `@IntegrationEventHandler` whose `consumer` is not a non-empty string literal; a free `on(` or `consume(` without `processed`; a consumer name used twice, in declarations and registrations alike |
|
|
550
|
+
| `domain-events/dispatched-on-save` | a call of `pullEvents()` in `application/` or `infrastructure/` of a context; `DomainEventDispatcher` imported, listed as a dependency or received by a constructor in `application/commands/`, `application/queries/` or a repository adapter. The module file, the tests, the platform and `main.ts` are left alone |
|
|
551
|
+
| `domain-events/transactional-before-commit` | a domain event handler (a class of `application/event-handlers/*.event-handler.ts` or `application/integration/publishers/*.publisher.ts`, or any class carrying `@DomainEventHandler`) that runs before the commit and depends on `Cache`, `Lock`, `RateLimiter`, `JobScheduler` or `EventBus` of the kernel, on a port of `application/ports/` that is not a persistence port (no adapter under `infrastructure/persistence/`, or one anywhere else under `infrastructure/`), on anything imported from `infrastructure/`, another context, the platform or a package other than `@ddd-ts-kit/kernel` and `@ddd-ts-kit/auth`; an after-commit handler (`phase: 'after-commit'` in its decorator, or in the third argument of every `.on(` of the module file that mentions it) depending on `IntegrationEventPublisher`. `check-file` leaves the adapters of a port to the whole check |
|
|
552
|
+
| `context/extractable` | a module file importing another context outside its published language; persistence importing another context's infrastructure or naming its schema; a handler importing another context's repository; `export let` or an exported `new Map`, `Set`, `WeakMap` at module level; `deployable: true` without `apps/<context>/main.ts`; in the declared style, a role file importing anything of a port file of another context |
|
|
553
|
+
| `governance/recorded-deviation` | a `ddd-ts-kit-disable` or `eslint-disable` comment whose reason names no `ADR-<number>` with a file `docs/adr/<number>-*.md`; a rule set to `off` (or to `warn` below its default), an extra directory, an extra allowed package, a `guard` other than `enforce` or `stack.events` off the outbox, without a `deviations` entry `{ what, adr, reason }` pointing to an existing record |
|
|
554
|
+
| `declarations/role-declared` | declared style only: a role file (other than `*.command.ts` and `*.query.ts`, held by `authz/declared`; `*.job.ts` under `application/scheduling/` with `@Scheduled` and `*.publisher.ts` with `@DomainEventHandler` are roles) exporting no class with the decorator of its suffix and folder, or one carrying another declaration; a declared class in a file that is not a role file; a `consumer` or `name` option that is missing, empty, a variable, a concatenation or a template with a substitution; a `@DomainEventHandler` name that differs from the `name` literal of the imported event class; any declaration decorator on a class under `domain/` |
|
|
555
|
+
| `declarations/barrel-current` | declared style only: with `stack.assembly: barrel`, a missing `<context>.declarations.ts` or one that differs from one `export *` per role file sorted by path; with `discovery`, a barrel that still exists. It needs the tree, so `check-file` does not run it |
|
|
556
|
+
| `ports/abstract-class` | in a port file (`domain/repositories/*.repository.ts`, `application/ports/*.port.ts`): a class that is not `abstract`; a member that is not an abstract method or property (`static readonly tokenKey = '<text>'` apart): a constructor, a body, an initializer, a `private`, `protected` or `#` member; an exported `interface` (a `type` alias, a data shape, is not reported) |
|
|
557
|
+
| `ports/implements-never-extends` | a class carrying `@Repository(P)`, `@Gateway(P)` or `@Adapter(P)`, or given to `bind(P).toClass(C)` or `rebind(P).toClass(C)`, without `implements P` or with `extends P`; under `infrastructure/`, a class extending a class imported from a port file |
|
|
558
|
+
| `ports/no-token-constant` | a call of `token` imported from a `@ddd-ts-kit/*` package; `Symbol(..)`, `Symbol.for(..)` or a string literal as the first argument of `bind`, `rebind`, `resolve`, `fake` or `override` in a file importing `@ddd-ts-kit/di`; an UPPER_SNAKE_CASE name in a dependency list; a file named `*.ports.ts` or `tokens.ts` |
|
|
559
|
+
| `ports/no-concrete-dependency` | a dependency list naming a class imported from `infrastructure/` or from `test/fakes/` of a context |
|
|
560
|
+
| `ports/value-import` | a class named in a dependency list, or given to `bind` or `rebind`, imported with `import type` or `import { type X }` |
|
|
561
|
+
| `scheduling/job-triggers-use-case` | in `application/scheduling/*.job.ts`: an exported class that does not implement `ScheduledJob`; a `run` that sends no command (no `.execute(` call); a repository in the dependency list or the constructor; an import from `domain/aggregates/`, `domain/entities/`, `domain/services/` or `infrastructure/`. A `builder.job(..)` registration of a class that lives elsewhere |
|
|
562
|
+
| `scheduling/job-name` | the first argument of `@Scheduled(..)` or `.job(..)` that is not a string literal `<context>.<job-name>` in lower-case kebab-case with the context of its file; a `systemActor(..)` of a job file passing another name; one job name used twice in the project |
|
|
563
|
+
|
|
564
|
+
Five more ids belong to `@ddd-ts-kit/eslint-plugin`, which reads the syntax tree where this
|
|
565
|
+
checker reads text: `domain/aggregate-encapsulation`, `domain/value-object-immutability`,
|
|
566
|
+
`domain/no-generic-error`, `application/handler-shape` and
|
|
567
|
+
`application/command-query-separation`. `rules` and `explain` show them as "checked by
|
|
568
|
+
@ddd-ts-kit/eslint-plugin", the config accepts them under `rules`, and `check --rule` on one of
|
|
569
|
+
them answers with `npm run lint`. One id, `clean/formatted`, belongs to the formatter: `rules`
|
|
570
|
+
and `explain` show it as "checked by Biome", and `check --rule` on it answers with
|
|
571
|
+
`npm run format:check`.
|
|
572
|
+
|
|
573
|
+
`guard` in the config (`enforce`, `advise` or `off`) tells the editor hook of the plugin how to
|
|
574
|
+
react to a violation after a write: refuse it, only report it, or stay silent. `check` ignores
|
|
575
|
+
it, apart from validating its value.
|
|
576
|
+
|
|
577
|
+
### Commit size
|
|
578
|
+
|
|
579
|
+
`check --commit-size [--staged] [--strict]` counts the files and lines about to be committed
|
|
580
|
+
(tracked changes since HEAD and untracked files; the index only with `--staged`) against `commit`
|
|
581
|
+
in the config (`{ "maxFiles": 20, "maxLines": 600 }` by default). Generated documents, lockfiles,
|
|
582
|
+
`.dependency-cruiser.cjs`, `docs/context-map.md`, declaration barrels and
|
|
583
|
+
`.ddd-ts-kit/worker.json` are not counted; an untracked file over 1 MB counts no line. It names the
|
|
584
|
+
slices the changes belong to: a use case, a layer of a context, the platform. Advisory: exit code
|
|
585
|
+
0, unless `--strict` and over the limits. Outside a git repository it says so and exits 0. The
|
|
586
|
+
generated `lefthook.yml` runs it on the index at each commit, without blocking.
|
|
587
|
+
|
|
588
|
+
### Limits
|
|
589
|
+
|
|
590
|
+
The checker reads sources with a small lexer and a shallow reading of declarations, not with a
|
|
591
|
+
compiler. It follows relative specifiers, the aliases of the project (`importAlias`, `$test/`,
|
|
592
|
+
`$scripts/`, `$generated/`) and bare packages, and classifies files by their path: an alias
|
|
593
|
+
import is judged by every boundary rule exactly as the relative path to the same file.
|
|
594
|
+
|
|
595
|
+
- Comments, strings, templates and regular expressions are skipped; a regular expression in an
|
|
596
|
+
unusual position can hide the rest of its line. `.tsx` syntax is not understood.
|
|
597
|
+
- Re-exports, barrels, `tsconfig` paths other than the alias and computed specifiers are not
|
|
598
|
+
resolved, so a type reaching a layer through a barrel of an allowed layer is not seen.
|
|
599
|
+
- Declarations: top-level `function` declarations and class methods are read; arrow functions
|
|
600
|
+
assigned to constants or properties, object-literal methods and nested functions are not, so
|
|
601
|
+
`clean/stepdown`, `clean/function-size` and `clean/no-flag-argument` do not judge them.
|
|
602
|
+
- `clean/stepdown` matches uses by name: a helper shadowed by a local of the same name, or a
|
|
603
|
+
private method called through another receiver than `this`, is misjudged. Protected methods
|
|
604
|
+
are neutral.
|
|
605
|
+
- `clean/no-commented-out-code` and `clean/no-noise-comment` are heuristics on the shape of a
|
|
606
|
+
line: prose ending like a statement can be flagged, code written as a sentence is missed.
|
|
607
|
+
- `language/glossary-term` matches word by word with a crude English inflection; it does not
|
|
608
|
+
know synonyms, and a term of several words covers each of its words separately.
|
|
609
|
+
- `purity/*` looks for the listed tokens and modules; a wrapper around them goes unseen.
|
|
610
|
+
- `clean/no-escape-hatch` does not see `any` produced by inference, nor a type assertion to
|
|
611
|
+
another type than `any`.
|
|
612
|
+
- `composition/only-in-module` sees `new` and `toClass` on imported names; a factory function
|
|
613
|
+
or a re-exported adapter escapes it.
|
|
614
|
+
- `events/name-format` checks the shape and the context prefix, not the grammar of the fact.
|
|
615
|
+
- `test/spec-required` and `test/builder-required` check that the file exists, not its content.
|
|
616
|
+
- `authz/*`, `events/*` and `context/extractable` match names and shapes: an aliased import, a
|
|
617
|
+
route definition built from a variable or a spread, an ownership test (`invoice.ownerId ===
|
|
618
|
+
actor.id`), a schema name in raw SQL, a cross-context transaction and a mutable exported array
|
|
619
|
+
or object go unseen; the content of `apps/<context>/main.ts` is not judged.
|
|
620
|
+
- `governance/recorded-deviation` checks that the decision record exists, not what it says; a
|
|
621
|
+
deviation entry that justifies nothing any more is not reported, and `limits` and
|
|
622
|
+
`standardInterfaces` are not governed.
|
|
623
|
+
- `authz/actor-explicit` knows no type: `.current()` or `.require()` without argument on a
|
|
624
|
+
concept of the domain named `scope` is reported, an execution scope held under another name
|
|
625
|
+
is not, and `stampCreation`, `stampUpdate` and `tenantScopeOf` are seen only when imported
|
|
626
|
+
under their own name.
|
|
627
|
+
- `aspects/outside-in` and the outside packages of the `layer/*` rules are matched on the
|
|
628
|
+
import specifier: a decorator or a client re-exported by a file of an allowed place goes unseen.
|
|
629
|
+
- `standard/no-parallel-interface` compares whole declared names with a table and does not read
|
|
630
|
+
the glossary: a domain concept legitimately called `AuditLog` or `CurrentUser` is reported
|
|
631
|
+
(drop the name in `standardInterfaces` or record a suppression), a copy under any other name
|
|
632
|
+
is not, and the exemption of a class reads the names after `implements` and `extends`, not
|
|
633
|
+
what they resolve to.
|
|
634
|
+
- A declaration decorator is seen when it sits on a top-level class and its own name is imported
|
|
635
|
+
from `@ddd-ts-kit/kernel/declarations` in the same file. An aliased import (`Requires as Needs`),
|
|
636
|
+
a namespace import, a decorator re-exported by another module, applied by a helper or called as
|
|
637
|
+
a function, and one on a class expression or a nested class go unseen (ESLint follows aliases
|
|
638
|
+
and namespaces). The `consumer` and `name` options are read only in an object literal written in
|
|
639
|
+
the decorator call: held in a variable, spread or built by a function, they are reported as not
|
|
640
|
+
being a string literal.
|
|
641
|
+
- `declarations/role-declared` compares a `@DomainEventHandler` name with `name = '...'` in the
|
|
642
|
+
body of the event class, found through a direct relative or alias import: a name set in a
|
|
643
|
+
constructor, a getter or a base class, or an event reached through a barrel, is not compared.
|
|
644
|
+
`authz/declared` follows one direct import of the message from a module file.
|
|
645
|
+
- `context/extractable` tells a port by its file (`domain/repositories/*.repository.ts`,
|
|
646
|
+
`application/ports/*.port.ts`): a port of another context reached through a re-export is not seen.
|
|
647
|
+
- `composition/only-in-module` reports every `.include(` of a file importing `@ddd-ts-kit/di`
|
|
648
|
+
outside the composition places, whatever the receiver.
|
|
649
|
+
- `declarations/barrel-current` compares text exactly (line endings aside): a reformatted barrel
|
|
650
|
+
is stale. It does not check that the composition root imports the barrel.
|
|
651
|
+
- `clean/blank-lines` holds the cheap part of the layout, the `return` and the padded block; the
|
|
652
|
+
blank line after a group of declarations, around `if`, `for`, `try` and a multiline statement
|
|
653
|
+
and between class members is held by ESLint (`@stylistic`), which is authoritative and fixes it.
|
|
654
|
+
- `clean/braces` reads control statements as text: a method or a property named `if`, `for`,
|
|
655
|
+
`while`, `else` or `do` is told apart by what follows it, not by a syntax tree. ESLint (`curly`)
|
|
656
|
+
is authoritative for the braces and the formatter for where they go.
|
|
657
|
+
- `clean/formatted` is listed and explained, never judged: the formatter of the project, Biome,
|
|
658
|
+
decides it (`npm run format:check`).
|
|
659
|
+
- `clean/one-export-per-file` reads declarations as text: the types of a signature are the
|
|
660
|
+
exported interfaces and types whose name occurs in the text of the main export, a closed family
|
|
661
|
+
is recognised by return type annotations and by the names of module-level bindings. A file the
|
|
662
|
+
two analyzers judge differently is ESLint's to decide; what neither explains goes to
|
|
663
|
+
`onePerFile.allow`.
|
|
664
|
+
- The 100-line ceiling of `clean/function-size` is judged on the functions this checker reads:
|
|
665
|
+
an arrow function and the callback of a `describe` are held by ESLint (`clean-function-ceiling`).
|
|
666
|
+
- The `ports/*` rules read a dependency list where it is written as an array literal: the last
|
|
667
|
+
argument of a declaration decorator, the second of `.toClass(..)` and `.handledBy(..)`. A list
|
|
668
|
+
held in a constant or built by a function is not read. `bind`, `rebind`, `resolve`, `fake` and
|
|
669
|
+
`override` are binding calls only in a file that imports `@ddd-ts-kit/di`.
|
|
670
|
+
`ports/implements-never-extends` reads the bound class through one direct relative or alias
|
|
671
|
+
import; a class of a package or behind a barrel is not judged.
|
|
672
|
+
- `scheduling/job-triggers-use-case` takes any `.execute(` call in `run` for a command sent; a job
|
|
673
|
+
that executes something else, or sends its command from a helper, is misjudged.
|
|
674
|
+
`scheduling/job-name` compares literal names: a job registered under a computed name is reported
|
|
675
|
+
for its name and escapes the uniqueness check.
|
|
676
|
+
- `domain-events/transactional-before-commit` reads dependencies where they are written: an array
|
|
677
|
+
literal (the decorator, `.toClass(Handler, [..])` in the file of the class or in the module file)
|
|
678
|
+
and the type of a constructor parameter, resolved through the imports of that file. A name that
|
|
679
|
+
is not imported, a kernel port imported under another name and an effect reached without a
|
|
680
|
+
dependency (a module-level client) are not seen. An explicit-style handler is matched to its
|
|
681
|
+
`.on(` registrations by its class name or by a variable assigned from `new <Class>(`; an adapter
|
|
682
|
+
is a class that `implements` the port under the name the port file exports.
|
|
683
|
+
- Nothing constrains what `shared-kernel/`, `platform/` and `main.ts` import.
|
|
684
|
+
|
|
685
|
+
## check-file
|
|
686
|
+
|
|
687
|
+
```
|
|
688
|
+
ddd-ts-kit check-file <path>
|
|
689
|
+
```
|
|
690
|
+
|
|
691
|
+
Runs the per-file rules (layers, contexts, naming, events, language, purity, clean code, mocks,
|
|
692
|
+
composition, suppressions) on one file without walking the project: meant for an editor or
|
|
693
|
+
agent hook after each write. A file that is not a source of the project is ignored.
|
|
694
|
+
|
|
695
|
+
## rules, explain
|
|
696
|
+
|
|
697
|
+
```
|
|
698
|
+
ddd-ts-kit rules
|
|
699
|
+
ddd-ts-kit explain <rule-id>
|
|
700
|
+
```
|
|
701
|
+
|
|
702
|
+
`rules` lists the ids, descriptions and current severities, and says which ones ESLint checks.
|
|
703
|
+
`explain` prints the rule, why it exists, a bad and a good example, and the suppression syntax.
|
|
704
|
+
|
|
705
|
+
## Development
|
|
706
|
+
|
|
707
|
+
```
|
|
708
|
+
node node_modules/@typescript/native/bin/tsc -b packages/cli
|
|
709
|
+
npx vitest run packages/cli # the fast suite
|
|
710
|
+
npm run build && npm run ci:test:e2e # the slow suite: DDD_TS_KIT_E2E=1, one file after the other
|
|
711
|
+
node packages/cli/dist/bin.js check --self
|
|
712
|
+
npm run clean:self --workspace ddd-ts-kit # the clean/* rules on this package
|
|
713
|
+
npm run clean:packages --workspace ddd-ts-kit # the same rules on the sources of every other package
|
|
714
|
+
```
|
|
715
|
+
|
|
716
|
+
The slow suite lives in `test/e2e/`, in seven spec files and their support files; it
|
|
717
|
+
generates every project with every kind, a job on an interval and one on a cron expression with a
|
|
718
|
+
time zone, `adapter --decorators`, `generate service` and `generate worker` included. It runs in
|
|
719
|
+
the process, without a container:
|
|
720
|
+
|
|
721
|
+
- `zero-violation.spec.ts` (also part of the fast suite): the 39 stacks of `STACKS` in
|
|
722
|
+
`test/e2e/stacks.ts`, the three loggers and both wiring families with `--errors sentry` among
|
|
723
|
+
them, pass `check` and `docs --check` as generated.
|
|
724
|
+
- `typecheck.spec.ts`: the 36 of them the workspace can compile (jest, prisma and typeorm
|
|
725
|
+
apart) type-check against the sources of the workspace packages.
|
|
726
|
+
- `proven-stacks.spec.ts`: the eight projects of `PROVEN` are installed as a published kit would be and held to
|
|
727
|
+
everything their own pipeline runs: `check` with zero violation and zero warning, ESLint with the
|
|
728
|
+
preset (the test first reads from `eslint --print-config` that the rules of ports, scheduling,
|
|
729
|
+
file shape and layout are on), dependency-cruiser with the generated configuration, knip, their
|
|
730
|
+
specs (each job run, by `runNow` on tsyringe, and held to the command it sent, a decorated adapter, the
|
|
731
|
+
extraction of every context), their end-to-end specs (401 without a token, 403 without the
|
|
732
|
+
permission, 2xx with it, with tokens signed in the test, and the trace of the request as one
|
|
733
|
+
tree), their build (the worker and the extracted service included) and their generated
|
|
734
|
+
documents. They are the default stack, which is declared; declared with
|
|
735
|
+
`--authz rebac --broker rabbitmq --ci gitlab`; declared with `--orm knex --assembly discovery`,
|
|
736
|
+
alone and behind `--broker nats` with `--errors sentry` (no DSN is configured: nothing is
|
|
737
|
+
reported, the wiring is linted, built and run); the explicit style on the default stack and on
|
|
738
|
+
`--authz rebac --broker rabbitmq --ci gitlab`; and hand wiring (`--di manual`) on
|
|
739
|
+
`--authz abac --orm knex` and on
|
|
740
|
+
`--http fastify --orm knex --broker rabbitmq --cache redis --errors sentry --logger winston`.
|
|
741
|
+
- `first-class.spec.ts`: the first-class stack, `--validation class-validator --orm knex --authn
|
|
742
|
+
keycloak --authz rebac --cache redis --audit on --errors sentry --logger pino --style declared`
|
|
743
|
+
(legacy decorator mode), three times, with `--broker redis` (one server for the cache and the
|
|
744
|
+
event bus), `--broker nats` and `--broker kafka`: the same analyzers before and after the
|
|
745
|
+
business decisions of `test/first-class-proof.ts`, a failed job and a dead-lettered event
|
|
746
|
+
reported to the reporter in memory of the test application, then a list narrowed by
|
|
747
|
+
relationships, the audit trail read through its route, the correlation id of a request followed
|
|
748
|
+
to the published event, that event carried from one context to the handler of another, and the
|
|
749
|
+
whole of it asserted as one trace with `expectSpanTree`.
|
|
750
|
+
- `error-reporting.spec.ts`: `--errors sentry` in both wiring families (declared on tsyringe
|
|
751
|
+
behind RabbitMQ and the outbox, by hand without a database), installed as a published kit
|
|
752
|
+
would be: the same analyzers without a finding, the three entry points built with the reporter
|
|
753
|
+
as their second import, then a spec written into the project
|
|
754
|
+
(`fixtures/reported-failures.spec.ts.txt`) that makes a query fail behind its route: one
|
|
755
|
+
report on an `InMemoryErrorReporter`, named after the query, and one flush when the
|
|
756
|
+
application stops; a `NoopErrorReporter` and a working application without `SENTRY_DSN`; and,
|
|
757
|
+
with a DSN naming an endpoint of the loopback interface opened by the spec, exactly one event
|
|
758
|
+
sent by the real SDK, carrying the environment, the release and the actor id, and neither the
|
|
759
|
+
credential nor the query string of the request. No Sentry or GlitchTip server is involved.
|
|
760
|
+
- `violations.spec.ts` and `new-rule-violations.spec.ts`: in a project of the default stack, one
|
|
761
|
+
deliberate violation at a time has to be caught by the analyzer that holds the rule: a generic
|
|
762
|
+
error in the domain (ESLint), a domain importing its infrastructure (dependency-cruiser), an
|
|
763
|
+
unused export (knip), a stale barrel (the checker and `docs --check`), and by both the checker
|
|
764
|
+
and ESLint a command that says nobody may send it, a handler that no longer declares itself, an
|
|
765
|
+
event handler named after another event, then `ports/abstract-class`,
|
|
766
|
+
`ports/implements-never-extends`, `ports/no-token-constant`, `ports/no-concrete-dependency`,
|
|
767
|
+
`ports/value-import`, `clean/no-hash-private`, `clean/blank-lines` (a glued `return` and a padded
|
|
768
|
+
block), `clean/braces`, `clean/one-export-per-file`, `clean/file-size`, the 100-line ceiling of
|
|
769
|
+
`clean/function-size`, `scheduling/job-triggers-use-case` and `scheduling/job-name`; two jobs
|
|
770
|
+
under one name are caught by the checker.
|
|
771
|
+
|
|
772
|
+
Events, cache and database stay in the process unless `DDD_TS_KIT_TEST_REDIS_URL`,
|
|
773
|
+
`DDD_TS_KIT_TEST_NATS_URL`, `DDD_TS_KIT_TEST_KAFKA_BROKERS`, `DDD_TS_KIT_TEST_AMQP_URL` and
|
|
774
|
+
`DDD_TS_KIT_TEST_DATABASE_URL` (first-class stack only, migrated by the test) name real services:
|
|
775
|
+
the event then really crosses the broker.
|