ddd-ts-kit 0.113.1 → 0.114.1

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 (103) hide show
  1. package/CHANGELOG.md +54 -1
  2. package/README.fr.md +6 -6
  3. package/README.md +5 -5
  4. package/dist/help/work-notes.d.ts.map +1 -1
  5. package/dist/help/work-notes.js +7 -5
  6. package/dist/help/work-notes.js.map +1 -1
  7. package/dist/init/managed-settings-note.js +1 -1
  8. package/dist/init/managed-settings-note.js.map +1 -1
  9. package/dist/init/manifest/versions.js +25 -25
  10. package/dist/init/run-init.js +1 -1
  11. package/dist/init/run-init.js.map +1 -1
  12. package/dist/init/write-copilot-settings.js +1 -1
  13. package/dist/init/write-copilot-settings.js.map +1 -1
  14. package/dist/issues-url.d.ts +1 -1
  15. package/dist/issues-url.d.ts.map +1 -1
  16. package/dist/issues-url.js +1 -1
  17. package/dist/issues-url.js.map +1 -1
  18. package/dist/merge/declarations/binds-the-name.d.ts +8 -0
  19. package/dist/merge/declarations/binds-the-name.d.ts.map +1 -0
  20. package/dist/merge/declarations/binds-the-name.js +40 -0
  21. package/dist/merge/declarations/binds-the-name.js.map +1 -0
  22. package/dist/merge/declarations/close-of.d.ts +3 -0
  23. package/dist/merge/declarations/close-of.d.ts.map +1 -0
  24. package/dist/merge/declarations/close-of.js +15 -0
  25. package/dist/merge/declarations/close-of.js.map +1 -0
  26. package/dist/merge/declarations/declarations-of.d.ts +2 -0
  27. package/dist/merge/declarations/declarations-of.d.ts.map +1 -1
  28. package/dist/merge/declarations/declarations-of.js +1 -1
  29. package/dist/merge/declarations/declarations-of.js.map +1 -1
  30. package/dist/merge/declarations/declares-a-member.d.ts +7 -0
  31. package/dist/merge/declarations/declares-a-member.d.ts.map +1 -0
  32. package/dist/merge/declarations/declares-a-member.js +29 -0
  33. package/dist/merge/declarations/declares-a-member.js.map +1 -0
  34. package/dist/merge/declarations/enclosing-group.d.ts +8 -0
  35. package/dist/merge/declarations/enclosing-group.d.ts.map +1 -0
  36. package/dist/merge/declarations/enclosing-group.js +16 -0
  37. package/dist/merge/declarations/enclosing-group.js.map +1 -0
  38. package/dist/merge/declarations/imports-read-as-merged.d.ts +9 -0
  39. package/dist/merge/declarations/imports-read-as-merged.d.ts.map +1 -0
  40. package/dist/merge/declarations/imports-read-as-merged.js +23 -0
  41. package/dist/merge/declarations/imports-read-as-merged.js.map +1 -0
  42. package/dist/merge/declarations/inverts-a-reference.d.ts +12 -0
  43. package/dist/merge/declarations/inverts-a-reference.d.ts.map +1 -0
  44. package/dist/merge/declarations/inverts-a-reference.js +25 -0
  45. package/dist/merge/declarations/inverts-a-reference.js.map +1 -0
  46. package/dist/merge/declarations/lead-of.d.ts +15 -0
  47. package/dist/merge/declarations/lead-of.d.ts.map +1 -0
  48. package/dist/merge/declarations/lead-of.js +19 -0
  49. package/dist/merge/declarations/lead-of.js.map +1 -0
  50. package/dist/merge/declarations/lines-of-both-sides.d.ts +10 -0
  51. package/dist/merge/declarations/lines-of-both-sides.d.ts.map +1 -0
  52. package/dist/merge/declarations/lines-of-both-sides.js +22 -0
  53. package/dist/merge/declarations/lines-of-both-sides.js.map +1 -0
  54. package/dist/merge/declarations/merge-declarations.d.ts.map +1 -1
  55. package/dist/merge/declarations/merge-declarations.js +1 -15
  56. package/dist/merge/declarations/merge-declarations.js.map +1 -1
  57. package/dist/merge/declarations/merged-file.d.ts +15 -0
  58. package/dist/merge/declarations/merged-file.d.ts.map +1 -0
  59. package/dist/merge/declarations/merged-file.js +55 -0
  60. package/dist/merge/declarations/merged-file.js.map +1 -0
  61. package/dist/merge/declarations/merged-lines.d.ts +5 -11
  62. package/dist/merge/declarations/merged-lines.d.ts.map +1 -1
  63. package/dist/merge/declarations/merged-lines.js +6 -39
  64. package/dist/merge/declarations/merged-lines.js.map +1 -1
  65. package/dist/merge/declarations/merged-region.d.ts +2 -1
  66. package/dist/merge/declarations/merged-region.d.ts.map +1 -1
  67. package/dist/merge/declarations/merged-region.js +60 -22
  68. package/dist/merge/declarations/merged-region.js.map +1 -1
  69. package/dist/merge/declarations/reads-a-removed.d.ts +8 -0
  70. package/dist/merge/declarations/reads-a-removed.d.ts.map +1 -0
  71. package/dist/merge/declarations/reads-a-removed.js +27 -0
  72. package/dist/merge/declarations/reads-a-removed.js.map +1 -0
  73. package/dist/merge/declarations/reads-the-name.d.ts +10 -0
  74. package/dist/merge/declarations/reads-the-name.d.ts.map +1 -0
  75. package/dist/merge/declarations/reads-the-name.js +23 -0
  76. package/dist/merge/declarations/reads-the-name.js.map +1 -0
  77. package/dist/merge/declarations/settle-declarations.d.ts +9 -5
  78. package/dist/merge/declarations/settle-declarations.d.ts.map +1 -1
  79. package/dist/merge/declarations/settle-declarations.js +39 -13
  80. package/dist/merge/declarations/settle-declarations.js.map +1 -1
  81. package/dist/merge/declarations/sides-of-region.d.ts +5 -0
  82. package/dist/merge/declarations/sides-of-region.d.ts.map +1 -0
  83. package/dist/merge/declarations/sides-of-region.js +19 -0
  84. package/dist/merge/declarations/sides-of-region.js.map +1 -0
  85. package/dist/merge/declarations/union-in-doubt.d.ts +17 -0
  86. package/dist/merge/declarations/union-in-doubt.d.ts.map +1 -0
  87. package/dist/merge/declarations/union-in-doubt.js +84 -0
  88. package/dist/merge/declarations/union-in-doubt.js.map +1 -0
  89. package/dist/merge/declarations/union-reads-as-merged.d.ts +23 -0
  90. package/dist/merge/declarations/union-reads-as-merged.d.ts.map +1 -0
  91. package/dist/merge/declarations/union-reads-as-merged.js +155 -0
  92. package/dist/merge/declarations/union-reads-as-merged.js.map +1 -0
  93. package/dist/merge/resolve-conflict.d.ts +2 -1
  94. package/dist/merge/resolve-conflict.d.ts.map +1 -1
  95. package/dist/merge/resolve-conflict.js +5 -3
  96. package/dist/merge/resolve-conflict.js.map +1 -1
  97. package/dist/version.d.ts +1 -1
  98. package/dist/version.js +1 -1
  99. package/package.json +9 -9
  100. package/templates/init/AGENTS.md.tpl +1 -1
  101. package/templates/init/README.md.tpl +3 -3
  102. package/templates/pipeline/github/workflows/intent-to-spec.yml +1 -1
  103. package/templates/pipeline/package-scripts.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,9 +1,62 @@
1
1
  # Changelog
2
2
 
3
3
  What each version changes for someone who uses the kit. The packages of `packages/` are released
4
- together, under one version; the notes of each [GitHub release](https://github.com/gbourgeat/ddd-ts-kit/releases)
4
+ together, under one version; the notes of each [GitHub release](https://github.com/ddd-ts-kit/ddd-ts-kit/releases)
5
5
  list the pull requests behind it.
6
6
 
7
+ ## 0.114.1
8
+
9
+ **Version 0.114.0 was tagged and never published: 0.114.1 carries what it announced.** The release run stopped before the publication, when it attested the tarballs with the bill of materials: the file had no `serialNumber`, the field the attestation reads to recognise CycloneDX. The bill of materials now carries one, a new `urn:uuid` at each release. No package exists at 0.114.0 on the registry: a project that follows the kit goes from 0.113.2 to 0.114.1, and the line `To move:` of 0.114.0 applies to that step.
10
+
11
+ ## 0.114.0
12
+
13
+ **The repository moves to the `ddd-ts-kit` organization: `github.com/ddd-ts-kit/ddd-ts-kit`, and the site to `ddd-ts-kit.github.io/ddd-ts-kit`.** The packages keep their names on npm. GitHub sends the old address of the repository to the new one, so a plugin already installed from the marketplace `gbourgeat/ddd-ts-kit` keeps updating; the old address of the site leads nowhere. `init` now writes the marketplace `ddd-ts-kit/ddd-ts-kit` into the settings of a new project, and the links of the generated files and of the rule documentation name the new address.
14
+
15
+ To move: in `.claude/settings.json` and `.github/copilot/settings.json`, replace `gbourgeat/ddd-ts-kit` by `ddd-ts-kit/ddd-ts-kit` in the marketplace of the kit, and replace any link to `gbourgeat.github.io/ddd-ts-kit` by `ddd-ts-kit.github.io/ddd-ts-kit`.
16
+
17
+ **Each published tarball is attested by GitHub, with where and from which commit it was built and with the bill of materials of the release (CycloneDX), which the GitHub release also carries.** `gh attestation verify <tarball> --repo ddd-ts-kit/ddd-ts-kit` checks the provenance, and with `--predicate-type https://cyclonedx.org/bom` the bill of materials; `SECURITY.md` says how. The provenance npm shows on each version is unchanged.
18
+
19
+ **A patch version never breaks, and the release enforces it: what each version may hold before 1.0, the ranges a project holds, how to upgrade and what 1.0 will guarantee are in [Versions and stability](docs/versioning.md).** A change that asks a project to act (a `To move:` line) now ships only in a new minor version; the ranges `init` writes (`^0.x.y`) take patches alone, so a break reaches a project only when its range is changed.
20
+
21
+ ## 0.113.2
22
+
23
+ **`ddd-ts-kit merge-trunk` reads back the lines of both sides it keeps in a generated region, and merges the region declaration by declaration when those lines would mix the two sides.**
24
+
25
+ What you see. Your branch and the trunk conflict inside a generated region of a TypeScript, JavaScript or Prisma file (the tables of a context, the handlers of a module). `merge-trunk` keeps the lines of both sides of each conflict, and until now it committed the region whenever its brackets paired, exit 0, `generated registry: the lines of both sides kept`. After a hand edit inside the region that could be wrong: your branch adds a column above `version` in the table of the orders and stores an aggregate below it, the trunk adds a column at the same place, and the column of the trunk was written in the new table (on Knex the project still type-checked). From this version:
26
+
27
+ - a column, an argument or a statement of one side is no longer written inside a table, a function or a call of the other;
28
+ - a table one side removed and the other only moved does not come back, and a table is not written twice;
29
+ - a comment stays above the declaration it was written above, and a constant a side added under a table stays below that table when the other side moved it;
30
+ - a chain or a call written on several lines keeps its lines when the other side added one that shares some of them.
31
+
32
+ Three things can happen where the two sides conflict in such a region.
33
+
34
+ 1. Nothing changes: the same file and the same report line as before, whenever the lines of both sides hold each declaration of the two sides whole and once, none above one it reads; the order of the lines of both sides is otherwise kept. Everything the generators write alone is in this case.
35
+ 2. The region is merged declaration by declaration, and the report says `generated registry: the declarations of both sides kept, each one whole`: the table one side added is kept whole, the one a side changed or removed while the other left it alone follows that side, the declarations stand in the order of the side that alone changed it, and what a side alone added stands after the declaration it follows on that side.
36
+ 3. The merge stops, exit 1, on one hunk per declaration the two sides do not agree on, the rest of the region being merged. The hunk holds each version of the declaration whole: ``the two sides do not agree on `orders` in the region `tables`: for each, write the one declaration that keeps the intent of both, whole, or remove it.`` Write the declaration once with what both sides meant, `git add` the file, then `npx ddd-ts-kit merge-trunk --continue`. This is what the example above now gives: one hunk on the table of the orders, with the version of each side, and the new table whole below it. The same holds for a table one side removed and the other changed. When a region has to be merged this way and each side set its declarations in an order of its own, nothing is written in the region and the hunks git wrote stay, as since 0.113.1.
37
+
38
+ When. Each conflicted region whose three sides the kit reads with certainty is read back, declaration by declaration, a comment belonging to the declaration it stands above. The lines of both sides are kept when the region they give holds, for each declaration, what the three sides merge into: the one a side added, changed or removed while the other left it as the base holds it, the one both wrote alike, and for one both changed the lines the kit keeps of that declaration merged alone (what git merges of its three versions and the lines of both sides of each conflict left). The order of the lines of both sides is kept, with one rule: a declaration that reads another one stands below it, as on the side that wrote it. The lines are not kept when a declaration names, in its code, one that stands below it in the region they give while every side that holds the two sets it above; a function a side wrote above the one it calls is as that side wrote it. A comment both sides wrote, word for word, above the declaration each added is kept once, above the first, as before. Blank lines are not compared: the lines of both sides keep one of each run, so a comment a side set apart from its declaration by a blank line stands right above it. In the `imports` region the lines are kept when they bring the same names from the same modules as the statements of both sides.
39
+
40
+ Three stops are new.
41
+
42
+ - A rename against a change, where the lines of both sides were right: one side gives a table another name by hand and the other side adds a column to it by hand (you rename `payments` to `invoices`, the trunk adds `paidAt` to `payments`). The kit cannot tell a declaration given another name from one replaced by another, so it leaves the table the trunk changed as one hunk, the rest of the region merged, and says so: `If a declaration of the side that removed it is this one under another name, write the change there and remove the hunk.`
43
+ - A declaration one side removed and the other started to read: one side removed a declaration the other left alone, and that other side wrote or changed a declaration that now reads it. Nothing is written in the region and the hunks git wrote stay: ``the region `tables` holds a declaration one side removed and that a declaration the other side wrote reads``; keep the one removed, or write the other without it.
44
+ - A declaration that would stand above one it reads: when the region merged declaration by declaration would set it there while the sides set it below, nothing is written in the region and the hunks git wrote stay: ``the region `tables` holds a declaration that would stand above one it reads once the two sides are merged``; write the region in the order that holds for both.
45
+
46
+ Limits.
47
+
48
+ - A merge git settles with no conflict is never read back: where git itself sets a column in the wrong table, nothing reports it.
49
+ - A region the kit does not read with certainty is merged by lines, as before, whatever its conflicts look like: one that holds a regular expression, a constant and a type or an interface of one name, the signatures of one function, one statement written twice, a region written inside it, or that a side does not hold once. So is a region in which a side holds lines that end no statement (entries of a list, statements written without `;`), whether the two sides differ on them or not.
50
+ - Two edits of one line are both kept, as before: each side adds an argument to a call written on one line, and the call stands twice.
51
+ - Statements that declare no name (a call, a registration) have no name to be paired by: one a side removed and the other changed is kept as changed, and a comment a side wrote above one may stay above its neighbour.
52
+ - Inside one declaration both sides changed, the lines of both sides are kept unless a conflict there breaks a statement written on several lines. The kit sees such a statement when it holds a bracket open from one line to the next; when a line starts with `|`, `&`, `?`, `:`, `.`, `+`, `-`, `*`, `/`, `=`, `satisfies` or `as` (three dots start an entry of their own); when a line ends with `=`, `+`, `-`, `*`, `|`, `&`, `?`, `:`, `.` or `=>`; when it is a block comment; or when a line starts with `@`, does not end with `;` and has a line under it. In a schema of Prisma, only the bracket and the block comment. Another way of writing a statement on several lines is not seen.
53
+ - Inside one declaration both sides changed, the lines of a conflict stand ours first, then the trunk's, as before: a line one side added under a line the other changed can stand above it, and a line one side removed and the other changed is kept as changed.
54
+ - A declaration both sides changed, one of them by setting a comment above it apart by a blank line, can be left as one hunk where the lines of both sides were right: git aligns the conflicts of the file otherwise than those of the declaration merged alone, and the kit then does not read the two as the same (4 in 12000 conflicts measured).
55
+ - Two import statements that name one module, one wrapped on several lines and the other not, are both kept, and a name can then be imported twice, as before.
56
+ - What a declaration reads is found by name, in its code, comments and strings left out, and no scope is read. A read is the name as a whole word: in an expression, in a type (`typeof orders`), spread (`...orders`), as a shorthand property (`{ orders }`). A member of another value is not a read (`other.orders`, `other?.orders`), nor a member the code declares under that name: a key (`orders: 1`), a member of an interface or of a type, a method or an accessor, a field of a class, a member of an enum. A declaration that binds the name itself is taken to read no outer declaration of that name at all: a parameter, with or without a type or a default, the parameter of an arrow (`orders =>`), a local `const`, `let`, `var`, `function` or `class`, a destructured binding, a catch clause, a label, an alias of an import or an export. A real read written beside such a binding is therefore not seen, and the region is merged as before this change.
57
+
58
+ To move: nothing.
59
+
7
60
  ## 0.113.1
8
61
 
9
62
  **`ddd-ts-kit merge-trunk` keeps each table whole when both sides added one to the same context.** Two branches that each stored an aggregate in one context each add a table to its tables file, at the same place. git sets the two side by side and keeps the lines they share once, their last ones, and the merge then kept "the lines of both sides" of the conflict: the tables file it committed, exit 0, held two tables with the closing lines of one (`TS1005 '}' expected`), on the four ORM: the tables file of the context on Drizzle and on TypeORM, `create-<context>-tables.schema.ts` on Knex, `prisma/schema/<context>.prisma` on Prisma, the context flat or laid out in modules. The schema index was right, and still is.
package/README.fr.md CHANGED
@@ -1,5 +1,5 @@
1
1
  [English](README.md) · **Français**
2
- <!-- translation-of: README.md sha256:d66d20ef651ad8e6 -->
2
+ <!-- translation-of: README.md sha256:89fd905ca1eaa777 -->
3
3
 
4
4
  # ddd-ts-kit
5
5
 
@@ -22,7 +22,7 @@ actuelle. La seconde relit le projet sans le modifier : `check` le juge, `list`
22
22
  disent ce qu'il contient, `status` et `todo` disent ce qui reste à faire, `affected` dit ce
23
23
  qu'une *pull request* doit exécuter.
24
24
 
25
- ![Les commandes de la CLI autour d'un projet : à gauche celles qui l'écrivent (init, generate, docs, sdk et depcruise-config, les trois migrations), au milieu le projet (ddd-ts-kit.config.json, les contextes délimités et la plateforme sous src/, les documents générés), à droite celles qui le relisent (check et check-file, list et describe, status et todo, affected)](https://raw.githubusercontent.com/gbourgeat/ddd-ts-kit/main/docs/assets/diagrams/cli-commands-and-project.fr.svg)
25
+ ![Les commandes de la CLI autour d'un projet : à gauche celles qui l'écrivent (init, generate, docs, sdk et depcruise-config, les trois migrations), au milieu le projet (ddd-ts-kit.config.json, les contextes délimités et la plateforme sous src/, les documents générés), à droite celles qui le relisent (check et check-file, list et describe, status et todo, affected)](https://raw.githubusercontent.com/ddd-ts-kit/ddd-ts-kit/main/docs/assets/diagrams/cli-commands-and-project.fr.svg)
26
26
 
27
27
  Aucune dépendance d'exécution. Node 22.12 ou ultérieur. Windows via WSL 2 uniquement : hors de WSL,
28
28
  `affected --run`, `verify-slice`, `worker-scope`, `story-scope`, `worktree` (sauf `--no-install` ou
@@ -61,7 +61,7 @@ faire), `3` une commande qui écrit des fichiers n'a pas pu en écrire certains
61
61
  autres fichiers sont écrits et aucun n'est supprimé ; `4` une erreur interne du kit, dite en une
62
62
  ligne avec sa version (`internal error of ddd-ts-kit <version>: ...`, sa pile d'appels à la suite
63
63
  quand `DDD_TS_KIT_DEBUG` est défini ; sous `--json` une `error` avec sa `stack` et
64
- `"internal": true`) : signalez-la sur https://github.com/gbourgeat/ddd-ts-kit/issues avec la
64
+ `"internal": true`) : signalez-la sur https://github.com/ddd-ts-kit/ddd-ts-kit/issues avec la
65
65
  commande et la pile d'appels.
66
66
 
67
67
  ## init
@@ -406,7 +406,7 @@ la forme de 0.1 (`@CommandHandler(M, [Ports])`), qui continue de fonctionner san
406
406
  liste ce que reçoit chaque classe. Chaque fichier généré exporte une classe, une interface ou une
407
407
  fonction, et porte son nom.
408
408
 
409
- ![Comment un contexte déclaré rejoint la racine de composition : les fichiers de rôle portent leur décorateur et typent les paramètres de leur constructeur par des classes ; generate, docs et le script dev lisent ces signatures et écrivent les déclarations de chaque couche, un export par fichier de rôle de la couche et une instruction injected par classe qui reçoit quelque chose, et un récapitulatif à la racine du contexte qui les réexporte ; la racine de composition inclut le récapitulatif avec contextModule et @ddd-ts-kit/di injecte à partir de lui ; check et docs --check signalent des déclarations générées qui ne correspondent plus aux fichiers de rôle](https://raw.githubusercontent.com/gbourgeat/ddd-ts-kit/main/docs/assets/diagrams/cli-declared-barrel.fr.svg)
409
+ ![Comment un contexte déclaré rejoint la racine de composition : les fichiers de rôle portent leur décorateur et typent les paramètres de leur constructeur par des classes ; generate, docs et le script dev lisent ces signatures et écrivent les déclarations de chaque couche, un export par fichier de rôle de la couche et une instruction injected par classe qui reçoit quelque chose, et un récapitulatif à la racine du contexte qui les réexporte ; la racine de composition inclut le récapitulatif avec contextModule et @ddd-ts-kit/di injecte à partir de lui ; check et docs --check signalent des déclarations générées qui ne correspondent plus aux fichiers de rôle](https://raw.githubusercontent.com/ddd-ts-kit/ddd-ts-kit/main/docs/assets/diagrams/cli-declared-barrel.fr.svg)
410
410
 
411
411
  Un extrait des déclarations du contexte `notification` de l'application d'exemple, telles que
412
412
  la CLI les écrit (jamais à la main) : un fichier par couche, au-dessus des dossiers de rôle dont
@@ -799,7 +799,7 @@ Un passage de `generate` fait cinq choses, dans cet ordre, et n'écrit rien quan
799
799
  refuse (chaque fichier écrit en entier, un genre qui écrit des fichiers partagés sous le verrou du
800
800
  projet : [init](#init)) :
801
801
 
802
- ![Un passage de generate command : le nom est vérifié dans le glossaire du contexte (refusé avec le code de sortie 2 et le --term à ajouter quand un mot n'est pas défini), les fichiers sont écrits depuis les templates, les nouvelles pièces sont enregistrées entre des commentaires marqueurs, les documents dérivés sont rafraîchis, et les endroits qui attendent une décision métier sont affichés en fichier:ligne](https://raw.githubusercontent.com/gbourgeat/ddd-ts-kit/main/docs/assets/diagrams/cli-generate-one-run.fr.svg)
802
+ ![Un passage de generate command : le nom est vérifié dans le glossaire du contexte (refusé avec le code de sortie 2 et le --term à ajouter quand un mot n'est pas défini), les fichiers sont écrits depuis les templates, les nouvelles pièces sont enregistrées entre des commentaires marqueurs, les documents dérivés sont rafraîchis, et les endroits qui attendent une décision métier sont affichés en fichier:ligne](https://raw.githubusercontent.com/ddd-ts-kit/ddd-ts-kit/main/docs/assets/diagrams/cli-generate-one-run.fr.svg)
803
803
 
804
804
  Dans l'application d'exemple, un cas d'usage nommé avec un mot que son glossaire ne définit pas
805
805
  est refusé, et le message dit comment continuer :
@@ -2346,7 +2346,7 @@ sélection n'est jamais plus étroite que les relations déclarées, parce que
2346
2346
  `context/declared-relationship` garde chaque import entre contextes à l'intérieur d'elles, et que
2347
2347
  cette règle tourne sur le projet entier dans chaque *pipeline*.
2348
2348
 
2349
- ![Un changement dans le contexte scheduling de l'application d'exemple : scheduling est retenu, et avec lui notification et analytics, qui sont en aval de lui dans la carte des contextes ; identity, en amont, est laissé à la branche par défaut](https://raw.githubusercontent.com/gbourgeat/ddd-ts-kit/main/docs/assets/diagrams/cli-affected-selection.fr.svg)
2349
+ ![Un changement dans le contexte scheduling de l'application d'exemple : scheduling est retenu, et avec lui notification et analytics, qui sont en aval de lui dans la carte des contextes ; identity, en amont, est laissé à la branche par défaut](https://raw.githubusercontent.com/ddd-ts-kit/ddd-ts-kit/main/docs/assets/diagrams/cli-affected-selection.fr.svg)
2350
2350
 
2351
2351
  Dans l'application d'exemple, une branche qui modifie un agrégat de `scheduling` :
2352
2352
 
package/README.md CHANGED
@@ -20,7 +20,7 @@ second reads the project back without changing it: `check` judges it, `list` and
20
20
  what it holds, `status` and `todo` say what is left to do, `affected` says what a pull request has
21
21
  to run.
22
22
 
23
- ![The commands of the CLI around a project: on the left the ones that write it (init, generate, docs, sdk and depcruise-config, the three migrations), in the middle the project (ddd-ts-kit.config.json, the bounded contexts and the platform under src/, the generated documents), on the right the ones that read it back (check and check-file, list and describe, status and todo, affected)](https://raw.githubusercontent.com/gbourgeat/ddd-ts-kit/main/docs/assets/diagrams/cli-commands-and-project.svg)
23
+ ![The commands of the CLI around a project: on the left the ones that write it (init, generate, docs, sdk and depcruise-config, the three migrations), in the middle the project (ddd-ts-kit.config.json, the bounded contexts and the platform under src/, the generated documents), on the right the ones that read it back (check and check-file, list and describe, status and todo, affected)](https://raw.githubusercontent.com/ddd-ts-kit/ddd-ts-kit/main/docs/assets/diagrams/cli-commands-and-project.svg)
24
24
 
25
25
  No runtime dependency. Node 22.12 or later. Windows through WSL 2 only: outside it, `affected --run`,
26
26
  `verify-slice`, `worker-scope`, `story-scope`, `worktree` (unless `--no-install` or `--dry-run`) and
@@ -55,7 +55,7 @@ not write some of them where it ran (a path the sandbox of an agent protects): t
55
55
  under `unwritable`, every other file is written and none is deleted; `4` an internal error of the
56
56
  kit, said in one line with its version (`internal error of ddd-ts-kit <version>: ...`, its stack
57
57
  trace after it when `DDD_TS_KIT_DEBUG` is set; under `--json` an `error` with its `stack` and
58
- `"internal": true`): report it at https://github.com/gbourgeat/ddd-ts-kit/issues with the command
58
+ `"internal": true`): report it at https://github.com/ddd-ts-kit/ddd-ts-kit/issues with the command
59
59
  and the stack trace.
60
60
 
61
61
  ## init
@@ -380,7 +380,7 @@ is absent with standard decorators and under `tsx`. `init` writes
380
380
  what each class is given. Every generated file exports one class, interface or function and is named
381
381
  after it.
382
382
 
383
- ![How a declared context reaches the composition root: the role files carry their decorator and type their constructor parameters by classes; generate, docs and the dev script read those signatures and write the declarations of each layer, one export per role file of the layer and one injected statement per class that takes something, and a summary at the root of the context that re-exports them; the composition root includes the summary with contextModule and @ddd-ts-kit/di injects from it; check and docs --check report generated declarations that no longer match the role files](https://raw.githubusercontent.com/gbourgeat/ddd-ts-kit/main/docs/assets/diagrams/cli-declared-barrel.svg)
383
+ ![How a declared context reaches the composition root: the role files carry their decorator and type their constructor parameters by classes; generate, docs and the dev script read those signatures and write the declarations of each layer, one export per role file of the layer and one injected statement per class that takes something, and a summary at the root of the context that re-exports them; the composition root includes the summary with contextModule and @ddd-ts-kit/di injects from it; check and docs --check report generated declarations that no longer match the role files](https://raw.githubusercontent.com/ddd-ts-kit/ddd-ts-kit/main/docs/assets/diagrams/cli-declared-barrel.svg)
384
384
 
385
385
  An excerpt of the declarations of the `notification` context of the example application, as
386
386
  the CLI writes them (never by hand): one file per layer, above the role folders whose classes it
@@ -761,7 +761,7 @@ One run of `generate` does five things, in this order, and writes nothing when t
761
761
  refuses (each file written whole, a kind that writes shared files under the lock of the
762
762
  project: [init](#init)):
763
763
 
764
- ![One run of generate command: the name is checked against the glossary of the context (refused with exit code 2 and the --term to add when a word is not defined), the files are written from the templates, the new pieces are registered between marker comments, the derived documents are refreshed, and the places that need a business decision are printed as file:line](https://raw.githubusercontent.com/gbourgeat/ddd-ts-kit/main/docs/assets/diagrams/cli-generate-one-run.svg)
764
+ ![One run of generate command: the name is checked against the glossary of the context (refused with exit code 2 and the --term to add when a word is not defined), the files are written from the templates, the new pieces are registered between marker comments, the derived documents are refreshed, and the places that need a business decision are printed as file:line](https://raw.githubusercontent.com/ddd-ts-kit/ddd-ts-kit/main/docs/assets/diagrams/cli-generate-one-run.svg)
765
765
 
766
766
  In the example application, a use case named with a word its glossary does not define is refused,
767
767
  and the message says how to go on:
@@ -2191,7 +2191,7 @@ it as one of its own options. The selection is never narrower than the declared
2191
2191
  because `context/declared-relationship` keeps every import between contexts inside them, and that
2192
2192
  rule runs on the whole project in every pipeline.
2193
2193
 
2194
- ![A change in the scheduling context of the example application: scheduling is selected, and so are notification and analytics, which are downstream of it in the context map; identity, upstream, is left to the default branch](https://raw.githubusercontent.com/gbourgeat/ddd-ts-kit/main/docs/assets/diagrams/cli-affected-selection.svg)
2194
+ ![A change in the scheduling context of the example application: scheduling is selected, and so are notification and analytics, which are downstream of it in the context map; identity, upstream, is left to the default branch](https://raw.githubusercontent.com/ddd-ts-kit/ddd-ts-kit/main/docs/assets/diagrams/cli-affected-selection.svg)
2195
2195
 
2196
2196
  In the example application, a branch that changes one aggregate of `scheduling`:
2197
2197
 
@@ -1 +1 @@
1
- {"version":3,"file":"work-notes.d.ts","sourceRoot":"","sources":["../../src/help/work-notes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,yFAAyF;AACzF,eAAO,MAAM,UAAU,EAAE,SAAS,IAAI,EAgNrC,CAAC"}
1
+ {"version":3,"file":"work-notes.d.ts","sourceRoot":"","sources":["../../src/help/work-notes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,yFAAyF;AACzF,eAAO,MAAM,UAAU,EAAE,SAAS,IAAI,EAkNrC,CAAC"}
@@ -188,11 +188,13 @@ export const WORK_NOTES = [
188
188
  'lines are on the trunk; else git merge-base). Settles derived files and drizzle-kit meta',
189
189
  '(trunk side), the package.json of a client (trunk side, at the higher of both versions;',
190
190
  'left to you when one is not a semantic version), generated regions of CONTEXT.md and the',
191
- 'context map (trunk side), conflicts inside generated registries (lines of both sides;',
192
- 'where those lines would leave a declaration open, two tables added at one place, the',
193
- 'region merged declaration by declaration, what is not read with certainty left to you as',
194
- 'git wrote it), slices.md row by row (the furthest status), the stored-events lock by key,',
195
- 'the lockfile',
191
+ 'context map (trunk side), conflicts inside generated registries (lines of both sides,',
192
+ 'read back: where they would leave a declaration open or do not give the declarations of',
193
+ 'the two sides merged one by one, the region merged declaration by declaration, one the',
194
+ 'two sides do not agree on left to you as one hunk; a region not read with certainty is',
195
+ 'merged by lines as before, one the kit merges neither way is left as git wrote it),',
196
+ 'slices.md row by row (the furthest',
197
+ 'status), the stored-events lock by key, the lockfile',
196
198
  '(trunk side, installed again when the branch changed package.json); the rest is left in a',
197
199
  'merge in progress git understands, with what each side did (exit 1). Then, or on',
198
200
  '--continue: the drizzle migrations of both sides replayed, on --to-land the working',
@@ -1 +1 @@
1
- {"version":3,"file":"work-notes.js","sourceRoot":"","sources":["../../src/help/work-notes.ts"],"names":[],"mappings":"AAEA,yFAAyF;AACzF,MAAM,CAAC,MAAM,UAAU,GAAoB;IACzC;QACE,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE,cAAc;QACvB,KAAK,EAAE;YACL,+FAA+F;YAC/F,8FAA8F;YAC9F,0FAA0F;YAC1F,0FAA0F;YAC1F,0FAA0F;YAC1F,6FAA6F;YAC7F,yFAAyF;YACzF,sFAAsF;YACtF,qEAAqE;SACtE;KACF;IACD;QACE,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,cAAc;QACvB,KAAK,EAAE;YACL,2FAA2F;YAC3F,kFAAkF;YAClF,uFAAuF;SACxF;KACF;IACD;QACE,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE;YACL,4FAA4F;YAC5F,qFAAqF;YACrF,0FAA0F;YAC1F,0FAA0F;YAC1F,wFAAwF;YACx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;KACF;CACF,CAAC"}
1
+ {"version":3,"file":"work-notes.js","sourceRoot":"","sources":["../../src/help/work-notes.ts"],"names":[],"mappings":"AAEA,yFAAyF;AACzF,MAAM,CAAC,MAAM,UAAU,GAAoB;IACzC;QACE,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE,cAAc;QACvB,KAAK,EAAE;YACL,+FAA+F;YAC/F,8FAA8F;YAC9F,0FAA0F;YAC1F,0FAA0F;YAC1F,0FAA0F;YAC1F,6FAA6F;YAC7F,yFAAyF;YACzF,sFAAsF;YACtF,qEAAqE;SACtE;KACF;IACD;QACE,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,cAAc;QACvB,KAAK,EAAE;YACL,2FAA2F;YAC3F,kFAAkF;YAClF,uFAAuF;SACxF;KACF;IACD;QACE,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE;YACL,4FAA4F;YAC5F,qFAAqF;YACrF,0FAA0F;YAC1F,0FAA0F;YAC1F,wFAAwF;YACxF,wFAAwF;YACxF,uFAAuF;YACvF,qFAAqF;YACrF,wFAAwF;YACxF,sFAAsF;YACtF,WAAW;SACZ;KACF;IACD;QACE,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE,UAAU;QACnB,KAAK,EAAE;YACL,2FAA2F;YAC3F,yFAAyF;YACzF,sFAAsF;YACtF,wFAAwF;YACxF,wFAAwF;YACxF,gFAAgF;YAChF,yFAAyF;YACzF,uFAAuF;YACvF,sBAAsB;SACvB;KACF;IACD;QACE,IAAI,EAAE,OAAO;QACb,OAAO,EAAE,OAAO;QAChB,KAAK,EAAE;YACL,sEAAsE;YACtE,wFAAwF;YACxF,2FAA2F;YAC3F,uFAAuF;YACvF,kFAAkF;YAClF,wFAAwF;YACxF,4CAA4C;YAC5C,qFAAqF;YACrF,uCAAuC;SACxC;KACF;IACD;QACE,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE;YACL,qFAAqF;YACrF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FAAmF;YACnF,wFAAwF;YACxF,2FAA2F;YAC3F,uFAAuF;YACvF,4DAA4D;YAC5D,iFAAiF;YACjF,wFAAwF;YACxF,0FAA0F;YAC1F,2FAA2F;YAC3F,wFAAwF;YACxF,yEAAyE;SAC1E;KACF;IACD;QACE,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE;YACL,8FAA8F;YAC9F,4EAA4E;YAC5E,2FAA2F;YAC3F,kFAAkF;YAClF,4FAA4F;YAC5F,2FAA2F;YAC3F,0FAA0F;YAC1F,yFAAyF;YACzF,0FAA0F;YAC1F,uFAAuF;YACvF,yFAAyF;YACzF,wFAAwF;YACxF,wFAAwF;YACxF,qFAAqF;YACrF,oCAAoC;YACpC,sDAAsD;YACtD,2FAA2F;YAC3F,kFAAkF;YAClF,qFAAqF;YACrF,6FAA6F;YAC7F,yFAAyF;YACzF,4FAA4F;YAC5F,sFAAsF;YACtF,0FAA0F;YAC1F,oEAAoE;YACpE,4FAA4F;YAC5F,6FAA6F;YAC7F,4DAA4D;SAC7D;KACF;CACF,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /** The marketplace of the plugin of the kit, as `strictKnownMarketplaces` names a GitHub marketplace. */
2
- const MARKETPLACE = { source: 'github', repo: 'gbourgeat/ddd-ts-kit' };
2
+ const MARKETPLACE = { source: 'github', repo: 'ddd-ts-kit/ddd-ts-kit' };
3
3
  /**
4
4
  * The block the platform team pastes in the managed settings of Claude Code: what a project file
5
5
  * cannot set, with the keys of its managed settings reference (read on 2026-10-23).
@@ -1 +1 @@
1
- {"version":3,"file":"managed-settings-note.js","sourceRoot":"","sources":["../../src/init/managed-settings-note.ts"],"names":[],"mappings":"AAAA,yGAAyG;AACzG,MAAM,WAAW,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC;AAEvE;;;GAGG;AACH,MAAM,UAAU,mBAAmB;IACjC,MAAM,KAAK,GAAG;QACZ,qBAAqB,EAAE,IAAI;QAC3B,+BAA+B,EAAE,IAAI;QACrC,WAAW,EAAE,EAAE,4BAA4B,EAAE,SAAS,EAAE;QACxD,uBAAuB,EAAE,CAAC,WAAW,CAAC;QACtC,sBAAsB,EAAE,sDAAsD;KAC/E,CAAC;IAEF,OAAO;QACL,2RAA2R;QAC3R,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;QAC9B,gJAAgJ;QAChJ,4jBAA4jB;KAC7jB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC"}
1
+ {"version":3,"file":"managed-settings-note.js","sourceRoot":"","sources":["../../src/init/managed-settings-note.ts"],"names":[],"mappings":"AAAA,yGAAyG;AACzG,MAAM,WAAW,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;AAExE;;;GAGG;AACH,MAAM,UAAU,mBAAmB;IACjC,MAAM,KAAK,GAAG;QACZ,qBAAqB,EAAE,IAAI;QAC3B,+BAA+B,EAAE,IAAI;QACrC,WAAW,EAAE,EAAE,4BAA4B,EAAE,SAAS,EAAE;QACxD,uBAAuB,EAAE,CAAC,WAAW,CAAC;QACtC,sBAAsB,EAAE,sDAAsD;KAC/E,CAAC;IAEF,OAAO;QACL,2RAA2R;QAC3R,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;QAC9B,gJAAgJ;QAChJ,4jBAA4jB;KAC7jB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC"}
@@ -1,36 +1,36 @@
1
1
  /** Ranges written to the generated package.json; bumped together with the kit. */
2
2
  export const VERSIONS = {
3
- '@ddd-ts-kit/kernel': '^0.113.1',
4
- '@ddd-ts-kit/validation': '^0.113.1',
5
- '@ddd-ts-kit/http': '^0.113.1',
6
- '@ddd-ts-kit/tracing': '^0.113.1',
7
- '@ddd-ts-kit/di': '^0.113.1',
8
- '@ddd-ts-kit/events': '^0.113.1',
9
- '@ddd-ts-kit/testing': '^0.113.1',
10
- '@ddd-ts-kit/drizzle': '^0.113.1',
11
- '@ddd-ts-kit/knex': '^0.113.1',
12
- '@ddd-ts-kit/prisma': '^0.113.1',
13
- '@ddd-ts-kit/typeorm': '^0.113.1',
14
- '@ddd-ts-kit/auth': '^0.113.1',
15
- '@ddd-ts-kit/rabbitmq': '^0.113.1',
16
- '@ddd-ts-kit/aspects': '^0.113.1',
17
- '@ddd-ts-kit/audit': '^0.113.1',
18
- '@ddd-ts-kit/redis': '^0.113.1',
19
- '@ddd-ts-kit/kafka': '^0.113.1',
20
- '@ddd-ts-kit/nats': '^0.113.1',
21
- '@ddd-ts-kit/scheduling': '^0.113.1',
22
- '@ddd-ts-kit/sentry': '^0.113.1',
23
- '@ddd-ts-kit/s3': '^0.113.1',
24
- '@ddd-ts-kit/opensearch': '^0.113.1',
3
+ '@ddd-ts-kit/kernel': '^0.114.1',
4
+ '@ddd-ts-kit/validation': '^0.114.1',
5
+ '@ddd-ts-kit/http': '^0.114.1',
6
+ '@ddd-ts-kit/tracing': '^0.114.1',
7
+ '@ddd-ts-kit/di': '^0.114.1',
8
+ '@ddd-ts-kit/events': '^0.114.1',
9
+ '@ddd-ts-kit/testing': '^0.114.1',
10
+ '@ddd-ts-kit/drizzle': '^0.114.1',
11
+ '@ddd-ts-kit/knex': '^0.114.1',
12
+ '@ddd-ts-kit/prisma': '^0.114.1',
13
+ '@ddd-ts-kit/typeorm': '^0.114.1',
14
+ '@ddd-ts-kit/auth': '^0.114.1',
15
+ '@ddd-ts-kit/rabbitmq': '^0.114.1',
16
+ '@ddd-ts-kit/aspects': '^0.114.1',
17
+ '@ddd-ts-kit/audit': '^0.114.1',
18
+ '@ddd-ts-kit/redis': '^0.114.1',
19
+ '@ddd-ts-kit/kafka': '^0.114.1',
20
+ '@ddd-ts-kit/nats': '^0.114.1',
21
+ '@ddd-ts-kit/scheduling': '^0.114.1',
22
+ '@ddd-ts-kit/sentry': '^0.114.1',
23
+ '@ddd-ts-kit/s3': '^0.114.1',
24
+ '@ddd-ts-kit/opensearch': '^0.114.1',
25
25
  '@aws-sdk/client-s3': '^3.1150.0',
26
26
  '@aws-sdk/lib-storage': '^3.1150.0',
27
27
  '@aws-sdk/s3-request-presigner': '^3.1150.0',
28
28
  busboy: '^1.6.0',
29
29
  '@sentry/node': '^11.6.0',
30
- '@ddd-ts-kit/pino': '^0.113.1',
30
+ '@ddd-ts-kit/pino': '^0.114.1',
31
31
  pino: '^10.4.0',
32
32
  'pino-pretty': '^13.2.0',
33
- '@ddd-ts-kit/winston': '^0.113.1',
33
+ '@ddd-ts-kit/winston': '^0.114.1',
34
34
  winston: '^3.19.0',
35
35
  '@confluentinc/kafka-javascript': '^1.11.0',
36
36
  '@nats-io/jetstream': '^3.4.0',
@@ -41,7 +41,7 @@ export const VERSIONS = {
41
41
  'passport-jwt': '^4.0.1',
42
42
  '@types/passport-jwt': '^4.0.1',
43
43
  amqplib: '^2.2.0',
44
- 'ddd-ts-kit': '^0.113.1',
44
+ 'ddd-ts-kit': '^0.114.1',
45
45
  tsx: '^4.23.15',
46
46
  vitest: '^5.0.3',
47
47
  'fast-check': '^4.10.2',
@@ -55,7 +55,7 @@ import { ownEntry } from '../config/values/own-entry.js';
55
55
  import { generatedFilesNamed } from '../review/index.js';
56
56
  const KNIP_FILE = 'knip.json';
57
57
  /** What a new project does next: the recommended path, which the README of the project repeats. */
58
- const NEXT_STEP = 'Next, follow the recommended steps in order, the supported path: discover the domain, find the bounded contexts, write their glossaries and draw the context map before any code (`/ddd-ts-kit:start` in Claude Code conducts them), then declare each context with `npx ddd-ts-kit generate context`, plan the slices and build them one at a time. `npx ddd-ts-kit status` says which step is next; the steps are in README.md and at https://github.com/gbourgeat/ddd-ts-kit/blob/main/docs/guides/methodology.md.';
58
+ const NEXT_STEP = 'Next, follow the recommended steps in order, the supported path: discover the domain, find the bounded contexts, write their glossaries and draw the context map before any code (`/ddd-ts-kit:start` in Claude Code conducts them), then declare each context with `npx ddd-ts-kit generate context`, plan the slices and build them one at a time. `npx ddd-ts-kit status` says which step is next; the steps are in README.md and at https://github.com/ddd-ts-kit/ddd-ts-kit/blob/main/docs/guides/methodology.md.';
59
59
  /** `disk` puts each file in place: a spec gives one that fails in the middle of a file, the way a process killed there would. */
60
60
  export function runInit(root, options, disk = fs) {
61
61
  refuseUnprojectedRoot(root);
@@ -1 +1 @@
1
- {"version":3,"file":"run-init.js","sourceRoot":"","sources":["../../src/init/run-init.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,eAAe,EAAe,MAAM,WAAW,CAAC;AACzF,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,cAAc,EAAs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CAAC,EAAE,CAAC;QACvB,EAAE,CAAC,MAAM,CACP,MAAM,EACN,cAAc,CAAC,QAAQ,EAAE,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,EAAE,cAAc,EAAE,mBAAmB,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC,CAClG,CAAC;IACJ,CAAC;AACH,CAAC;AAWD;;;;;GAKG;AACH,SAAS,eAAe,CAAC,EAAa,EAAE,MAAc;IACpD,IAAI,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,QAAQ,IAAI,CAAC,uBAAuB,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;QACzF,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,EAAE,CAAC,IAAI,CACL,GAAG,uBAAuB,EAAE,qHAAqH,uBAAuB,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,+DAA+D,CACtQ,CAAC;IAEF,OAAO,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAAC;AAClD,CAAC"}
@@ -22,7 +22,7 @@ export function writeCopilotSettings(ws) {
22
22
  ...settings,
23
23
  extraKnownMarketplaces: {
24
24
  ...marketplaces,
25
- [MARKETPLACE]: marketplaces[MARKETPLACE] ?? { source: { source: 'github', repo: 'gbourgeat/ddd-ts-kit' } },
25
+ [MARKETPLACE]: marketplaces[MARKETPLACE] ?? { source: { source: 'github', repo: 'ddd-ts-kit/ddd-ts-kit' } },
26
26
  },
27
27
  enabledPlugins: { ...plugins, [PLUGIN]: plugins[PLUGIN] ?? true },
28
28
  };
@@ -1 +1 @@
1
- {"version":3,"file":"write-copilot-settings.js","sourceRoot":"","sources":["../../src/init/write-copilot-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,E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C;IAEvF,MAAM,QAAQ,GAAG;QACf,GAAG,QAAQ;QACX,sBAAsB,EAAE;YACtB,GAAG,YAAY;YACf,CAAC,WAAW,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,uBAAuB,EAAE,EAAE;SAC5G;QACD,cAAc,EAAE,EAAE,GAAG,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE;KAClE,CAAC;IAEF,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QAC3B,EAAE,CAAC,MAAM,CAAC,gBAAgB,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC;IACpD,CAAC;SAAM,CAAC;QACN,EAAE,CAAC,MAAM,CAAC,gBAAgB,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC;IACpD,CAAC;AACH,CAAC"}
@@ -1,3 +1,3 @@
1
1
  /** Where a fault of the kit is reported: the `bugs` of the package.json of the CLI, which a test holds equal. */
2
- export declare const ISSUES_URL = "https://github.com/gbourgeat/ddd-ts-kit/issues";
2
+ export declare const ISSUES_URL = "https://github.com/ddd-ts-kit/ddd-ts-kit/issues";
3
3
  //# sourceMappingURL=issues-url.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"issues-url.d.ts","sourceRoot":"","sources":["../src/issues-url.ts"],"names":[],"mappings":"AAAA,iHAAiH;AACjH,eAAO,MAAM,UAAU,mDAAmD,CAAC"}
1
+ {"version":3,"file":"issues-url.d.ts","sourceRoot":"","sources":["../src/issues-url.ts"],"names":[],"mappings":"AAAA,iHAAiH;AACjH,eAAO,MAAM,UAAU,oDAAoD,CAAC"}
@@ -1,3 +1,3 @@
1
1
  /** Where a fault of the kit is reported: the `bugs` of the package.json of the CLI, which a test holds equal. */
2
- export const ISSUES_URL = 'https://github.com/gbourgeat/ddd-ts-kit/issues';
2
+ export const ISSUES_URL = 'https://github.com/ddd-ts-kit/ddd-ts-kit/issues';
3
3
  //# sourceMappingURL=issues-url.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"issues-url.js","sourceRoot":"","sources":["../src/issues-url.ts"],"names":[],"mappings":"AAAA,iHAAiH;AACjH,MAAM,CAAC,MAAM,UAAU,GAAG,gDAAgD,CAAC"}
1
+ {"version":3,"file":"issues-url.js","sourceRoot":"","sources":["../src/issues-url.ts"],"names":[],"mappings":"AAAA,iHAAiH;AACjH,MAAM,CAAC,MAAM,UAAU,GAAG,iDAAiD,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Whether some code binds a name itself: a local `const`, `let`, `var`, `function` or `class` of
3
+ * that name, an arrow `name =>`, a parameter with or without a type or a default, a destructured
4
+ * binding, a catch clause, an import alias, a label. No scope is read: code that binds a name is not taken
5
+ * to read the outer declaration of that name anywhere. In doubt the code binds it.
6
+ */
7
+ export declare function bindsTheName(code: string, name: string): boolean;
8
+ //# sourceMappingURL=binds-the-name.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"binds-the-name.d.ts","sourceRoot":"","sources":["../../../src/merge/declarations/binds-the-name.ts"],"names":[],"mappings":"AAWA;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAUhE"}
@@ -0,0 +1,40 @@
1
+ import { enclosingGroup } from './enclosing-group.js';
2
+ /** What opens a group of parentheses that holds a condition, not parameters. */
3
+ const CONTROL = /\b(?:if|while|for|switch|with)\s*$/;
4
+ /**
5
+ * Whether some code binds a name itself: a local `const`, `let`, `var`, `function` or `class` of
6
+ * that name, an arrow `name =>`, a parameter with or without a type or a default, a destructured
7
+ * binding, a catch clause, an import alias, a label. No scope is read: code that binds a name is not taken
8
+ * to read the outer declaration of that name anywhere. In doubt the code binds it.
9
+ */
10
+ export function bindsTheName(code, name) {
11
+ const word = name.replaceAll('$', '\\$');
12
+ const declared = new RegExp(`\\b(?:const|let|var|function\\s*\\*?|class)\\s+${word}(?![\\w$])|(?<![\\w$.])${word}\\s*=>|\\b(?:import|export)\\b[^;]*\\bas\\s+${word}(?![\\w$])|(?:^|[\\n{;])\\s*${word}\\s*:\\s*(?:for|while|do|switch|\\{)`);
13
+ const places = [...code.matchAll(new RegExp(`(?<![\\w$])${word}(?![\\w$])`, 'g'))];
14
+ return declared.test(code) || places.some(({ index }) => bound(code, { from: index, to: index + name.length }));
15
+ }
16
+ /** Whether a place is an element of a list of parameters or of a destructuring pattern. */
17
+ function bound(code, span) {
18
+ const group = enclosingGroup(code, span.from);
19
+ if (group === undefined || !isElement(code, span, code.charAt(group.open))) {
20
+ return false;
21
+ }
22
+ const after = code.slice(group.close + 1).trimStart();
23
+ if (code.charAt(group.open) === '(') {
24
+ return /^(?:=>|\{|:)/.test(after) && !CONTROL.test(code.slice(0, group.open));
25
+ }
26
+ return /^=(?![=>])/.test(after) || bound(code, { from: group.open, to: group.close + 1 });
27
+ }
28
+ /** Whether a place stands alone between the separators of a list: a name with its type or its default, not a part of an expression. */
29
+ function isElement(code, { from, to }, opener) {
30
+ const before = code
31
+ .slice(0, from)
32
+ .trimEnd()
33
+ .replace(/\.\.\.$/, '')
34
+ .trimEnd()
35
+ .at(-1) ?? '';
36
+ const after = code.slice(to).trimStart();
37
+ const starts = '(,{['.includes(before) || (before === ':' && opener === '{');
38
+ return starts && before !== '' && /^(?:[,)}\]]|\??:|=(?![=>]))/.test(after);
39
+ }
40
+ //# sourceMappingURL=binds-the-name.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"binds-the-name.js","sourceRoot":"","sources":["../../../src/merge/declarations/binds-the-name.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAQnD,gFAAgF;AAChF,MAAM,OAAO,GAAG,oCAAoC,CAAC;AAErD;;;;;GAKG;AACH,MAAM,UAAU,YAAY,CAAC,IAAY,EAAE,IAA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,IAAI,CAAC,CAAC,CAAC;IAChF,CAAC;IAED,OAAO,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,EAAE,EAAE,KAAK,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC,CAAC;AAC5F,CAAC;AAED,uIAAuI;AACvI,SAAS,SAAS,CAAC,IAAY,EAAE,EAAE,IAAI,EAAE,EAAE,EAAQ,EAAE,MAAc;IACjE,MAAM,MAAM,GACV,IAAI;SACD,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC;SACd,OAAO,EAAE;SACT,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC;SACtB,OAAO,EAAE;SACT,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IAElB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,SAAS,EAAE,CAAC;IACzC,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,KAAK,GAAG,IAAI,MAAM,KAAK,GAAG,CAAC,CAAC;IAE7E,OAAO,MAAM,IAAI,MAAM,KAAK,EAAE,IAAI,6BAA6B,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC9E,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Where the group that holds a place closes. */
2
+ export declare function closeOf(code: string, from: number): number;
3
+ //# sourceMappingURL=close-of.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"close-of.d.ts","sourceRoot":"","sources":["../../../src/merge/declarations/close-of.ts"],"names":[],"mappings":"AAGA,iDAAiD;AACjD,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAc1D"}
@@ -0,0 +1,15 @@
1
+ const OPENERS = '([{';
2
+ const CLOSERS = ')]}';
3
+ /** Where the group that holds a place closes. */
4
+ export function closeOf(code, from) {
5
+ let depth = 0;
6
+ for (let close = from; close < code.length; close += 1) {
7
+ const character = code.charAt(close);
8
+ if (CLOSERS.includes(character) && depth === 0) {
9
+ return close;
10
+ }
11
+ depth += OPENERS.includes(character) ? 1 : CLOSERS.includes(character) ? -1 : 0;
12
+ }
13
+ return code.length;
14
+ }
15
+ //# sourceMappingURL=close-of.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"close-of.js","sourceRoot":"","sources":["../../../src/merge/declarations/close-of.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,GAAG,KAAK,CAAC;AACtB,MAAM,OAAO,GAAG,KAAK,CAAC;AAEtB,iDAAiD;AACjD,MAAM,UAAU,OAAO,CAAC,IAAY,EAAE,IAAY;IAChD,IAAI,KAAK,GAAG,CAAC,CAAC;IAEd,KAAK,IAAI,KAAK,GAAG,IAAI,EAAE,KAAK,GAAG,IAAI,CAAC,MAAM,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC;QACvD,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAErC,IAAI,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,KAAK,KAAK,CAAC,EAAE,CAAC;YAC/C,OAAO,KAAK,CAAC;QACf,CAAC;QAED,KAAK,IAAI,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAClF,CAAC;IAED,OAAO,IAAI,CAAC,MAAM,CAAC;AACrB,CAAC"}
@@ -1,4 +1,6 @@
1
1
  import type { DeclaredSide } from './declared-side.js';
2
+ /** How a line starts that goes on with the statement above it, whatever that one ends with but a semicolon. */
3
+ export declare const GOES_ON: RegExp;
2
4
  /**
3
5
  * The lines of a region read as declarations, each whole: a statement runs until its brackets are
4
6
  * closed and its line ends it (a closing brace does not when the next line goes on with an
@@ -1 +1 @@
1
- {"version":3,"file":"declarations-of.d.ts","sourceRoot":"","sources":["../../../src/merge/declarations/declarations-of.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAqCpD;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,GAAG,YAAY,GAAG,SAAS,CAkBjF"}
1
+ {"version":3,"file":"declarations-of.d.ts","sourceRoot":"","sources":["../../../src/merge/declarations/declarations-of.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAYpD,+GAA+G;AAC/G,eAAO,MAAM,OAAO,QAAwC,CAAC;AAwB7D;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,GAAG,YAAY,GAAG,SAAS,CAkBjF"}
@@ -8,7 +8,7 @@ const DEFAULT = /^\s*export\s+default\b/;
8
8
  /** How the last line of a statement ends once its brackets are closed: a comma goes on with a second name or a type argument. */
9
9
  const ENDS = /[;}]$/;
10
10
  /** How a line starts that goes on with the statement above it, whatever that one ends with but a semicolon. */
11
- const GOES_ON = /^(?:[|&?:.+\-*/=]|satisfies\b|as\b)/;
11
+ export const GOES_ON = /^(?:[|&?:.+\-*/=]|satisfies\b|as\b)/;
12
12
  /**
13
13
  * The lines of a region read as declarations, each whole: a statement runs until its brackets are
14
14
  * closed and its line ends it (a closing brace does not when the next line goes on with an
@@ -1 +1 @@
1
- {"version":3,"file":"declarations-of.js","sourceRoot":"","sources":["../../../src/merge/declarations/declarations-of.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;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CAAC;AAED,SAAS,QAAQ,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAW,EAAE,EAAU;IAChE,OAAO;QACL,KAAK;QACL,GAAG,EAAE,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,IAAI,EAAE;QACrE,GAAG,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC;QACvC,KAAK;QACL,GAAG;QACH,KAAK,EAAE,EAAE,KAAK,CAAC;KAChB,CAAC;AACJ,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Whether a name, at a place of some code, declares a member and reads nothing: a key, a member
3
+ * of an interface or of a type, a label, a typed parameter (`orders: 1`, `orders?: Table`), a
4
+ * method or an accessor (`orders() {`), a member of an enum, a field of a class.
5
+ */
6
+ export declare function declaresAMember(code: string, from: number, name: string): boolean;
7
+ //# sourceMappingURL=declares-a-member.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"declares-a-member.d.ts","sourceRoot":"","sources":["../../../src/merge/declarations/declares-a-member.ts"],"names":[],"mappings":"AAUA;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAQjF"}