@lemoncode/lemony 0.4.1 → 0.5.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.
@@ -80,6 +80,9 @@ Rules:
80
80
  - Only enough code to pass current test
81
81
  - Don't anticipate future tests
82
82
  - Keep tests focused on observable behavior
83
+ - When the behaviors belong to a `tasks.md` task, its checkbox is the task's
84
+ done-marker: flip `- [ ]` → `- [x]` when the task's **last** behavior is GREEN
85
+ (the suite passing), and commit (or stage) it with the task's code
83
86
 
84
87
  ### 4. Refactor
85
88
 
@@ -83,10 +83,19 @@ rollback:
83
83
  # - test
84
84
  # - build
85
85
 
86
- # Design tokens (`design-tokens validate`). The anti-hardcode scan inspects a built-in
87
- # set of UI/style extensions (.css/.scss/.ts/.tsx/.vue/.svelte/.astro/.js/.mdx/.html/…).
88
- # Add extra suffixes here for a stack the built-ins don't cover — additive, never a
89
- # replacement. Default none.
86
+ # Design tokens (`design-tokens validate` / `design-tokens contrast`).
87
+ # `scan_extensions`: the anti-hardcode scan inspects a built-in set of UI/style
88
+ # extensions (.css/.scss/.ts/.tsx/.vue/.svelte/.astro/.js/.mdx/.html/…). Add extra
89
+ # suffixes here for a stack the built-ins don't cover — additive, never a replacement.
90
+ # Default none.
91
+ # `verify`: a command line `design-tokens contrast` runs alongside its own WCAG checks
92
+ # (through `sh -c`, in the repo root) — your design system's own verifier for the rules
93
+ # only it can know (palette under colour-vision-deficiency simulation, property grammar,
94
+ # CSS scans). Its output is forwarded; a non-zero exit fails the gate. It runs on every
95
+ # path: with no docs/design-tokens.json only the WCAG pair check is skipped, and a file
96
+ # that cannot be read or parsed is reported alongside it — never the verifier you
97
+ # declared. Default none.
90
98
  # design_tokens:
91
99
  # scan_extensions:
92
100
  # - .foo
101
+ # verify: pnpm exec my-design-system verify