From 7e65a83d4245c09e8f4ee912544b54c474c39d0a Mon Sep 17 00:00:00 2001 From: Sylvain Duchesne Date: Mon, 20 Jul 2026 13:17:36 +0200 Subject: [PATCH] =?UTF-8?q?fix(test):=20cucumber=20via=20l'entr=C3=A9e=20J?= =?UTF-8?q?S=20r=C3=A9elle=20(@cucumber/cucumber/bin)=20=E2=80=94=20pnpm?= =?UTF-8?q?=20casse=20le=20shim=20.bin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pnpm installe node_modules/.bin/cucumber-js comme shim shell (pas du JS) → 'node --import tsx/esm node_modules/.bin/cucumber-js' échoue. Pointer sur l'entrée JS réelle du paquet. Répare test:data et cucumber:run. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_014GbGgNEHRejVKoREvFuDFg --- .project/concepts/tech-stack/_debt.md | 7 +++++++ package.json | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .project/concepts/tech-stack/_debt.md diff --git a/.project/concepts/tech-stack/_debt.md b/.project/concepts/tech-stack/_debt.md new file mode 100644 index 0000000..52af2ed --- /dev/null +++ b/.project/concepts/tech-stack/_debt.md @@ -0,0 +1,7 @@ +# Doc-debt — tech-stack + +> Presence of a block = doc to update. Processed → delete the block; no blocks left → delete this file. +> One block = one "big change": `why` + `files` + `verify` (leaves to review). + +## Raw markers (consolidate into blocks, then delete) +- TOUCHED package.json @2026-07-20 (session 0b064e8b-1717-421f-a20e-a4318ad217b1) diff --git a/package.json b/package.json index f49e973..754fbfa 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "start": "NODE_ENV=production bun src/index.ts", "build": "bun run build.ts", "test:cucumber": "bun run cucumber:run && bun run cucumber:report && bun run features:parse && bun run steps:extract", - "cucumber:run": "node --import tsx/esm node_modules/.bin/cucumber-js --config cucumber.json", - "test:data": "node --import tsx/esm node_modules/.bin/cucumber-js --config cucumber.json --tags @data", + "cucumber:run": "node --import tsx/esm node_modules/@cucumber/cucumber/bin/cucumber.js --config cucumber.json", + "test:data": "node --import tsx/esm node_modules/@cucumber/cucumber/bin/cucumber.js --config cucumber.json --tags @data", "test:auth-setup": "bun scripts/setup-test-auth.ts", "cucumber:report": "bun scripts/parse-test-results.ts", "features:parse": "bun scripts/parse-features.ts",