@windyroad/voice-tone 0.7.0-preview.946 → 0.7.1-preview.1014

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.
@@ -123,5 +123,5 @@
123
123
  }
124
124
  },
125
125
  "name": "wr-voice-tone",
126
- "version": "0.7.0"
126
+ "version": "0.7.1"
127
127
  }
@@ -67,6 +67,10 @@ assert_path_blocked() {
67
67
 
68
68
  # --- Regression: non-exempt HTML still gate ---
69
69
 
70
+ @test "voice-tone: exempts VCS-internal .git/ files even with a gated extension (P458)" {
71
+ assert_path_allowed "$PWD/.git/hooks/prepare-commit-msg.tsx"
72
+ }
73
+
70
74
  @test "voice-tone: still blocks an unrelated .html file when no policy exists" {
71
75
  assert_path_blocked "$PWD/public/index.html"
72
76
  }
@@ -53,6 +53,10 @@ esac
53
53
  # Short-circuits before the *.html opt-in match below would otherwise fire
54
54
  # on story-map HTML — the empirical block documented at P170 line 297.
55
55
  case "$FILE_PATH" in
56
+ # VCS-internal plumbing is never a project artefact (P458; sibling of the P004
57
+ # outside-the-repo exclusion, for paths INSIDE the repo root).
58
+ */.git/*|.git/*)
59
+ exit 0 ;;
56
60
  */docs/story-maps/*|docs/story-maps/*)
57
61
  exit 0 ;;
58
62
  */docs/stories/*|docs/stories/*)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windyroad/voice-tone",
3
- "version": "0.7.0-preview.946",
3
+ "version": "0.7.1-preview.1014",
4
4
  "description": "Voice and tone enforcement for user-facing copy",
5
5
  "bin": {
6
6
  "windyroad-voice-tone": "./bin/install.mjs"