safeword 0.35.1 → 0.36.0

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.
@@ -6,7 +6,7 @@ import {
6
6
  createProjectContext,
7
7
  getMissingPacks,
8
8
  reconcile
9
- } from "./chunk-VJ2LFFCA.js";
9
+ } from "./chunk-SWLONK4C.js";
10
10
  import "./chunk-YVZL7WO5.js";
11
11
  import {
12
12
  VERSION
@@ -189,4 +189,4 @@ async function check(options) {
189
189
  export {
190
190
  check
191
191
  };
192
- //# sourceMappingURL=check-TZQ36SFW.js.map
192
+ //# sourceMappingURL=check-NR577Y5A.js.map
@@ -3,7 +3,7 @@ import {
3
3
  addInstalledPack,
4
4
  isGitRepo,
5
5
  isPackInstalled
6
- } from "./chunk-VJ2LFFCA.js";
6
+ } from "./chunk-SWLONK4C.js";
7
7
  import {
8
8
  SAFEWORD_PEER_DEPENDENCIES
9
9
  } from "./chunk-HSC7TELY.js";
@@ -309,4 +309,4 @@ export {
309
309
  getEslintPeerMismatchWarning,
310
310
  maybeAutoPatchOrNudge
311
311
  };
312
- //# sourceMappingURL=chunk-H3GAMUAN.js.map
312
+ //# sourceMappingURL=chunk-R62TXZ6Y.js.map
@@ -2937,6 +2937,20 @@ var SAFEWORD_SCHEMA = {
2937
2937
  operation: "append",
2938
2938
  content: "\n# Safeword - Local cache and transient state\n.safeword/.update-cache.json\n.safeword-project/quality-state*.json\n",
2939
2939
  marker: ".safeword/.update-cache.json"
2940
+ },
2941
+ // Prettier ignores: safeword owns .safeword/ and .cursor/ (see ownedDirs).
2942
+ // Without this, `prettier --write .` would reformat hooks and Cursor rules;
2943
+ // owned-file overwrite on upgrade is the only other defense. Biome/eslint
2944
+ // already exclude .safeword/ via their own configs but don't need .cursor/
2945
+ // (JS-only linters; cursor holds .mdc/.md).
2946
+ //
2947
+ // Marker is intentionally specific (not just "# Safeword") to avoid
2948
+ // false-positive skips on customers who happen to have a `# Safeword`
2949
+ // comment for unrelated reasons.
2950
+ ".prettierignore": {
2951
+ operation: "append",
2952
+ content: "\n# Safeword - managed prettier exclusions\n.safeword/\n.cursor/\n",
2953
+ marker: "# Safeword - managed prettier exclusions"
2940
2954
  }
2941
2955
  },
2942
2956
  // Content predicate parity — files that must contain specific strings.
@@ -3183,4 +3197,4 @@ export {
3183
3197
  detectLanguages2,
3184
3198
  createProjectContext
3185
3199
  };
3186
- //# sourceMappingURL=chunk-VJ2LFFCA.js.map
3200
+ //# sourceMappingURL=chunk-SWLONK4C.js.map