@windyroad/jtbd 0.4.0-preview.59 → 0.4.0-preview.62

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.
@@ -67,8 +67,11 @@ run_hook_with_file() {
67
67
  file_is_excluded 'RISK-POLICY.md'
68
68
  }
69
69
 
70
- @test "enforce: does NOT have UI-only case guard" {
71
- ! grep -q '\*) exit 0 ;;' "$HOOK"
70
+ @test "enforce: does NOT have UI-only extension filter (ADR-007/008)" {
71
+ # ADR-007/008 removed web-UI-only scoping. The hook must not filter
72
+ # by UI file extension. NOTE: `*) exit 0 ;;` is a legitimate pattern
73
+ # for the project-root check (P004) — see jtbd-project-root.bats.
74
+ ! grep -qE '\.html\||tsx\|jsx\|html\|vue\|svelte' "$HOOK"
72
75
  }
73
76
 
74
77
  # --- Functional tests (execute hook with mock JSON) ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windyroad/jtbd",
3
- "version": "0.4.0-preview.59",
3
+ "version": "0.4.0-preview.62",
4
4
  "description": "Jobs-to-be-done enforcement for UI changes",
5
5
  "bin": {
6
6
  "windyroad-jtbd": "./bin/install.mjs"