@kiwidata/grimoire 0.1.2 → 0.1.3

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/README.md CHANGED
@@ -688,7 +688,7 @@ grimoire init --agent copilot # .github/copilot-instructions.m
688
688
  | `grimoire health --badges <file>` | Write shields.io badges into a file (e.g., README.md) |
689
689
  | `grimoire branch-check` | Branch-guard check (used by hook; `--hook`, `--prompt <text>`) |
690
690
 
691
- Most commands support `--json` for machine-readable output. `grimoire check` also supports `--changed` (only changed files), `--continue` (run all steps even on failure), and `--skip <steps...>`.
691
+ Most commands support `--json` for machine-readable output. `grimoire check` runs all steps by default and also supports `--changed` (only changed files), `--fail-fast` (stop at first failure), and `--skip <steps...>`.
692
692
 
693
693
  </details>
694
694
 
@@ -3,14 +3,14 @@ import { runCheck } from "../core/check.js";
3
3
  export const checkCommand = new Command("check")
4
4
  .description("Run pre-commit checks (lint, test, duplicates, complexity, LLM review)")
5
5
  .argument("[steps...]", "Specific steps to run (default: all configured)")
6
- .option("--continue", "Run all steps even if one fails")
6
+ .option("--fail-fast", "Stop at first failing step (default: run all)")
7
7
  .option("--changed", "Only check changed files (default for LLM steps)")
8
8
  .option("--skip <steps...>", "Skip specific steps")
9
9
  .option("--json", "Output as JSON")
10
10
  .action(async (steps, options) => {
11
11
  const { failed, errored } = await runCheck({
12
12
  steps: steps.length > 0 ? steps : undefined,
13
- continueOnFail: options.continue ?? false,
13
+ continueOnFail: !(options.failFast ?? false),
14
14
  changed: options.changed ?? true,
15
15
  skip: options.skip,
16
16
  json: options.json ?? false,
@@ -1 +1 @@
1
- {"version":3,"file":"check.js","sourceRoot":"","sources":["../../src/commands/check.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,OAAO,CAAC,OAAO,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kDAAkD,CAAC;KACvE,MAAM,CAAC,mBAAmB,EAAE,qBAAqB,CAAC;KAClD,MAAM,CAAC,QAAQ,EAAE,gBAAgB,CAAC;KAClC,MAAM,CAAC,KAAK,EAAE,KAAe,EAAE,OAAO,EAAE,EAAE;IACzC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,QAAQ,CAAC;QACzC,KAAK,EAAE,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS;QAC3C,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,IAAI,KAAK,CAAC;QAC5C,OAAO,EAAE,OAAO,CAAC,OAAO,IAAI,IAAI;QAChC,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,IAAI,EAAE,OAAO,CAAC,IAAI,IAAI,KAAK;KAC5B,CAAC,CAAC;IACH,IAAI,MAAM,GAAG,CAAC,IAAI,OAAO,GAAG,CAAC,EAAE,CAAC;QAC9B,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiwidata/grimoire",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Gherkin + MADR spec-driven development for AI coding assistants",
5
5
  "type": "module",
6
6
  "bin": {