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.
Files changed (2992) hide show
  1. package/README.md +774 -2
  2. package/dist/alias/alias-problem.d.ts +3 -0
  3. package/dist/alias/alias-problem.d.ts.map +1 -0
  4. package/dist/alias/alias-problem.js +18 -0
  5. package/dist/alias/alias-problem.js.map +1 -0
  6. package/dist/alias/alias-root.d.ts +8 -0
  7. package/dist/alias/alias-root.d.ts.map +1 -0
  8. package/dist/alias/alias-root.js +2 -0
  9. package/dist/alias/alias-root.js.map +1 -0
  10. package/dist/alias/alias-roots.d.ts +12 -0
  11. package/dist/alias/alias-roots.d.ts.map +1 -0
  12. package/dist/alias/alias-roots.js +15 -0
  13. package/dist/alias/alias-roots.js.map +1 -0
  14. package/dist/alias/build-layout.d.ts +6 -0
  15. package/dist/alias/build-layout.d.ts.map +1 -0
  16. package/dist/alias/build-layout.js +2 -0
  17. package/dist/alias/build-layout.js.map +1 -0
  18. package/dist/alias/compiler-paths.d.ts +8 -0
  19. package/dist/alias/compiler-paths.d.ts.map +1 -0
  20. package/dist/alias/compiler-paths.js +9 -0
  21. package/dist/alias/compiler-paths.js.map +1 -0
  22. package/dist/alias/context-alias.d.ts +4 -0
  23. package/dist/alias/context-alias.d.ts.map +1 -0
  24. package/dist/alias/context-alias.js +7 -0
  25. package/dist/alias/context-alias.js.map +1 -0
  26. package/dist/alias/default-build-layout.d.ts +4 -0
  27. package/dist/alias/default-build-layout.d.ts.map +1 -0
  28. package/dist/alias/default-build-layout.js +3 -0
  29. package/dist/alias/default-build-layout.js.map +1 -0
  30. package/dist/alias/directory-alias.d.ts +4 -0
  31. package/dist/alias/directory-alias.d.ts.map +1 -0
  32. package/dist/alias/directory-alias.js +11 -0
  33. package/dist/alias/directory-alias.js.map +1 -0
  34. package/dist/alias/fixed-alias-roots.d.ts +19 -0
  35. package/dist/alias/fixed-alias-roots.d.ts.map +1 -0
  36. package/dist/alias/fixed-alias-roots.js +10 -0
  37. package/dist/alias/fixed-alias-roots.js.map +1 -0
  38. package/dist/alias/index.d.ts +13 -0
  39. package/dist/alias/index.d.ts.map +1 -0
  40. package/dist/alias/index.js +11 -0
  41. package/dist/alias/index.js.map +1 -0
  42. package/dist/alias/module-name-mapper.d.ts +7 -0
  43. package/dist/alias/module-name-mapper.d.ts.map +1 -0
  44. package/dist/alias/module-name-mapper.js +12 -0
  45. package/dist/alias/module-name-mapper.js.map +1 -0
  46. package/dist/alias/platform-alias.d.ts +4 -0
  47. package/dist/alias/platform-alias.d.ts.map +1 -0
  48. package/dist/alias/platform-alias.js +7 -0
  49. package/dist/alias/platform-alias.js.map +1 -0
  50. package/dist/alias/to-alias.d.ts +7 -0
  51. package/dist/alias/to-alias.d.ts.map +1 -0
  52. package/dist/alias/to-alias.js +13 -0
  53. package/dist/alias/to-alias.js.map +1 -0
  54. package/dist/bin.d.ts +3 -0
  55. package/dist/bin.d.ts.map +1 -0
  56. package/dist/bin.js +4 -0
  57. package/dist/bin.js.map +1 -0
  58. package/dist/build/computed-imports.d.ts +8 -0
  59. package/dist/build/computed-imports.d.ts.map +1 -0
  60. package/dist/build/computed-imports.js +15 -0
  61. package/dist/build/computed-imports.js.map +1 -0
  62. package/dist/build/emitted-place.d.ts +9 -0
  63. package/dist/build/emitted-place.d.ts.map +1 -0
  64. package/dist/build/emitted-place.js +2 -0
  65. package/dist/build/emitted-place.js.map +1 -0
  66. package/dist/build/emitted-specifier.d.ts +8 -0
  67. package/dist/build/emitted-specifier.d.ts.map +1 -0
  68. package/dist/build/emitted-specifier.js +28 -0
  69. package/dist/build/emitted-specifier.js.map +1 -0
  70. package/dist/build/index.d.ts +3 -0
  71. package/dist/build/index.d.ts.map +1 -0
  72. package/dist/build/index.js +3 -0
  73. package/dist/build/index.js.map +1 -0
  74. package/dist/build/rewrite-aliases.d.ts +15 -0
  75. package/dist/build/rewrite-aliases.d.ts.map +1 -0
  76. package/dist/build/rewrite-aliases.js +60 -0
  77. package/dist/build/rewrite-aliases.js.map +1 -0
  78. package/dist/build/rewrite-report.d.ts +11 -0
  79. package/dist/build/rewrite-report.d.ts.map +1 -0
  80. package/dist/build/rewrite-report.js +2 -0
  81. package/dist/build/rewrite-report.js.map +1 -0
  82. package/dist/build/rewrite-specifiers.d.ts +14 -0
  83. package/dist/build/rewrite-specifiers.d.ts.map +1 -0
  84. package/dist/build/rewrite-specifiers.js +32 -0
  85. package/dist/build/rewrite-specifiers.js.map +1 -0
  86. package/dist/build/rewritten.d.ts +9 -0
  87. package/dist/build/rewritten.d.ts.map +1 -0
  88. package/dist/build/rewritten.js +2 -0
  89. package/dist/build/rewritten.js.map +1 -0
  90. package/dist/build/specifier-literal.d.ts +8 -0
  91. package/dist/build/specifier-literal.d.ts.map +1 -0
  92. package/dist/build/specifier-literal.js +2 -0
  93. package/dist/build/specifier-literal.js.map +1 -0
  94. package/dist/build/specifier-literals.d.ts +10 -0
  95. package/dist/build/specifier-literals.d.ts.map +1 -0
  96. package/dist/build/specifier-literals.js +33 -0
  97. package/dist/build/specifier-literals.js.map +1 -0
  98. package/dist/check/alias/alias-files.d.ts +8 -0
  99. package/dist/check/alias/alias-files.d.ts.map +1 -0
  100. package/dist/check/alias/alias-files.js +8 -0
  101. package/dist/check/alias/alias-files.js.map +1 -0
  102. package/dist/check/alias/build-layout-of.d.ts +5 -0
  103. package/dist/check/alias/build-layout-of.d.ts.map +1 -0
  104. package/dist/check/alias/build-layout-of.js +11 -0
  105. package/dist/check/alias/build-layout-of.js.map +1 -0
  106. package/dist/check/alias/build-scripts.d.ts +5 -0
  107. package/dist/check/alias/build-scripts.d.ts.map +1 -0
  108. package/dist/check/alias/build-scripts.js +22 -0
  109. package/dist/check/alias/build-scripts.js.map +1 -0
  110. package/dist/check/alias/compiler-options-of.d.ts +8 -0
  111. package/dist/check/alias/compiler-options-of.d.ts.map +1 -0
  112. package/dist/check/alias/compiler-options-of.js +34 -0
  113. package/dist/check/alias/compiler-options-of.js.map +1 -0
  114. package/dist/check/alias/compiler-paths.d.ts +8 -0
  115. package/dist/check/alias/compiler-paths.d.ts.map +1 -0
  116. package/dist/check/alias/compiler-paths.js +42 -0
  117. package/dist/check/alias/compiler-paths.js.map +1 -0
  118. package/dist/check/alias/configured-alias.d.ts +5 -0
  119. package/dist/check/alias/configured-alias.d.ts.map +1 -0
  120. package/dist/check/alias/configured-alias.js +15 -0
  121. package/dist/check/alias/configured-alias.js.map +1 -0
  122. package/dist/check/alias/graph-tools.d.ts +5 -0
  123. package/dist/check/alias/graph-tools.d.ts.map +1 -0
  124. package/dist/check/alias/graph-tools.js +28 -0
  125. package/dist/check/alias/graph-tools.js.map +1 -0
  126. package/dist/check/alias/inspected.d.ts +10 -0
  127. package/dist/check/alias/inspected.d.ts.map +1 -0
  128. package/dist/check/alias/inspected.js +2 -0
  129. package/dist/check/alias/inspected.js.map +1 -0
  130. package/dist/check/alias/manifest-scripts.d.ts +11 -0
  131. package/dist/check/alias/manifest-scripts.d.ts.map +1 -0
  132. package/dist/check/alias/manifest-scripts.js +19 -0
  133. package/dist/check/alias/manifest-scripts.js.map +1 -0
  134. package/dist/check/alias/parse-jsonc.d.ts +3 -0
  135. package/dist/check/alias/parse-jsonc.d.ts.map +1 -0
  136. package/dist/check/alias/parse-jsonc.js +17 -0
  137. package/dist/check/alias/parse-jsonc.js.map +1 -0
  138. package/dist/check/alias/read-project-file.d.ts +4 -0
  139. package/dist/check/alias/read-project-file.d.ts.map +1 -0
  140. package/dist/check/alias/read-project-file.js +12 -0
  141. package/dist/check/alias/read-project-file.js.map +1 -0
  142. package/dist/check/alias/source-runners.d.ts +5 -0
  143. package/dist/check/alias/source-runners.d.ts.map +1 -0
  144. package/dist/check/alias/source-runners.js +21 -0
  145. package/dist/check/alias/source-runners.js.map +1 -0
  146. package/dist/check/alias/test-runners.d.ts +8 -0
  147. package/dist/check/alias/test-runners.d.ts.map +1 -0
  148. package/dist/check/alias/test-runners.js +53 -0
  149. package/dist/check/alias/test-runners.js.map +1 -0
  150. package/dist/check/canonical/context-doc-headings.d.ts +2 -0
  151. package/dist/check/canonical/context-doc-headings.d.ts.map +1 -0
  152. package/dist/check/canonical/context-doc-headings.js +9 -0
  153. package/dist/check/canonical/context-doc-headings.js.map +1 -0
  154. package/dist/check/canonical/is-canonical-directory.d.ts +2 -0
  155. package/dist/check/canonical/is-canonical-directory.d.ts.map +1 -0
  156. package/dist/check/canonical/is-canonical-directory.js +17 -0
  157. package/dist/check/canonical/is-canonical-directory.js.map +1 -0
  158. package/dist/check/canonical/matches-directory.d.ts +3 -0
  159. package/dist/check/canonical/matches-directory.d.ts.map +1 -0
  160. package/dist/check/canonical/matches-directory.js +7 -0
  161. package/dist/check/canonical/matches-directory.js.map +1 -0
  162. package/dist/check/canonical/open-directories.d.ts +3 -0
  163. package/dist/check/canonical/open-directories.d.ts.map +1 -0
  164. package/dist/check/canonical/open-directories.js +3 -0
  165. package/dist/check/canonical/open-directories.js.map +1 -0
  166. package/dist/check/canonical/role-of.d.ts +4 -0
  167. package/dist/check/canonical/role-of.d.ts.map +1 -0
  168. package/dist/check/canonical/role-of.js +7 -0
  169. package/dist/check/canonical/role-of.js.map +1 -0
  170. package/dist/check/canonical/role.d.ts +11 -0
  171. package/dist/check/canonical/role.d.ts.map +1 -0
  172. package/dist/check/canonical/role.js +2 -0
  173. package/dist/check/canonical/role.js.map +1 -0
  174. package/dist/check/canonical/roles.d.ts +4 -0
  175. package/dist/check/canonical/roles.d.ts.map +1 -0
  176. package/dist/check/canonical/roles.js +46 -0
  177. package/dist/check/canonical/roles.js.map +1 -0
  178. package/dist/check/catalogue/architecture-rules.d.ts +4 -0
  179. package/dist/check/catalogue/architecture-rules.d.ts.map +1 -0
  180. package/dist/check/catalogue/architecture-rules.js +122 -0
  181. package/dist/check/catalogue/architecture-rules.js.map +1 -0
  182. package/dist/check/catalogue/clean-rule-ids.d.ts +3 -0
  183. package/dist/check/catalogue/clean-rule-ids.d.ts.map +1 -0
  184. package/dist/check/catalogue/clean-rule-ids.js +14 -0
  185. package/dist/check/catalogue/clean-rule-ids.js.map +1 -0
  186. package/dist/check/catalogue/default-severities.d.ts +4 -0
  187. package/dist/check/catalogue/default-severities.d.ts.map +1 -0
  188. package/dist/check/catalogue/default-severities.js +11 -0
  189. package/dist/check/catalogue/default-severities.js.map +1 -0
  190. package/dist/check/catalogue/delegated-rules.d.ts +15 -0
  191. package/dist/check/catalogue/delegated-rules.d.ts.map +1 -0
  192. package/dist/check/catalogue/delegated-rules.js +21 -0
  193. package/dist/check/catalogue/delegated-rules.js.map +1 -0
  194. package/dist/check/catalogue/eslint-authority.d.ts +2 -0
  195. package/dist/check/catalogue/eslint-authority.d.ts.map +1 -0
  196. package/dist/check/catalogue/eslint-authority.js +2 -0
  197. package/dist/check/catalogue/eslint-authority.js.map +1 -0
  198. package/dist/check/catalogue/eslint-only-rules.d.ts +9 -0
  199. package/dist/check/catalogue/eslint-only-rules.d.ts.map +1 -0
  200. package/dist/check/catalogue/eslint-only-rules.js +24 -0
  201. package/dist/check/catalogue/eslint-only-rules.js.map +1 -0
  202. package/dist/check/catalogue/formatter-rule.d.ts +9 -0
  203. package/dist/check/catalogue/formatter-rule.d.ts.map +1 -0
  204. package/dist/check/catalogue/formatter-rule.js +9 -0
  205. package/dist/check/catalogue/formatter-rule.js.map +1 -0
  206. package/dist/check/catalogue/known-rule-ids.d.ts +3 -0
  207. package/dist/check/catalogue/known-rule-ids.d.ts.map +1 -0
  208. package/dist/check/catalogue/known-rule-ids.js +5 -0
  209. package/dist/check/catalogue/known-rule-ids.js.map +1 -0
  210. package/dist/check/catalogue/rule-ids.d.ts +3 -0
  211. package/dist/check/catalogue/rule-ids.d.ts.map +1 -0
  212. package/dist/check/catalogue/rule-ids.js +9 -0
  213. package/dist/check/catalogue/rule-ids.js.map +1 -0
  214. package/dist/check/catalogue/rules.d.ts +3 -0
  215. package/dist/check/catalogue/rules.d.ts.map +1 -0
  216. package/dist/check/catalogue/rules.js +4 -0
  217. package/dist/check/catalogue/rules.js.map +1 -0
  218. package/dist/check/catalogue/suppression-rule.d.ts +9 -0
  219. package/dist/check/catalogue/suppression-rule.d.ts.map +1 -0
  220. package/dist/check/catalogue/suppression-rule.js +10 -0
  221. package/dist/check/catalogue/suppression-rule.js.map +1 -0
  222. package/dist/check/commands/changed-files.d.ts +3 -0
  223. package/dist/check/commands/changed-files.d.ts.map +1 -0
  224. package/dist/check/commands/changed-files.js +21 -0
  225. package/dist/check/commands/changed-files.js.map +1 -0
  226. package/dist/check/commands/check-command.d.ts +3 -0
  227. package/dist/check/commands/check-command.d.ts.map +1 -0
  228. package/dist/check/commands/check-command.js +63 -0
  229. package/dist/check/commands/check-command.js.map +1 -0
  230. package/dist/check/commands/check-file-command.d.ts +3 -0
  231. package/dist/check/commands/check-file-command.d.ts.map +1 -0
  232. package/dist/check/commands/check-file-command.js +34 -0
  233. package/dist/check/commands/check-file-command.js.map +1 -0
  234. package/dist/check/commands/explain-command.d.ts +3 -0
  235. package/dist/check/commands/explain-command.d.ts.map +1 -0
  236. package/dist/check/commands/explain-command.js +59 -0
  237. package/dist/check/commands/explain-command.js.map +1 -0
  238. package/dist/check/commands/known-rules.d.ts +3 -0
  239. package/dist/check/commands/known-rules.d.ts.map +1 -0
  240. package/dist/check/commands/known-rules.js +16 -0
  241. package/dist/check/commands/known-rules.js.map +1 -0
  242. package/dist/check/commands/rules-command.d.ts +3 -0
  243. package/dist/check/commands/rules-command.d.ts.map +1 -0
  244. package/dist/check/commands/rules-command.js +38 -0
  245. package/dist/check/commands/rules-command.js.map +1 -0
  246. package/dist/check/commands/self-check.d.ts +5 -0
  247. package/dist/check/commands/self-check.d.ts.map +1 -0
  248. package/dist/check/commands/self-check.js +23 -0
  249. package/dist/check/commands/self-check.js.map +1 -0
  250. package/dist/check/comments/comment-lines.d.ts +14 -0
  251. package/dist/check/comments/comment-lines.d.ts.map +1 -0
  252. package/dist/check/comments/comment-lines.js +34 -0
  253. package/dist/check/comments/comment-lines.js.map +1 -0
  254. package/dist/check/comments/is-directive.d.ts +3 -0
  255. package/dist/check/comments/is-directive.d.ts.map +1 -0
  256. package/dist/check/comments/is-directive.js +6 -0
  257. package/dist/check/comments/is-directive.js.map +1 -0
  258. package/dist/check/comments/looks-like-code.d.ts +2 -0
  259. package/dist/check/comments/looks-like-code.d.ts.map +1 -0
  260. package/dist/check/comments/looks-like-code.js +42 -0
  261. package/dist/check/comments/looks-like-code.js.map +1 -0
  262. package/dist/check/comments/restates-name.d.ts +3 -0
  263. package/dist/check/comments/restates-name.d.ts.map +1 -0
  264. package/dist/check/comments/restates-name.js +49 -0
  265. package/dist/check/comments/restates-name.js.map +1 -0
  266. package/dist/check/configuration/config-inspection.d.ts +28 -0
  267. package/dist/check/configuration/config-inspection.d.ts.map +1 -0
  268. package/dist/check/configuration/config-inspection.js +141 -0
  269. package/dist/check/configuration/config-inspection.js.map +1 -0
  270. package/dist/check/configuration/raw-config.d.ts +4 -0
  271. package/dist/check/configuration/raw-config.d.ts.map +1 -0
  272. package/dist/check/configuration/raw-config.js +12 -0
  273. package/dist/check/configuration/raw-config.js.map +1 -0
  274. package/dist/check/coverage/ignore-hints.d.ts +6 -0
  275. package/dist/check/coverage/ignore-hints.d.ts.map +1 -0
  276. package/dist/check/coverage/ignore-hints.js +30 -0
  277. package/dist/check/coverage/ignore-hints.js.map +1 -0
  278. package/dist/check/coverage/runner-settings.d.ts +8 -0
  279. package/dist/check/coverage/runner-settings.d.ts.map +1 -0
  280. package/dist/check/coverage/runner-settings.js +85 -0
  281. package/dist/check/coverage/runner-settings.js.map +1 -0
  282. package/dist/check/coverage/script-flags.d.ts +8 -0
  283. package/dist/check/coverage/script-flags.d.ts.map +1 -0
  284. package/dist/check/coverage/script-flags.js +29 -0
  285. package/dist/check/coverage/script-flags.js.map +1 -0
  286. package/dist/check/declarations/arguments-of.d.ts +6 -0
  287. package/dist/check/declarations/arguments-of.d.ts.map +1 -0
  288. package/dist/check/declarations/arguments-of.js +9 -0
  289. package/dist/check/declarations/arguments-of.js.map +1 -0
  290. package/dist/check/declarations/binding-call.d.ts +12 -0
  291. package/dist/check/declarations/binding-call.d.ts.map +1 -0
  292. package/dist/check/declarations/binding-call.js +2 -0
  293. package/dist/check/declarations/binding-call.js.map +1 -0
  294. package/dist/check/declarations/binding-calls.d.ts +9 -0
  295. package/dist/check/declarations/binding-calls.d.ts.map +1 -0
  296. package/dist/check/declarations/binding-calls.js +36 -0
  297. package/dist/check/declarations/binding-calls.js.map +1 -0
  298. package/dist/check/declarations/classes-of.d.ts +9 -0
  299. package/dist/check/declarations/classes-of.d.ts.map +1 -0
  300. package/dist/check/declarations/classes-of.js +84 -0
  301. package/dist/check/declarations/classes-of.js.map +1 -0
  302. package/dist/check/declarations/declarations-entry.d.ts +2 -0
  303. package/dist/check/declarations/declarations-entry.d.ts.map +1 -0
  304. package/dist/check/declarations/declarations-entry.js +2 -0
  305. package/dist/check/declarations/declarations-entry.js.map +1 -0
  306. package/dist/check/declarations/declared-as.d.ts +9 -0
  307. package/dist/check/declarations/declared-as.d.ts.map +1 -0
  308. package/dist/check/declarations/declared-as.js +11 -0
  309. package/dist/check/declarations/declared-as.js.map +1 -0
  310. package/dist/check/declarations/declared-class.d.ts +11 -0
  311. package/dist/check/declarations/declared-class.d.ts.map +1 -0
  312. package/dist/check/declarations/declared-class.js +2 -0
  313. package/dist/check/declarations/declared-class.js.map +1 -0
  314. package/dist/check/declarations/declared-event-handlers.d.ts +19 -0
  315. package/dist/check/declarations/declared-event-handlers.d.ts.map +1 -0
  316. package/dist/check/declarations/declared-event-handlers.js +16 -0
  317. package/dist/check/declarations/declared-event-handlers.js.map +1 -0
  318. package/dist/check/declarations/decoration.d.ts +10 -0
  319. package/dist/check/declarations/decoration.d.ts.map +1 -0
  320. package/dist/check/declarations/decoration.js +2 -0
  321. package/dist/check/declarations/decoration.js.map +1 -0
  322. package/dist/check/declarations/dependency-list.d.ts +11 -0
  323. package/dist/check/declarations/dependency-list.d.ts.map +1 -0
  324. package/dist/check/declarations/dependency-list.js +2 -0
  325. package/dist/check/declarations/dependency-list.js.map +1 -0
  326. package/dist/check/declarations/dependency-lists.d.ts +8 -0
  327. package/dist/check/declarations/dependency-lists.d.ts.map +1 -0
  328. package/dist/check/declarations/dependency-lists.js +27 -0
  329. package/dist/check/declarations/dependency-lists.js.map +1 -0
  330. package/dist/check/declarations/literal-in.d.ts +5 -0
  331. package/dist/check/declarations/literal-in.d.ts.map +1 -0
  332. package/dist/check/declarations/literal-in.js +6 -0
  333. package/dist/check/declarations/literal-in.js.map +1 -0
  334. package/dist/check/declarations/option-of.d.ts +11 -0
  335. package/dist/check/declarations/option-of.d.ts.map +1 -0
  336. package/dist/check/declarations/option-of.js +22 -0
  337. package/dist/check/declarations/option-of.js.map +1 -0
  338. package/dist/check/declarations/whole-literal.d.ts +5 -0
  339. package/dist/check/declarations/whole-literal.d.ts.map +1 -0
  340. package/dist/check/declarations/whole-literal.js +6 -0
  341. package/dist/check/declarations/whole-literal.js.map +1 -0
  342. package/dist/check/domain-events/adapter-folders.d.ts +14 -0
  343. package/dist/check/domain-events/adapter-folders.d.ts.map +1 -0
  344. package/dist/check/domain-events/adapter-folders.js +18 -0
  345. package/dist/check/domain-events/adapter-folders.js.map +1 -0
  346. package/dist/check/domain-events/event-handler.d.ts +10 -0
  347. package/dist/check/domain-events/event-handler.d.ts.map +1 -0
  348. package/dist/check/domain-events/event-handler.js +2 -0
  349. package/dist/check/domain-events/event-handler.js.map +1 -0
  350. package/dist/check/domain-events/event-handlers-of.d.ts +11 -0
  351. package/dist/check/domain-events/event-handlers-of.d.ts.map +1 -0
  352. package/dist/check/domain-events/event-handlers-of.js +57 -0
  353. package/dist/check/domain-events/event-handlers-of.js.map +1 -0
  354. package/dist/check/domain-events/handler-dependencies.d.ts +9 -0
  355. package/dist/check/domain-events/handler-dependencies.d.ts.map +1 -0
  356. package/dist/check/domain-events/handler-dependencies.js +50 -0
  357. package/dist/check/domain-events/handler-dependencies.js.map +1 -0
  358. package/dist/check/domain-events/handler-dependency.d.ts +8 -0
  359. package/dist/check/domain-events/handler-dependency.d.ts.map +1 -0
  360. package/dist/check/domain-events/handler-dependency.js +2 -0
  361. package/dist/check/domain-events/handler-dependency.js.map +1 -0
  362. package/dist/check/domain-events/is-registered-after-commit.d.ts +8 -0
  363. package/dist/check/domain-events/is-registered-after-commit.d.ts.map +1 -0
  364. package/dist/check/domain-events/is-registered-after-commit.js +34 -0
  365. package/dist/check/domain-events/is-registered-after-commit.js.map +1 -0
  366. package/dist/check/domain-events/refused-before-commit.d.ts +8 -0
  367. package/dist/check/domain-events/refused-before-commit.d.ts.map +1 -0
  368. package/dist/check/domain-events/refused-before-commit.js +37 -0
  369. package/dist/check/domain-events/refused-before-commit.js.map +1 -0
  370. package/dist/check/engine/check-result.d.ts +11 -0
  371. package/dist/check/engine/check-result.d.ts.map +1 -0
  372. package/dist/check/engine/check-result.js +2 -0
  373. package/dist/check/engine/check-result.js.map +1 -0
  374. package/dist/check/engine/format-check.d.ts +4 -0
  375. package/dist/check/engine/format-check.d.ts.map +1 -0
  376. package/dist/check/engine/format-check.js +65 -0
  377. package/dist/check/engine/format-check.js.map +1 -0
  378. package/dist/check/engine/run-check.d.ts +10 -0
  379. package/dist/check/engine/run-check.d.ts.map +1 -0
  380. package/dist/check/engine/run-check.js +26 -0
  381. package/dist/check/engine/run-check.js.map +1 -0
  382. package/dist/check/engine/summarize.d.ts +5 -0
  383. package/dist/check/engine/summarize.d.ts.map +1 -0
  384. package/dist/check/engine/summarize.js +12 -0
  385. package/dist/check/engine/summarize.js.map +1 -0
  386. package/dist/check/events/consumer-registrations.d.ts +18 -0
  387. package/dist/check/events/consumer-registrations.d.ts.map +1 -0
  388. package/dist/check/events/consumer-registrations.js +35 -0
  389. package/dist/check/events/consumer-registrations.js.map +1 -0
  390. package/dist/check/events/domain-event-names.d.ts +5 -0
  391. package/dist/check/events/domain-event-names.d.ts.map +1 -0
  392. package/dist/check/events/domain-event-names.js +7 -0
  393. package/dist/check/events/domain-event-names.js.map +1 -0
  394. package/dist/check/events/event-declarations.d.ts +15 -0
  395. package/dist/check/events/event-declarations.d.ts.map +1 -0
  396. package/dist/check/events/event-declarations.js +37 -0
  397. package/dist/check/events/event-declarations.js.map +1 -0
  398. package/dist/check/events/in-declaration.d.ts +3 -0
  399. package/dist/check/events/in-declaration.d.ts.map +1 -0
  400. package/dist/check/events/in-declaration.js +4 -0
  401. package/dist/check/events/in-declaration.js.map +1 -0
  402. package/dist/check/events/is-type-literal.d.ts +4 -0
  403. package/dist/check/events/is-type-literal.d.ts.map +1 -0
  404. package/dist/check/events/is-type-literal.js +6 -0
  405. package/dist/check/events/is-type-literal.js.map +1 -0
  406. package/dist/check/events/name-of-event-class.d.ts +4 -0
  407. package/dist/check/events/name-of-event-class.d.ts.map +1 -0
  408. package/dist/check/events/name-of-event-class.js +11 -0
  409. package/dist/check/events/name-of-event-class.js.map +1 -0
  410. package/dist/check/explain/authz-docs.d.ts +3 -0
  411. package/dist/check/explain/authz-docs.d.ts.map +1 -0
  412. package/dist/check/explain/authz-docs.js +46 -0
  413. package/dist/check/explain/authz-docs.js.map +1 -0
  414. package/dist/check/explain/clean-docs.d.ts +3 -0
  415. package/dist/check/explain/clean-docs.d.ts.map +1 -0
  416. package/dist/check/explain/clean-docs.js +39 -0
  417. package/dist/check/explain/clean-docs.js.map +1 -0
  418. package/dist/check/explain/context-docs.d.ts +3 -0
  419. package/dist/check/explain/context-docs.d.ts.map +1 -0
  420. package/dist/check/explain/context-docs.js +44 -0
  421. package/dist/check/explain/context-docs.js.map +1 -0
  422. package/dist/check/explain/events-docs.d.ts +3 -0
  423. package/dist/check/explain/events-docs.d.ts.map +1 -0
  424. package/dist/check/explain/events-docs.js +75 -0
  425. package/dist/check/explain/events-docs.js.map +1 -0
  426. package/dist/check/explain/imports-docs.d.ts +3 -0
  427. package/dist/check/explain/imports-docs.d.ts.map +1 -0
  428. package/dist/check/explain/imports-docs.js +31 -0
  429. package/dist/check/explain/imports-docs.js.map +1 -0
  430. package/dist/check/explain/language-docs.d.ts +3 -0
  431. package/dist/check/explain/language-docs.d.ts.map +1 -0
  432. package/dist/check/explain/language-docs.js +30 -0
  433. package/dist/check/explain/language-docs.js.map +1 -0
  434. package/dist/check/explain/layer-docs.d.ts +3 -0
  435. package/dist/check/explain/layer-docs.d.ts.map +1 -0
  436. package/dist/check/explain/layer-docs.js +39 -0
  437. package/dist/check/explain/layer-docs.js.map +1 -0
  438. package/dist/check/explain/layout-docs.d.ts +3 -0
  439. package/dist/check/explain/layout-docs.d.ts.map +1 -0
  440. package/dist/check/explain/layout-docs.js +73 -0
  441. package/dist/check/explain/layout-docs.js.map +1 -0
  442. package/dist/check/explain/ports-docs.d.ts +3 -0
  443. package/dist/check/explain/ports-docs.d.ts.map +1 -0
  444. package/dist/check/explain/ports-docs.js +68 -0
  445. package/dist/check/explain/ports-docs.js.map +1 -0
  446. package/dist/check/explain/rule-docs.d.ts +4 -0
  447. package/dist/check/explain/rule-docs.d.ts.map +1 -0
  448. package/dist/check/explain/rule-docs.js +30 -0
  449. package/dist/check/explain/rule-docs.js.map +1 -0
  450. package/dist/check/explain/scheduling-docs.d.ts +3 -0
  451. package/dist/check/explain/scheduling-docs.d.ts.map +1 -0
  452. package/dist/check/explain/scheduling-docs.js +37 -0
  453. package/dist/check/explain/scheduling-docs.js.map +1 -0
  454. package/dist/check/explain/standard-docs.d.ts +3 -0
  455. package/dist/check/explain/standard-docs.d.ts.map +1 -0
  456. package/dist/check/explain/standard-docs.js +45 -0
  457. package/dist/check/explain/standard-docs.js.map +1 -0
  458. package/dist/check/explain/tree-docs.d.ts +3 -0
  459. package/dist/check/explain/tree-docs.d.ts.map +1 -0
  460. package/dist/check/explain/tree-docs.js +83 -0
  461. package/dist/check/explain/tree-docs.js.map +1 -0
  462. package/dist/check/explain/wiring-docs.d.ts +3 -0
  463. package/dist/check/explain/wiring-docs.d.ts.map +1 -0
  464. package/dist/check/explain/wiring-docs.js +57 -0
  465. package/dist/check/explain/wiring-docs.js.map +1 -0
  466. package/dist/check/exports/explained-mains.d.ts +8 -0
  467. package/dist/check/exports/explained-mains.d.ts.map +1 -0
  468. package/dist/check/exports/explained-mains.js +26 -0
  469. package/dist/check/exports/explained-mains.js.map +1 -0
  470. package/dist/check/exports/export-verdict.d.ts +11 -0
  471. package/dist/check/exports/export-verdict.d.ts.map +1 -0
  472. package/dist/check/exports/export-verdict.js +2 -0
  473. package/dist/check/exports/export-verdict.js.map +1 -0
  474. package/dist/check/exports/exported.d.ts +12 -0
  475. package/dist/check/exports/exported.d.ts.map +1 -0
  476. package/dist/check/exports/exported.js +2 -0
  477. package/dist/check/exports/exported.js.map +1 -0
  478. package/dist/check/exports/file-exports.d.ts +5 -0
  479. package/dist/check/exports/file-exports.d.ts.map +1 -0
  480. package/dist/check/exports/file-exports.js +106 -0
  481. package/dist/check/exports/file-exports.js.map +1 -0
  482. package/dist/check/exports/judge-exports.d.ts +9 -0
  483. package/dist/check/exports/judge-exports.d.ts.map +1 -0
  484. package/dist/check/exports/judge-exports.js +34 -0
  485. package/dist/check/exports/judge-exports.js.map +1 -0
  486. package/dist/check/exports/kebab-case-of.d.ts +8 -0
  487. package/dist/check/exports/kebab-case-of.d.ts.map +1 -0
  488. package/dist/check/exports/kebab-case-of.js +14 -0
  489. package/dist/check/exports/kebab-case-of.js.map +1 -0
  490. package/dist/check/exports/local-types.d.ts +9 -0
  491. package/dist/check/exports/local-types.d.ts.map +1 -0
  492. package/dist/check/exports/local-types.js +26 -0
  493. package/dist/check/exports/local-types.js.map +1 -0
  494. package/dist/check/exports/matches-glob.d.ts +3 -0
  495. package/dist/check/exports/matches-glob.d.ts.map +1 -0
  496. package/dist/check/exports/matches-glob.js +17 -0
  497. package/dist/check/exports/matches-glob.js.map +1 -0
  498. package/dist/check/exports/named-after.d.ts +7 -0
  499. package/dist/check/exports/named-after.d.ts.map +1 -0
  500. package/dist/check/exports/named-after.js +15 -0
  501. package/dist/check/exports/named-after.js.map +1 -0
  502. package/dist/check/exports/shares-state.d.ts +9 -0
  503. package/dist/check/exports/shares-state.d.ts.map +1 -0
  504. package/dist/check/exports/shares-state.js +37 -0
  505. package/dist/check/exports/shares-state.js.map +1 -0
  506. package/dist/check/exports/type-closure.d.ts +7 -0
  507. package/dist/check/exports/type-closure.d.ts.map +1 -0
  508. package/dist/check/exports/type-closure.js +21 -0
  509. package/dist/check/exports/type-closure.js.map +1 -0
  510. package/dist/check/exports/type-family.d.ts +21 -0
  511. package/dist/check/exports/type-family.d.ts.map +1 -0
  512. package/dist/check/exports/type-family.js +36 -0
  513. package/dist/check/exports/type-family.js.map +1 -0
  514. package/dist/check/fixtures/aggregate.d.ts +4 -0
  515. package/dist/check/fixtures/aggregate.d.ts.map +1 -0
  516. package/dist/check/fixtures/aggregate.js +11 -0
  517. package/dist/check/fixtures/aggregate.js.map +1 -0
  518. package/dist/check/fixtures/alias-declarations.d.ts +4 -0
  519. package/dist/check/fixtures/alias-declarations.d.ts.map +1 -0
  520. package/dist/check/fixtures/alias-declarations.js +43 -0
  521. package/dist/check/fixtures/alias-declarations.js.map +1 -0
  522. package/dist/check/fixtures/alias-declared-fixtures.d.ts +3 -0
  523. package/dist/check/fixtures/alias-declared-fixtures.d.ts.map +1 -0
  524. package/dist/check/fixtures/alias-declared-fixtures.js +54 -0
  525. package/dist/check/fixtures/alias-declared-fixtures.js.map +1 -0
  526. package/dist/check/fixtures/authz-declared-fixtures.d.ts +3 -0
  527. package/dist/check/fixtures/authz-declared-fixtures.d.ts.map +1 -0
  528. package/dist/check/fixtures/authz-declared-fixtures.js +103 -0
  529. package/dist/check/fixtures/authz-declared-fixtures.js.map +1 -0
  530. package/dist/check/fixtures/authz-fixtures.d.ts +3 -0
  531. package/dist/check/fixtures/authz-fixtures.d.ts.map +1 -0
  532. package/dist/check/fixtures/authz-fixtures.js +155 -0
  533. package/dist/check/fixtures/authz-fixtures.js.map +1 -0
  534. package/dist/check/fixtures/clean-fixtures.d.ts +3 -0
  535. package/dist/check/fixtures/clean-fixtures.d.ts.map +1 -0
  536. package/dist/check/fixtures/clean-fixtures.js +259 -0
  537. package/dist/check/fixtures/clean-fixtures.js.map +1 -0
  538. package/dist/check/fixtures/composition-fixtures.d.ts +3 -0
  539. package/dist/check/fixtures/composition-fixtures.d.ts.map +1 -0
  540. package/dist/check/fixtures/composition-fixtures.js +62 -0
  541. package/dist/check/fixtures/composition-fixtures.js.map +1 -0
  542. package/dist/check/fixtures/config-fixtures.d.ts +3 -0
  543. package/dist/check/fixtures/config-fixtures.d.ts.map +1 -0
  544. package/dist/check/fixtures/config-fixtures.js +100 -0
  545. package/dist/check/fixtures/config-fixtures.js.map +1 -0
  546. package/dist/check/fixtures/config.d.ts +3 -0
  547. package/dist/check/fixtures/config.d.ts.map +1 -0
  548. package/dist/check/fixtures/config.js +23 -0
  549. package/dist/check/fixtures/config.js.map +1 -0
  550. package/dist/check/fixtures/consumer-fixtures.d.ts +3 -0
  551. package/dist/check/fixtures/consumer-fixtures.d.ts.map +1 -0
  552. package/dist/check/fixtures/consumer-fixtures.js +117 -0
  553. package/dist/check/fixtures/consumer-fixtures.js.map +1 -0
  554. package/dist/check/fixtures/context-doc.d.ts +3 -0
  555. package/dist/check/fixtures/context-doc.d.ts.map +1 -0
  556. package/dist/check/fixtures/context-doc.js +13 -0
  557. package/dist/check/fixtures/context-doc.js.map +1 -0
  558. package/dist/check/fixtures/context-fixtures.d.ts +3 -0
  559. package/dist/check/fixtures/context-fixtures.d.ts.map +1 -0
  560. package/dist/check/fixtures/context-fixtures.js +93 -0
  561. package/dist/check/fixtures/context-fixtures.js.map +1 -0
  562. package/dist/check/fixtures/coverage-fixtures.d.ts +3 -0
  563. package/dist/check/fixtures/coverage-fixtures.d.ts.map +1 -0
  564. package/dist/check/fixtures/coverage-fixtures.js +94 -0
  565. package/dist/check/fixtures/coverage-fixtures.js.map +1 -0
  566. package/dist/check/fixtures/declaration.d.ts +3 -0
  567. package/dist/check/fixtures/declaration.d.ts.map +1 -0
  568. package/dist/check/fixtures/declaration.js +6 -0
  569. package/dist/check/fixtures/declaration.js.map +1 -0
  570. package/dist/check/fixtures/declarations-fixtures.d.ts +3 -0
  571. package/dist/check/fixtures/declarations-fixtures.d.ts.map +1 -0
  572. package/dist/check/fixtures/declarations-fixtures.js +149 -0
  573. package/dist/check/fixtures/declarations-fixtures.js.map +1 -0
  574. package/dist/check/fixtures/declared-barrel.d.ts +3 -0
  575. package/dist/check/fixtures/declared-barrel.d.ts.map +1 -0
  576. package/dist/check/fixtures/declared-barrel.js +4 -0
  577. package/dist/check/fixtures/declared-barrel.js.map +1 -0
  578. package/dist/check/fixtures/declared-context.d.ts +4 -0
  579. package/dist/check/fixtures/declared-context.d.ts.map +1 -0
  580. package/dist/check/fixtures/declared-context.js +27 -0
  581. package/dist/check/fixtures/declared-context.js.map +1 -0
  582. package/dist/check/fixtures/declared-project.d.ts +4 -0
  583. package/dist/check/fixtures/declared-project.d.ts.map +1 -0
  584. package/dist/check/fixtures/declared-project.js +15 -0
  585. package/dist/check/fixtures/declared-project.js.map +1 -0
  586. package/dist/check/fixtures/declared.d.ts +19 -0
  587. package/dist/check/fixtures/declared.d.ts.map +1 -0
  588. package/dist/check/fixtures/declared.js +21 -0
  589. package/dist/check/fixtures/declared.js.map +1 -0
  590. package/dist/check/fixtures/discovered-project.d.ts +4 -0
  591. package/dist/check/fixtures/discovered-project.d.ts.map +1 -0
  592. package/dist/check/fixtures/discovered-project.js +11 -0
  593. package/dist/check/fixtures/discovered-project.js.map +1 -0
  594. package/dist/check/fixtures/domain-events-fixtures.d.ts +3 -0
  595. package/dist/check/fixtures/domain-events-fixtures.d.ts.map +1 -0
  596. package/dist/check/fixtures/domain-events-fixtures.js +154 -0
  597. package/dist/check/fixtures/domain-events-fixtures.js.map +1 -0
  598. package/dist/check/fixtures/events-fixtures.d.ts +3 -0
  599. package/dist/check/fixtures/events-fixtures.d.ts.map +1 -0
  600. package/dist/check/fixtures/events-fixtures.js +75 -0
  601. package/dist/check/fixtures/events-fixtures.js.map +1 -0
  602. package/dist/check/fixtures/extractable-fixtures.d.ts +3 -0
  603. package/dist/check/fixtures/extractable-fixtures.d.ts.map +1 -0
  604. package/dist/check/fixtures/extractable-fixtures.js +123 -0
  605. package/dist/check/fixtures/extractable-fixtures.js.map +1 -0
  606. package/dist/check/fixtures/fixture-files.d.ts +3 -0
  607. package/dist/check/fixtures/fixture-files.d.ts.map +1 -0
  608. package/dist/check/fixtures/fixture-files.js +2 -0
  609. package/dist/check/fixtures/fixture-files.js.map +1 -0
  610. package/dist/check/fixtures/fixture.d.ts +15 -0
  611. package/dist/check/fixtures/fixture.d.ts.map +1 -0
  612. package/dist/check/fixtures/fixture.js +2 -0
  613. package/dist/check/fixtures/fixture.js.map +1 -0
  614. package/dist/check/fixtures/fixtures.d.ts +8 -0
  615. package/dist/check/fixtures/fixtures.d.ts.map +1 -0
  616. package/dist/check/fixtures/fixtures.js +62 -0
  617. package/dist/check/fixtures/fixtures.js.map +1 -0
  618. package/dist/check/fixtures/governance-fixtures.d.ts +3 -0
  619. package/dist/check/fixtures/governance-fixtures.d.ts.map +1 -0
  620. package/dist/check/fixtures/governance-fixtures.js +93 -0
  621. package/dist/check/fixtures/governance-fixtures.js.map +1 -0
  622. package/dist/check/fixtures/handler.d.ts +4 -0
  623. package/dist/check/fixtures/handler.d.ts.map +1 -0
  624. package/dist/check/fixtures/handler.js +7 -0
  625. package/dist/check/fixtures/handler.js.map +1 -0
  626. package/dist/check/fixtures/imports-fixtures.d.ts +3 -0
  627. package/dist/check/fixtures/imports-fixtures.d.ts.map +1 -0
  628. package/dist/check/fixtures/imports-fixtures.js +88 -0
  629. package/dist/check/fixtures/imports-fixtures.js.map +1 -0
  630. package/dist/check/fixtures/language-fixtures.d.ts +3 -0
  631. package/dist/check/fixtures/language-fixtures.d.ts.map +1 -0
  632. package/dist/check/fixtures/language-fixtures.js +73 -0
  633. package/dist/check/fixtures/language-fixtures.js.map +1 -0
  634. package/dist/check/fixtures/layer-fixtures.d.ts +3 -0
  635. package/dist/check/fixtures/layer-fixtures.d.ts.map +1 -0
  636. package/dist/check/fixtures/layer-fixtures.js +199 -0
  637. package/dist/check/fixtures/layer-fixtures.js.map +1 -0
  638. package/dist/check/fixtures/layout-fixtures.d.ts +3 -0
  639. package/dist/check/fixtures/layout-fixtures.d.ts.map +1 -0
  640. package/dist/check/fixtures/layout-fixtures.js +165 -0
  641. package/dist/check/fixtures/layout-fixtures.js.map +1 -0
  642. package/dist/check/fixtures/naming-fixtures.d.ts +3 -0
  643. package/dist/check/fixtures/naming-fixtures.d.ts.map +1 -0
  644. package/dist/check/fixtures/naming-fixtures.js +83 -0
  645. package/dist/check/fixtures/naming-fixtures.js.map +1 -0
  646. package/dist/check/fixtures/outbox-fixtures.d.ts +3 -0
  647. package/dist/check/fixtures/outbox-fixtures.d.ts.map +1 -0
  648. package/dist/check/fixtures/outbox-fixtures.js +79 -0
  649. package/dist/check/fixtures/outbox-fixtures.js.map +1 -0
  650. package/dist/check/fixtures/outside-package-deviation.d.ts +3 -0
  651. package/dist/check/fixtures/outside-package-deviation.d.ts.map +1 -0
  652. package/dist/check/fixtures/outside-package-deviation.js +5 -0
  653. package/dist/check/fixtures/outside-package-deviation.js.map +1 -0
  654. package/dist/check/fixtures/paths.d.ts +39 -0
  655. package/dist/check/fixtures/paths.d.ts.map +1 -0
  656. package/dist/check/fixtures/paths.js +41 -0
  657. package/dist/check/fixtures/paths.js.map +1 -0
  658. package/dist/check/fixtures/ports-fixtures.d.ts +3 -0
  659. package/dist/check/fixtures/ports-fixtures.d.ts.map +1 -0
  660. package/dist/check/fixtures/ports-fixtures.js +225 -0
  661. package/dist/check/fixtures/ports-fixtures.js.map +1 -0
  662. package/dist/check/fixtures/project.d.ts +4 -0
  663. package/dist/check/fixtures/project.d.ts.map +1 -0
  664. package/dist/check/fixtures/project.js +17 -0
  665. package/dist/check/fixtures/project.js.map +1 -0
  666. package/dist/check/fixtures/purity-fixtures.d.ts +3 -0
  667. package/dist/check/fixtures/purity-fixtures.d.ts.map +1 -0
  668. package/dist/check/fixtures/purity-fixtures.js +64 -0
  669. package/dist/check/fixtures/purity-fixtures.js.map +1 -0
  670. package/dist/check/fixtures/run-fixture.d.ts +11 -0
  671. package/dist/check/fixtures/run-fixture.d.ts.map +1 -0
  672. package/dist/check/fixtures/run-fixture.js +49 -0
  673. package/dist/check/fixtures/run-fixture.js.map +1 -0
  674. package/dist/check/fixtures/run-self-check.d.ts +4 -0
  675. package/dist/check/fixtures/run-self-check.d.ts.map +1 -0
  676. package/dist/check/fixtures/run-self-check.js +7 -0
  677. package/dist/check/fixtures/run-self-check.js.map +1 -0
  678. package/dist/check/fixtures/samples.d.ts +9 -0
  679. package/dist/check/fixtures/samples.d.ts.map +1 -0
  680. package/dist/check/fixtures/samples.js +9 -0
  681. package/dist/check/fixtures/samples.js.map +1 -0
  682. package/dist/check/fixtures/scheduling-fixtures.d.ts +3 -0
  683. package/dist/check/fixtures/scheduling-fixtures.d.ts.map +1 -0
  684. package/dist/check/fixtures/scheduling-fixtures.js +129 -0
  685. package/dist/check/fixtures/scheduling-fixtures.js.map +1 -0
  686. package/dist/check/fixtures/source.d.ts +3 -0
  687. package/dist/check/fixtures/source.d.ts.map +1 -0
  688. package/dist/check/fixtures/source.js +5 -0
  689. package/dist/check/fixtures/source.js.map +1 -0
  690. package/dist/check/fixtures/standard-fixtures.d.ts +3 -0
  691. package/dist/check/fixtures/standard-fixtures.d.ts.map +1 -0
  692. package/dist/check/fixtures/standard-fixtures.js +86 -0
  693. package/dist/check/fixtures/standard-fixtures.js.map +1 -0
  694. package/dist/check/fixtures/test-fixtures.d.ts +3 -0
  695. package/dist/check/fixtures/test-fixtures.d.ts.map +1 -0
  696. package/dist/check/fixtures/test-fixtures.js +77 -0
  697. package/dist/check/fixtures/test-fixtures.js.map +1 -0
  698. package/dist/check/fixtures/tracing-fixtures.d.ts +3 -0
  699. package/dist/check/fixtures/tracing-fixtures.d.ts.map +1 -0
  700. package/dist/check/fixtures/tracing-fixtures.js +55 -0
  701. package/dist/check/fixtures/tracing-fixtures.js.map +1 -0
  702. package/dist/check/fixtures/tree-fixtures.d.ts +3 -0
  703. package/dist/check/fixtures/tree-fixtures.d.ts.map +1 -0
  704. package/dist/check/fixtures/tree-fixtures.js +194 -0
  705. package/dist/check/fixtures/tree-fixtures.js.map +1 -0
  706. package/dist/check/fixtures/without-file.d.ts +3 -0
  707. package/dist/check/fixtures/without-file.d.ts.map +1 -0
  708. package/dist/check/fixtures/without-file.js +4 -0
  709. package/dist/check/fixtures/without-file.js.map +1 -0
  710. package/dist/check/governance/adr-directory.d.ts +2 -0
  711. package/dist/check/governance/adr-directory.d.ts.map +1 -0
  712. package/dist/check/governance/adr-directory.js +2 -0
  713. package/dist/check/governance/adr-directory.js.map +1 -0
  714. package/dist/check/governance/decision-records.d.ts +9 -0
  715. package/dist/check/governance/decision-records.d.ts.map +1 -0
  716. package/dist/check/governance/decision-records.js +27 -0
  717. package/dist/check/governance/decision-records.js.map +1 -0
  718. package/dist/check/governance/record-number.d.ts +3 -0
  719. package/dist/check/governance/record-number.d.ts.map +1 -0
  720. package/dist/check/governance/record-number.js +6 -0
  721. package/dist/check/governance/record-number.js.map +1 -0
  722. package/dist/check/governance/referenced-record.d.ts +3 -0
  723. package/dist/check/governance/referenced-record.d.ts.map +1 -0
  724. package/dist/check/governance/referenced-record.js +7 -0
  725. package/dist/check/governance/referenced-record.js.map +1 -0
  726. package/dist/check/language/add-glossary-rows.d.ts +6 -0
  727. package/dist/check/language/add-glossary-rows.d.ts.map +1 -0
  728. package/dist/check/language/add-glossary-rows.js +19 -0
  729. package/dist/check/language/add-glossary-rows.js.map +1 -0
  730. package/dist/check/language/base-forms.d.ts +3 -0
  731. package/dist/check/language/base-forms.d.ts.map +1 -0
  732. package/dist/check/language/base-forms.js +71 -0
  733. package/dist/check/language/base-forms.js.map +1 -0
  734. package/dist/check/language/glossaries.d.ts +15 -0
  735. package/dist/check/language/glossaries.d.ts.map +1 -0
  736. package/dist/check/language/glossaries.js +44 -0
  737. package/dist/check/language/glossaries.js.map +1 -0
  738. package/dist/check/language/glossary-cells.d.ts +3 -0
  739. package/dist/check/language/glossary-cells.d.ts.map +1 -0
  740. package/dist/check/language/glossary-cells.js +10 -0
  741. package/dist/check/language/glossary-cells.js.map +1 -0
  742. package/dist/check/language/parse-glossary.d.ts +10 -0
  743. package/dist/check/language/parse-glossary.d.ts.map +1 -0
  744. package/dist/check/language/parse-glossary.js +29 -0
  745. package/dist/check/language/parse-glossary.js.map +1 -0
  746. package/dist/check/language/same-word.d.ts +3 -0
  747. package/dist/check/language/same-word.d.ts.map +1 -0
  748. package/dist/check/language/same-word.js +7 -0
  749. package/dist/check/language/same-word.js.map +1 -0
  750. package/dist/check/language/technical-words.d.ts +3 -0
  751. package/dist/check/language/technical-words.d.ts.map +1 -0
  752. package/dist/check/language/technical-words.js +18 -0
  753. package/dist/check/language/technical-words.js.map +1 -0
  754. package/dist/check/language/unknown-words.d.ts +4 -0
  755. package/dist/check/language/unknown-words.d.ts.map +1 -0
  756. package/dist/check/language/unknown-words.js +47 -0
  757. package/dist/check/language/unknown-words.js.map +1 -0
  758. package/dist/check/layers/aspects-package.d.ts +2 -0
  759. package/dist/check/layers/aspects-package.d.ts.map +1 -0
  760. package/dist/check/layers/aspects-package.js +2 -0
  761. package/dist/check/layers/aspects-package.js.map +1 -0
  762. package/dist/check/layers/outside-concern.d.ts +4 -0
  763. package/dist/check/layers/outside-concern.d.ts.map +1 -0
  764. package/dist/check/layers/outside-concern.js +40 -0
  765. package/dist/check/layers/outside-concern.js.map +1 -0
  766. package/dist/check/model/context-location.d.ts +9 -0
  767. package/dist/check/model/context-location.d.ts.map +1 -0
  768. package/dist/check/model/context-location.js +2 -0
  769. package/dist/check/model/context-location.js.map +1 -0
  770. package/dist/check/model/finding.d.ts +7 -0
  771. package/dist/check/model/finding.d.ts.map +1 -0
  772. package/dist/check/model/finding.js +2 -0
  773. package/dist/check/model/finding.js.map +1 -0
  774. package/dist/check/model/flaw.d.ts +6 -0
  775. package/dist/check/model/flaw.d.ts.map +1 -0
  776. package/dist/check/model/flaw.js +2 -0
  777. package/dist/check/model/flaw.js.map +1 -0
  778. package/dist/check/model/import-target.d.ts +13 -0
  779. package/dist/check/model/import-target.d.ts.map +1 -0
  780. package/dist/check/model/import-target.js +2 -0
  781. package/dist/check/model/import-target.js.map +1 -0
  782. package/dist/check/model/layer.d.ts +2 -0
  783. package/dist/check/model/layer.d.ts.map +1 -0
  784. package/dist/check/model/layer.js +2 -0
  785. package/dist/check/model/layer.js.map +1 -0
  786. package/dist/check/model/location.d.ts +5 -0
  787. package/dist/check/model/location.d.ts.map +1 -0
  788. package/dist/check/model/location.js +2 -0
  789. package/dist/check/model/location.js.map +1 -0
  790. package/dist/check/model/project.d.ts +17 -0
  791. package/dist/check/model/project.d.ts.map +1 -0
  792. package/dist/check/model/project.js +2 -0
  793. package/dist/check/model/project.js.map +1 -0
  794. package/dist/check/model/report.d.ts +9 -0
  795. package/dist/check/model/report.d.ts.map +1 -0
  796. package/dist/check/model/report.js +2 -0
  797. package/dist/check/model/report.js.map +1 -0
  798. package/dist/check/model/resolved-import.d.ts +11 -0
  799. package/dist/check/model/resolved-import.d.ts.map +1 -0
  800. package/dist/check/model/resolved-import.js +2 -0
  801. package/dist/check/model/resolved-import.js.map +1 -0
  802. package/dist/check/model/rule-doc.d.ts +6 -0
  803. package/dist/check/model/rule-doc.d.ts.map +1 -0
  804. package/dist/check/model/rule-doc.js +2 -0
  805. package/dist/check/model/rule-doc.js.map +1 -0
  806. package/dist/check/model/rule.d.ts +12 -0
  807. package/dist/check/model/rule.d.ts.map +1 -0
  808. package/dist/check/model/rule.js +2 -0
  809. package/dist/check/model/rule.js.map +1 -0
  810. package/dist/check/model/source-file.d.ts +16 -0
  811. package/dist/check/model/source-file.d.ts.map +1 -0
  812. package/dist/check/model/source-file.js +2 -0
  813. package/dist/check/model/source-file.js.map +1 -0
  814. package/dist/check/model/violation.d.ts +10 -0
  815. package/dist/check/model/violation.d.ts.map +1 -0
  816. package/dist/check/model/violation.js +2 -0
  817. package/dist/check/model/violation.js.map +1 -0
  818. package/dist/check/ports/bodiless-members.d.ts +10 -0
  819. package/dist/check/ports/bodiless-members.d.ts.map +1 -0
  820. package/dist/check/ports/bodiless-members.js +44 -0
  821. package/dist/check/ports/bodiless-members.js.map +1 -0
  822. package/dist/check/ports/class-declaring.d.ts +9 -0
  823. package/dist/check/ports/class-declaring.d.ts.map +1 -0
  824. package/dist/check/ports/class-declaring.js +16 -0
  825. package/dist/check/ports/class-declaring.js.map +1 -0
  826. package/dist/check/ports/port-misuse.d.ts +5 -0
  827. package/dist/check/ports/port-misuse.d.ts.map +1 -0
  828. package/dist/check/ports/port-misuse.js +17 -0
  829. package/dist/check/ports/port-misuse.js.map +1 -0
  830. package/dist/check/project/assemble-project.d.ts +4 -0
  831. package/dist/check/project/assemble-project.d.ts.map +1 -0
  832. package/dist/check/project/assemble-project.js +16 -0
  833. package/dist/check/project/assemble-project.js.map +1 -0
  834. package/dist/check/project/is-source.d.ts +3 -0
  835. package/dist/check/project/is-source.d.ts.map +1 -0
  836. package/dist/check/project/is-source.js +7 -0
  837. package/dist/check/project/is-source.js.map +1 -0
  838. package/dist/check/project/is-test-file.d.ts +3 -0
  839. package/dist/check/project/is-test-file.d.ts.map +1 -0
  840. package/dist/check/project/is-test-file.js +4 -0
  841. package/dist/check/project/is-test-file.js.map +1 -0
  842. package/dist/check/project/is-under.d.ts +2 -0
  843. package/dist/check/project/is-under.d.ts.map +1 -0
  844. package/dist/check/project/is-under.js +4 -0
  845. package/dist/check/project/is-under.js.map +1 -0
  846. package/dist/check/project/load-loose-project.d.ts +4 -0
  847. package/dist/check/project/load-loose-project.d.ts.map +1 -0
  848. package/dist/check/project/load-loose-project.js +22 -0
  849. package/dist/check/project/load-loose-project.js.map +1 -0
  850. package/dist/check/project/load-project.d.ts +7 -0
  851. package/dist/check/project/load-project.d.ts.map +1 -0
  852. package/dist/check/project/load-project.js +37 -0
  853. package/dist/check/project/load-project.js.map +1 -0
  854. package/dist/check/project/load-source-file.d.ts +5 -0
  855. package/dist/check/project/load-source-file.d.ts.map +1 -0
  856. package/dist/check/project/load-source-file.js +30 -0
  857. package/dist/check/project/load-source-file.js.map +1 -0
  858. package/dist/check/project/locate.d.ts +5 -0
  859. package/dist/check/project/locate.d.ts.map +1 -0
  860. package/dist/check/project/locate.js +45 -0
  861. package/dist/check/project/locate.js.map +1 -0
  862. package/dist/check/project/resolve-import.d.ts +5 -0
  863. package/dist/check/project/resolve-import.d.ts.map +1 -0
  864. package/dist/check/project/resolve-import.js +33 -0
  865. package/dist/check/project/resolve-import.js.map +1 -0
  866. package/dist/check/project/source-at.d.ts +8 -0
  867. package/dist/check/project/source-at.d.ts.map +1 -0
  868. package/dist/check/project/source-at.js +29 -0
  869. package/dist/check/project/source-at.js.map +1 -0
  870. package/dist/check/project/to-posix.d.ts +2 -0
  871. package/dist/check/project/to-posix.d.ts.map +1 -0
  872. package/dist/check/project/to-posix.js +5 -0
  873. package/dist/check/project/to-posix.js.map +1 -0
  874. package/dist/check/project/walk-directory.d.ts +3 -0
  875. package/dist/check/project/walk-directory.d.ts.map +1 -0
  876. package/dist/check/project/walk-directory.js +27 -0
  877. package/dist/check/project/walk-directory.js.map +1 -0
  878. package/dist/check/purity/define-purity-rule.d.ts +5 -0
  879. package/dist/check/purity/define-purity-rule.d.ts.map +1 -0
  880. package/dist/check/purity/define-purity-rule.js +33 -0
  881. package/dist/check/purity/define-purity-rule.js.map +1 -0
  882. package/dist/check/purity/purity-rule.d.ts +13 -0
  883. package/dist/check/purity/purity-rule.d.ts.map +1 -0
  884. package/dist/check/purity/purity-rule.js +2 -0
  885. package/dist/check/purity/purity-rule.js.map +1 -0
  886. package/dist/check/rules/aspects-outside-in.d.ts +3 -0
  887. package/dist/check/rules/aspects-outside-in.d.ts.map +1 -0
  888. package/dist/check/rules/aspects-outside-in.js +43 -0
  889. package/dist/check/rules/aspects-outside-in.js.map +1 -0
  890. package/dist/check/rules/authz-actor-explicit.d.ts +3 -0
  891. package/dist/check/rules/authz-actor-explicit.d.ts.map +1 -0
  892. package/dist/check/rules/authz-actor-explicit.js +50 -0
  893. package/dist/check/rules/authz-actor-explicit.js.map +1 -0
  894. package/dist/check/rules/authz-declared.d.ts +3 -0
  895. package/dist/check/rules/authz-declared.d.ts.map +1 -0
  896. package/dist/check/rules/authz-declared.js +149 -0
  897. package/dist/check/rules/authz-declared.js.map +1 -0
  898. package/dist/check/rules/authz-in-application.d.ts +3 -0
  899. package/dist/check/rules/authz-in-application.d.ts.map +1 -0
  900. package/dist/check/rules/authz-in-application.js +112 -0
  901. package/dist/check/rules/authz-in-application.js.map +1 -0
  902. package/dist/check/rules/clean-blank-lines.d.ts +3 -0
  903. package/dist/check/rules/clean-blank-lines.d.ts.map +1 -0
  904. package/dist/check/rules/clean-blank-lines.js +78 -0
  905. package/dist/check/rules/clean-blank-lines.js.map +1 -0
  906. package/dist/check/rules/clean-braces.d.ts +3 -0
  907. package/dist/check/rules/clean-braces.d.ts.map +1 -0
  908. package/dist/check/rules/clean-braces.js +66 -0
  909. package/dist/check/rules/clean-braces.js.map +1 -0
  910. package/dist/check/rules/clean-file-size.d.ts +3 -0
  911. package/dist/check/rules/clean-file-size.d.ts.map +1 -0
  912. package/dist/check/rules/clean-file-size.js +23 -0
  913. package/dist/check/rules/clean-file-size.js.map +1 -0
  914. package/dist/check/rules/clean-function-size.d.ts +3 -0
  915. package/dist/check/rules/clean-function-size.d.ts.map +1 -0
  916. package/dist/check/rules/clean-function-size.js +85 -0
  917. package/dist/check/rules/clean-function-size.js.map +1 -0
  918. package/dist/check/rules/clean-no-commented-out-code.d.ts +3 -0
  919. package/dist/check/rules/clean-no-commented-out-code.d.ts.map +1 -0
  920. package/dist/check/rules/clean-no-commented-out-code.js +24 -0
  921. package/dist/check/rules/clean-no-commented-out-code.js.map +1 -0
  922. package/dist/check/rules/clean-no-escape-hatch.d.ts +3 -0
  923. package/dist/check/rules/clean-no-escape-hatch.d.ts.map +1 -0
  924. package/dist/check/rules/clean-no-escape-hatch.js +51 -0
  925. package/dist/check/rules/clean-no-escape-hatch.js.map +1 -0
  926. package/dist/check/rules/clean-no-flag-argument.d.ts +3 -0
  927. package/dist/check/rules/clean-no-flag-argument.d.ts.map +1 -0
  928. package/dist/check/rules/clean-no-flag-argument.js +34 -0
  929. package/dist/check/rules/clean-no-flag-argument.js.map +1 -0
  930. package/dist/check/rules/clean-no-hash-private.d.ts +3 -0
  931. package/dist/check/rules/clean-no-hash-private.d.ts.map +1 -0
  932. package/dist/check/rules/clean-no-hash-private.js +15 -0
  933. package/dist/check/rules/clean-no-hash-private.js.map +1 -0
  934. package/dist/check/rules/clean-no-noise-comment.d.ts +3 -0
  935. package/dist/check/rules/clean-no-noise-comment.d.ts.map +1 -0
  936. package/dist/check/rules/clean-no-noise-comment.js +92 -0
  937. package/dist/check/rules/clean-no-noise-comment.js.map +1 -0
  938. package/dist/check/rules/clean-one-export-per-file.d.ts +3 -0
  939. package/dist/check/rules/clean-one-export-per-file.d.ts.map +1 -0
  940. package/dist/check/rules/clean-one-export-per-file.js +97 -0
  941. package/dist/check/rules/clean-one-export-per-file.js.map +1 -0
  942. package/dist/check/rules/clean-stepdown.d.ts +3 -0
  943. package/dist/check/rules/clean-stepdown.d.ts.map +1 -0
  944. package/dist/check/rules/clean-stepdown.js +78 -0
  945. package/dist/check/rules/clean-stepdown.js.map +1 -0
  946. package/dist/check/rules/composition-only-in-module.d.ts +3 -0
  947. package/dist/check/rules/composition-only-in-module.d.ts.map +1 -0
  948. package/dist/check/rules/composition-only-in-module.js +89 -0
  949. package/dist/check/rules/composition-only-in-module.js.map +1 -0
  950. package/dist/check/rules/config-valid.d.ts +3 -0
  951. package/dist/check/rules/config-valid.d.ts.map +1 -0
  952. package/dist/check/rules/config-valid.js +22 -0
  953. package/dist/check/rules/config-valid.js.map +1 -0
  954. package/dist/check/rules/context-declared-relationship.d.ts +3 -0
  955. package/dist/check/rules/context-declared-relationship.d.ts.map +1 -0
  956. package/dist/check/rules/context-declared-relationship.js +34 -0
  957. package/dist/check/rules/context-declared-relationship.js.map +1 -0
  958. package/dist/check/rules/context-extractable.d.ts +3 -0
  959. package/dist/check/rules/context-extractable.d.ts.map +1 -0
  960. package/dist/check/rules/context-extractable.js +137 -0
  961. package/dist/check/rules/context-extractable.js.map +1 -0
  962. package/dist/check/rules/context-no-cycle.d.ts +3 -0
  963. package/dist/check/rules/context-no-cycle.d.ts.map +1 -0
  964. package/dist/check/rules/context-no-cycle.js +44 -0
  965. package/dist/check/rules/context-no-cycle.js.map +1 -0
  966. package/dist/check/rules/context-published-language-is-a-contract.d.ts +3 -0
  967. package/dist/check/rules/context-published-language-is-a-contract.d.ts.map +1 -0
  968. package/dist/check/rules/context-published-language-is-a-contract.js +31 -0
  969. package/dist/check/rules/context-published-language-is-a-contract.js.map +1 -0
  970. package/dist/check/rules/context-published-language-only.d.ts +3 -0
  971. package/dist/check/rules/context-published-language-only.d.ts.map +1 -0
  972. package/dist/check/rules/context-published-language-only.js +30 -0
  973. package/dist/check/rules/context-published-language-only.js.map +1 -0
  974. package/dist/check/rules/declarations-barrel-current.d.ts +3 -0
  975. package/dist/check/rules/declarations-barrel-current.d.ts.map +1 -0
  976. package/dist/check/rules/declarations-barrel-current.js +69 -0
  977. package/dist/check/rules/declarations-barrel-current.js.map +1 -0
  978. package/dist/check/rules/declarations-role-declared.d.ts +3 -0
  979. package/dist/check/rules/declarations-role-declared.d.ts.map +1 -0
  980. package/dist/check/rules/declarations-role-declared.js +131 -0
  981. package/dist/check/rules/declarations-role-declared.js.map +1 -0
  982. package/dist/check/rules/domain-events-dispatched-on-save.d.ts +3 -0
  983. package/dist/check/rules/domain-events-dispatched-on-save.d.ts.map +1 -0
  984. package/dist/check/rules/domain-events-dispatched-on-save.js +68 -0
  985. package/dist/check/rules/domain-events-dispatched-on-save.js.map +1 -0
  986. package/dist/check/rules/domain-events-transactional-before-commit.d.ts +3 -0
  987. package/dist/check/rules/domain-events-transactional-before-commit.d.ts.map +1 -0
  988. package/dist/check/rules/domain-events-transactional-before-commit.js +69 -0
  989. package/dist/check/rules/domain-events-transactional-before-commit.js.map +1 -0
  990. package/dist/check/rules/events-consumer-idempotent.d.ts +3 -0
  991. package/dist/check/rules/events-consumer-idempotent.d.ts.map +1 -0
  992. package/dist/check/rules/events-consumer-idempotent.js +99 -0
  993. package/dist/check/rules/events-consumer-idempotent.js.map +1 -0
  994. package/dist/check/rules/events-defined-in-published-language.d.ts +3 -0
  995. package/dist/check/rules/events-defined-in-published-language.d.ts.map +1 -0
  996. package/dist/check/rules/events-defined-in-published-language.js +90 -0
  997. package/dist/check/rules/events-defined-in-published-language.js.map +1 -0
  998. package/dist/check/rules/events-name-format.d.ts +3 -0
  999. package/dist/check/rules/events-name-format.d.ts.map +1 -0
  1000. package/dist/check/rules/events-name-format.js +45 -0
  1001. package/dist/check/rules/events-name-format.js.map +1 -0
  1002. package/dist/check/rules/events-outbox-required.d.ts +3 -0
  1003. package/dist/check/rules/events-outbox-required.d.ts.map +1 -0
  1004. package/dist/check/rules/events-outbox-required.js +111 -0
  1005. package/dist/check/rules/events-outbox-required.js.map +1 -0
  1006. package/dist/check/rules/governance-recorded-deviation.d.ts +3 -0
  1007. package/dist/check/rules/governance-recorded-deviation.d.ts.map +1 -0
  1008. package/dist/check/rules/governance-recorded-deviation.js +193 -0
  1009. package/dist/check/rules/governance-recorded-deviation.js.map +1 -0
  1010. package/dist/check/rules/imports-alias-declared.d.ts +3 -0
  1011. package/dist/check/rules/imports-alias-declared.d.ts.map +1 -0
  1012. package/dist/check/rules/imports-alias-declared.js +28 -0
  1013. package/dist/check/rules/imports-alias-declared.js.map +1 -0
  1014. package/dist/check/rules/imports-alias-only.d.ts +3 -0
  1015. package/dist/check/rules/imports-alias-only.d.ts.map +1 -0
  1016. package/dist/check/rules/imports-alias-only.js +73 -0
  1017. package/dist/check/rules/imports-alias-only.js.map +1 -0
  1018. package/dist/check/rules/language-glossary-term.d.ts +3 -0
  1019. package/dist/check/rules/language-glossary-term.d.ts.map +1 -0
  1020. package/dist/check/rules/language-glossary-term.js +68 -0
  1021. package/dist/check/rules/language-glossary-term.js.map +1 -0
  1022. package/dist/check/rules/language-no-technical-name.d.ts +3 -0
  1023. package/dist/check/rules/language-no-technical-name.d.ts.map +1 -0
  1024. package/dist/check/rules/language-no-technical-name.js +40 -0
  1025. package/dist/check/rules/language-no-technical-name.js.map +1 -0
  1026. package/dist/check/rules/layer-application-inward.d.ts +3 -0
  1027. package/dist/check/rules/layer-application-inward.d.ts.map +1 -0
  1028. package/dist/check/rules/layer-application-inward.js +64 -0
  1029. package/dist/check/rules/layer-application-inward.js.map +1 -0
  1030. package/dist/check/rules/layer-domain-purity.d.ts +3 -0
  1031. package/dist/check/rules/layer-domain-purity.d.ts.map +1 -0
  1032. package/dist/check/rules/layer-domain-purity.js +69 -0
  1033. package/dist/check/rules/layer-domain-purity.js.map +1 -0
  1034. package/dist/check/rules/layer-infrastructure-no-presentation.d.ts +3 -0
  1035. package/dist/check/rules/layer-infrastructure-no-presentation.d.ts.map +1 -0
  1036. package/dist/check/rules/layer-infrastructure-no-presentation.js +26 -0
  1037. package/dist/check/rules/layer-infrastructure-no-presentation.js.map +1 -0
  1038. package/dist/check/rules/layer-presentation-no-infrastructure.d.ts +3 -0
  1039. package/dist/check/rules/layer-presentation-no-infrastructure.d.ts.map +1 -0
  1040. package/dist/check/rules/layer-presentation-no-infrastructure.js +27 -0
  1041. package/dist/check/rules/layer-presentation-no-infrastructure.js.map +1 -0
  1042. package/dist/check/rules/naming-one-concept-per-file.d.ts +3 -0
  1043. package/dist/check/rules/naming-one-concept-per-file.d.ts.map +1 -0
  1044. package/dist/check/rules/naming-one-concept-per-file.js +59 -0
  1045. package/dist/check/rules/naming-one-concept-per-file.js.map +1 -0
  1046. package/dist/check/rules/naming-search-not-list.d.ts +3 -0
  1047. package/dist/check/rules/naming-search-not-list.d.ts.map +1 -0
  1048. package/dist/check/rules/naming-search-not-list.js +70 -0
  1049. package/dist/check/rules/naming-search-not-list.js.map +1 -0
  1050. package/dist/check/rules/naming-suffix.d.ts +3 -0
  1051. package/dist/check/rules/naming-suffix.d.ts.map +1 -0
  1052. package/dist/check/rules/naming-suffix.js +57 -0
  1053. package/dist/check/rules/naming-suffix.js.map +1 -0
  1054. package/dist/check/rules/ports-abstract-class.d.ts +3 -0
  1055. package/dist/check/rules/ports-abstract-class.d.ts.map +1 -0
  1056. package/dist/check/rules/ports-abstract-class.js +84 -0
  1057. package/dist/check/rules/ports-abstract-class.js.map +1 -0
  1058. package/dist/check/rules/ports-implements-never-extends.d.ts +3 -0
  1059. package/dist/check/rules/ports-implements-never-extends.d.ts.map +1 -0
  1060. package/dist/check/rules/ports-implements-never-extends.js +78 -0
  1061. package/dist/check/rules/ports-implements-never-extends.js.map +1 -0
  1062. package/dist/check/rules/ports-no-concrete-dependency.d.ts +3 -0
  1063. package/dist/check/rules/ports-no-concrete-dependency.d.ts.map +1 -0
  1064. package/dist/check/rules/ports-no-concrete-dependency.js +34 -0
  1065. package/dist/check/rules/ports-no-concrete-dependency.js.map +1 -0
  1066. package/dist/check/rules/ports-no-token-constant.d.ts +3 -0
  1067. package/dist/check/rules/ports-no-token-constant.d.ts.map +1 -0
  1068. package/dist/check/rules/ports-no-token-constant.js +77 -0
  1069. package/dist/check/rules/ports-no-token-constant.js.map +1 -0
  1070. package/dist/check/rules/ports-value-import.d.ts +3 -0
  1071. package/dist/check/rules/ports-value-import.d.ts.map +1 -0
  1072. package/dist/check/rules/ports-value-import.js +30 -0
  1073. package/dist/check/rules/ports-value-import.js.map +1 -0
  1074. package/dist/check/rules/purity-no-ambient-randomness.d.ts +2 -0
  1075. package/dist/check/rules/purity-no-ambient-randomness.d.ts.map +1 -0
  1076. package/dist/check/rules/purity-no-ambient-randomness.js +28 -0
  1077. package/dist/check/rules/purity-no-ambient-randomness.js.map +1 -0
  1078. package/dist/check/rules/purity-no-environment.d.ts +2 -0
  1079. package/dist/check/rules/purity-no-environment.d.ts.map +1 -0
  1080. package/dist/check/rules/purity-no-environment.js +35 -0
  1081. package/dist/check/rules/purity-no-environment.js.map +1 -0
  1082. package/dist/check/rules/purity-no-system-clock.d.ts +2 -0
  1083. package/dist/check/rules/purity-no-system-clock.d.ts.map +1 -0
  1084. package/dist/check/rules/purity-no-system-clock.js +13 -0
  1085. package/dist/check/rules/purity-no-system-clock.js.map +1 -0
  1086. package/dist/check/rules/scheduling-job-name.d.ts +3 -0
  1087. package/dist/check/rules/scheduling-job-name.d.ts.map +1 -0
  1088. package/dist/check/rules/scheduling-job-name.js +79 -0
  1089. package/dist/check/rules/scheduling-job-name.js.map +1 -0
  1090. package/dist/check/rules/scheduling-job-triggers-use-case.d.ts +3 -0
  1091. package/dist/check/rules/scheduling-job-triggers-use-case.d.ts.map +1 -0
  1092. package/dist/check/rules/scheduling-job-triggers-use-case.js +127 -0
  1093. package/dist/check/rules/scheduling-job-triggers-use-case.js.map +1 -0
  1094. package/dist/check/rules/standard-no-parallel-interface.d.ts +3 -0
  1095. package/dist/check/rules/standard-no-parallel-interface.d.ts.map +1 -0
  1096. package/dist/check/rules/standard-no-parallel-interface.js +49 -0
  1097. package/dist/check/rules/standard-no-parallel-interface.js.map +1 -0
  1098. package/dist/check/rules/test-builder-required.d.ts +3 -0
  1099. package/dist/check/rules/test-builder-required.d.ts.map +1 -0
  1100. package/dist/check/rules/test-builder-required.js +46 -0
  1101. package/dist/check/rules/test-builder-required.js.map +1 -0
  1102. package/dist/check/rules/test-coverage-governed.d.ts +3 -0
  1103. package/dist/check/rules/test-coverage-governed.d.ts.map +1 -0
  1104. package/dist/check/rules/test-coverage-governed.js +20 -0
  1105. package/dist/check/rules/test-coverage-governed.js.map +1 -0
  1106. package/dist/check/rules/test-no-mocks.d.ts +3 -0
  1107. package/dist/check/rules/test-no-mocks.d.ts.map +1 -0
  1108. package/dist/check/rules/test-no-mocks.js +42 -0
  1109. package/dist/check/rules/test-no-mocks.js.map +1 -0
  1110. package/dist/check/rules/test-spec-required.d.ts +3 -0
  1111. package/dist/check/rules/test-spec-required.d.ts.map +1 -0
  1112. package/dist/check/rules/test-spec-required.js +52 -0
  1113. package/dist/check/rules/test-spec-required.js.map +1 -0
  1114. package/dist/check/rules/tracing-platform-only.d.ts +3 -0
  1115. package/dist/check/rules/tracing-platform-only.d.ts.map +1 -0
  1116. package/dist/check/rules/tracing-platform-only.js +46 -0
  1117. package/dist/check/rules/tracing-platform-only.js.map +1 -0
  1118. package/dist/check/rules/tree-closed.d.ts +3 -0
  1119. package/dist/check/rules/tree-closed.d.ts.map +1 -0
  1120. package/dist/check/rules/tree-closed.js +88 -0
  1121. package/dist/check/rules/tree-closed.js.map +1 -0
  1122. package/dist/check/rules/tree-context-doc.d.ts +3 -0
  1123. package/dist/check/rules/tree-context-doc.d.ts.map +1 -0
  1124. package/dist/check/rules/tree-context-doc.js +67 -0
  1125. package/dist/check/rules/tree-context-doc.js.map +1 -0
  1126. package/dist/check/scan/blank.d.ts +3 -0
  1127. package/dist/check/scan/blank.d.ts.map +1 -0
  1128. package/dist/check/scan/blank.js +5 -0
  1129. package/dist/check/scan/blank.js.map +1 -0
  1130. package/dist/check/scan/block-comment-record.d.ts +11 -0
  1131. package/dist/check/scan/block-comment-record.d.ts.map +1 -0
  1132. package/dist/check/scan/block-comment-record.js +2 -0
  1133. package/dist/check/scan/block-comment-record.js.map +1 -0
  1134. package/dist/check/scan/clause-names.d.ts +7 -0
  1135. package/dist/check/scan/clause-names.d.ts.map +1 -0
  1136. package/dist/check/scan/clause-names.js +24 -0
  1137. package/dist/check/scan/clause-names.js.map +1 -0
  1138. package/dist/check/scan/comment-record.d.ts +9 -0
  1139. package/dist/check/scan/comment-record.d.ts.map +1 -0
  1140. package/dist/check/scan/comment-record.js +2 -0
  1141. package/dist/check/scan/comment-record.js.map +1 -0
  1142. package/dist/check/scan/find-imports.d.ts +5 -0
  1143. package/dist/check/scan/find-imports.d.ts.map +1 -0
  1144. package/dist/check/scan/find-imports.js +9 -0
  1145. package/dist/check/scan/find-imports.js.map +1 -0
  1146. package/dist/check/scan/found-statement.d.ts +8 -0
  1147. package/dist/check/scan/found-statement.d.ts.map +1 -0
  1148. package/dist/check/scan/found-statement.js +2 -0
  1149. package/dist/check/scan/found-statement.js.map +1 -0
  1150. package/dist/check/scan/import-record.d.ts +12 -0
  1151. package/dist/check/scan/import-record.d.ts.map +1 -0
  1152. package/dist/check/scan/import-record.js +2 -0
  1153. package/dist/check/scan/import-record.js.map +1 -0
  1154. package/dist/check/scan/lexer.d.ts +37 -0
  1155. package/dist/check/scan/lexer.d.ts.map +1 -0
  1156. package/dist/check/scan/lexer.js +220 -0
  1157. package/dist/check/scan/lexer.js.map +1 -0
  1158. package/dist/check/scan/scan.d.ts +16 -0
  1159. package/dist/check/scan/scan.d.ts.map +1 -0
  1160. package/dist/check/scan/scan.js +17 -0
  1161. package/dist/check/scan/scan.js.map +1 -0
  1162. package/dist/check/scan/statement-of.d.ts +5 -0
  1163. package/dist/check/scan/statement-of.d.ts.map +1 -0
  1164. package/dist/check/scan/statement-of.js +70 -0
  1165. package/dist/check/scan/statement-of.js.map +1 -0
  1166. package/dist/check/scan/string-record.d.ts +7 -0
  1167. package/dist/check/scan/string-record.d.ts.map +1 -0
  1168. package/dist/check/scan/string-record.js +2 -0
  1169. package/dist/check/scan/string-record.js.map +1 -0
  1170. package/dist/check/scheduling/is-job-file.d.ts +4 -0
  1171. package/dist/check/scheduling/is-job-file.d.ts.map +1 -0
  1172. package/dist/check/scheduling/is-job-file.js +8 -0
  1173. package/dist/check/scheduling/is-job-file.js.map +1 -0
  1174. package/dist/check/scheduling/job-names.d.ts +12 -0
  1175. package/dist/check/scheduling/job-names.d.ts.map +1 -0
  1176. package/dist/check/scheduling/job-names.js +28 -0
  1177. package/dist/check/scheduling/job-names.js.map +1 -0
  1178. package/dist/check/standard/boundary-names.d.ts +3 -0
  1179. package/dist/check/standard/boundary-names.d.ts.map +1 -0
  1180. package/dist/check/standard/boundary-names.js +3 -0
  1181. package/dist/check/standard/boundary-names.js.map +1 -0
  1182. package/dist/check/standard/parallel-names.d.ts +4 -0
  1183. package/dist/check/standard/parallel-names.d.ts.map +1 -0
  1184. package/dist/check/standard/parallel-names.js +76 -0
  1185. package/dist/check/standard/parallel-names.js.map +1 -0
  1186. package/dist/check/standard/standard-interfaces-fix.d.ts +2 -0
  1187. package/dist/check/standard/standard-interfaces-fix.d.ts.map +1 -0
  1188. package/dist/check/standard/standard-interfaces-fix.js +2 -0
  1189. package/dist/check/standard/standard-interfaces-fix.js.map +1 -0
  1190. package/dist/check/standard/standard-names-in.d.ts +3 -0
  1191. package/dist/check/standard/standard-names-in.d.ts.map +1 -0
  1192. package/dist/check/standard/standard-names-in.js +5 -0
  1193. package/dist/check/standard/standard-names-in.js.map +1 -0
  1194. package/dist/check/structure/class-shape.d.ts +19 -0
  1195. package/dist/check/structure/class-shape.d.ts.map +1 -0
  1196. package/dist/check/structure/class-shape.js +2 -0
  1197. package/dist/check/structure/class-shape.js.map +1 -0
  1198. package/dist/check/structure/function-shape.d.ts +13 -0
  1199. package/dist/check/structure/function-shape.d.ts.map +1 -0
  1200. package/dist/check/structure/function-shape.js +2 -0
  1201. package/dist/check/structure/function-shape.js.map +1 -0
  1202. package/dist/check/structure/inline-functions.d.ts +15 -0
  1203. package/dist/check/structure/inline-functions.d.ts.map +1 -0
  1204. package/dist/check/structure/inline-functions.js +90 -0
  1205. package/dist/check/structure/inline-functions.js.map +1 -0
  1206. package/dist/check/structure/method-shape.d.ts +8 -0
  1207. package/dist/check/structure/method-shape.d.ts.map +1 -0
  1208. package/dist/check/structure/method-shape.js +2 -0
  1209. package/dist/check/structure/method-shape.js.map +1 -0
  1210. package/dist/check/structure/methods-of.d.ts +9 -0
  1211. package/dist/check/structure/methods-of.d.ts.map +1 -0
  1212. package/dist/check/structure/methods-of.js +82 -0
  1213. package/dist/check/structure/methods-of.js.map +1 -0
  1214. package/dist/check/structure/read-structure.d.ts +14 -0
  1215. package/dist/check/structure/read-structure.d.ts.map +1 -0
  1216. package/dist/check/structure/read-structure.js +75 -0
  1217. package/dist/check/structure/read-structure.js.map +1 -0
  1218. package/dist/check/structure/signature-at.d.ts +10 -0
  1219. package/dist/check/structure/signature-at.d.ts.map +1 -0
  1220. package/dist/check/structure/signature-at.js +50 -0
  1221. package/dist/check/structure/signature-at.js.map +1 -0
  1222. package/dist/check/structure/statement-blocks.d.ts +13 -0
  1223. package/dist/check/structure/statement-blocks.d.ts.map +1 -0
  1224. package/dist/check/structure/statement-blocks.js +71 -0
  1225. package/dist/check/structure/statement-blocks.js.map +1 -0
  1226. package/dist/check/structure/top-level-function.d.ts +5 -0
  1227. package/dist/check/structure/top-level-function.d.ts.map +1 -0
  1228. package/dist/check/structure/top-level-function.js +2 -0
  1229. package/dist/check/structure/top-level-function.js.map +1 -0
  1230. package/dist/check/support/binding-place.d.ts +4 -0
  1231. package/dist/check/support/binding-place.d.ts.map +1 -0
  1232. package/dist/check/support/binding-place.js +8 -0
  1233. package/dist/check/support/binding-place.js.map +1 -0
  1234. package/dist/check/support/describe-target.d.ts +3 -0
  1235. package/dist/check/support/describe-target.d.ts.map +1 -0
  1236. package/dist/check/support/describe-target.js +11 -0
  1237. package/dist/check/support/describe-target.js.map +1 -0
  1238. package/dist/check/support/imported-from.d.ts +5 -0
  1239. package/dist/check/support/imported-from.d.ts.map +1 -0
  1240. package/dist/check/support/imported-from.js +5 -0
  1241. package/dist/check/support/imported-from.js.map +1 -0
  1242. package/dist/check/support/imports-package.d.ts +4 -0
  1243. package/dist/check/support/imports-package.d.ts.map +1 -0
  1244. package/dist/check/support/imports-package.js +5 -0
  1245. package/dist/check/support/imports-package.js.map +1 -0
  1246. package/dist/check/support/in-context.d.ts +4 -0
  1247. package/dist/check/support/in-context.d.ts.map +1 -0
  1248. package/dist/check/support/in-context.js +4 -0
  1249. package/dist/check/support/in-context.js.map +1 -0
  1250. package/dist/check/support/in-layer.d.ts +6 -0
  1251. package/dist/check/support/in-layer.d.ts.map +1 -0
  1252. package/dist/check/support/in-layer.js +6 -0
  1253. package/dist/check/support/in-layer.js.map +1 -0
  1254. package/dist/check/support/in-layers.d.ts +6 -0
  1255. package/dist/check/support/in-layers.d.ts.map +1 -0
  1256. package/dist/check/support/in-layers.js +6 -0
  1257. package/dist/check/support/in-layers.js.map +1 -0
  1258. package/dist/check/support/is-declared-style.d.ts +4 -0
  1259. package/dist/check/support/is-declared-style.d.ts.map +1 -0
  1260. package/dist/check/support/is-declared-style.js +5 -0
  1261. package/dist/check/support/is-declared-style.js.map +1 -0
  1262. package/dist/check/support/is-port-file.d.ts +4 -0
  1263. package/dist/check/support/is-port-file.d.ts.map +1 -0
  1264. package/dist/check/support/is-port-file.js +12 -0
  1265. package/dist/check/support/is-port-file.js.map +1 -0
  1266. package/dist/check/support/is-record.d.ts +2 -0
  1267. package/dist/check/support/is-record.d.ts.map +1 -0
  1268. package/dist/check/support/is-record.js +4 -0
  1269. package/dist/check/support/is-record.js.map +1 -0
  1270. package/dist/check/support/kebab-segment.d.ts +2 -0
  1271. package/dist/check/support/kebab-segment.d.ts.map +1 -0
  1272. package/dist/check/support/kebab-segment.js +2 -0
  1273. package/dist/check/support/kebab-segment.js.map +1 -0
  1274. package/dist/check/support/line-of-sequence.d.ts +3 -0
  1275. package/dist/check/support/line-of-sequence.d.ts.map +1 -0
  1276. package/dist/check/support/line-of-sequence.js +13 -0
  1277. package/dist/check/support/line-of-sequence.js.map +1 -0
  1278. package/dist/check/support/line-of.d.ts +3 -0
  1279. package/dist/check/support/line-of.d.ts.map +1 -0
  1280. package/dist/check/support/line-of.js +6 -0
  1281. package/dist/check/support/line-of.js.map +1 -0
  1282. package/dist/check/support/path-in-context.d.ts +5 -0
  1283. package/dist/check/support/path-in-context.d.ts.map +1 -0
  1284. package/dist/check/support/path-in-context.js +9 -0
  1285. package/dist/check/support/path-in-context.js.map +1 -0
  1286. package/dist/check/support/per-file.d.ts +7 -0
  1287. package/dist/check/support/per-file.d.ts.map +1 -0
  1288. package/dist/check/support/per-file.js +8 -0
  1289. package/dist/check/support/per-file.js.map +1 -0
  1290. package/dist/check/support/reporter.d.ts +5 -0
  1291. package/dist/check/support/reporter.d.ts.map +1 -0
  1292. package/dist/check/support/reporter.js +6 -0
  1293. package/dist/check/support/reporter.js.map +1 -0
  1294. package/dist/check/support/role-directory.d.ts +4 -0
  1295. package/dist/check/support/role-directory.d.ts.map +1 -0
  1296. package/dist/check/support/role-directory.js +5 -0
  1297. package/dist/check/support/role-directory.js.map +1 -0
  1298. package/dist/check/support/source-declaring.d.ts +5 -0
  1299. package/dist/check/support/source-declaring.d.ts.map +1 -0
  1300. package/dist/check/support/source-declaring.js +8 -0
  1301. package/dist/check/support/source-declaring.js.map +1 -0
  1302. package/dist/check/support/to-violations.d.ts +5 -0
  1303. package/dist/check/support/to-violations.d.ts.map +1 -0
  1304. package/dist/check/support/to-violations.js +4 -0
  1305. package/dist/check/support/to-violations.js.map +1 -0
  1306. package/dist/check/suppressions/find-suppressions.d.ts +10 -0
  1307. package/dist/check/suppressions/find-suppressions.d.ts.map +1 -0
  1308. package/dist/check/suppressions/find-suppressions.js +23 -0
  1309. package/dist/check/suppressions/find-suppressions.js.map +1 -0
  1310. package/dist/check/suppressions/is-suppressed.d.ts +8 -0
  1311. package/dist/check/suppressions/is-suppressed.d.ts.map +1 -0
  1312. package/dist/check/suppressions/is-suppressed.js +11 -0
  1313. package/dist/check/suppressions/is-suppressed.js.map +1 -0
  1314. package/dist/check/suppressions/suppression-rule-id.d.ts +2 -0
  1315. package/dist/check/suppressions/suppression-rule-id.d.ts.map +1 -0
  1316. package/dist/check/suppressions/suppression-rule-id.js +2 -0
  1317. package/dist/check/suppressions/suppression-rule-id.js.map +1 -0
  1318. package/dist/check/suppressions/suppression-violations.d.ts +6 -0
  1319. package/dist/check/suppressions/suppression-violations.d.ts.map +1 -0
  1320. package/dist/check/suppressions/suppression-violations.js +25 -0
  1321. package/dist/check/suppressions/suppression-violations.js.map +1 -0
  1322. package/dist/check/text/after-type-parameters.d.ts +3 -0
  1323. package/dist/check/text/after-type-parameters.d.ts.map +1 -0
  1324. package/dist/check/text/after-type-parameters.js +19 -0
  1325. package/dist/check/text/after-type-parameters.js.map +1 -0
  1326. package/dist/check/text/brace-depth-at.d.ts +2 -0
  1327. package/dist/check/text/brace-depth-at.d.ts.map +1 -0
  1328. package/dist/check/text/brace-depth-at.js +5 -0
  1329. package/dist/check/text/brace-depth-at.js.map +1 -0
  1330. package/dist/check/text/brackets.d.ts +6 -0
  1331. package/dist/check/text/brackets.d.ts.map +1 -0
  1332. package/dist/check/text/brackets.js +3 -0
  1333. package/dist/check/text/brackets.js.map +1 -0
  1334. package/dist/check/text/call-arguments.d.ts +4 -0
  1335. package/dist/check/text/call-arguments.d.ts.map +1 -0
  1336. package/dist/check/text/call-arguments.js +8 -0
  1337. package/dist/check/text/call-arguments.js.map +1 -0
  1338. package/dist/check/text/call-end.d.ts +3 -0
  1339. package/dist/check/text/call-end.d.ts.map +1 -0
  1340. package/dist/check/text/call-end.js +17 -0
  1341. package/dist/check/text/call-end.js.map +1 -0
  1342. package/dist/check/text/chain-end.d.ts +3 -0
  1343. package/dist/check/text/chain-end.d.ts.map +1 -0
  1344. package/dist/check/text/chain-end.js +14 -0
  1345. package/dist/check/text/chain-end.js.map +1 -0
  1346. package/dist/check/text/end-at-depth-zero.d.ts +3 -0
  1347. package/dist/check/text/end-at-depth-zero.d.ts.map +1 -0
  1348. package/dist/check/text/end-at-depth-zero.js +19 -0
  1349. package/dist/check/text/end-at-depth-zero.js.map +1 -0
  1350. package/dist/check/text/escape-reg-exp.d.ts +3 -0
  1351. package/dist/check/text/escape-reg-exp.d.ts.map +1 -0
  1352. package/dist/check/text/escape-reg-exp.js +5 -0
  1353. package/dist/check/text/escape-reg-exp.js.map +1 -0
  1354. package/dist/check/text/exported-class.d.ts +8 -0
  1355. package/dist/check/text/exported-class.d.ts.map +1 -0
  1356. package/dist/check/text/exported-class.js +8 -0
  1357. package/dist/check/text/exported-class.js.map +1 -0
  1358. package/dist/check/text/first-argument.d.ts +3 -0
  1359. package/dist/check/text/first-argument.d.ts.map +1 -0
  1360. package/dist/check/text/first-argument.js +6 -0
  1361. package/dist/check/text/first-argument.js.map +1 -0
  1362. package/dist/check/text/identifier.d.ts +3 -0
  1363. package/dist/check/text/identifier.d.ts.map +1 -0
  1364. package/dist/check/text/identifier.js +6 -0
  1365. package/dist/check/text/identifier.js.map +1 -0
  1366. package/dist/check/text/list-part.d.ts +6 -0
  1367. package/dist/check/text/list-part.d.ts.map +1 -0
  1368. package/dist/check/text/list-part.js +2 -0
  1369. package/dist/check/text/list-part.js.map +1 -0
  1370. package/dist/check/text/matching-bracket.d.ts +3 -0
  1371. package/dist/check/text/matching-bracket.d.ts.map +1 -0
  1372. package/dist/check/text/matching-bracket.js +16 -0
  1373. package/dist/check/text/matching-bracket.js.map +1 -0
  1374. package/dist/check/text/split-at-commas.d.ts +4 -0
  1375. package/dist/check/text/split-at-commas.d.ts.map +1 -0
  1376. package/dist/check/text/split-at-commas.js +21 -0
  1377. package/dist/check/text/split-at-commas.js.map +1 -0
  1378. package/dist/check/text/split-parameters.d.ts +3 -0
  1379. package/dist/check/text/split-parameters.d.ts.map +1 -0
  1380. package/dist/check/text/split-parameters.js +14 -0
  1381. package/dist/check/text/split-parameters.js.map +1 -0
  1382. package/dist/check/text/split-top-level.d.ts +4 -0
  1383. package/dist/check/text/split-top-level.d.ts.map +1 -0
  1384. package/dist/check/text/split-top-level.js +12 -0
  1385. package/dist/check/text/split-top-level.js.map +1 -0
  1386. package/dist/check/text/statement-end.d.ts +3 -0
  1387. package/dist/check/text/statement-end.d.ts.map +1 -0
  1388. package/dist/check/text/statement-end.js +6 -0
  1389. package/dist/check/text/statement-end.js.map +1 -0
  1390. package/dist/cli-error.d.ts +7 -0
  1391. package/dist/cli-error.d.ts.map +1 -0
  1392. package/dist/cli-error.js +11 -0
  1393. package/dist/cli-error.js.map +1 -0
  1394. package/dist/commands/arguments.d.ts +22 -0
  1395. package/dist/commands/arguments.d.ts.map +1 -0
  1396. package/dist/commands/arguments.js +65 -0
  1397. package/dist/commands/arguments.js.map +1 -0
  1398. package/dist/commands/build-aliases.d.ts +4 -0
  1399. package/dist/commands/build-aliases.d.ts.map +1 -0
  1400. package/dist/commands/build-aliases.js +18 -0
  1401. package/dist/commands/build-aliases.js.map +1 -0
  1402. package/dist/commands/check.d.ts +4 -0
  1403. package/dist/commands/check.d.ts.map +1 -0
  1404. package/dist/commands/check.js +4 -0
  1405. package/dist/commands/check.js.map +1 -0
  1406. package/dist/commands/checks.d.ts +4 -0
  1407. package/dist/commands/checks.d.ts.map +1 -0
  1408. package/dist/commands/checks.js +5 -0
  1409. package/dist/commands/checks.js.map +1 -0
  1410. package/dist/commands/command.d.ts +4 -0
  1411. package/dist/commands/command.d.ts.map +1 -0
  1412. package/dist/commands/command.js +2 -0
  1413. package/dist/commands/command.js.map +1 -0
  1414. package/dist/commands/commit-size.d.ts +4 -0
  1415. package/dist/commands/commit-size.d.ts.map +1 -0
  1416. package/dist/commands/commit-size.js +17 -0
  1417. package/dist/commands/commit-size.js.map +1 -0
  1418. package/dist/commands/depcruise-config.d.ts +4 -0
  1419. package/dist/commands/depcruise-config.d.ts.map +1 -0
  1420. package/dist/commands/depcruise-config.js +37 -0
  1421. package/dist/commands/depcruise-config.js.map +1 -0
  1422. package/dist/commands/describe.d.ts +4 -0
  1423. package/dist/commands/describe.d.ts.map +1 -0
  1424. package/dist/commands/describe.js +18 -0
  1425. package/dist/commands/describe.js.map +1 -0
  1426. package/dist/commands/docs.d.ts +3 -0
  1427. package/dist/commands/docs.d.ts.map +1 -0
  1428. package/dist/commands/docs.js +31 -0
  1429. package/dist/commands/docs.js.map +1 -0
  1430. package/dist/commands/find-root.d.ts +3 -0
  1431. package/dist/commands/find-root.d.ts.map +1 -0
  1432. package/dist/commands/find-root.js +18 -0
  1433. package/dist/commands/find-root.js.map +1 -0
  1434. package/dist/commands/format-context.d.ts +9 -0
  1435. package/dist/commands/format-context.d.ts.map +1 -0
  1436. package/dist/commands/format-context.js +45 -0
  1437. package/dist/commands/format-context.js.map +1 -0
  1438. package/dist/commands/generate.d.ts +3 -0
  1439. package/dist/commands/generate.d.ts.map +1 -0
  1440. package/dist/commands/generate.js +132 -0
  1441. package/dist/commands/generate.js.map +1 -0
  1442. package/dist/commands/init.d.ts +3 -0
  1443. package/dist/commands/init.d.ts.map +1 -0
  1444. package/dist/commands/init.js +55 -0
  1445. package/dist/commands/init.js.map +1 -0
  1446. package/dist/commands/io.d.ts +6 -0
  1447. package/dist/commands/io.d.ts.map +1 -0
  1448. package/dist/commands/io.js +2 -0
  1449. package/dist/commands/io.js.map +1 -0
  1450. package/dist/commands/known-context.d.ts +4 -0
  1451. package/dist/commands/known-context.d.ts.map +1 -0
  1452. package/dist/commands/known-context.js +13 -0
  1453. package/dist/commands/known-context.js.map +1 -0
  1454. package/dist/commands/list.d.ts +3 -0
  1455. package/dist/commands/list.d.ts.map +1 -0
  1456. package/dist/commands/list.js +42 -0
  1457. package/dist/commands/list.js.map +1 -0
  1458. package/dist/commands/print-report.d.ts +6 -0
  1459. package/dist/commands/print-report.d.ts.map +1 -0
  1460. package/dist/commands/print-report.js +29 -0
  1461. package/dist/commands/print-report.js.map +1 -0
  1462. package/dist/commands/status.d.ts +4 -0
  1463. package/dist/commands/status.d.ts.map +1 -0
  1464. package/dist/commands/status.js +14 -0
  1465. package/dist/commands/status.js.map +1 -0
  1466. package/dist/commands/todo.d.ts +4 -0
  1467. package/dist/commands/todo.d.ts.map +1 -0
  1468. package/dist/commands/todo.js +28 -0
  1469. package/dist/commands/todo.js.map +1 -0
  1470. package/dist/commands/worker-scope.d.ts +4 -0
  1471. package/dist/commands/worker-scope.d.ts.map +1 -0
  1472. package/dist/commands/worker-scope.js +34 -0
  1473. package/dist/commands/worker-scope.js.map +1 -0
  1474. package/dist/commit/change.d.ts +7 -0
  1475. package/dist/commit/change.d.ts.map +1 -0
  1476. package/dist/commit/change.js +2 -0
  1477. package/dist/commit/change.js.map +1 -0
  1478. package/dist/commit/commit-size.d.ts +21 -0
  1479. package/dist/commit/commit-size.d.ts.map +1 -0
  1480. package/dist/commit/commit-size.js +2 -0
  1481. package/dist/commit/commit-size.js.map +1 -0
  1482. package/dist/commit/format-commit-size.d.ts +4 -0
  1483. package/dist/commit/format-commit-size.d.ts.map +1 -0
  1484. package/dist/commit/format-commit-size.js +24 -0
  1485. package/dist/commit/format-commit-size.js.map +1 -0
  1486. package/dist/commit/is-derived.d.ts +4 -0
  1487. package/dist/commit/is-derived.d.ts.map +1 -0
  1488. package/dist/commit/is-derived.js +22 -0
  1489. package/dist/commit/is-derived.js.map +1 -0
  1490. package/dist/commit/measure-commit.d.ts +5 -0
  1491. package/dist/commit/measure-commit.d.ts.map +1 -0
  1492. package/dist/commit/measure-commit.js +28 -0
  1493. package/dist/commit/measure-commit.js.map +1 -0
  1494. package/dist/commit/read-changes.d.ts +8 -0
  1495. package/dist/commit/read-changes.d.ts.map +1 -0
  1496. package/dist/commit/read-changes.js +55 -0
  1497. package/dist/commit/read-changes.js.map +1 -0
  1498. package/dist/commit/run-git.d.ts +3 -0
  1499. package/dist/commit/run-git.d.ts.map +1 -0
  1500. package/dist/commit/run-git.js +7 -0
  1501. package/dist/commit/run-git.js.map +1 -0
  1502. package/dist/commit/slice-of.d.ts +4 -0
  1503. package/dist/commit/slice-of.d.ts.map +1 -0
  1504. package/dist/commit/slice-of.js +22 -0
  1505. package/dist/commit/slice-of.js.map +1 -0
  1506. package/dist/commit/worker-scope-file.d.ts +3 -0
  1507. package/dist/commit/worker-scope-file.d.ts.map +1 -0
  1508. package/dist/commit/worker-scope-file.js +3 -0
  1509. package/dist/commit/worker-scope-file.js.map +1 -0
  1510. package/dist/config/add-context-to-config-text.d.ts +7 -0
  1511. package/dist/config/add-context-to-config-text.d.ts.map +1 -0
  1512. package/dist/config/add-context-to-config-text.js +14 -0
  1513. package/dist/config/add-context-to-config-text.js.map +1 -0
  1514. package/dist/config/classifications.d.ts +2 -0
  1515. package/dist/config/classifications.d.ts.map +1 -0
  1516. package/dist/config/classifications.js +2 -0
  1517. package/dist/config/classifications.js.map +1 -0
  1518. package/dist/config/commit-limit-problems.d.ts +10 -0
  1519. package/dist/config/commit-limit-problems.d.ts.map +1 -0
  1520. package/dist/config/commit-limit-problems.js +35 -0
  1521. package/dist/config/commit-limit-problems.js.map +1 -0
  1522. package/dist/config/commit-limits.d.ts +6 -0
  1523. package/dist/config/commit-limits.d.ts.map +1 -0
  1524. package/dist/config/commit-limits.js +2 -0
  1525. package/dist/config/commit-limits.js.map +1 -0
  1526. package/dist/config/config-file.d.ts +2 -0
  1527. package/dist/config/config-file.d.ts.map +1 -0
  1528. package/dist/config/config-file.js +2 -0
  1529. package/dist/config/config-file.js.map +1 -0
  1530. package/dist/config/config.d.ts +60 -0
  1531. package/dist/config/config.d.ts.map +1 -0
  1532. package/dist/config/config.js +2 -0
  1533. package/dist/config/config.js.map +1 -0
  1534. package/dist/config/coverage-layers.d.ts +3 -0
  1535. package/dist/config/coverage-layers.d.ts.map +1 -0
  1536. package/dist/config/coverage-layers.js +3 -0
  1537. package/dist/config/coverage-layers.js.map +1 -0
  1538. package/dist/config/coverage-metrics.d.ts +3 -0
  1539. package/dist/config/coverage-metrics.d.ts.map +1 -0
  1540. package/dist/config/coverage-metrics.js +3 -0
  1541. package/dist/config/coverage-metrics.js.map +1 -0
  1542. package/dist/config/coverage-problems.d.ts +10 -0
  1543. package/dist/config/coverage-problems.d.ts.map +1 -0
  1544. package/dist/config/coverage-problems.js +68 -0
  1545. package/dist/config/coverage-problems.js.map +1 -0
  1546. package/dist/config/coverage.d.ts +6 -0
  1547. package/dist/config/coverage.d.ts.map +1 -0
  1548. package/dist/config/coverage.js +2 -0
  1549. package/dist/config/coverage.js.map +1 -0
  1550. package/dist/config/default-allowed-packages.d.ts +9 -0
  1551. package/dist/config/default-allowed-packages.d.ts.map +1 -0
  1552. package/dist/config/default-allowed-packages.js +27 -0
  1553. package/dist/config/default-allowed-packages.js.map +1 -0
  1554. package/dist/config/default-commit-limits.d.ts +4 -0
  1555. package/dist/config/default-commit-limits.d.ts.map +1 -0
  1556. package/dist/config/default-commit-limits.js +3 -0
  1557. package/dist/config/default-commit-limits.js.map +1 -0
  1558. package/dist/config/default-import-alias.d.ts +2 -0
  1559. package/dist/config/default-import-alias.d.ts.map +1 -0
  1560. package/dist/config/default-import-alias.js +2 -0
  1561. package/dist/config/default-import-alias.js.map +1 -0
  1562. package/dist/config/edit-config-text.d.ts +3 -0
  1563. package/dist/config/edit-config-text.d.ts.map +1 -0
  1564. package/dist/config/edit-config-text.js +12 -0
  1565. package/dist/config/edit-config-text.js.map +1 -0
  1566. package/dist/config/function-lines-ceiling.d.ts +3 -0
  1567. package/dist/config/function-lines-ceiling.d.ts.map +1 -0
  1568. package/dist/config/function-lines-ceiling.js +3 -0
  1569. package/dist/config/function-lines-ceiling.js.map +1 -0
  1570. package/dist/config/guard-modes.d.ts +2 -0
  1571. package/dist/config/guard-modes.d.ts.map +1 -0
  1572. package/dist/config/guard-modes.js +2 -0
  1573. package/dist/config/guard-modes.js.map +1 -0
  1574. package/dist/config/index.d.ts +23 -0
  1575. package/dist/config/index.d.ts.map +1 -0
  1576. package/dist/config/index.js +21 -0
  1577. package/dist/config/index.js.map +1 -0
  1578. package/dist/config/is-one-of.d.ts +2 -0
  1579. package/dist/config/is-one-of.d.ts.map +1 -0
  1580. package/dist/config/is-one-of.js +4 -0
  1581. package/dist/config/is-one-of.js.map +1 -0
  1582. package/dist/config/is-positive-integer.d.ts +2 -0
  1583. package/dist/config/is-positive-integer.d.ts.map +1 -0
  1584. package/dist/config/is-positive-integer.js +4 -0
  1585. package/dist/config/is-positive-integer.js.map +1 -0
  1586. package/dist/config/is-rate.d.ts +3 -0
  1587. package/dist/config/is-rate.d.ts.map +1 -0
  1588. package/dist/config/is-rate.js +5 -0
  1589. package/dist/config/is-rate.js.map +1 -0
  1590. package/dist/config/is-reference-coverage.d.ts +4 -0
  1591. package/dist/config/is-reference-coverage.d.ts.map +1 -0
  1592. package/dist/config/is-reference-coverage.js +8 -0
  1593. package/dist/config/is-reference-coverage.js.map +1 -0
  1594. package/dist/config/parse-commit-limits.d.ts +4 -0
  1595. package/dist/config/parse-commit-limits.d.ts.map +1 -0
  1596. package/dist/config/parse-commit-limits.js +10 -0
  1597. package/dist/config/parse-commit-limits.js.map +1 -0
  1598. package/dist/config/parse-config.d.ts +7 -0
  1599. package/dist/config/parse-config.d.ts.map +1 -0
  1600. package/dist/config/parse-config.js +71 -0
  1601. package/dist/config/parse-config.js.map +1 -0
  1602. package/dist/config/parse-context.d.ts +3 -0
  1603. package/dist/config/parse-context.d.ts.map +1 -0
  1604. package/dist/config/parse-context.js +34 -0
  1605. package/dist/config/parse-context.js.map +1 -0
  1606. package/dist/config/parse-coverage.d.ts +4 -0
  1607. package/dist/config/parse-coverage.d.ts.map +1 -0
  1608. package/dist/config/parse-coverage.js +27 -0
  1609. package/dist/config/parse-coverage.js.map +1 -0
  1610. package/dist/config/parse-limits.d.ts +3 -0
  1611. package/dist/config/parse-limits.d.ts.map +1 -0
  1612. package/dist/config/parse-limits.js +14 -0
  1613. package/dist/config/parse-limits.js.map +1 -0
  1614. package/dist/config/parse-one-per-file.d.ts +4 -0
  1615. package/dist/config/parse-one-per-file.d.ts.map +1 -0
  1616. package/dist/config/parse-one-per-file.js +14 -0
  1617. package/dist/config/parse-one-per-file.js.map +1 -0
  1618. package/dist/config/parse-stack.d.ts +3 -0
  1619. package/dist/config/parse-stack.d.ts.map +1 -0
  1620. package/dist/config/parse-stack.js +45 -0
  1621. package/dist/config/parse-stack.js.map +1 -0
  1622. package/dist/config/read-config.d.ts +8 -0
  1623. package/dist/config/read-config.d.ts.map +1 -0
  1624. package/dist/config/read-config.js +26 -0
  1625. package/dist/config/read-config.js.map +1 -0
  1626. package/dist/config/reference-coverage.d.ts +10 -0
  1627. package/dist/config/reference-coverage.d.ts.map +1 -0
  1628. package/dist/config/reference-coverage.js +14 -0
  1629. package/dist/config/reference-coverage.js.map +1 -0
  1630. package/dist/config/relationships.d.ts +2 -0
  1631. package/dist/config/relationships.d.ts.map +1 -0
  1632. package/dist/config/relationships.js +9 -0
  1633. package/dist/config/relationships.js.map +1 -0
  1634. package/dist/config/serialize-config.d.ts +4 -0
  1635. package/dist/config/serialize-config.d.ts.map +1 -0
  1636. package/dist/config/serialize-config.js +50 -0
  1637. package/dist/config/serialize-config.js.map +1 -0
  1638. package/dist/config/severities.d.ts +3 -0
  1639. package/dist/config/severities.d.ts.map +1 -0
  1640. package/dist/config/severities.js +2 -0
  1641. package/dist/config/severities.js.map +1 -0
  1642. package/dist/config/stack.d.ts +57 -0
  1643. package/dist/config/stack.d.ts.map +1 -0
  1644. package/dist/config/stack.js +19 -0
  1645. package/dist/config/stack.js.map +1 -0
  1646. package/dist/config/values/is-record.d.ts +2 -0
  1647. package/dist/config/values/is-record.d.ts.map +1 -0
  1648. package/dist/config/values/is-record.js +4 -0
  1649. package/dist/config/values/is-record.js.map +1 -0
  1650. package/dist/config/values/map-entries.d.ts +2 -0
  1651. package/dist/config/values/map-entries.d.ts.map +1 -0
  1652. package/dist/config/values/map-entries.js +5 -0
  1653. package/dist/config/values/map-entries.js.map +1 -0
  1654. package/dist/config/values/posix.d.ts +2 -0
  1655. package/dist/config/values/posix.d.ts.map +1 -0
  1656. package/dist/config/values/posix.js +4 -0
  1657. package/dist/config/values/posix.js.map +1 -0
  1658. package/dist/config/values/strings.d.ts +2 -0
  1659. package/dist/config/values/strings.d.ts.map +1 -0
  1660. package/dist/config/values/strings.js +4 -0
  1661. package/dist/config/values/strings.js.map +1 -0
  1662. package/dist/config/values/text.d.ts +2 -0
  1663. package/dist/config/values/text.d.ts.map +1 -0
  1664. package/dist/config/values/text.js +4 -0
  1665. package/dist/config/values/text.js.map +1 -0
  1666. package/dist/declared/barrel-file.d.ts +3 -0
  1667. package/dist/declared/barrel-file.d.ts.map +1 -0
  1668. package/dist/declared/barrel-file.js +5 -0
  1669. package/dist/declared/barrel-file.js.map +1 -0
  1670. package/dist/declared/declared-role-of.d.ts +4 -0
  1671. package/dist/declared/declared-role-of.d.ts.map +1 -0
  1672. package/dist/declared/declared-role-of.js +10 -0
  1673. package/dist/declared/declared-role-of.js.map +1 -0
  1674. package/dist/declared/declared-role.d.ts +20 -0
  1675. package/dist/declared/declared-role.d.ts.map +1 -0
  1676. package/dist/declared/declared-role.js +25 -0
  1677. package/dist/declared/declared-role.js.map +1 -0
  1678. package/dist/declared/index.d.ts +6 -0
  1679. package/dist/declared/index.d.ts.map +1 -0
  1680. package/dist/declared/index.js +6 -0
  1681. package/dist/declared/index.js.map +1 -0
  1682. package/dist/declared/render-barrel.d.ts +8 -0
  1683. package/dist/declared/render-barrel.d.ts.map +1 -0
  1684. package/dist/declared/render-barrel.js +21 -0
  1685. package/dist/declared/render-barrel.js.map +1 -0
  1686. package/dist/declared/routes-file.d.ts +3 -0
  1687. package/dist/declared/routes-file.d.ts.map +1 -0
  1688. package/dist/declared/routes-file.js +5 -0
  1689. package/dist/declared/routes-file.js.map +1 -0
  1690. package/dist/depcruise/context-rules.d.ts +4 -0
  1691. package/dist/depcruise/context-rules.d.ts.map +1 -0
  1692. package/dist/depcruise/context-rules.js +51 -0
  1693. package/dist/depcruise/context-rules.js.map +1 -0
  1694. package/dist/depcruise/cruise-configuration.d.ts +13 -0
  1695. package/dist/depcruise/cruise-configuration.d.ts.map +1 -0
  1696. package/dist/depcruise/cruise-configuration.js +37 -0
  1697. package/dist/depcruise/cruise-configuration.js.map +1 -0
  1698. package/dist/depcruise/cruise-rule.d.ts +9 -0
  1699. package/dist/depcruise/cruise-rule.d.ts.map +1 -0
  1700. package/dist/depcruise/cruise-rule.js +2 -0
  1701. package/dist/depcruise/cruise-rule.js.map +1 -0
  1702. package/dist/depcruise/depcruise-file.d.ts +3 -0
  1703. package/dist/depcruise/depcruise-file.d.ts.map +1 -0
  1704. package/dist/depcruise/depcruise-file.js +3 -0
  1705. package/dist/depcruise/depcruise-file.js.map +1 -0
  1706. package/dist/depcruise/escape-pattern.d.ts +3 -0
  1707. package/dist/depcruise/escape-pattern.d.ts.map +1 -0
  1708. package/dist/depcruise/escape-pattern.js +5 -0
  1709. package/dist/depcruise/escape-pattern.js.map +1 -0
  1710. package/dist/depcruise/hygiene-rules.d.ts +4 -0
  1711. package/dist/depcruise/hygiene-rules.d.ts.map +1 -0
  1712. package/dist/depcruise/hygiene-rules.js +74 -0
  1713. package/dist/depcruise/hygiene-rules.js.map +1 -0
  1714. package/dist/depcruise/layer-rules.d.ts +4 -0
  1715. package/dist/depcruise/layer-rules.d.ts.map +1 -0
  1716. package/dist/depcruise/layer-rules.js +76 -0
  1717. package/dist/depcruise/layer-rules.js.map +1 -0
  1718. package/dist/depcruise/package-patterns.d.ts +3 -0
  1719. package/dist/depcruise/package-patterns.d.ts.map +1 -0
  1720. package/dist/depcruise/package-patterns.js +6 -0
  1721. package/dist/depcruise/package-patterns.js.map +1 -0
  1722. package/dist/depcruise/render-cruise-file.d.ts +4 -0
  1723. package/dist/depcruise/render-cruise-file.d.ts.map +1 -0
  1724. package/dist/depcruise/render-cruise-file.js +8 -0
  1725. package/dist/depcruise/render-cruise-file.js.map +1 -0
  1726. package/dist/depcruise/test-files.d.ts +4 -0
  1727. package/dist/depcruise/test-files.d.ts.map +1 -0
  1728. package/dist/depcruise/test-files.js +11 -0
  1729. package/dist/depcruise/test-files.js.map +1 -0
  1730. package/dist/describe/context-description.d.ts +98 -0
  1731. package/dist/describe/context-description.d.ts.map +1 -0
  1732. package/dist/describe/context-description.js +2 -0
  1733. package/dist/describe/context-description.js.map +1 -0
  1734. package/dist/describe/context-sources.d.ts +16 -0
  1735. package/dist/describe/context-sources.d.ts.map +1 -0
  1736. package/dist/describe/context-sources.js +2 -0
  1737. package/dist/describe/context-sources.js.map +1 -0
  1738. package/dist/describe/describe-context.d.ts +10 -0
  1739. package/dist/describe/describe-context.d.ts.map +1 -0
  1740. package/dist/describe/describe-context.js +67 -0
  1741. package/dist/describe/describe-context.js.map +1 -0
  1742. package/dist/describe/format-description.d.ts +4 -0
  1743. package/dist/describe/format-description.d.ts.map +1 -0
  1744. package/dist/describe/format-description.js +69 -0
  1745. package/dist/describe/format-description.js.map +1 -0
  1746. package/dist/describe/read-adapters.d.ts +13 -0
  1747. package/dist/describe/read-adapters.d.ts.map +1 -0
  1748. package/dist/describe/read-adapters.js +46 -0
  1749. package/dist/describe/read-adapters.js.map +1 -0
  1750. package/dist/describe/read-consumed-events.d.ts +5 -0
  1751. package/dist/describe/read-consumed-events.d.ts.map +1 -0
  1752. package/dist/describe/read-consumed-events.js +64 -0
  1753. package/dist/describe/read-consumed-events.js.map +1 -0
  1754. package/dist/describe/read-event-definitions.d.ts +11 -0
  1755. package/dist/describe/read-event-definitions.d.ts.map +1 -0
  1756. package/dist/describe/read-event-definitions.js +11 -0
  1757. package/dist/describe/read-event-definitions.js.map +1 -0
  1758. package/dist/describe/read-policies.d.ts +5 -0
  1759. package/dist/describe/read-policies.d.ts.map +1 -0
  1760. package/dist/describe/read-policies.js +18 -0
  1761. package/dist/describe/read-policies.js.map +1 -0
  1762. package/dist/describe/read-ports.d.ts +6 -0
  1763. package/dist/describe/read-ports.d.ts.map +1 -0
  1764. package/dist/describe/read-ports.js +28 -0
  1765. package/dist/describe/read-ports.js.map +1 -0
  1766. package/dist/describe/read-published-events.d.ts +5 -0
  1767. package/dist/describe/read-published-events.d.ts.map +1 -0
  1768. package/dist/describe/read-published-events.js +31 -0
  1769. package/dist/describe/read-published-events.js.map +1 -0
  1770. package/dist/describe/read-routes.d.ts +5 -0
  1771. package/dist/describe/read-routes.d.ts.map +1 -0
  1772. package/dist/describe/read-routes.js +50 -0
  1773. package/dist/describe/read-routes.js.map +1 -0
  1774. package/dist/describe/read-use-cases.d.ts +5 -0
  1775. package/dist/describe/read-use-cases.d.ts.map +1 -0
  1776. package/dist/describe/read-use-cases.js +32 -0
  1777. package/dist/describe/read-use-cases.js.map +1 -0
  1778. package/dist/describe/reference-lines.d.ts +4 -0
  1779. package/dist/describe/reference-lines.d.ts.map +1 -0
  1780. package/dist/describe/reference-lines.js +124 -0
  1781. package/dist/describe/reference-lines.js.map +1 -0
  1782. package/dist/docs/broker-strategy.d.ts +4 -0
  1783. package/dist/docs/broker-strategy.d.ts.map +1 -0
  1784. package/dist/docs/broker-strategy.js +17 -0
  1785. package/dist/docs/broker-strategy.js.map +1 -0
  1786. package/dist/docs/context-facts.d.ts +44 -0
  1787. package/dist/docs/context-facts.d.ts.map +1 -0
  1788. package/dist/docs/context-facts.js +2 -0
  1789. package/dist/docs/context-facts.js.map +1 -0
  1790. package/dist/docs/context-map-file.d.ts +3 -0
  1791. package/dist/docs/context-map-file.d.ts.map +1 -0
  1792. package/dist/docs/context-map-file.js +3 -0
  1793. package/dist/docs/context-map-file.js.map +1 -0
  1794. package/dist/docs/context-map-lines.d.ts +4 -0
  1795. package/dist/docs/context-map-lines.d.ts.map +1 -0
  1796. package/dist/docs/context-map-lines.js +37 -0
  1797. package/dist/docs/context-map-lines.js.map +1 -0
  1798. package/dist/docs/declared-facts.d.ts +33 -0
  1799. package/dist/docs/declared-facts.d.ts.map +1 -0
  1800. package/dist/docs/declared-facts.js +2 -0
  1801. package/dist/docs/declared-facts.js.map +1 -0
  1802. package/dist/docs/e2e-specs.d.ts +4 -0
  1803. package/dist/docs/e2e-specs.d.ts.map +1 -0
  1804. package/dist/docs/e2e-specs.js +9 -0
  1805. package/dist/docs/e2e-specs.js.map +1 -0
  1806. package/dist/docs/ensure-reference-region.d.ts +6 -0
  1807. package/dist/docs/ensure-reference-region.d.ts.map +1 -0
  1808. package/dist/docs/ensure-reference-region.js +20 -0
  1809. package/dist/docs/ensure-reference-region.js.map +1 -0
  1810. package/dist/docs/read-context.d.ts +6 -0
  1811. package/dist/docs/read-context.d.ts.map +1 -0
  1812. package/dist/docs/read-context.js +100 -0
  1813. package/dist/docs/read-context.js.map +1 -0
  1814. package/dist/docs/read-contexts.d.ts +6 -0
  1815. package/dist/docs/read-contexts.d.ts.map +1 -0
  1816. package/dist/docs/read-contexts.js +7 -0
  1817. package/dist/docs/read-contexts.js.map +1 -0
  1818. package/dist/docs/read-declarations.d.ts +5 -0
  1819. package/dist/docs/read-declarations.d.ts.map +1 -0
  1820. package/dist/docs/read-declarations.js +66 -0
  1821. package/dist/docs/read-declarations.js.map +1 -0
  1822. package/dist/docs/read-jobs.d.ts +9 -0
  1823. package/dist/docs/read-jobs.d.ts.map +1 -0
  1824. package/dist/docs/read-jobs.js +48 -0
  1825. package/dist/docs/read-jobs.js.map +1 -0
  1826. package/dist/docs/refresh-context-doc.d.ts +10 -0
  1827. package/dist/docs/refresh-context-doc.d.ts.map +1 -0
  1828. package/dist/docs/refresh-context-doc.js +62 -0
  1829. package/dist/docs/refresh-context-doc.js.map +1 -0
  1830. package/dist/docs/without-comments.d.ts +6 -0
  1831. package/dist/docs/without-comments.d.ts.map +1 -0
  1832. package/dist/docs/without-comments.js +17 -0
  1833. package/dist/docs/without-comments.js.map +1 -0
  1834. package/dist/docs/write-docs.d.ts +9 -0
  1835. package/dist/docs/write-docs.d.ts.map +1 -0
  1836. package/dist/docs/write-docs.js +43 -0
  1837. package/dist/docs/write-docs.js.map +1 -0
  1838. package/dist/generate/access-vars.d.ts +10 -0
  1839. package/dist/generate/access-vars.d.ts.map +1 -0
  1840. package/dist/generate/access-vars.js +81 -0
  1841. package/dist/generate/access-vars.js.map +1 -0
  1842. package/dist/generate/apply-wiring.d.ts +4 -0
  1843. package/dist/generate/apply-wiring.d.ts.map +1 -0
  1844. package/dist/generate/apply-wiring.js +24 -0
  1845. package/dist/generate/apply-wiring.js.map +1 -0
  1846. package/dist/generate/assembled-context.d.ts +7 -0
  1847. package/dist/generate/assembled-context.d.ts.map +1 -0
  1848. package/dist/generate/assembled-context.js +16 -0
  1849. package/dist/generate/assembled-context.js.map +1 -0
  1850. package/dist/generate/concept-role.d.ts +6 -0
  1851. package/dist/generate/concept-role.d.ts.map +1 -0
  1852. package/dist/generate/concept-role.js +2 -0
  1853. package/dist/generate/concept-role.js.map +1 -0
  1854. package/dist/generate/concept.d.ts +9 -0
  1855. package/dist/generate/concept.d.ts.map +1 -0
  1856. package/dist/generate/concept.js +38 -0
  1857. package/dist/generate/concept.js.map +1 -0
  1858. package/dist/generate/context-vars.d.ts +6 -0
  1859. package/dist/generate/context-vars.d.ts.map +1 -0
  1860. package/dist/generate/context-vars.js +15 -0
  1861. package/dist/generate/context-vars.js.map +1 -0
  1862. package/dist/generate/declare-permission.d.ts +5 -0
  1863. package/dist/generate/declare-permission.d.ts.map +1 -0
  1864. package/dist/generate/declare-permission.js +17 -0
  1865. package/dist/generate/declare-permission.js.map +1 -0
  1866. package/dist/generate/emit.d.ts +7 -0
  1867. package/dist/generate/emit.d.ts.map +1 -0
  1868. package/dist/generate/emit.js +20 -0
  1869. package/dist/generate/emit.js.map +1 -0
  1870. package/dist/generate/event-names.d.ts +10 -0
  1871. package/dist/generate/event-names.d.ts.map +1 -0
  1872. package/dist/generate/event-names.js +14 -0
  1873. package/dist/generate/event-names.js.map +1 -0
  1874. package/dist/generate/files-under.d.ts +4 -0
  1875. package/dist/generate/files-under.d.ts.map +1 -0
  1876. package/dist/generate/files-under.js +8 -0
  1877. package/dist/generate/files-under.js.map +1 -0
  1878. package/dist/generate/find-kind.d.ts +4 -0
  1879. package/dist/generate/find-kind.d.ts.map +1 -0
  1880. package/dist/generate/find-kind.js +6 -0
  1881. package/dist/generate/find-kind.js.map +1 -0
  1882. package/dist/generate/host-imports.d.ts +4 -0
  1883. package/dist/generate/host-imports.d.ts.map +1 -0
  1884. package/dist/generate/host-imports.js +5 -0
  1885. package/dist/generate/host-imports.js.map +1 -0
  1886. package/dist/generate/is-declared.d.ts +4 -0
  1887. package/dist/generate/is-declared.d.ts.map +1 -0
  1888. package/dist/generate/is-declared.js +5 -0
  1889. package/dist/generate/is-declared.js.map +1 -0
  1890. package/dist/generate/kind.d.ts +61 -0
  1891. package/dist/generate/kind.d.ts.map +1 -0
  1892. package/dist/generate/kind.js +2 -0
  1893. package/dist/generate/kind.js.map +1 -0
  1894. package/dist/generate/kinds/acl-kind.d.ts +3 -0
  1895. package/dist/generate/kinds/acl-kind.d.ts.map +1 -0
  1896. package/dist/generate/kinds/acl-kind.js +26 -0
  1897. package/dist/generate/kinds/acl-kind.js.map +1 -0
  1898. package/dist/generate/kinds/adapter-kind.d.ts +3 -0
  1899. package/dist/generate/kinds/adapter-kind.d.ts.map +1 -0
  1900. package/dist/generate/kinds/adapter-kind.js +99 -0
  1901. package/dist/generate/kinds/adapter-kind.js.map +1 -0
  1902. package/dist/generate/kinds/adr-kind.d.ts +3 -0
  1903. package/dist/generate/kinds/adr-kind.d.ts.map +1 -0
  1904. package/dist/generate/kinds/adr-kind.js +29 -0
  1905. package/dist/generate/kinds/adr-kind.js.map +1 -0
  1906. package/dist/generate/kinds/aggregate-kind.d.ts +3 -0
  1907. package/dist/generate/kinds/aggregate-kind.d.ts.map +1 -0
  1908. package/dist/generate/kinds/aggregate-kind.js +27 -0
  1909. package/dist/generate/kinds/aggregate-kind.js.map +1 -0
  1910. package/dist/generate/kinds/builder-kind.d.ts +3 -0
  1911. package/dist/generate/kinds/builder-kind.d.ts.map +1 -0
  1912. package/dist/generate/kinds/builder-kind.js +21 -0
  1913. package/dist/generate/kinds/builder-kind.js.map +1 -0
  1914. package/dist/generate/kinds/command-kind.d.ts +3 -0
  1915. package/dist/generate/kinds/command-kind.d.ts.map +1 -0
  1916. package/dist/generate/kinds/command-kind.js +50 -0
  1917. package/dist/generate/kinds/command-kind.js.map +1 -0
  1918. package/dist/generate/kinds/context-kind.d.ts +3 -0
  1919. package/dist/generate/kinds/context-kind.d.ts.map +1 -0
  1920. package/dist/generate/kinds/context-kind.js +30 -0
  1921. package/dist/generate/kinds/context-kind.js.map +1 -0
  1922. package/dist/generate/kinds/context-request.d.ts +10 -0
  1923. package/dist/generate/kinds/context-request.d.ts.map +1 -0
  1924. package/dist/generate/kinds/context-request.js +2 -0
  1925. package/dist/generate/kinds/context-request.js.map +1 -0
  1926. package/dist/generate/kinds/declare-storage.d.ts +5 -0
  1927. package/dist/generate/kinds/declare-storage.d.ts.map +1 -0
  1928. package/dist/generate/kinds/declare-storage.js +43 -0
  1929. package/dist/generate/kinds/declare-storage.js.map +1 -0
  1930. package/dist/generate/kinds/domain-error-kind.d.ts +3 -0
  1931. package/dist/generate/kinds/domain-error-kind.d.ts.map +1 -0
  1932. package/dist/generate/kinds/domain-error-kind.js +31 -0
  1933. package/dist/generate/kinds/domain-error-kind.js.map +1 -0
  1934. package/dist/generate/kinds/domain-event-kind.d.ts +3 -0
  1935. package/dist/generate/kinds/domain-event-kind.d.ts.map +1 -0
  1936. package/dist/generate/kinds/domain-event-kind.js +18 -0
  1937. package/dist/generate/kinds/domain-event-kind.js.map +1 -0
  1938. package/dist/generate/kinds/domain-service-kind.d.ts +3 -0
  1939. package/dist/generate/kinds/domain-service-kind.d.ts.map +1 -0
  1940. package/dist/generate/kinds/domain-service-kind.js +24 -0
  1941. package/dist/generate/kinds/domain-service-kind.js.map +1 -0
  1942. package/dist/generate/kinds/e2e-kind.d.ts +3 -0
  1943. package/dist/generate/kinds/e2e-kind.d.ts.map +1 -0
  1944. package/dist/generate/kinds/e2e-kind.js +58 -0
  1945. package/dist/generate/kinds/e2e-kind.js.map +1 -0
  1946. package/dist/generate/kinds/ensure-domain-event.d.ts +5 -0
  1947. package/dist/generate/kinds/ensure-domain-event.d.ts.map +1 -0
  1948. package/dist/generate/kinds/ensure-domain-event.js +11 -0
  1949. package/dist/generate/kinds/ensure-domain-event.js.map +1 -0
  1950. package/dist/generate/kinds/entity-kind.d.ts +3 -0
  1951. package/dist/generate/kinds/entity-kind.d.ts.map +1 -0
  1952. package/dist/generate/kinds/entity-kind.js +24 -0
  1953. package/dist/generate/kinds/entity-kind.js.map +1 -0
  1954. package/dist/generate/kinds/event-declaration.d.ts +7 -0
  1955. package/dist/generate/kinds/event-declaration.d.ts.map +1 -0
  1956. package/dist/generate/kinds/event-declaration.js +2 -0
  1957. package/dist/generate/kinds/event-declaration.js.map +1 -0
  1958. package/dist/generate/kinds/event-handler-kind.d.ts +3 -0
  1959. package/dist/generate/kinds/event-handler-kind.d.ts.map +1 -0
  1960. package/dist/generate/kinds/event-handler-kind.js +36 -0
  1961. package/dist/generate/kinds/event-handler-kind.js.map +1 -0
  1962. package/dist/generate/kinds/event-vars.d.ts +6 -0
  1963. package/dist/generate/kinds/event-vars.d.ts.map +1 -0
  1964. package/dist/generate/kinds/event-vars.js +7 -0
  1965. package/dist/generate/kinds/event-vars.js.map +1 -0
  1966. package/dist/generate/kinds/existing-aggregate.d.ts +5 -0
  1967. package/dist/generate/kinds/existing-aggregate.d.ts.map +1 -0
  1968. package/dist/generate/kinds/existing-aggregate.js +16 -0
  1969. package/dist/generate/kinds/existing-aggregate.js.map +1 -0
  1970. package/dist/generate/kinds/extraction/add-compose-service.d.ts +4 -0
  1971. package/dist/generate/kinds/extraction/add-compose-service.d.ts.map +1 -0
  1972. package/dist/generate/kinds/extraction/add-compose-service.js +13 -0
  1973. package/dist/generate/kinds/extraction/add-compose-service.js.map +1 -0
  1974. package/dist/generate/kinds/extraction/edit-json.d.ts +6 -0
  1975. package/dist/generate/kinds/extraction/edit-json.d.ts.map +1 -0
  1976. package/dist/generate/kinds/extraction/edit-json.js +12 -0
  1977. package/dist/generate/kinds/extraction/edit-json.js.map +1 -0
  1978. package/dist/generate/kinds/extraction/entry-point.d.ts +13 -0
  1979. package/dist/generate/kinds/extraction/entry-point.d.ts.map +1 -0
  1980. package/dist/generate/kinds/extraction/entry-point.js +29 -0
  1981. package/dist/generate/kinds/extraction/entry-point.js.map +1 -0
  1982. package/dist/generate/kinds/extraction/record-of.d.ts +3 -0
  1983. package/dist/generate/kinds/extraction/record-of.d.ts.map +1 -0
  1984. package/dist/generate/kinds/extraction/record-of.js +5 -0
  1985. package/dist/generate/kinds/extraction/record-of.js.map +1 -0
  1986. package/dist/generate/kinds/extraction/service-selection.d.ts +9 -0
  1987. package/dist/generate/kinds/extraction/service-selection.d.ts.map +1 -0
  1988. package/dist/generate/kinds/extraction/service-selection.js +44 -0
  1989. package/dist/generate/kinds/extraction/service-selection.js.map +1 -0
  1990. package/dist/generate/kinds/find-event-declaration.d.ts +5 -0
  1991. package/dist/generate/kinds/find-event-declaration.d.ts.map +1 -0
  1992. package/dist/generate/kinds/find-event-declaration.js +18 -0
  1993. package/dist/generate/kinds/find-event-declaration.js.map +1 -0
  1994. package/dist/generate/kinds/gateway-kind.d.ts +3 -0
  1995. package/dist/generate/kinds/gateway-kind.d.ts.map +1 -0
  1996. package/dist/generate/kinds/gateway-kind.js +53 -0
  1997. package/dist/generate/kinds/gateway-kind.js.map +1 -0
  1998. package/dist/generate/kinds/generate-context.d.ts +6 -0
  1999. package/dist/generate/kinds/generate-context.d.ts.map +1 -0
  2000. package/dist/generate/kinds/generate-context.js +49 -0
  2001. package/dist/generate/kinds/generate-context.js.map +1 -0
  2002. package/dist/generate/kinds/generate-repository.d.ts +5 -0
  2003. package/dist/generate/kinds/generate-repository.d.ts.map +1 -0
  2004. package/dist/generate/kinds/generate-repository.js +40 -0
  2005. package/dist/generate/kinds/generate-repository.js.map +1 -0
  2006. package/dist/generate/kinds/integration-event-kind.d.ts +3 -0
  2007. package/dist/generate/kinds/integration-event-kind.d.ts.map +1 -0
  2008. package/dist/generate/kinds/integration-event-kind.js +70 -0
  2009. package/dist/generate/kinds/integration-event-kind.js.map +1 -0
  2010. package/dist/generate/kinds/integration-handler-kind.d.ts +3 -0
  2011. package/dist/generate/kinds/integration-handler-kind.d.ts.map +1 -0
  2012. package/dist/generate/kinds/integration-handler-kind.js +94 -0
  2013. package/dist/generate/kinds/integration-handler-kind.js.map +1 -0
  2014. package/dist/generate/kinds/job/constructor-parameters.d.ts +3 -0
  2015. package/dist/generate/kinds/job/constructor-parameters.d.ts.map +1 -0
  2016. package/dist/generate/kinds/job/constructor-parameters.js +33 -0
  2017. package/dist/generate/kinds/job/constructor-parameters.js.map +1 -0
  2018. package/dist/generate/kinds/job/grant-system-actor.d.ts +17 -0
  2019. package/dist/generate/kinds/job/grant-system-actor.d.ts.map +1 -0
  2020. package/dist/generate/kinds/job/grant-system-actor.js +67 -0
  2021. package/dist/generate/kinds/job/grant-system-actor.js.map +1 -0
  2022. package/dist/generate/kinds/job/job-vars.d.ts +13 -0
  2023. package/dist/generate/kinds/job/job-vars.d.ts.map +1 -0
  2024. package/dist/generate/kinds/job/job-vars.js +49 -0
  2025. package/dist/generate/kinds/job/job-vars.js.map +1 -0
  2026. package/dist/generate/kinds/job/read-sent-command.d.ts +5 -0
  2027. package/dist/generate/kinds/job/read-sent-command.d.ts.map +1 -0
  2028. package/dist/generate/kinds/job/read-sent-command.js +62 -0
  2029. package/dist/generate/kinds/job/read-sent-command.js.map +1 -0
  2030. package/dist/generate/kinds/job/requested-schedule.d.ts +5 -0
  2031. package/dist/generate/kinds/job/requested-schedule.d.ts.map +1 -0
  2032. package/dist/generate/kinds/job/requested-schedule.js +21 -0
  2033. package/dist/generate/kinds/job/requested-schedule.js.map +1 -0
  2034. package/dist/generate/kinds/job/sent-command.d.ts +12 -0
  2035. package/dist/generate/kinds/job/sent-command.d.ts.map +1 -0
  2036. package/dist/generate/kinds/job/sent-command.js +2 -0
  2037. package/dist/generate/kinds/job/sent-command.js.map +1 -0
  2038. package/dist/generate/kinds/job/written-schedule.d.ts +4 -0
  2039. package/dist/generate/kinds/job/written-schedule.d.ts.map +1 -0
  2040. package/dist/generate/kinds/job/written-schedule.js +8 -0
  2041. package/dist/generate/kinds/job/written-schedule.js.map +1 -0
  2042. package/dist/generate/kinds/job-kind.d.ts +3 -0
  2043. package/dist/generate/kinds/job-kind.d.ts.map +1 -0
  2044. package/dist/generate/kinds/job-kind.js +56 -0
  2045. package/dist/generate/kinds/job-kind.js.map +1 -0
  2046. package/dist/generate/kinds/policy-kind.d.ts +3 -0
  2047. package/dist/generate/kinds/policy-kind.d.ts.map +1 -0
  2048. package/dist/generate/kinds/policy-kind.js +38 -0
  2049. package/dist/generate/kinds/policy-kind.js.map +1 -0
  2050. package/dist/generate/kinds/port-kind.d.ts +3 -0
  2051. package/dist/generate/kinds/port-kind.d.ts.map +1 -0
  2052. package/dist/generate/kinds/port-kind.js +27 -0
  2053. package/dist/generate/kinds/port-kind.js.map +1 -0
  2054. package/dist/generate/kinds/publish-in-index.d.ts +4 -0
  2055. package/dist/generate/kinds/publish-in-index.d.ts.map +1 -0
  2056. package/dist/generate/kinds/publish-in-index.js +20 -0
  2057. package/dist/generate/kinds/publish-in-index.js.map +1 -0
  2058. package/dist/generate/kinds/query-kind.d.ts +3 -0
  2059. package/dist/generate/kinds/query-kind.d.ts.map +1 -0
  2060. package/dist/generate/kinds/query-kind.js +79 -0
  2061. package/dist/generate/kinds/query-kind.js.map +1 -0
  2062. package/dist/generate/kinds/repository-adapter.d.ts +10 -0
  2063. package/dist/generate/kinds/repository-adapter.d.ts.map +1 -0
  2064. package/dist/generate/kinds/repository-adapter.js +23 -0
  2065. package/dist/generate/kinds/repository-adapter.js.map +1 -0
  2066. package/dist/generate/kinds/repository-kind.d.ts +3 -0
  2067. package/dist/generate/kinds/repository-kind.d.ts.map +1 -0
  2068. package/dist/generate/kinds/repository-kind.js +16 -0
  2069. package/dist/generate/kinds/repository-kind.js.map +1 -0
  2070. package/dist/generate/kinds/route/dto-classes.d.ts +5 -0
  2071. package/dist/generate/kinds/route/dto-classes.d.ts.map +1 -0
  2072. package/dist/generate/kinds/route/dto-classes.js +14 -0
  2073. package/dist/generate/kinds/route/dto-classes.js.map +1 -0
  2074. package/dist/generate/kinds/route/endpoint.d.ts +7 -0
  2075. package/dist/generate/kinds/route/endpoint.d.ts.map +1 -0
  2076. package/dist/generate/kinds/route/endpoint.js +2 -0
  2077. package/dist/generate/kinds/route/endpoint.js.map +1 -0
  2078. package/dist/generate/kinds/route/find-use-case.d.ts +7 -0
  2079. package/dist/generate/kinds/route/find-use-case.d.ts.map +1 -0
  2080. package/dist/generate/kinds/route/find-use-case.js +33 -0
  2081. package/dist/generate/kinds/route/find-use-case.js.map +1 -0
  2082. package/dist/generate/kinds/route/parse-endpoint.d.ts +4 -0
  2083. package/dist/generate/kinds/route/parse-endpoint.d.ts.map +1 -0
  2084. package/dist/generate/kinds/route/parse-endpoint.js +16 -0
  2085. package/dist/generate/kinds/route/parse-endpoint.js.map +1 -0
  2086. package/dist/generate/kinds/route/route-vars.d.ts +13 -0
  2087. package/dist/generate/kinds/route/route-vars.d.ts.map +1 -0
  2088. package/dist/generate/kinds/route/route-vars.js +77 -0
  2089. package/dist/generate/kinds/route/route-vars.js.map +1 -0
  2090. package/dist/generate/kinds/route/use-case.d.ts +13 -0
  2091. package/dist/generate/kinds/route/use-case.d.ts.map +1 -0
  2092. package/dist/generate/kinds/route/use-case.js +2 -0
  2093. package/dist/generate/kinds/route/use-case.js.map +1 -0
  2094. package/dist/generate/kinds/route-kind.d.ts +3 -0
  2095. package/dist/generate/kinds/route-kind.d.ts.map +1 -0
  2096. package/dist/generate/kinds/route-kind.js +50 -0
  2097. package/dist/generate/kinds/route-kind.js.map +1 -0
  2098. package/dist/generate/kinds/service-kind.d.ts +3 -0
  2099. package/dist/generate/kinds/service-kind.d.ts.map +1 -0
  2100. package/dist/generate/kinds/service-kind.js +34 -0
  2101. package/dist/generate/kinds/service-kind.js.map +1 -0
  2102. package/dist/generate/kinds/traced-command.d.ts +12 -0
  2103. package/dist/generate/kinds/traced-command.d.ts.map +1 -0
  2104. package/dist/generate/kinds/traced-command.js +19 -0
  2105. package/dist/generate/kinds/traced-command.js.map +1 -0
  2106. package/dist/generate/kinds/value-object-kind.d.ts +3 -0
  2107. package/dist/generate/kinds/value-object-kind.d.ts.map +1 -0
  2108. package/dist/generate/kinds/value-object-kind.js +24 -0
  2109. package/dist/generate/kinds/value-object-kind.js.map +1 -0
  2110. package/dist/generate/kinds/worker-kind.d.ts +3 -0
  2111. package/dist/generate/kinds/worker-kind.d.ts.map +1 -0
  2112. package/dist/generate/kinds/worker-kind.js +54 -0
  2113. package/dist/generate/kinds/worker-kind.js.map +1 -0
  2114. package/dist/generate/kinds/write-adr.d.ts +10 -0
  2115. package/dist/generate/kinds/write-adr.d.ts.map +1 -0
  2116. package/dist/generate/kinds/write-adr.js +31 -0
  2117. package/dist/generate/kinds/write-adr.js.map +1 -0
  2118. package/dist/generate/kinds/write-context-files.d.ts +12 -0
  2119. package/dist/generate/kinds/write-context-files.d.ts.map +1 -0
  2120. package/dist/generate/kinds/write-context-files.js +78 -0
  2121. package/dist/generate/kinds/write-context-files.js.map +1 -0
  2122. package/dist/generate/kinds/write-domain-event.d.ts +4 -0
  2123. package/dist/generate/kinds/write-domain-event.d.ts.map +1 -0
  2124. package/dist/generate/kinds/write-domain-event.js +9 -0
  2125. package/dist/generate/kinds/write-domain-event.js.map +1 -0
  2126. package/dist/generate/kinds-help.d.ts +17 -0
  2127. package/dist/generate/kinds-help.d.ts.map +1 -0
  2128. package/dist/generate/kinds-help.js +17 -0
  2129. package/dist/generate/kinds-help.js.map +1 -0
  2130. package/dist/generate/kinds.d.ts +4 -0
  2131. package/dist/generate/kinds.d.ts.map +1 -0
  2132. package/dist/generate/kinds.js +54 -0
  2133. package/dist/generate/kinds.js.map +1 -0
  2134. package/dist/generate/label.d.ts +6 -0
  2135. package/dist/generate/label.d.ts.map +1 -0
  2136. package/dist/generate/label.js +6 -0
  2137. package/dist/generate/label.js.map +1 -0
  2138. package/dist/generate/learn-terms.d.ts +4 -0
  2139. package/dist/generate/learn-terms.d.ts.map +1 -0
  2140. package/dist/generate/learn-terms.js +17 -0
  2141. package/dist/generate/learn-terms.js.map +1 -0
  2142. package/dist/generate/named.d.ts +5 -0
  2143. package/dist/generate/named.d.ts.map +1 -0
  2144. package/dist/generate/named.js +5 -0
  2145. package/dist/generate/named.js.map +1 -0
  2146. package/dist/generate/open-scope.d.ts +5 -0
  2147. package/dist/generate/open-scope.d.ts.map +1 -0
  2148. package/dist/generate/open-scope.js +19 -0
  2149. package/dist/generate/open-scope.js.map +1 -0
  2150. package/dist/generate/parse-terms.d.ts +7 -0
  2151. package/dist/generate/parse-terms.d.ts.map +1 -0
  2152. package/dist/generate/parse-terms.js +12 -0
  2153. package/dist/generate/parse-terms.js.map +1 -0
  2154. package/dist/generate/permission-named.d.ts +4 -0
  2155. package/dist/generate/permission-named.d.ts.map +1 -0
  2156. package/dist/generate/permission-named.js +12 -0
  2157. package/dist/generate/permission-named.js.map +1 -0
  2158. package/dist/generate/permissions-file.d.ts +4 -0
  2159. package/dist/generate/permissions-file.d.ts.map +1 -0
  2160. package/dist/generate/permissions-file.js +5 -0
  2161. package/dist/generate/permissions-file.js.map +1 -0
  2162. package/dist/generate/refresh-barrels.d.ts +9 -0
  2163. package/dist/generate/refresh-barrels.d.ts.map +1 -0
  2164. package/dist/generate/refresh-barrels.js +29 -0
  2165. package/dist/generate/refresh-barrels.js.map +1 -0
  2166. package/dist/generate/refuse-shared-writes.d.ts +8 -0
  2167. package/dist/generate/refuse-shared-writes.d.ts.map +1 -0
  2168. package/dist/generate/refuse-shared-writes.js +16 -0
  2169. package/dist/generate/refuse-shared-writes.js.map +1 -0
  2170. package/dist/generate/relative-to.d.ts +3 -0
  2171. package/dist/generate/relative-to.d.ts.map +1 -0
  2172. package/dist/generate/relative-to.js +7 -0
  2173. package/dist/generate/relative-to.js.map +1 -0
  2174. package/dist/generate/require-file.d.ts +10 -0
  2175. package/dist/generate/require-file.d.ts.map +1 -0
  2176. package/dist/generate/require-file.js +10 -0
  2177. package/dist/generate/require-file.js.map +1 -0
  2178. package/dist/generate/schedule/cron-field-values.d.ts +4 -0
  2179. package/dist/generate/schedule/cron-field-values.d.ts.map +1 -0
  2180. package/dist/generate/schedule/cron-field-values.js +32 -0
  2181. package/dist/generate/schedule/cron-field-values.js.map +1 -0
  2182. package/dist/generate/schedule/cron-field.d.ts +8 -0
  2183. package/dist/generate/schedule/cron-field.d.ts.map +1 -0
  2184. package/dist/generate/schedule/cron-field.js +2 -0
  2185. package/dist/generate/schedule/cron-field.js.map +1 -0
  2186. package/dist/generate/schedule/cron-problem.d.ts +3 -0
  2187. package/dist/generate/schedule/cron-problem.d.ts.map +1 -0
  2188. package/dist/generate/schedule/cron-problem.js +41 -0
  2189. package/dist/generate/schedule/cron-problem.js.map +1 -0
  2190. package/dist/generate/schedule/duration-problem.d.ts +3 -0
  2191. package/dist/generate/schedule/duration-problem.d.ts.map +1 -0
  2192. package/dist/generate/schedule/duration-problem.js +14 -0
  2193. package/dist/generate/schedule/duration-problem.js.map +1 -0
  2194. package/dist/generate/schedule/job-schedule-problem.d.ts +7 -0
  2195. package/dist/generate/schedule/job-schedule-problem.d.ts.map +1 -0
  2196. package/dist/generate/schedule/job-schedule-problem.js +25 -0
  2197. package/dist/generate/schedule/job-schedule-problem.js.map +1 -0
  2198. package/dist/generate/schedule/job-schedule.d.ts +7 -0
  2199. package/dist/generate/schedule/job-schedule.d.ts.map +1 -0
  2200. package/dist/generate/schedule/job-schedule.js +2 -0
  2201. package/dist/generate/schedule/job-schedule.js.map +1 -0
  2202. package/dist/generate/scope.d.ts +14 -0
  2203. package/dist/generate/scope.d.ts.map +1 -0
  2204. package/dist/generate/scope.js +2 -0
  2205. package/dist/generate/scope.js.map +1 -0
  2206. package/dist/generate/shared-writes.d.ts +12 -0
  2207. package/dist/generate/shared-writes.d.ts.map +1 -0
  2208. package/dist/generate/shared-writes.js +58 -0
  2209. package/dist/generate/shared-writes.js.map +1 -0
  2210. package/dist/generate/spec-vars.d.ts +10 -0
  2211. package/dist/generate/spec-vars.d.ts.map +1 -0
  2212. package/dist/generate/spec-vars.js +41 -0
  2213. package/dist/generate/spec-vars.js.map +1 -0
  2214. package/dist/generate/storage-vars.d.ts +9 -0
  2215. package/dist/generate/storage-vars.d.ts.map +1 -0
  2216. package/dist/generate/storage-vars.js +26 -0
  2217. package/dist/generate/storage-vars.js.map +1 -0
  2218. package/dist/generate/use-case-message.d.ts +7 -0
  2219. package/dist/generate/use-case-message.d.ts.map +1 -0
  2220. package/dist/generate/use-case-message.js +2 -0
  2221. package/dist/generate/use-case-message.js.map +1 -0
  2222. package/dist/generate/vars.d.ts +5 -0
  2223. package/dist/generate/vars.d.ts.map +1 -0
  2224. package/dist/generate/vars.js +6 -0
  2225. package/dist/generate/vars.js.map +1 -0
  2226. package/dist/generate/wire.d.ts +12 -0
  2227. package/dist/generate/wire.d.ts.map +1 -0
  2228. package/dist/generate/wire.js +38 -0
  2229. package/dist/generate/wire.js.map +1 -0
  2230. package/dist/generate/wiring-family.d.ts +9 -0
  2231. package/dist/generate/wiring-family.d.ts.map +1 -0
  2232. package/dist/generate/wiring-family.js +13 -0
  2233. package/dist/generate/wiring-family.js.map +1 -0
  2234. package/dist/index.d.ts +12 -0
  2235. package/dist/index.d.ts.map +1 -0
  2236. package/dist/index.js +7 -0
  2237. package/dist/index.js.map +1 -0
  2238. package/dist/init/add-context.d.ts +5 -0
  2239. package/dist/init/add-context.d.ts.map +1 -0
  2240. package/dist/init/add-context.js +11 -0
  2241. package/dist/init/add-context.js.map +1 -0
  2242. package/dist/init/existing-name.d.ts +3 -0
  2243. package/dist/init/existing-name.d.ts.map +1 -0
  2244. package/dist/init/existing-name.js +14 -0
  2245. package/dist/init/existing-name.js.map +1 -0
  2246. package/dist/init/files/audit-files.d.ts +8 -0
  2247. package/dist/init/files/audit-files.d.ts.map +1 -0
  2248. package/dist/init/files/audit-files.js +30 -0
  2249. package/dist/init/files/audit-files.js.map +1 -0
  2250. package/dist/init/files/auth-files.d.ts +5 -0
  2251. package/dist/init/files/auth-files.d.ts.map +1 -0
  2252. package/dist/init/files/auth-files.js +49 -0
  2253. package/dist/init/files/auth-files.js.map +1 -0
  2254. package/dist/init/files/end-to-end-files.d.ts +5 -0
  2255. package/dist/init/files/end-to-end-files.d.ts.map +1 -0
  2256. package/dist/init/files/end-to-end-files.js +23 -0
  2257. package/dist/init/files/end-to-end-files.js.map +1 -0
  2258. package/dist/init/files/family-of.d.ts +4 -0
  2259. package/dist/init/files/family-of.d.ts.map +1 -0
  2260. package/dist/init/files/family-of.js +5 -0
  2261. package/dist/init/files/family-of.js.map +1 -0
  2262. package/dist/init/files/guidance-files.d.ts +3 -0
  2263. package/dist/init/files/guidance-files.d.ts.map +1 -0
  2264. package/dist/init/files/guidance-files.js +9 -0
  2265. package/dist/init/files/guidance-files.js.map +1 -0
  2266. package/dist/init/files/init-file.d.ts +7 -0
  2267. package/dist/init/files/init-file.d.ts.map +1 -0
  2268. package/dist/init/files/init-file.js +2 -0
  2269. package/dist/init/files/init-file.js.map +1 -0
  2270. package/dist/init/files/init-files.d.ts +4 -0
  2271. package/dist/init/files/init-files.d.ts.map +1 -0
  2272. package/dist/init/files/init-files.js +23 -0
  2273. package/dist/init/files/init-files.js.map +1 -0
  2274. package/dist/init/files/persistence-files.d.ts +4 -0
  2275. package/dist/init/files/persistence-files.d.ts.map +1 -0
  2276. package/dist/init/files/persistence-files.js +60 -0
  2277. package/dist/init/files/persistence-files.js.map +1 -0
  2278. package/dist/init/files/pipeline-files.d.ts +5 -0
  2279. package/dist/init/files/pipeline-files.d.ts.map +1 -0
  2280. package/dist/init/files/pipeline-files.js +25 -0
  2281. package/dist/init/files/pipeline-files.js.map +1 -0
  2282. package/dist/init/files/platform-file.d.ts +9 -0
  2283. package/dist/init/files/platform-file.d.ts.map +1 -0
  2284. package/dist/init/files/platform-file.js +10 -0
  2285. package/dist/init/files/platform-file.js.map +1 -0
  2286. package/dist/init/files/platform-files.d.ts +5 -0
  2287. package/dist/init/files/platform-files.d.ts.map +1 -0
  2288. package/dist/init/files/platform-files.js +67 -0
  2289. package/dist/init/files/platform-files.js.map +1 -0
  2290. package/dist/init/files/project-files.d.ts +5 -0
  2291. package/dist/init/files/project-files.d.ts.map +1 -0
  2292. package/dist/init/files/project-files.js +26 -0
  2293. package/dist/init/files/project-files.js.map +1 -0
  2294. package/dist/init/files/script-files.d.ts +4 -0
  2295. package/dist/init/files/script-files.d.ts.map +1 -0
  2296. package/dist/init/files/script-files.js +8 -0
  2297. package/dist/init/files/script-files.js.map +1 -0
  2298. package/dist/init/files/when.d.ts +3 -0
  2299. package/dist/init/files/when.d.ts.map +1 -0
  2300. package/dist/init/files/when.js +4 -0
  2301. package/dist/init/files/when.js.map +1 -0
  2302. package/dist/init/is-record.d.ts +2 -0
  2303. package/dist/init/is-record.d.ts.map +1 -0
  2304. package/dist/init/is-record.js +4 -0
  2305. package/dist/init/is-record.js.map +1 -0
  2306. package/dist/init/knip-vars.d.ts +9 -0
  2307. package/dist/init/knip-vars.d.ts.map +1 -0
  2308. package/dist/init/knip-vars.js +18 -0
  2309. package/dist/init/knip-vars.js.map +1 -0
  2310. package/dist/init/manifest/baseline.d.ts +13 -0
  2311. package/dist/init/manifest/baseline.d.ts.map +1 -0
  2312. package/dist/init/manifest/baseline.js +21 -0
  2313. package/dist/init/manifest/baseline.js.map +1 -0
  2314. package/dist/init/manifest/database-scripts.d.ts +3 -0
  2315. package/dist/init/manifest/database-scripts.d.ts.map +1 -0
  2316. package/dist/init/manifest/database-scripts.js +37 -0
  2317. package/dist/init/manifest/database-scripts.js.map +1 -0
  2318. package/dist/init/manifest/dependencies-for.d.ts +7 -0
  2319. package/dist/init/manifest/dependencies-for.d.ts.map +1 -0
  2320. package/dist/init/manifest/dependencies-for.js +95 -0
  2321. package/dist/init/manifest/dependencies-for.js.map +1 -0
  2322. package/dist/init/manifest/documentation-scripts.d.ts +3 -0
  2323. package/dist/init/manifest/documentation-scripts.d.ts.map +1 -0
  2324. package/dist/init/manifest/documentation-scripts.js +16 -0
  2325. package/dist/init/manifest/documentation-scripts.js.map +1 -0
  2326. package/dist/init/manifest/pipeline-manifest.d.ts +7 -0
  2327. package/dist/init/manifest/pipeline-manifest.d.ts.map +1 -0
  2328. package/dist/init/manifest/pipeline-manifest.js +13 -0
  2329. package/dist/init/manifest/pipeline-manifest.js.map +1 -0
  2330. package/dist/init/manifest/scripts-for.d.ts +4 -0
  2331. package/dist/init/manifest/scripts-for.d.ts.map +1 -0
  2332. package/dist/init/manifest/scripts-for.js +42 -0
  2333. package/dist/init/manifest/scripts-for.js.map +1 -0
  2334. package/dist/init/manifest/test-scripts.d.ts +8 -0
  2335. package/dist/init/manifest/test-scripts.d.ts.map +1 -0
  2336. package/dist/init/manifest/test-scripts.js +29 -0
  2337. package/dist/init/manifest/test-scripts.js.map +1 -0
  2338. package/dist/init/manifest/versions.d.ts +3 -0
  2339. package/dist/init/manifest/versions.d.ts.map +1 -0
  2340. package/dist/init/manifest/versions.js +75 -0
  2341. package/dist/init/manifest/versions.js.map +1 -0
  2342. package/dist/init/manifest/write-manifest.d.ts +10 -0
  2343. package/dist/init/manifest/write-manifest.d.ts.map +1 -0
  2344. package/dist/init/manifest/write-manifest.js +69 -0
  2345. package/dist/init/manifest/write-manifest.js.map +1 -0
  2346. package/dist/init/record-no-outbox.d.ts +5 -0
  2347. package/dist/init/record-no-outbox.d.ts.map +1 -0
  2348. package/dist/init/record-no-outbox.js +16 -0
  2349. package/dist/init/record-no-outbox.js.map +1 -0
  2350. package/dist/init/run-init.d.ts +9 -0
  2351. package/dist/init/run-init.d.ts.map +1 -0
  2352. package/dist/init/run-init.js +45 -0
  2353. package/dist/init/run-init.js.map +1 -0
  2354. package/dist/init/stack/choose.d.ts +3 -0
  2355. package/dist/init/stack/choose.d.ts.map +1 -0
  2356. package/dist/init/stack/choose.js +13 -0
  2357. package/dist/init/stack/choose.js.map +1 -0
  2358. package/dist/init/stack/resolve-persistence.d.ts +10 -0
  2359. package/dist/init/stack/resolve-persistence.d.ts.map +1 -0
  2360. package/dist/init/stack/resolve-persistence.js +26 -0
  2361. package/dist/init/stack/resolve-persistence.js.map +1 -0
  2362. package/dist/init/stack/resolve-stack.d.ts +6 -0
  2363. package/dist/init/stack/resolve-stack.d.ts.map +1 -0
  2364. package/dist/init/stack/resolve-stack.js +88 -0
  2365. package/dist/init/stack/resolve-stack.js.map +1 -0
  2366. package/dist/init/stack/resolve-style.d.ts +12 -0
  2367. package/dist/init/stack/resolve-style.d.ts.map +1 -0
  2368. package/dist/init/stack/resolve-style.js +21 -0
  2369. package/dist/init/stack/resolve-style.js.map +1 -0
  2370. package/dist/init/stack/stack-options.d.ts +27 -0
  2371. package/dist/init/stack/stack-options.d.ts.map +1 -0
  2372. package/dist/init/stack/stack-options.js +2 -0
  2373. package/dist/init/stack/stack-options.js.map +1 -0
  2374. package/dist/init/template-vars.d.ts +5 -0
  2375. package/dist/init/template-vars.d.ts.map +1 -0
  2376. package/dist/init/template-vars.js +48 -0
  2377. package/dist/init/template-vars.js.map +1 -0
  2378. package/dist/init/write-agent-settings.d.ts +4 -0
  2379. package/dist/init/write-agent-settings.d.ts.map +1 -0
  2380. package/dist/init/write-agent-settings.js +95 -0
  2381. package/dist/init/write-agent-settings.js.map +1 -0
  2382. package/dist/init/write-type-script-configs.d.ts +9 -0
  2383. package/dist/init/write-type-script-configs.d.ts.map +1 -0
  2384. package/dist/init/write-type-script-configs.js +39 -0
  2385. package/dist/init/write-type-script-configs.js.map +1 -0
  2386. package/dist/json/format-json.d.ts +7 -0
  2387. package/dist/json/format-json.d.ts.map +1 -0
  2388. package/dist/json/format-json.js +57 -0
  2389. package/dist/json/format-json.js.map +1 -0
  2390. package/dist/layout/chain-links.d.ts +7 -0
  2391. package/dist/layout/chain-links.d.ts.map +1 -0
  2392. package/dist/layout/chain-links.js +19 -0
  2393. package/dist/layout/chain-links.js.map +1 -0
  2394. package/dist/layout/fit-block.d.ts +7 -0
  2395. package/dist/layout/fit-block.d.ts.map +1 -0
  2396. package/dist/layout/fit-block.js +27 -0
  2397. package/dist/layout/fit-block.js.map +1 -0
  2398. package/dist/layout/fit-declaration.d.ts +7 -0
  2399. package/dist/layout/fit-declaration.d.ts.map +1 -0
  2400. package/dist/layout/fit-declaration.js +78 -0
  2401. package/dist/layout/fit-declaration.js.map +1 -0
  2402. package/dist/layout/fit-source.d.ts +8 -0
  2403. package/dist/layout/fit-source.d.ts.map +1 -0
  2404. package/dist/layout/fit-source.js +60 -0
  2405. package/dist/layout/fit-source.js.map +1 -0
  2406. package/dist/layout/fit-statement.d.ts +9 -0
  2407. package/dist/layout/fit-statement.d.ts.map +1 -0
  2408. package/dist/layout/fit-statement.js +112 -0
  2409. package/dist/layout/fit-statement.js.map +1 -0
  2410. package/dist/layout/index.d.ts +5 -0
  2411. package/dist/layout/index.d.ts.map +1 -0
  2412. package/dist/layout/index.js +5 -0
  2413. package/dist/layout/index.js.map +1 -0
  2414. package/dist/layout/line-width.d.ts +3 -0
  2415. package/dist/layout/line-width.d.ts.map +1 -0
  2416. package/dist/layout/line-width.js +3 -0
  2417. package/dist/layout/line-width.js.map +1 -0
  2418. package/dist/layout/nesting.d.ts +6 -0
  2419. package/dist/layout/nesting.d.ts.map +1 -0
  2420. package/dist/layout/nesting.js +31 -0
  2421. package/dist/layout/nesting.js.map +1 -0
  2422. package/dist/layout/open-callback.d.ts +8 -0
  2423. package/dist/layout/open-callback.d.ts.map +1 -0
  2424. package/dist/layout/open-callback.js +45 -0
  2425. package/dist/layout/open-callback.js.map +1 -0
  2426. package/dist/layout/split-top-level.d.ts +3 -0
  2427. package/dist/layout/split-top-level.d.ts.map +1 -0
  2428. package/dist/layout/split-top-level.js +15 -0
  2429. package/dist/layout/split-top-level.js.map +1 -0
  2430. package/dist/markers/index.d.ts +4 -0
  2431. package/dist/markers/index.d.ts.map +1 -0
  2432. package/dist/markers/index.js +4 -0
  2433. package/dist/markers/index.js.map +1 -0
  2434. package/dist/markers/insert-in-region.d.ts +6 -0
  2435. package/dist/markers/insert-in-region.d.ts.map +1 -0
  2436. package/dist/markers/insert-in-region.js +54 -0
  2437. package/dist/markers/insert-in-region.js.map +1 -0
  2438. package/dist/markers/marker.d.ts +6 -0
  2439. package/dist/markers/marker.d.ts.map +1 -0
  2440. package/dist/markers/marker.js +8 -0
  2441. package/dist/markers/marker.js.map +1 -0
  2442. package/dist/markers/merge-imports.d.ts +6 -0
  2443. package/dist/markers/merge-imports.d.ts.map +1 -0
  2444. package/dist/markers/merge-imports.js +54 -0
  2445. package/dist/markers/merge-imports.js.map +1 -0
  2446. package/dist/markers/parse-wiring.d.ts +3 -0
  2447. package/dist/markers/parse-wiring.d.ts.map +1 -0
  2448. package/dist/markers/parse-wiring.js +17 -0
  2449. package/dist/markers/parse-wiring.js.map +1 -0
  2450. package/dist/markers/replace-region.d.ts +3 -0
  2451. package/dist/markers/replace-region.d.ts.map +1 -0
  2452. package/dist/markers/replace-region.js +14 -0
  2453. package/dist/markers/replace-region.js.map +1 -0
  2454. package/dist/naming/assert-past-fact.d.ts +3 -0
  2455. package/dist/naming/assert-past-fact.d.ts.map +1 -0
  2456. package/dist/naming/assert-past-fact.js +9 -0
  2457. package/dist/naming/assert-past-fact.js.map +1 -0
  2458. package/dist/naming/capitalize.d.ts +2 -0
  2459. package/dist/naming/capitalize.d.ts.map +1 -0
  2460. package/dist/naming/capitalize.js +4 -0
  2461. package/dist/naming/capitalize.js.map +1 -0
  2462. package/dist/naming/event-name.d.ts +4 -0
  2463. package/dist/naming/event-name.d.ts.map +1 -0
  2464. package/dist/naming/event-name.js +5 -0
  2465. package/dist/naming/event-name.js.map +1 -0
  2466. package/dist/naming/index.d.ts +9 -0
  2467. package/dist/naming/index.d.ts.map +1 -0
  2468. package/dist/naming/index.js +8 -0
  2469. package/dist/naming/index.js.map +1 -0
  2470. package/dist/naming/looks-like-past-fact.d.ts +4 -0
  2471. package/dist/naming/looks-like-past-fact.d.ts.map +1 -0
  2472. package/dist/naming/looks-like-past-fact.js +69 -0
  2473. package/dist/naming/looks-like-past-fact.js.map +1 -0
  2474. package/dist/naming/name.d.ts +15 -0
  2475. package/dist/naming/name.d.ts.map +1 -0
  2476. package/dist/naming/name.js +2 -0
  2477. package/dist/naming/name.js.map +1 -0
  2478. package/dist/naming/parse-concept-name.d.ts +9 -0
  2479. package/dist/naming/parse-concept-name.d.ts.map +1 -0
  2480. package/dist/naming/parse-concept-name.js +22 -0
  2481. package/dist/naming/parse-concept-name.js.map +1 -0
  2482. package/dist/naming/parse-context-name.d.ts +3 -0
  2483. package/dist/naming/parse-context-name.d.ts.map +1 -0
  2484. package/dist/naming/parse-context-name.js +10 -0
  2485. package/dist/naming/parse-context-name.js.map +1 -0
  2486. package/dist/naming/split-words.d.ts +3 -0
  2487. package/dist/naming/split-words.d.ts.map +1 -0
  2488. package/dist/naming/split-words.js +12 -0
  2489. package/dist/naming/split-words.js.map +1 -0
  2490. package/dist/naming/to-name.d.ts +3 -0
  2491. package/dist/naming/to-name.d.ts.map +1 -0
  2492. package/dist/naming/to-name.js +25 -0
  2493. package/dist/naming/to-name.js.map +1 -0
  2494. package/dist/progress/format-progress.d.ts +4 -0
  2495. package/dist/progress/format-progress.d.ts.map +1 -0
  2496. package/dist/progress/format-progress.js +44 -0
  2497. package/dist/progress/format-progress.js.map +1 -0
  2498. package/dist/progress/progress.d.ts +28 -0
  2499. package/dist/progress/progress.d.ts.map +1 -0
  2500. package/dist/progress/progress.js +2 -0
  2501. package/dist/progress/progress.js.map +1 -0
  2502. package/dist/progress/read-progress.d.ts +6 -0
  2503. package/dist/progress/read-progress.d.ts.map +1 -0
  2504. package/dist/progress/read-progress.js +40 -0
  2505. package/dist/progress/read-progress.js.map +1 -0
  2506. package/dist/progress/read-remaining.d.ts +6 -0
  2507. package/dist/progress/read-remaining.d.ts.map +1 -0
  2508. package/dist/progress/read-remaining.js +35 -0
  2509. package/dist/progress/read-remaining.js.map +1 -0
  2510. package/dist/progress/read-slices.d.ts +6 -0
  2511. package/dist/progress/read-slices.d.ts.map +1 -0
  2512. package/dist/progress/read-slices.js +46 -0
  2513. package/dist/progress/read-slices.js.map +1 -0
  2514. package/dist/progress/remaining-in.d.ts +4 -0
  2515. package/dist/progress/remaining-in.d.ts.map +1 -0
  2516. package/dist/progress/remaining-in.js +20 -0
  2517. package/dist/progress/remaining-in.js.map +1 -0
  2518. package/dist/progress/remaining.d.ts +11 -0
  2519. package/dist/progress/remaining.d.ts.map +1 -0
  2520. package/dist/progress/remaining.js +2 -0
  2521. package/dist/progress/remaining.js.map +1 -0
  2522. package/dist/progress/slice.d.ts +18 -0
  2523. package/dist/progress/slice.d.ts.map +1 -0
  2524. package/dist/progress/slice.js +2 -0
  2525. package/dist/progress/slice.js.map +1 -0
  2526. package/dist/run.d.ts +3 -0
  2527. package/dist/run.d.ts.map +1 -0
  2528. package/dist/run.js +130 -0
  2529. package/dist/run.js.map +1 -0
  2530. package/dist/stack/alias-vars.d.ts +8 -0
  2531. package/dist/stack/alias-vars.d.ts.map +1 -0
  2532. package/dist/stack/alias-vars.js +25 -0
  2533. package/dist/stack/alias-vars.js.map +1 -0
  2534. package/dist/stack/audit-vars.d.ts +5 -0
  2535. package/dist/stack/audit-vars.d.ts.map +1 -0
  2536. package/dist/stack/audit-vars.js +17 -0
  2537. package/dist/stack/audit-vars.js.map +1 -0
  2538. package/dist/stack/authentication-vars.d.ts +5 -0
  2539. package/dist/stack/authentication-vars.d.ts.map +1 -0
  2540. package/dist/stack/authentication-vars.js +8 -0
  2541. package/dist/stack/authentication-vars.js.map +1 -0
  2542. package/dist/stack/broker-vars.d.ts +4 -0
  2543. package/dist/stack/broker-vars.d.ts.map +1 -0
  2544. package/dist/stack/broker-vars.js +34 -0
  2545. package/dist/stack/broker-vars.js.map +1 -0
  2546. package/dist/stack/cache-vars.d.ts +5 -0
  2547. package/dist/stack/cache-vars.d.ts.map +1 -0
  2548. package/dist/stack/cache-vars.js +7 -0
  2549. package/dist/stack/cache-vars.js.map +1 -0
  2550. package/dist/stack/error-vars.d.ts +8 -0
  2551. package/dist/stack/error-vars.d.ts.map +1 -0
  2552. package/dist/stack/error-vars.js +11 -0
  2553. package/dist/stack/error-vars.js.map +1 -0
  2554. package/dist/stack/event-vars.d.ts +5 -0
  2555. package/dist/stack/event-vars.d.ts.map +1 -0
  2556. package/dist/stack/event-vars.js +28 -0
  2557. package/dist/stack/event-vars.js.map +1 -0
  2558. package/dist/stack/one.d.ts +3 -0
  2559. package/dist/stack/one.d.ts.map +1 -0
  2560. package/dist/stack/one.js +6 -0
  2561. package/dist/stack/one.js.map +1 -0
  2562. package/dist/stack/persistence-vars.d.ts +5 -0
  2563. package/dist/stack/persistence-vars.d.ts.map +1 -0
  2564. package/dist/stack/persistence-vars.js +32 -0
  2565. package/dist/stack/persistence-vars.js.map +1 -0
  2566. package/dist/stack/provided-brokers.d.ts +3 -0
  2567. package/dist/stack/provided-brokers.d.ts.map +1 -0
  2568. package/dist/stack/provided-brokers.js +3 -0
  2569. package/dist/stack/provided-brokers.js.map +1 -0
  2570. package/dist/stack/redis-vars.d.ts +5 -0
  2571. package/dist/stack/redis-vars.d.ts.map +1 -0
  2572. package/dist/stack/redis-vars.js +16 -0
  2573. package/dist/stack/redis-vars.js.map +1 -0
  2574. package/dist/stack/stack-vars.d.ts +5 -0
  2575. package/dist/stack/stack-vars.d.ts.map +1 -0
  2576. package/dist/stack/stack-vars.js +64 -0
  2577. package/dist/stack/stack-vars.js.map +1 -0
  2578. package/dist/stack/uses-legacy-decorators.d.ts +8 -0
  2579. package/dist/stack/uses-legacy-decorators.d.ts.map +1 -0
  2580. package/dist/stack/uses-legacy-decorators.js +9 -0
  2581. package/dist/stack/uses-legacy-decorators.js.map +1 -0
  2582. package/dist/stack/with-database.d.ts +3 -0
  2583. package/dist/stack/with-database.d.ts.map +1 -0
  2584. package/dist/stack/with-database.js +3 -0
  2585. package/dist/stack/with-database.js.map +1 -0
  2586. package/dist/templating/index.d.ts +7 -0
  2587. package/dist/templating/index.d.ts.map +1 -0
  2588. package/dist/templating/index.js +6 -0
  2589. package/dist/templating/index.js.map +1 -0
  2590. package/dist/templating/list-templates.d.ts +3 -0
  2591. package/dist/templating/list-templates.d.ts.map +1 -0
  2592. package/dist/templating/list-templates.js +17 -0
  2593. package/dist/templating/list-templates.js.map +1 -0
  2594. package/dist/templating/read-template.d.ts +2 -0
  2595. package/dist/templating/read-template.d.ts.map +1 -0
  2596. package/dist/templating/read-template.js +22 -0
  2597. package/dist/templating/read-template.js.map +1 -0
  2598. package/dist/templating/render-context.d.ts +6 -0
  2599. package/dist/templating/render-context.d.ts.map +1 -0
  2600. package/dist/templating/render-context.js +2 -0
  2601. package/dist/templating/render-context.js.map +1 -0
  2602. package/dist/templating/render-template.d.ts +4 -0
  2603. package/dist/templating/render-template.d.ts.map +1 -0
  2604. package/dist/templating/render-template.js +12 -0
  2605. package/dist/templating/render-template.js.map +1 -0
  2606. package/dist/templating/render.d.ts +4 -0
  2607. package/dist/templating/render.d.ts.map +1 -0
  2608. package/dist/templating/render.js +18 -0
  2609. package/dist/templating/render.js.map +1 -0
  2610. package/dist/templating/rendering.d.ts +18 -0
  2611. package/dist/templating/rendering.d.ts.map +1 -0
  2612. package/dist/templating/rendering.js +72 -0
  2613. package/dist/templating/rendering.js.map +1 -0
  2614. package/dist/templating/template-exists.d.ts +2 -0
  2615. package/dist/templating/template-exists.d.ts.map +1 -0
  2616. package/dist/templating/template-exists.js +13 -0
  2617. package/dist/templating/template-exists.js.map +1 -0
  2618. package/dist/templating/templates-root.d.ts +3 -0
  2619. package/dist/templating/templates-root.d.ts.map +1 -0
  2620. package/dist/templating/templates-root.js +4 -0
  2621. package/dist/templating/templates-root.js.map +1 -0
  2622. package/dist/version.d.ts +2 -0
  2623. package/dist/version.d.ts.map +1 -0
  2624. package/dist/version.js +2 -0
  2625. package/dist/version.js.map +1 -0
  2626. package/dist/worker/briefing-of.d.ts +7 -0
  2627. package/dist/worker/briefing-of.d.ts.map +1 -0
  2628. package/dist/worker/briefing-of.js +59 -0
  2629. package/dist/worker/briefing-of.js.map +1 -0
  2630. package/dist/worker/open-worker-scope.d.ts +18 -0
  2631. package/dist/worker/open-worker-scope.d.ts.map +1 -0
  2632. package/dist/worker/open-worker-scope.js +111 -0
  2633. package/dist/worker/open-worker-scope.js.map +1 -0
  2634. package/dist/worker/worker-generators.d.ts +4 -0
  2635. package/dist/worker/worker-generators.d.ts.map +1 -0
  2636. package/dist/worker/worker-generators.js +14 -0
  2637. package/dist/worker/worker-generators.js.map +1 -0
  2638. package/dist/worker/worker-place.d.ts +15 -0
  2639. package/dist/worker/worker-place.d.ts.map +1 -0
  2640. package/dist/worker/worker-place.js +2 -0
  2641. package/dist/worker/worker-place.js.map +1 -0
  2642. package/dist/worker/worker-scope.d.ts +26 -0
  2643. package/dist/worker/worker-scope.d.ts.map +1 -0
  2644. package/dist/worker/worker-scope.js +2 -0
  2645. package/dist/worker/worker-scope.js.map +1 -0
  2646. package/dist/workspace/index.d.ts +3 -0
  2647. package/dist/workspace/index.d.ts.map +1 -0
  2648. package/dist/workspace/index.js +2 -0
  2649. package/dist/workspace/index.js.map +1 -0
  2650. package/dist/workspace/next-step.d.ts +8 -0
  2651. package/dist/workspace/next-step.d.ts.map +1 -0
  2652. package/dist/workspace/next-step.js +2 -0
  2653. package/dist/workspace/next-step.js.map +1 -0
  2654. package/dist/workspace/todo-location.d.ts +7 -0
  2655. package/dist/workspace/todo-location.d.ts.map +1 -0
  2656. package/dist/workspace/todo-location.js +2 -0
  2657. package/dist/workspace/todo-location.js.map +1 -0
  2658. package/dist/workspace/todos-in.d.ts +4 -0
  2659. package/dist/workspace/todos-in.d.ts.map +1 -0
  2660. package/dist/workspace/todos-in.js +12 -0
  2661. package/dist/workspace/todos-in.js.map +1 -0
  2662. package/dist/workspace/workspace-report.d.ts +11 -0
  2663. package/dist/workspace/workspace-report.d.ts.map +1 -0
  2664. package/dist/workspace/workspace-report.js +2 -0
  2665. package/dist/workspace/workspace-report.js.map +1 -0
  2666. package/dist/workspace/workspace.d.ts +33 -0
  2667. package/dist/workspace/workspace.d.ts.map +1 -0
  2668. package/dist/workspace/workspace.js +131 -0
  2669. package/dist/workspace/workspace.js.map +1 -0
  2670. package/package.json +31 -4
  2671. package/templates/acl/translator.spec.ts.tpl +12 -0
  2672. package/templates/acl/translator.ts.tpl +14 -0
  2673. package/templates/adapter/adapter.declared.ts.tpl +46 -0
  2674. package/templates/adapter/adapter.spec.ts.tpl +58 -0
  2675. package/templates/adapter/adapter.ts.tpl +30 -0
  2676. package/templates/adapter/wiring.tsyringe.tpl +18 -0
  2677. package/templates/adr/adr.md.tpl +37 -0
  2678. package/templates/aggregate/aggregate.spec.ts.tpl +36 -0
  2679. package/templates/aggregate/aggregate.ts.tpl +37 -0
  2680. package/templates/architecture/extractable.declared.spec.ts.tpl +44 -0
  2681. package/templates/architecture/extractable.manual.spec.ts.tpl +28 -0
  2682. package/templates/architecture/extractable.tsyringe.spec.ts.tpl +35 -0
  2683. package/templates/architecture/wiring.declared.tpl +6 -0
  2684. package/templates/architecture/wiring.manual.tpl +4 -0
  2685. package/templates/architecture/wiring.tsyringe.tpl +4 -0
  2686. package/templates/builder/builder.ts.tpl +32 -0
  2687. package/templates/command/command.ts.tpl +27 -0
  2688. package/templates/command/handler.declared.ts.tpl +36 -0
  2689. package/templates/command/handler.spec.buses.ts.tpl +87 -0
  2690. package/templates/command/handler.spec.tsyringe.ts.tpl +102 -0
  2691. package/templates/command/handler.ts.tpl +33 -0
  2692. package/templates/command/wiring.manual.tpl +14 -0
  2693. package/templates/command/wiring.tsyringe.tpl +15 -0
  2694. package/templates/context/CONTEXT.md.tpl +46 -0
  2695. package/templates/context/module.manual.ts.tpl +34 -0
  2696. package/templates/context/module.tsyringe.ts.tpl +15 -0
  2697. package/templates/context/permission-set.tpl +4 -0
  2698. package/templates/context/permission.tpl +2 -0
  2699. package/templates/context/permissions.spec.ts.tpl +14 -0
  2700. package/templates/context/permissions.ts.tpl +6 -0
  2701. package/templates/context/published-language-index.ts.tpl +1 -0
  2702. package/templates/context/routes.spec.ts.tpl +14 -0
  2703. package/templates/context/routes.ts.tpl +11 -0
  2704. package/templates/context/wiring.declared.tpl +13 -0
  2705. package/templates/context/wiring.manual.tpl +4 -0
  2706. package/templates/context/wiring.tsyringe.tpl +11 -0
  2707. package/templates/docs/context-map.md.tpl +23 -0
  2708. package/templates/docs/integration-readme.md.tpl +27 -0
  2709. package/templates/domain-error/domain-error.spec.ts.tpl +12 -0
  2710. package/templates/domain-error/domain-error.ts.tpl +10 -0
  2711. package/templates/domain-event/domain-event.spec.ts.tpl +11 -0
  2712. package/templates/domain-event/domain-event.ts.tpl +11 -0
  2713. package/templates/domain-service/domain-service.spec.ts.tpl +12 -0
  2714. package/templates/domain-service/domain-service.ts.tpl +3 -0
  2715. package/templates/e2e/e2e.spec.ts.tpl +106 -0
  2716. package/templates/entity/entity.spec.ts.tpl +25 -0
  2717. package/templates/entity/entity.ts.tpl +29 -0
  2718. package/templates/event-handler/event-handler.declared.ts.tpl +14 -0
  2719. package/templates/event-handler/event-handler.spec.ts.tpl +38 -0
  2720. package/templates/event-handler/event-handler.ts.tpl +12 -0
  2721. package/templates/event-handler/wiring.manual.tpl +24 -0
  2722. package/templates/event-handler/wiring.tsyringe.tpl +25 -0
  2723. package/templates/gateway/adapter.declared.ts.tpl +11 -0
  2724. package/templates/gateway/adapter.ts.tpl +9 -0
  2725. package/templates/gateway/contract.spec.ts.tpl +19 -0
  2726. package/templates/gateway/contract.ts.tpl +3 -0
  2727. package/templates/gateway/fake.ts.tpl +5 -0
  2728. package/templates/gateway/platform-test.declared.tpl +4 -0
  2729. package/templates/gateway/platform.declared.tpl +4 -0
  2730. package/templates/gateway/port.ts.tpl +3 -0
  2731. package/templates/gateway/wiring.tsyringe.tpl +7 -0
  2732. package/templates/init/CLAUDE.md.tpl +39 -0
  2733. package/templates/init/README.md.tpl +262 -0
  2734. package/templates/init/docker/Dockerfile.tpl +26 -0
  2735. package/templates/init/docker/docker-compose.yml.tpl +234 -0
  2736. package/templates/init/docker/dockerignore.tpl +6 -0
  2737. package/templates/init/docker/env.example.tpl +139 -0
  2738. package/templates/init/docker/keycloak-realm.json.tpl +112 -0
  2739. package/templates/init/e2e/auth-environment.jwt.ts.tpl +6 -0
  2740. package/templates/init/e2e/auth-environment.keycloak.ts.tpl +6 -0
  2741. package/templates/init/e2e/auth-environment.none.ts.tpl +2 -0
  2742. package/templates/init/e2e/create-credentials.jwt.ts.tpl +44 -0
  2743. package/templates/init/e2e/create-credentials.keycloak.ts.tpl +79 -0
  2744. package/templates/init/e2e/create-credentials.none.ts.tpl +30 -0
  2745. package/templates/init/e2e/jest.e2e.config.js.tpl +8 -0
  2746. package/templates/init/e2e/start-application.database.ts.tpl +142 -0
  2747. package/templates/init/e2e/start-application.memory.ts.tpl +146 -0
  2748. package/templates/init/e2e/story-of.ts.tpl +19 -0
  2749. package/templates/init/e2e/test-environment.ts.tpl +33 -0
  2750. package/templates/init/e2e/vitest.e2e.config.ts.tpl +25 -0
  2751. package/templates/init/gitignore.tpl +9 -0
  2752. package/templates/init/jest.config.js.tpl +28 -0
  2753. package/templates/init/main.ts.tpl +98 -0
  2754. package/templates/init/platform/audit/audit.module.manual.ts.tpl +39 -0
  2755. package/templates/init/platform/audit/audit.module.tsyringe.ts.tpl +47 -0
  2756. package/templates/init/platform/audit/audit.permissions.ts.tpl +6 -0
  2757. package/templates/init/platform/audit/audited-events.ts.tpl +9 -0
  2758. package/templates/init/platform/audit/create-audit.ts.tpl +111 -0
  2759. package/templates/init/platform/audit/search-audit-entries.handler.ts.tpl +18 -0
  2760. package/templates/init/platform/audit/search-audit-entries.query.ts.tpl +16 -0
  2761. package/templates/init/platform/audit/search-audit-entries.route.ts.tpl +197 -0
  2762. package/templates/init/platform/auth/access-policies.ts.tpl +9 -0
  2763. package/templates/init/platform/auth/attribute-policies.ts.tpl +16 -0
  2764. package/templates/init/platform/auth/authorization.tsyringe.ts.tpl +25 -0
  2765. package/templates/init/platform/auth/create-authenticator.jwt.ts.tpl +12 -0
  2766. package/templates/init/platform/auth/create-authenticator.keycloak.ts.tpl +15 -0
  2767. package/templates/init/platform/auth/create-authenticator.none.ts.tpl +8 -0
  2768. package/templates/init/platform/auth/create-authorizer.abac.ts.tpl +8 -0
  2769. package/templates/init/platform/auth/create-authorizer.custom.ts.tpl +8 -0
  2770. package/templates/init/platform/auth/create-authorizer.rbac.ts.tpl +7 -0
  2771. package/templates/init/platform/auth/create-authorizer.rebac.ts.tpl +14 -0
  2772. package/templates/init/platform/auth/create-tuple-store.contract.spec.ts.tpl +8 -0
  2773. package/templates/init/platform/auth/create-tuple-store.ts.tpl +6 -0
  2774. package/templates/init/platform/auth/custom-authorizer.contract.spec.ts.tpl +25 -0
  2775. package/templates/init/platform/auth/custom-authorizer.ts.tpl +40 -0
  2776. package/templates/init/platform/auth/development-actor-header.ts.tpl +2 -0
  2777. package/templates/init/platform/auth/development-header-authenticator.ts.tpl +37 -0
  2778. package/templates/init/platform/auth/http-boundary.ts.tpl +92 -0
  2779. package/templates/init/platform/auth/log-decisions.ts.tpl +28 -0
  2780. package/templates/init/platform/auth/offline-authenticator.ts.tpl +6 -0
  2781. package/templates/init/platform/auth/permission-mapping.ts.tpl +7 -0
  2782. package/templates/init/platform/auth/permissions.ts.tpl +15 -0
  2783. package/templates/init/platform/auth/principal-of.none.ts.tpl +21 -0
  2784. package/templates/init/platform/auth/principal-of.tokens.ts.tpl +7 -0
  2785. package/templates/init/platform/auth/relate-system-actors.ts.tpl +17 -0
  2786. package/templates/init/platform/auth/relation-tuples.ts.tpl +6 -0
  2787. package/templates/init/platform/auth/relationship-schema.ts.tpl +16 -0
  2788. package/templates/init/platform/auth/roles.ts.tpl +17 -0
  2789. package/templates/init/platform/auth/security-schemes.none.ts.tpl +4 -0
  2790. package/templates/init/platform/auth/security-schemes.tokens.ts.tpl +2 -0
  2791. package/templates/init/platform/auth/use-case-protection.ts.tpl +38 -0
  2792. package/templates/init/platform/buses/create-command-bus.ts.tpl +86 -0
  2793. package/templates/init/platform/buses/create-query-bus.ts.tpl +29 -0
  2794. package/templates/init/platform/compose-application.manual.ts.tpl +187 -0
  2795. package/templates/init/platform/compose-application.tsyringe.ts.tpl +273 -0
  2796. package/templates/init/platform/config/app-config.ts.tpl +97 -0
  2797. package/templates/init/platform/config/config-error.ts.tpl +7 -0
  2798. package/templates/init/platform/config/load-config.ts.tpl +253 -0
  2799. package/templates/init/platform/config/read-tracing.ts.tpl +53 -0
  2800. package/templates/init/platform/create-platform.manual.ts.tpl +313 -0
  2801. package/templates/init/platform/database/connect-to-database.drizzle.ts.tpl +14 -0
  2802. package/templates/init/platform/database/connect-to-database.knex.ts.tpl +18 -0
  2803. package/templates/init/platform/database/create-client.prisma.ts.tpl +14 -0
  2804. package/templates/init/platform/database/create-data-source.typeorm.ts.tpl +12 -0
  2805. package/templates/init/platform/database/data-source.typeorm.ts.tpl +10 -0
  2806. package/templates/init/platform/database/database.drizzle.ts.tpl +9 -0
  2807. package/templates/init/platform/database/database.prisma.ts.tpl +5 -0
  2808. package/templates/init/platform/database/drizzle.config.ts.tpl +8 -0
  2809. package/templates/init/platform/database/inert-persistence.memory.ts.tpl +7 -0
  2810. package/templates/init/platform/database/inert-persistence.pooled.ts.tpl +10 -0
  2811. package/templates/init/platform/database/inert-persistence.prisma.ts.tpl +11 -0
  2812. package/templates/init/platform/database/inert-persistence.typeorm.ts.tpl +11 -0
  2813. package/templates/init/platform/database/knexfile.js.tpl +9 -0
  2814. package/templates/init/platform/database/migration.knex.js.tpl +8 -0
  2815. package/templates/init/platform/database/open-persistence.contract.spec.ts.tpl +17 -0
  2816. package/templates/init/platform/database/open-persistence.memory.ts.tpl +35 -0
  2817. package/templates/init/platform/database/open-persistence.pooled.ts.tpl +9 -0
  2818. package/templates/init/platform/database/open-persistence.prisma.ts.tpl +11 -0
  2819. package/templates/init/platform/database/open-persistence.typeorm.ts.tpl +11 -0
  2820. package/templates/init/platform/database/open-test-database.drizzle.ts.tpl +146 -0
  2821. package/templates/init/platform/database/open-test-database.knex.ts.tpl +83 -0
  2822. package/templates/init/platform/database/open-test-database.prisma.ts.tpl +82 -0
  2823. package/templates/init/platform/database/open-test-database.typeorm.ts.tpl +78 -0
  2824. package/templates/init/platform/database/persistence-over.drizzle.ts.tpl +17 -0
  2825. package/templates/init/platform/database/persistence-over.knex.ts.tpl +17 -0
  2826. package/templates/init/platform/database/persistence-over.prisma.ts.tpl +20 -0
  2827. package/templates/init/platform/database/persistence-over.typeorm.ts.tpl +21 -0
  2828. package/templates/init/platform/database/persistence.memory.ts.tpl +20 -0
  2829. package/templates/init/platform/database/persistence.orm.ts.tpl +19 -0
  2830. package/templates/init/platform/database/prisma.config.ts.tpl +8 -0
  2831. package/templates/init/platform/database/schema.drizzle.ts.tpl +19 -0
  2832. package/templates/init/platform/database/schema.knex.ts.tpl +27 -0
  2833. package/templates/init/platform/database/schema.prisma.tpl +48 -0
  2834. package/templates/init/platform/database/schema.typeorm.ts.tpl +15 -0
  2835. package/templates/init/platform/errors.ts.tpl +11 -0
  2836. package/templates/init/platform/events/aggregate-key-of.ts.tpl +24 -0
  2837. package/templates/init/platform/events/create-event-provider.custom.ts.tpl +9 -0
  2838. package/templates/init/platform/events/create-event-provider.kafka.ts.tpl +51 -0
  2839. package/templates/init/platform/events/create-event-provider.nats.ts.tpl +50 -0
  2840. package/templates/init/platform/events/create-event-provider.rabbitmq.ts.tpl +48 -0
  2841. package/templates/init/platform/events/create-event-provider.redis.ts.tpl +50 -0
  2842. package/templates/init/platform/events/custom-event-bus.contract.spec.ts.tpl +8 -0
  2843. package/templates/init/platform/events/custom-event-bus.ts.tpl +25 -0
  2844. package/templates/init/platform/events/event-provider.ts.tpl +13 -0
  2845. package/templates/init/platform/events/in-process-events.ts.tpl +14 -0
  2846. package/templates/init/platform/events/start-outbox-relay.ts.tpl +74 -0
  2847. package/templates/init/platform/http/create-app-module.ts.tpl +12 -0
  2848. package/templates/init/platform/http/refusal-for.ts.tpl +39 -0
  2849. package/templates/init/platform/http/start-http-server.express.ts.tpl +81 -0
  2850. package/templates/init/platform/http/start-http-server.fastify.ts.tpl +59 -0
  2851. package/templates/init/platform/http/start-http-server.nest.ts.tpl +99 -0
  2852. package/templates/init/platform/http/with-documentation.ts.tpl +20 -0
  2853. package/templates/init/platform/job-settings.ts.tpl +23 -0
  2854. package/templates/init/platform/jobs/configured-job-scheduler.ts.tpl +43 -0
  2855. package/templates/init/platform/lay-foundations.tsyringe.ts.tpl +74 -0
  2856. package/templates/init/platform/observability/create-logger.pino.ts.tpl +28 -0
  2857. package/templates/init/platform/observability/create-logger.stdout.ts.tpl +36 -0
  2858. package/templates/init/platform/observability/create-logger.winston.ts.tpl +29 -0
  2859. package/templates/init/platform/observability/create-metrics.ts.tpl +6 -0
  2860. package/templates/init/platform/platform-test.module.tsyringe.ts.tpl +24 -0
  2861. package/templates/init/platform/platform.manual.ts.tpl +81 -0
  2862. package/templates/init/platform/platform.module.tsyringe.ts.tpl +146 -0
  2863. package/templates/init/platform/redis/open-redis.ts.tpl +70 -0
  2864. package/templates/init/platform/resilience/adapter-aspects.ts.tpl +17 -0
  2865. package/templates/init/platform/resilience/default-resilience.ts.tpl +4 -0
  2866. package/templates/init/platform/resilience/own-policy.ts.tpl +20 -0
  2867. package/templates/init/platform/resilience/resilience-settings.ts.tpl +6 -0
  2868. package/templates/init/platform/resilience/self-governed.ts.tpl +2 -0
  2869. package/templates/init/platform/tracing.ts.tpl +19 -0
  2870. package/templates/init/rules/application.md.tpl +25 -0
  2871. package/templates/init/rules/domain.md.tpl +18 -0
  2872. package/templates/init/rules/infrastructure.md.tpl +24 -0
  2873. package/templates/init/rules/platform.md.tpl +31 -0
  2874. package/templates/init/rules/presentation.md.tpl +19 -0
  2875. package/templates/init/rules/published-language.md.tpl +15 -0
  2876. package/templates/init/rules/tests.md.tpl +27 -0
  2877. package/templates/init/scripts/events.ts.tpl +122 -0
  2878. package/templates/init/scripts/openapi.ts.tpl +57 -0
  2879. package/templates/integration-event/audited.tpl +4 -0
  2880. package/templates/integration-event/integration-event.class-validator.ts.tpl +14 -0
  2881. package/templates/integration-event/integration-event.custom.ts.tpl +21 -0
  2882. package/templates/integration-event/integration-event.zod.ts.tpl +20 -0
  2883. package/templates/integration-event/payload.class-validator.ts.tpl +8 -0
  2884. package/templates/integration-event/payload.custom.ts.tpl +4 -0
  2885. package/templates/integration-event/publisher.declared.ts.tpl +24 -0
  2886. package/templates/integration-event/publisher.spec.ts.tpl +26 -0
  2887. package/templates/integration-event/publisher.ts.tpl +22 -0
  2888. package/templates/integration-event/wiring.manual.tpl +11 -0
  2889. package/templates/integration-event/wiring.tsyringe.tpl +12 -0
  2890. package/templates/integration-handler/integration-handler.declared.ts.tpl +16 -0
  2891. package/templates/integration-handler/integration-handler.spec.ts.tpl +40 -0
  2892. package/templates/integration-handler/integration-handler.ts.tpl +26 -0
  2893. package/templates/integration-handler/wiring.manual.tpl +32 -0
  2894. package/templates/integration-handler/wiring.tsyringe.tpl +23 -0
  2895. package/templates/job/job.declared.ts.tpl +16 -0
  2896. package/templates/job/job.spec.buses.ts.tpl +45 -0
  2897. package/templates/job/job.spec.tsyringe.ts.tpl +52 -0
  2898. package/templates/job/job.ts.tpl +14 -0
  2899. package/templates/job/settings.tpl +2 -0
  2900. package/templates/job/wiring.manual.tpl +10 -0
  2901. package/templates/job/wiring.tsyringe.tpl +5 -0
  2902. package/templates/pipeline/biome.json.tpl +47 -0
  2903. package/templates/pipeline/commitlint.config.mjs +8 -0
  2904. package/templates/pipeline/eslint.config.mjs.tpl +9 -0
  2905. package/templates/pipeline/github/branch-protection.md +77 -0
  2906. package/templates/pipeline/github/dependabot.yml +59 -0
  2907. package/templates/pipeline/github/workflows/ci.yml +260 -0
  2908. package/templates/pipeline/github/workflows/codeql.yml +35 -0
  2909. package/templates/pipeline/github/workflows/pr-title.yml +29 -0
  2910. package/templates/pipeline/gitlab/gitlab-ci.yml +208 -0
  2911. package/templates/pipeline/gitlab/merge-request-settings.md +89 -0
  2912. package/templates/pipeline/knip.json.tpl +26 -0
  2913. package/templates/pipeline/lefthook.yml +28 -0
  2914. package/templates/pipeline/package-scripts.json +38 -0
  2915. package/templates/pipeline/renovate.json +67 -0
  2916. package/templates/pipeline/vitest.config.ts.tpl +48 -0
  2917. package/templates/policy/policy.declared.ts.tpl +11 -0
  2918. package/templates/policy/policy.spec.declared.ts.tpl +26 -0
  2919. package/templates/policy/policy.spec.ts.tpl +21 -0
  2920. package/templates/policy/policy.ts.tpl +10 -0
  2921. package/templates/policy/registration.tpl +4 -0
  2922. package/templates/port/fake.ts.tpl +5 -0
  2923. package/templates/port/port.ts.tpl +3 -0
  2924. package/templates/query/handler.declared.ts.tpl +14 -0
  2925. package/templates/query/handler.spec.buses.ts.tpl +54 -0
  2926. package/templates/query/handler.spec.tsyringe.ts.tpl +64 -0
  2927. package/templates/query/handler.ts.tpl +13 -0
  2928. package/templates/query/query.ts.tpl +13 -0
  2929. package/templates/query/reader.fake.ts.tpl +8 -0
  2930. package/templates/query/reader.in-memory.ts.tpl +21 -0
  2931. package/templates/query/reader.port.ts.tpl +6 -0
  2932. package/templates/query/result.ts.tpl +3 -0
  2933. package/templates/query/search.handler.declared.ts.tpl +21 -0
  2934. package/templates/query/search.handler.spec.buses.ts.tpl +59 -0
  2935. package/templates/query/search.handler.spec.tsyringe.ts.tpl +58 -0
  2936. package/templates/query/search.handler.ts.tpl +20 -0
  2937. package/templates/query/search.query.ts.tpl +19 -0
  2938. package/templates/query/search.reader.fake.ts.tpl +8 -0
  2939. package/templates/query/search.reader.in-memory.ts.tpl +72 -0
  2940. package/templates/query/search.reader.port.ts.tpl +7 -0
  2941. package/templates/query/search.reader.spec.ts.tpl +46 -0
  2942. package/templates/query/search.result.ts.tpl +11 -0
  2943. package/templates/query/search.wiring.manual.tpl +12 -0
  2944. package/templates/query/search.wiring.tsyringe.tpl +10 -0
  2945. package/templates/query/wiring.manual.tpl +12 -0
  2946. package/templates/query/wiring.tsyringe.tpl +9 -0
  2947. package/templates/repository/contract.spec.ts.tpl +96 -0
  2948. package/templates/repository/drizzle/mapper.ts.tpl +28 -0
  2949. package/templates/repository/drizzle/repository.ts.tpl +90 -0
  2950. package/templates/repository/drizzle/schema-export.tpl +2 -0
  2951. package/templates/repository/drizzle/schema.ts.tpl +9 -0
  2952. package/templates/repository/drizzle/table.tpl +32 -0
  2953. package/templates/repository/fake.ts.tpl +16 -0
  2954. package/templates/repository/knex/mapper.ts.tpl +18 -0
  2955. package/templates/repository/knex/repository.ts.tpl +117 -0
  2956. package/templates/repository/knex/row.ts.tpl +16 -0
  2957. package/templates/repository/knex/schema-export.tpl +4 -0
  2958. package/templates/repository/knex/schema.ts.tpl +3 -0
  2959. package/templates/repository/knex/table.tpl +23 -0
  2960. package/templates/repository/knex/tables.ts.tpl +13 -0
  2961. package/templates/repository/none/repository.ts.tpl +48 -0
  2962. package/templates/repository/prisma/mapper.ts.tpl +21 -0
  2963. package/templates/repository/prisma/model.tpl +14 -0
  2964. package/templates/repository/prisma/repository.ts.tpl +55 -0
  2965. package/templates/repository/repository.ts.tpl +6 -0
  2966. package/templates/repository/typeorm/mapper.ts.tpl +18 -0
  2967. package/templates/repository/typeorm/repository.ts.tpl +58 -0
  2968. package/templates/repository/typeorm/row.ts.tpl +11 -0
  2969. package/templates/repository/typeorm/schema-export.tpl +4 -0
  2970. package/templates/repository/typeorm/schema.ts.tpl +9 -0
  2971. package/templates/repository/typeorm/table.tpl +15 -0
  2972. package/templates/repository/wiring.manual.tpl +9 -0
  2973. package/templates/repository/wiring.tsyringe.tpl +14 -0
  2974. package/templates/route/dto.accepted.ts.tpl +6 -0
  2975. package/templates/route/dto.answer.ts.tpl +3 -0
  2976. package/templates/route/dto.body.ts.tpl +3 -0
  2977. package/templates/route/dto.line.ts.tpl +8 -0
  2978. package/templates/route/dto.params.ts.tpl +5 -0
  2979. package/templates/route/route.class-validator.ts.tpl +70 -0
  2980. package/templates/route/route.none.ts.tpl +89 -0
  2981. package/templates/route/route.search.ts.tpl +82 -0
  2982. package/templates/route/route.spec.ts.tpl +42 -0
  2983. package/templates/route/route.standard-schema.ts.tpl +98 -0
  2984. package/templates/route/route.zod.ts.tpl +80 -0
  2985. package/templates/route/routes.on-tsyringe.tpl +4 -0
  2986. package/templates/route/wiring.manual.tpl +4 -0
  2987. package/templates/service/compose.tpl +11 -0
  2988. package/templates/service/main.ts.tpl +104 -0
  2989. package/templates/value-object/value-object.spec.ts.tpl +24 -0
  2990. package/templates/value-object/value-object.ts.tpl +26 -0
  2991. package/templates/worker/compose.tpl +11 -0
  2992. package/templates/worker/main.ts.tpl +63 -0
package/README.md CHANGED
@@ -1,3 +1,775 @@
1
- # Temporary Holding Version
1
+ # ddd-ts-kit
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
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.