@roomi-fields/grillhouse 0.29.0 → 0.30.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 (222) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/CHANGELOG.md +739 -0
  3. package/bin/grillhouse.mjs +79 -18
  4. package/cadre/templates/projet/.github/workflows/ci.yml +2 -13
  5. package/cadre/templates/projet/CLAUDE.md +5 -1
  6. package/cadre/templates/projet/docs/agents/issue-tracker.md +1 -1
  7. package/cadre/templates/projet/package.json +2 -2
  8. package/charte.md +24 -0
  9. package/dist/temporal/acte.d.ts +24 -0
  10. package/dist/temporal/acte.js +139 -0
  11. package/dist/temporal/acte.js.map +1 -0
  12. package/dist/temporal/attributs.d.ts +6 -0
  13. package/dist/temporal/attributs.js +15 -0
  14. package/dist/temporal/attributs.js.map +1 -0
  15. package/dist/temporal/circuit/activites.d.ts +13 -0
  16. package/dist/temporal/circuit/activites.js +33 -0
  17. package/dist/temporal/circuit/activites.js.map +1 -0
  18. package/dist/temporal/circuit/client.d.ts +72 -0
  19. package/dist/temporal/circuit/client.js +247 -0
  20. package/dist/temporal/circuit/client.js.map +1 -0
  21. package/dist/temporal/circuit/commande.d.ts +2 -0
  22. package/dist/temporal/circuit/commande.js +238 -0
  23. package/dist/temporal/circuit/commande.js.map +1 -0
  24. package/dist/temporal/circuit/contrat.d.ts +305 -0
  25. package/dist/temporal/circuit/contrat.js +24 -0
  26. package/dist/temporal/circuit/contrat.js.map +1 -0
  27. package/dist/temporal/circuit/deroule.d.ts +3 -0
  28. package/dist/temporal/circuit/deroule.js +540 -0
  29. package/dist/temporal/circuit/deroule.js.map +1 -0
  30. package/dist/temporal/client.d.ts +47 -0
  31. package/dist/temporal/client.js +69 -0
  32. package/dist/temporal/client.js.map +1 -0
  33. package/dist/temporal/commande.d.ts +2 -0
  34. package/dist/temporal/commande.js +95 -0
  35. package/dist/temporal/commande.js.map +1 -0
  36. package/dist/temporal/deroules.d.ts +5 -0
  37. package/dist/temporal/deroules.js +10 -0
  38. package/dist/temporal/deroules.js.map +1 -0
  39. package/dist/temporal/etat.d.ts +33 -0
  40. package/dist/temporal/etat.js +59 -0
  41. package/dist/temporal/etat.js.map +1 -0
  42. package/dist/temporal/file/activites.d.ts +10 -0
  43. package/dist/temporal/file/activites.js +25 -0
  44. package/dist/temporal/file/activites.js.map +1 -0
  45. package/dist/temporal/file/client.d.ts +4 -0
  46. package/dist/temporal/file/client.js +6 -0
  47. package/dist/temporal/file/client.js.map +1 -0
  48. package/dist/temporal/file/contrat.d.ts +158 -0
  49. package/dist/temporal/file/contrat.js +14 -0
  50. package/dist/temporal/file/contrat.js.map +1 -0
  51. package/dist/temporal/file/deroule.d.ts +15 -0
  52. package/dist/temporal/file/deroule.js +235 -0
  53. package/dist/temporal/file/deroule.js.map +1 -0
  54. package/dist/temporal/installation.d.ts +124 -0
  55. package/dist/temporal/installation.js +408 -0
  56. package/dist/temporal/installation.js.map +1 -0
  57. package/dist/temporal/places/activites.d.ts +8 -0
  58. package/dist/temporal/places/activites.js +13 -0
  59. package/dist/temporal/places/activites.js.map +1 -0
  60. package/dist/temporal/places/client.d.ts +28 -0
  61. package/dist/temporal/places/client.js +64 -0
  62. package/dist/temporal/places/client.js.map +1 -0
  63. package/dist/temporal/places/contrat.d.ts +106 -0
  64. package/dist/temporal/places/contrat.js +21 -0
  65. package/dist/temporal/places/contrat.js.map +1 -0
  66. package/dist/temporal/places/deroule.d.ts +3 -0
  67. package/dist/temporal/places/deroule.js +198 -0
  68. package/dist/temporal/places/deroule.js.map +1 -0
  69. package/dist/temporal/sonde/activites.d.ts +6 -0
  70. package/dist/temporal/sonde/activites.js +52 -0
  71. package/dist/temporal/sonde/activites.js.map +1 -0
  72. package/dist/temporal/sonde/contrat.d.ts +35 -0
  73. package/dist/temporal/sonde/contrat.js +10 -0
  74. package/dist/temporal/sonde/contrat.js.map +1 -0
  75. package/dist/temporal/sonde/deroule.d.ts +3 -0
  76. package/dist/temporal/sonde/deroule.js +39 -0
  77. package/dist/temporal/sonde/deroule.js.map +1 -0
  78. package/dist/temporal/tickets/activites.d.ts +7 -0
  79. package/dist/temporal/tickets/activites.js +81 -0
  80. package/dist/temporal/tickets/activites.js.map +1 -0
  81. package/dist/temporal/tickets/client.d.ts +10 -0
  82. package/dist/temporal/tickets/client.js +31 -0
  83. package/dist/temporal/tickets/client.js.map +1 -0
  84. package/dist/temporal/tickets/contrat.d.ts +56 -0
  85. package/dist/temporal/tickets/contrat.js +13 -0
  86. package/dist/temporal/tickets/contrat.js.map +1 -0
  87. package/dist/temporal/tickets/deroule.d.ts +3 -0
  88. package/dist/temporal/tickets/deroule.js +94 -0
  89. package/dist/temporal/tickets/deroule.js.map +1 -0
  90. package/dist/temporal/travailleur.d.ts +2 -0
  91. package/dist/temporal/travailleur.js +69 -0
  92. package/dist/temporal/travailleur.js.map +1 -0
  93. package/docs/ARCHITECTURE.md +609 -80
  94. package/docs/CADRE.md +17 -0
  95. package/docs/INTERFACE.md +134 -42
  96. package/hooks/crochet.mjs +19 -2
  97. package/hooks/hooks.json +11 -0
  98. package/package.json +16 -4
  99. package/scripts/activites.mjs +2182 -0
  100. package/scripts/aiguillage.d.mts +37 -0
  101. package/scripts/aiguillage.mjs +7 -3
  102. package/scripts/avancement.mjs +128 -16
  103. package/scripts/bilan.mjs +37 -19
  104. package/scripts/cadre.mjs +11 -2
  105. package/scripts/circuit.mjs +881 -4059
  106. package/scripts/circuits-cles.d.mts +4 -0
  107. package/scripts/circuits-cles.mjs +21 -0
  108. package/scripts/circuits-du-serveur.mjs +105 -0
  109. package/scripts/codes-de-sortie.mjs +9 -0
  110. package/scripts/commandes-composees.mjs +45 -41
  111. package/scripts/commandes-du-path.d.mts +7 -0
  112. package/scripts/commandes-du-path.mjs +25 -0
  113. package/scripts/composition-des-langages.mjs +16 -12
  114. package/scripts/conformite.mjs +6 -13
  115. package/scripts/copies-finies.mjs +52 -47
  116. package/scripts/depart-du-ticket.d.mts +53 -0
  117. package/scripts/depart-du-ticket.mjs +124 -0
  118. package/scripts/dependances-internes.mjs +115 -0
  119. package/scripts/dernier-vert.mjs +7 -15
  120. package/scripts/donnees-cles.mjs +228 -0
  121. package/scripts/droits.mjs +11 -1
  122. package/scripts/effets.mjs +352 -0
  123. package/scripts/enveloppe/enveloppe.mjs +119 -8
  124. package/scripts/enveloppe/lancer.sh +14 -18
  125. package/scripts/enveloppe/paquets-du-plan.mjs +2 -2
  126. package/scripts/enveloppe/travail-de-la-copie.mjs +5 -1
  127. package/scripts/etapes.mjs +5 -2
  128. package/scripts/faits-du-circuit.mjs +493 -0
  129. package/scripts/file-des-tickets.d.mts +21 -0
  130. package/scripts/file-des-tickets.mjs +58 -0
  131. package/scripts/flux-des-paquets.mjs +187 -0
  132. package/scripts/gardes-du-cadre.mjs +12 -2
  133. package/scripts/integration/file.mjs +475 -420
  134. package/scripts/integration/integrer.mjs +17 -19
  135. package/scripts/integration/rejeu.mjs +19 -4
  136. package/scripts/jointure.d.ts +145 -27
  137. package/scripts/langages/cargo/commandes.mjs +289 -109
  138. package/scripts/langages/cargo/composants.mjs +130 -34
  139. package/scripts/langages/cargo/exemples.mjs +12 -21
  140. package/scripts/langages/cargo/index.mjs +18 -8
  141. package/scripts/langages/cargo/sccache.mjs +8 -14
  142. package/scripts/langages/python/commandes.mjs +216 -100
  143. package/scripts/langages/python/composants.mjs +53 -21
  144. package/scripts/langages/python/exemples.mjs +6 -16
  145. package/scripts/langages/python/index.mjs +24 -8
  146. package/scripts/langages/python/lot.mjs +1 -36
  147. package/scripts/langages/typescript/construire.mjs +6 -163
  148. package/scripts/langages/typescript/exemples.mjs +3 -11
  149. package/scripts/langages/typescript/frontieres.mjs +1 -1
  150. package/scripts/langages/typescript/index.mjs +43 -61
  151. package/scripts/langages/typescript/interfaces-contre-code.mjs +4 -4
  152. package/scripts/langages/typescript/migrations/0.30.0-prefixe-des-tickets.mjs +63 -0
  153. package/scripts/langages/typescript/migrations/0.30.0-tailles-des-outils-lourds.mjs +31 -0
  154. package/scripts/langages/typescript/migrations/0.30.0-titres-nommant-un-ticket.mjs +40 -0
  155. package/scripts/langages/typescript/mise-a-jour.mjs +1 -2
  156. package/scripts/langages/typescript/tailles-des-tests.mjs +40 -9
  157. package/scripts/langages/typescript/tests-de-nuit.mjs +12 -9
  158. package/scripts/langages/typescript/tests.mjs +17 -8
  159. package/scripts/langages/typescript/titres-de-tests.mjs +297 -0
  160. package/scripts/langages/typescript/turbo-des-paquets.mjs +183 -38
  161. package/scripts/langages/typescript/verdict.mjs +1 -1
  162. package/scripts/langages/typescript/verifier.mjs +31 -11
  163. package/scripts/langages/typescript/vitest-config/base.mjs +22 -1
  164. package/scripts/langages/typescript/vitest-config/bornes.mjs +13 -0
  165. package/scripts/langages/typescript/vitest-config/cibles.mjs +36 -14
  166. package/scripts/langages/typescript/vitest-config/delais.mjs +54 -0
  167. package/scripts/langages/typescript/vitest-config/delais.setup.mjs +11 -0
  168. package/scripts/langages/typescript/vitest-config/duree.classement.mjs +100 -0
  169. package/scripts/langages/typescript/vitest-config/duree.reporter.mjs +49 -63
  170. package/scripts/langages/typescript/vitest-config/machine.setup.mjs +3 -0
  171. package/scripts/langages/typescript/vitest.nuit.config.mjs +4 -0
  172. package/scripts/mesure/pression.mjs +3 -3
  173. package/scripts/mesure-de-la-machine.d.mts +21 -0
  174. package/scripts/mesure-de-la-machine.mjs +76 -0
  175. package/scripts/migrations/0.23.2-copies-du-cadre.mjs +8 -2
  176. package/scripts/migrations/0.30.0-ci-appelle-la-verification.mjs +120 -0
  177. package/scripts/migrations/0.31.0-paquets-dans-le-graphe.mjs +81 -0
  178. package/scripts/migrations.mjs +5 -0
  179. package/scripts/nuit.sh +10 -3
  180. package/scripts/outils-cles.d.mts +24 -0
  181. package/scripts/outils-cles.mjs +0 -1
  182. package/scripts/paquet-npm.mjs +147 -0
  183. package/scripts/paquet.mjs +73 -4
  184. package/scripts/paquets.mjs +34 -6
  185. package/scripts/passe-de-la-machine.mjs +66 -0
  186. package/scripts/places-de-la-machine.mjs +360 -0
  187. package/scripts/places-du-serveur.mjs +170 -0
  188. package/scripts/prefixe-des-tickets.mjs +68 -0
  189. package/scripts/preparation.mjs +10 -3
  190. package/scripts/registre.mjs +3 -2
  191. package/scripts/regles-des-places.d.mts +36 -0
  192. package/scripts/regles-des-places.mjs +70 -0
  193. package/scripts/reponses-du-circuit.d.mts +6 -0
  194. package/scripts/reponses-du-circuit.mjs +28 -0
  195. package/scripts/resultats.mjs +7 -9
  196. package/scripts/retirer-les-copies-finies.mjs +25 -0
  197. package/scripts/sans-reponse.d.mts +4 -0
  198. package/scripts/sans-reponse.mjs +13 -0
  199. package/scripts/seances.mjs +918 -0
  200. package/scripts/services-du-noyau.mjs +26 -8
  201. package/scripts/session-start.sh +2 -2
  202. package/scripts/sortie.mjs +3 -3
  203. package/scripts/sous-commandes.mjs +38 -9
  204. package/scripts/style-a-l-ecriture.mjs +229 -0
  205. package/scripts/superviseur.mjs +122 -111
  206. package/scripts/tableau.mjs +148 -110
  207. package/scripts/taches-du-graphe.mjs +328 -0
  208. package/scripts/ticket-du-circuit.mjs +206 -0
  209. package/scripts/transitions.d.mts +148 -0
  210. package/scripts/transitions.mjs +901 -0
  211. package/scripts/verrou-de-fichier.mjs +2 -2
  212. package/scripts/verrou-de-machine.mjs +28 -13
  213. package/skills/explorateur/SKILL.md +2 -1
  214. package/skills/pitmaster/SKILL.md +17 -18
  215. package/skills/pitmaster/references/consigne-agent.md +5 -1
  216. package/skills/release/SKILL.md +3 -3
  217. package/skills/relecteur/SKILL.md +4 -2
  218. package/skills/testwriter/SKILL.md +36 -24
  219. package/scripts/demon.mjs +0 -251
  220. package/scripts/integration/file-attente.mjs +0 -61
  221. package/scripts/langages/cargo/touches.mjs +0 -93
  222. package/scripts/langages/typescript/script-des-tests.mjs +0 -6
@@ -0,0 +1,187 @@
1
+ #!/usr/bin/env node
2
+ // The guard of the flows of the CI: each flow declares the packages it exercises, and the reviewer
3
+ // reads it when a lot touches one of them, as a CODEOWNERS file names who reads a path.
4
+ //
5
+ // npx grillhouse flux-des-paquets (one of the frame's guards, scripts/gardes-du-cadre.mjs)
6
+ //
7
+ // - The key `grillhouse.flux` of the root package.json declares them, read from the main tree of
8
+ // the repository (`fluxDe`), as `grillhouse.engendres` and `grillhouse.outils` are:
9
+ // `{ ".github/workflows/<flux>.yml": ["<paquet>", …] }`, each package named by its name in the
10
+ // graph (the `name` of its package.json, whatever its language: a crate and a project of Python
11
+ // have one, scripts/paquets.mjs).
12
+ // - The key is absent, null or an object; each key is a path under .github/workflows, each value a
13
+ // list of strings. Every fault is named with its key; a faulty key gives no flow.
14
+ // - Refused, each finding named: a file of .github/workflows (.yml, .yaml) the key does not
15
+ // declare, a declared flow whose file does not exist, a package name the graph does not carry.
16
+ // A project without .github/workflows and without the key has nothing to say.
17
+ // - A lot touches a package when one of its files changes under the folder of the package; neither
18
+ // its dependents nor its dependencies count, the flow declares each package it exercises.
19
+ // `consigneDesFlux` gives the reviewer's line per flow the lot touches (the flow itself, or a
20
+ // package it declares), « aucun » for none.
21
+ // - Each finding is written in SARIF under the guard's name, and on the error stream after ⛔; the
22
+ // exit code is 1 when there is one, 0 otherwise.
23
+ import { existsSync, readdirSync, readFileSync } from 'node:fs';
24
+ import path from 'node:path';
25
+ import { fileURLToPath, pathToFileURL } from 'node:url';
26
+ import { arbrePrincipal } from './outils-cles.mjs';
27
+ import { paquets } from './paquets.mjs';
28
+ import { ecrireSarif } from './resultats.mjs';
29
+
30
+ /** This script. */
31
+ export const SCRIPT = fileURLToPath(import.meta.url);
32
+ /** The name its findings carry. */
33
+ export const GARDE = 'flux-des-paquets';
34
+
35
+ const DOSSIER = '.github/workflows';
36
+ const CLE = 'grillhouse.flux';
37
+
38
+ /**
39
+ * The flows that the package.json <pkg> declares (`grillhouse.flux`): `flux`, each `{ fichier,
40
+ * paquets }`, and `fautes`, each fault named with its key (no flow with a fault).
41
+ * @param {Record<string, any> | null | undefined} pkg
42
+ * @returns {{ flux: { fichier: string, paquets: string[] }[], fautes: string[] }}
43
+ */
44
+ export function lireFlux(pkg) {
45
+ const f = pkg?.grillhouse?.flux;
46
+ if (f === undefined || f === null) return { flux: [], fautes: [] };
47
+ if (typeof f !== 'object' || Array.isArray(f)) {
48
+ return {
49
+ flux: [],
50
+ fautes: [
51
+ `la clé ${CLE} vaut ${JSON.stringify(f)}, pas un objet { "${DOSSIER}/<flux>.yml": ["<paquet>", …] }.`,
52
+ ],
53
+ };
54
+ }
55
+ const fautes = [];
56
+ const flux = [];
57
+ for (const [fichier, liste] of Object.entries(f)) {
58
+ const cle = `${CLE}.${fichier}`;
59
+ const sain = fichier.startsWith(`${DOSSIER}/`) && !fichier.split('/').includes('..');
60
+ if (!sain) {
61
+ fautes.push(`${cle} : la clé n'est pas un fichier sous ${DOSSIER}/.`);
62
+ continue;
63
+ }
64
+ if (!Array.isArray(liste) || liste.some(p => typeof p !== 'string')) {
65
+ fautes.push(`${cle} vaut ${JSON.stringify(liste)}, pas une liste de noms de paquets.`);
66
+ continue;
67
+ }
68
+ flux.push({ fichier, paquets: liste });
69
+ }
70
+ return { flux: fautes.length ? [] : flux, fautes };
71
+ }
72
+
73
+ const lireJson = f => {
74
+ try {
75
+ return JSON.parse(readFileSync(f, 'utf8'));
76
+ } catch {
77
+ return null;
78
+ }
79
+ };
80
+
81
+ /**
82
+ * The flows of the project that holds <dir>, from the package.json of its main tree, never of a
83
+ * copy; none without one.
84
+ * @param {string} dir a directory of the project: its main tree or a copy
85
+ * @throws {Error} the faults of the key, one per line
86
+ */
87
+ export function fluxDe(dir) {
88
+ const f = path.join(arbrePrincipal(dir), 'package.json');
89
+ if (!existsSync(f)) return [];
90
+ const { flux, fautes } = lireFlux(lireJson(f));
91
+ if (fautes.length) throw new Error(fautes.join('\n'));
92
+ return flux;
93
+ }
94
+
95
+ // The workflow files of <racine>: the .yml and .yaml under .github/workflows, from the root.
96
+ function fichiersDeFlux(racine) {
97
+ const d = path.join(racine, DOSSIER);
98
+ if (!existsSync(d)) return [];
99
+ return readdirSync(d, { withFileTypes: true })
100
+ .filter(e => e.isFile() && /\.ya?ml$/.test(e.name))
101
+ .map(e => `${DOSSIER}/${e.name}`)
102
+ .sort();
103
+ }
104
+
105
+ /**
106
+ * The findings of the guard on the project at <racine>: `{ fichier, message }`, none when each
107
+ * workflow is declared with packages the graph carries.
108
+ * @param {string} racine the root of the project
109
+ */
110
+ export function constats(racine) {
111
+ const pkg = lireJson(path.join(racine, 'package.json'));
112
+ const { flux, fautes } = lireFlux(pkg);
113
+ const out = fautes.map(message => ({ fichier: 'package.json', message }));
114
+ if (fautes.length) return out;
115
+ const connus = new Set(paquets(racine).map(p => p.pkg.name));
116
+ const declares = new Set(flux.map(f => f.fichier));
117
+ for (const f of fichiersDeFlux(racine)) {
118
+ if (!declares.has(f)) {
119
+ out.push({
120
+ fichier: f,
121
+ message: `${f} : flux de la CI sans entrée dans ${CLE} du package.json ; chaque flux déclare les paquets qu'il exerce, le relecteur le lit.`,
122
+ });
123
+ }
124
+ }
125
+ for (const { fichier, paquets: noms } of flux) {
126
+ if (!existsSync(path.join(racine, fichier))) {
127
+ out.push({
128
+ fichier: 'package.json',
129
+ message: `${fichier} : déclaré dans ${CLE}, mais le fichier n'existe pas.`,
130
+ });
131
+ }
132
+ for (const n of noms.filter(x => !connus.has(x))) {
133
+ out.push({
134
+ fichier: 'package.json',
135
+ message: `${fichier} : le paquet ${n} que ${CLE} déclare est inconnu du graphe ; un paquet s'écrit par son nom (le « name » de son package.json), non par son dossier.`,
136
+ });
137
+ }
138
+ }
139
+ return out;
140
+ }
141
+
142
+ /**
143
+ * The reviewer's lines for the lot of <fichiers> (from the root): one `- lis <flux> : <raison>` per
144
+ * flow it touches, « aucun … » for none.
145
+ * @param {string} racine the root of the project
146
+ * @param {string[]} fichiers
147
+ */
148
+ export function consigneDesFlux(racine, fichiers) {
149
+ let flux;
150
+ try {
151
+ flux = fluxDe(racine);
152
+ } catch (e) {
153
+ return `aucun : la clé ${CLE} est refusée (${e.message.split('\n')[0]}).`;
154
+ }
155
+ const dossiers = new Map(
156
+ paquets(racine).map(p => [p.pkg.name, p.dossier.split(path.sep).join('/')])
157
+ );
158
+ const sous = (f, d) => d === '.' || f.startsWith(`${d}/`);
159
+ const lignes = [];
160
+ for (const { fichier, paquets: noms } of flux) {
161
+ const raisons = [];
162
+ if (fichiers.includes(fichier)) raisons.push('le lot change le flux');
163
+ for (const n of noms) {
164
+ const d = dossiers.get(n);
165
+ if (d !== undefined && fichiers.some(f => sous(f, d))) {
166
+ raisons.push(`le lot touche le paquet ${n}`);
167
+ }
168
+ }
169
+ if (raisons.length) lignes.push(`- lis ${fichier} : ${raisons.join(' ; ')}`);
170
+ }
171
+ return lignes.length ? lignes.join('\n') : 'aucun : le lot ne touche aucun flux de la CI.';
172
+ }
173
+
174
+ if (import.meta.url === pathToFileURL(process.argv[1] ?? '').href) {
175
+ const racine = process.cwd();
176
+ let refus;
177
+ try {
178
+ refus = constats(racine);
179
+ } catch (e) {
180
+ refus = [{ message: e.message.replace(/^⛔ /, '') }];
181
+ }
182
+ for (const r of refus) {
183
+ process.stderr.write(`⛔ ${r.message}\n`);
184
+ }
185
+ ecrireSarif({ garde: GARDE, racine, constats: refus });
186
+ process.exitCode = refus.length ? 1 : 0;
187
+ }
@@ -4,7 +4,10 @@
4
4
  // npx grillhouse gardes-du-cadre (npm run grillhouse:gardes, a task of Turborepo)
5
5
  //
6
6
  // - The guards are the core's, the languages of the packages first (./langages-des-paquets.mjs:
7
- // each package follows the language the architecture declares for it), then those of the
7
+ // each package follows the language the architecture declares for it; ./dependances-internes.mjs:
8
+ // the package.json of a crate or of a project of Python names the internal packages its
9
+ // manifest links; ./flux-des-paquets.mjs: each flow of the CI declares the packages it exercises),
10
+ // then those of the
8
11
  // modules of the project's languages (`gardes`, scripts/jointure.d.ts, scripts/langages.mjs),
9
12
  // each module's in their order, the modules in the order of the declaration.
10
13
  // - Each guard is a script of the package, and plays in the working directory, under the environment of the run
@@ -20,14 +23,21 @@
20
23
  import { spawnSync } from 'node:child_process';
21
24
  import path from 'node:path';
22
25
  import { pathToFileURL } from 'node:url';
26
+ import { SCRIPT as DEPENDANCES_INTERNES } from './dependances-internes.mjs';
23
27
  import { SCRIPT as LANGAGES_DES_PAQUETS } from './langages-des-paquets.mjs';
28
+ import { SCRIPT as FLUX_DES_PAQUETS } from './flux-des-paquets.mjs';
24
29
  import { langageDe } from './langages.mjs';
25
30
  import { A_ELAGUER, ecrireSarif, lireSarif, RESULTATS } from './resultats.mjs';
26
31
 
27
32
  // The guards of the frame in the repository at <racine>, each its script and its arguments, in
28
33
  // the order they play: the core's, then the languages'.
29
34
  export function gardesDuCadre(racine) {
30
- return [[LANGAGES_DES_PAQUETS], ...langageDe(racine).gardes(racine)];
35
+ return [
36
+ [LANGAGES_DES_PAQUETS],
37
+ [DEPENDANCES_INTERNES],
38
+ [FLUX_DES_PAQUETS],
39
+ ...langageDe(racine).gardes(racine),
40
+ ];
31
41
  }
32
42
 
33
43
  // The name of each guard of the frame, as its findings carry it: its script's, without extension.