@roomi-fields/grillhouse 0.32.0 → 0.33.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.
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +32 -0
- package/bin/grillhouse.mjs +6 -4
- package/cadre/templates/projet/.github/workflows/ci.yml +169 -16
- package/cadre/templates/projet/.github/workflows/nuit.yml +111 -0
- package/cadre/templates/projet/deployment/docs/01-INSTALL.md +4 -4
- package/cadre/templates/projet/package.json +2 -2
- package/charte.md +8 -5
- package/dist/temporal/circuit/client.d.ts +10 -3
- package/dist/temporal/circuit/client.js +8 -4
- package/dist/temporal/circuit/client.js.map +1 -1
- package/dist/temporal/circuit/contrat.d.ts +25 -0
- package/dist/temporal/circuit/contrat.js +31 -0
- package/dist/temporal/circuit/contrat.js.map +1 -1
- package/dist/temporal/circuit/deroule.js +67 -38
- package/dist/temporal/circuit/deroule.js.map +1 -1
- package/dist/temporal/commande.js +13 -3
- package/dist/temporal/commande.js.map +1 -1
- package/dist/temporal/deroules.d.ts +1 -0
- package/dist/temporal/deroules.js +3 -1
- package/dist/temporal/deroules.js.map +1 -1
- package/dist/temporal/file/activites.d.ts +1 -0
- package/dist/temporal/file/activites.js +5 -2
- package/dist/temporal/file/activites.js.map +1 -1
- package/dist/temporal/file/contrat.d.ts +50 -33
- package/dist/temporal/file/contrat.js +2 -2
- package/dist/temporal/file/contrat.js.map +1 -1
- package/dist/temporal/file/deroule.d.ts +3 -1
- package/dist/temporal/file/deroule.js +128 -26
- package/dist/temporal/file/deroule.js.map +1 -1
- package/dist/temporal/installation.d.ts +15 -1
- package/dist/temporal/installation.js +57 -15
- package/dist/temporal/installation.js.map +1 -1
- package/dist/temporal/nuits/activites.d.ts +10 -0
- package/dist/temporal/nuits/activites.js +114 -0
- package/dist/temporal/nuits/activites.js.map +1 -0
- package/dist/temporal/nuits/appel.d.ts +23 -0
- package/dist/temporal/nuits/appel.js +40 -0
- package/dist/temporal/nuits/appel.js.map +1 -0
- package/dist/temporal/nuits/choix.d.ts +14 -0
- package/dist/temporal/nuits/choix.js +119 -0
- package/dist/temporal/nuits/choix.js.map +1 -0
- package/dist/temporal/nuits/client.d.ts +28 -0
- package/dist/temporal/nuits/client.js +83 -0
- package/dist/temporal/nuits/client.js.map +1 -0
- package/dist/temporal/nuits/commande.d.ts +2 -0
- package/dist/temporal/nuits/commande.js +107 -0
- package/dist/temporal/nuits/commande.js.map +1 -0
- package/dist/temporal/nuits/contrat.d.ts +98 -0
- package/dist/temporal/nuits/contrat.js +30 -0
- package/dist/temporal/nuits/contrat.js.map +1 -0
- package/dist/temporal/nuits/deroule.d.ts +5 -0
- package/dist/temporal/nuits/deroule.js +100 -0
- package/dist/temporal/nuits/deroule.js.map +1 -0
- package/dist/temporal/travailleur.js +4 -1
- package/dist/temporal/travailleur.js.map +1 -1
- package/docs/ARCHITECTURE.md +214 -49
- package/docs/CADRE.md +31 -1
- package/docs/INTERFACE.md +47 -7
- package/hooks/register.tsx +11 -3
- package/package.json +4 -1
- package/scripts/abi-des-dependances.mjs +105 -0
- package/scripts/activites.mjs +113 -42
- package/scripts/aiguillage.mjs +1 -0
- package/scripts/avancement.mjs +8 -18
- package/scripts/ci-des-branches.mjs +91 -0
- package/scripts/circuit.mjs +79 -4
- package/scripts/circuits-du-serveur.mjs +4 -3
- package/scripts/composants-affectes.mjs +24 -7
- package/scripts/composition-des-langages.mjs +3 -0
- package/scripts/crochets.mjs +4 -0
- package/scripts/dernier-vert.mjs +31 -10
- package/scripts/enveloppe/enveloppe.mjs +3 -1
- package/scripts/enveloppe/lancer.sh +1 -1
- package/scripts/enveloppe/travail-de-la-copie.mjs +219 -59
- package/scripts/etapes.mjs +18 -1
- package/scripts/faits-du-circuit.mjs +43 -20
- package/scripts/fichier-du-poste.mjs +87 -0
- package/scripts/grillhouse-maj.mjs +15 -1
- package/scripts/integration/file.mjs +215 -275
- package/scripts/integration/integrer.mjs +82 -41
- package/scripts/integration/rejeu.mjs +13 -64
- package/scripts/jointure.d.ts +26 -2
- package/scripts/langages/cargo/commandes.mjs +81 -19
- package/scripts/langages/cargo/exemples.mjs +2 -2
- package/scripts/langages/cargo/index.mjs +11 -5
- package/scripts/langages/cargo/tailles-des-tests.mjs +19 -11
- package/scripts/langages/python/commandes.mjs +11 -7
- package/scripts/langages/python/exemples.mjs +1 -1
- package/scripts/langages/python/index.mjs +9 -2
- package/scripts/langages/python/tailles-des-tests.mjs +19 -11
- package/scripts/langages/typescript/code-mort.mjs +41 -24
- package/scripts/langages/typescript/consommateurs.mjs +28 -17
- package/scripts/langages/typescript/exemples.mjs +2 -0
- package/scripts/langages/typescript/index.mjs +22 -3
- package/scripts/langages/typescript/migrations/0.33.0-binaire-de-jour.mjs +34 -0
- package/scripts/langages/typescript/migrations/0.33.0-tests-du-poste.mjs +31 -0
- package/scripts/langages/typescript/resumes.mjs +17 -7
- package/scripts/langages/typescript/tailles-des-tests.mjs +251 -22
- package/scripts/langages/typescript/tests-de-nuit.mjs +101 -9
- package/scripts/langages/typescript/tests-du-poste.mjs +172 -0
- package/scripts/langages/typescript/tests.mjs +8 -2
- package/scripts/langages/typescript/tranches.mjs +273 -0
- package/scripts/langages/typescript/verifier.mjs +140 -31
- package/scripts/langages/typescript/vitest-config/changements.mjs +23 -11
- package/scripts/langages/typescript/vitest-config/cibles.mjs +78 -7
- package/scripts/langages/typescript/vitest-config/lances.mjs +4 -4
- package/scripts/langages/typescript/vitest-config/machine.setup.mjs +9 -0
- package/scripts/langages/typescript/vitest.nuit.config.mjs +3 -2
- package/scripts/lint-des-scripts.mjs +23 -6
- package/scripts/migrations/0.33.0-cache-distant.mjs +36 -0
- package/scripts/migrations/0.33.0-ci-des-branches-de-ticket.mjs +31 -0
- package/scripts/migrations/0.33.0-ci-du-cadre.mjs +31 -0
- package/scripts/migrations/0.33.0-node-26.mjs +58 -0
- package/scripts/migrations.mjs +8 -0
- package/scripts/newday.mjs +18 -0
- package/scripts/nuit.sh +35 -17
- package/scripts/registre.d.mts +90 -0
- package/scripts/registre.mjs +28 -3
- package/scripts/reprise.mjs +12 -8
- package/scripts/services-du-noyau.mjs +5 -1
- package/scripts/session-start.sh +40 -32
- package/scripts/sous-commandes.mjs +29 -10
- package/scripts/superviseur.mjs +72 -27
- package/scripts/tableau.mjs +129 -20
- package/scripts/taches-du-graphe.mjs +39 -6
- package/scripts/transitions.mjs +42 -3
- package/scripts/verrou-de-machine.mjs +1 -2
- package/scripts/workflows-du-cadre.mjs +75 -0
- package/skills/grill/SKILL.md +8 -6
- package/skills/pitmaster/SKILL.md +15 -9
|
@@ -22,7 +22,13 @@
|
|
|
22
22
|
// migration played, scripts/migrations.mjs: in 0.24.0, a file that still calls a former copy of
|
|
23
23
|
// the frame; in 0.24.2, API Extractor still declared by the project) is reported on the standard output, « reste au projet », with no effect on the exit
|
|
24
24
|
// code nor on the version recorded.
|
|
25
|
-
// - The frame
|
|
25
|
+
// - The frame's workflows of GitHub Actions (scripts/workflows-du-cadre.mjs): each workflow of the
|
|
26
|
+
// template's `.github/workflows/` (the CI of a lot, `ci.yml`; the night of a shared machine,
|
|
27
|
+
// `nuit.yml`) that the project holds with the frame's mark on its first line is rewritten when
|
|
28
|
+
// it differs, and one it lacks is written once the project holds one of them; a workflow without
|
|
29
|
+
// the mark is the project's, and stays. Their machine is the repository's variable RUNNER on
|
|
30
|
+
// GitHub, which no file holds. The report names each workflow written.
|
|
31
|
+
// - The frame copies no other file into a project: its scripts are the package's, its skills, agents,
|
|
26
32
|
// hooks of Claude Code, common charter and meta-frame the plugin's, which the package carries
|
|
27
33
|
// (scripts/cadre.mjs): the frame arrives in one piece, at the version npm installs.
|
|
28
34
|
// - The frame's plugin is a setting of the project: in a project whose `.claude/settings.json`
|
|
@@ -149,6 +155,7 @@ import { installerGreffons } from './greffons.mjs';
|
|
|
149
155
|
import { migrer, restesAuProjet } from './migrations.mjs';
|
|
150
156
|
import { langageDe, langagesDe } from './langages.mjs';
|
|
151
157
|
import * as langagesDansLArchitecture from './migrations/0.27.0-langages-dans-l-architecture.mjs';
|
|
158
|
+
import { poserLesWorkflows } from './workflows-du-cadre.mjs';
|
|
152
159
|
|
|
153
160
|
const SCRIPTS = {
|
|
154
161
|
tableau: 'grillhouse tableau --texte',
|
|
@@ -321,6 +328,7 @@ export function mettreAJour(projet, source, { inscrite = VERSION } = {}) {
|
|
|
321
328
|
gardes: null,
|
|
322
329
|
ligneEtat: false,
|
|
323
330
|
greffon: false,
|
|
331
|
+
workflows: [],
|
|
324
332
|
duLangage: { lignes: [], aFaire: [], installer: false, sansVerifier: null },
|
|
325
333
|
};
|
|
326
334
|
const pkg = path.join(projet, 'package.json');
|
|
@@ -431,6 +439,7 @@ export function mettreAJour(projet, source, { inscrite = VERSION } = {}) {
|
|
|
431
439
|
bilan.greffon = declarerGreffon(projet);
|
|
432
440
|
poserCrochets(projet);
|
|
433
441
|
attribuer(projet);
|
|
442
|
+
bilan.workflows = poserLesWorkflows(projet, source);
|
|
434
443
|
return bilan;
|
|
435
444
|
}
|
|
436
445
|
|
|
@@ -544,6 +553,11 @@ export function rapport(b) {
|
|
|
544
553
|
`Greffon du cadre : .claude/settings.json déclare la place de marché ${MARCHE_DU_CADRE} (${SOURCE_DU_MARCHE.repo}) et active ${GREFFON_DU_CADRE}.`
|
|
545
554
|
);
|
|
546
555
|
}
|
|
556
|
+
if (b.workflows?.length > 0) {
|
|
557
|
+
lignes.push(
|
|
558
|
+
`Workflows du cadre : ${b.workflows.join(', ')} écrit(s) depuis le gabarit ; leur machine est la variable RUNNER du dépôt sur GitHub (ubuntu-latest sans elle), que la mise à jour ne touche pas.`
|
|
559
|
+
);
|
|
560
|
+
}
|
|
547
561
|
if (b.gardes?.deplace) {
|
|
548
562
|
lignes.push(
|
|
549
563
|
`Gardes du projet : le script integration:gardes devient gardes, que \`npm run verifier\` joue à côté des tests.`
|