From 6507da161059d5aa9f6e0fab37c4058f9274e8a1 Mon Sep 17 00:00:00 2001 From: Enzo Marioni Date: Thu, 1 Oct 2026 17:29:00 +0200 Subject: [PATCH] Ajoute le script "typecheck" (etl, e2e, worker) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "typecheck" enchaîne etl:typecheck, e2e:typecheck et worker:typecheck : les trois projets TypeScript que rien d'autre ne compile, et que la CI vérifiait en trois étapes séparées. C'est le nom que lance le workflow partagé avalon-vanguard/ci (node.yml). App et specs n'y sont pas ajoutés : `ng build` vérifie déjà les types de tsconfig.app.json et `ng test` ceux de tsconfig.spec.json. Vérifié en ajoutant une erreur de type (TS2322) dans src/app/app.ts puis dans src/app/app.spec.ts : le build, puis les tests, échouent avec [plugin angular-compiler]. Co-Authored-By: Claude Opus 5.5 (1M context) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8b960f2..ec08ec2 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "etl:typecheck": "tsc -p tools/etl/tsconfig.json --noEmit", "e2e": "playwright test", "e2e:typecheck": "tsc -p e2e/tsconfig.json --noEmit", - "worker:typecheck": "tsc -p tsconfig.worker.json --noEmit" + "worker:typecheck": "tsc -p tsconfig.worker.json --noEmit", + "typecheck": "npm run etl:typecheck && npm run e2e:typecheck && npm run worker:typecheck" }, "private": true, "packageManager": "npm@11.12.1",