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.
- package/dist/{check-TZQ36SFW.js → check-NR577Y5A.js} +2 -2
- package/dist/{chunk-H3GAMUAN.js → chunk-R62TXZ6Y.js} +2 -2
- package/dist/{chunk-VJ2LFFCA.js → chunk-SWLONK4C.js} +15 -1
- package/dist/{chunk-VJ2LFFCA.js.map → chunk-SWLONK4C.js.map} +1 -1
- package/dist/cli.js +5 -5
- package/dist/{diff-4UKSME3A.js → diff-WAW6KFOR.js} +2 -2
- package/dist/{reset-IGYLNNV3.js → reset-2KZM4CMW.js} +2 -2
- package/dist/{setup-RK5AS6UA.js → setup-LDUKJR47.js} +3 -3
- package/dist/{upgrade-CDZLNH4L.js → upgrade-NTD7V7I2.js} +3 -3
- package/package.json +1 -1
- package/templates/hooks/lib/re-entry.ts +30 -2
- package/templates/hooks/session-start-reentry.ts +7 -3
- package/templates/hooks/stop-reentry.ts +10 -2
- /package/dist/{check-TZQ36SFW.js.map → check-NR577Y5A.js.map} +0 -0
- /package/dist/{chunk-H3GAMUAN.js.map → chunk-R62TXZ6Y.js.map} +0 -0
- /package/dist/{diff-4UKSME3A.js.map → diff-WAW6KFOR.js.map} +0 -0
- /package/dist/{reset-IGYLNNV3.js.map → reset-2KZM4CMW.js.map} +0 -0
- /package/dist/{setup-RK5AS6UA.js.map → setup-LDUKJR47.js.map} +0 -0
- /package/dist/{upgrade-CDZLNH4L.js.map → upgrade-NTD7V7I2.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
createProjectContext,
|
|
7
7
|
getMissingPacks,
|
|
8
8
|
reconcile
|
|
9
|
-
} from "./chunk-
|
|
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-
|
|
192
|
+
//# sourceMappingURL=check-NR577Y5A.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
addInstalledPack,
|
|
4
4
|
isGitRepo,
|
|
5
5
|
isPackInstalled
|
|
6
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
3200
|
+
//# sourceMappingURL=chunk-SWLONK4C.js.map
|