chief-clancy 0.3.7 → 0.3.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chief-clancy",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "Autonomous, board-driven development for Claude Code — scaffolds docs, integrates Kanban boards, runs tickets in a loop.",
5
5
  "keywords": [
6
6
  "claude",
@@ -290,6 +290,21 @@ node_modules/
290
290
 
291
291
  ---
292
292
 
293
+ ## .prettierignore check
294
+
295
+ Check whether a `.prettierignore` file exists in the project root.
296
+
297
+ **If it exists:** read it. If it does not already contain `.clancy/`, append:
298
+ ```
299
+ # Clancy generated files
300
+ .clancy/
301
+ .claude/commands/clancy/
302
+ ```
303
+
304
+ **If it does not exist:** skip — do not create it. Clancy only adds entries to an existing `.prettierignore` so it does not impose Prettier on projects that don't use it.
305
+
306
+ ---
307
+
293
308
  ## Runtime scripts
294
309
 
295
310
  The installer copies bundled runtime scripts (`clancy-once.js` and `clancy-afk.js`) directly into `.clancy/` during installation. These are self-contained — they have zero runtime dependency on the `chief-clancy` npm package.
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Overview
4
4
 
5
- Remove Clancy's slash commands from the local project, globally, or both. Optionally remove the `.clancy/` project folder (which includes `.clancy/.env`). Clean up CLAUDE.md and .gitignore changes made during init.
5
+ Remove Clancy's slash commands from the local project, globally, or both. Optionally remove the `.clancy/` project folder (which includes `.clancy/.env`). Clean up CLAUDE.md, .gitignore, and .prettierignore changes made during init.
6
6
 
7
7
  ---
8
8
 
@@ -108,7 +108,25 @@ Print `✅ .gitignore cleaned up.` (or `✅ .gitignore removed.` if deleted).
108
108
 
109
109
  ---
110
110
 
111
- ## Step 5 — Offer to remove .clancy/ (if present)
111
+ ## Step 5 — Clean up .prettierignore
112
+
113
+ Check whether `.prettierignore` exists in the current project directory.
114
+
115
+ If it does, check whether it contains Clancy entries (`# Clancy generated files` and/or `.clancy/` and/or `.claude/commands/clancy/`):
116
+
117
+ **If found:** remove the `# Clancy generated files` comment line, the `.clancy/` line, and the `.claude/commands/clancy/` line. Also remove any blank line immediately before or after the removed block to avoid leaving double blank lines. Write the cleaned file back.
118
+
119
+ If the file is now empty (or contains only whitespace) after removal, delete it entirely — Clancy added those entries during init.
120
+
121
+ Print `✅ .prettierignore cleaned up.` (or `✅ .prettierignore removed.` if deleted).
122
+
123
+ **If not found:** skip — Clancy didn't modify this file.
124
+
125
+ **If .prettierignore does not exist:** skip.
126
+
127
+ ---
128
+
129
+ ## Step 6 — Offer to remove .clancy/ (if present)
112
130
 
113
131
  Check whether `.clancy/` exists in the current project directory.
114
132
 
@@ -126,7 +144,7 @@ If `.clancy/` does not exist, skip this step entirely.
126
144
 
127
145
  ---
128
146
 
129
- ## Step 6 — Final message
147
+ ## Step 7 — Final message
130
148
 
131
149
  ```
132
150
  ✅ Clancy uninstalled.
@@ -138,6 +156,6 @@ If `.clancy/` does not exist, skip this step entirely.
138
156
 
139
157
  ## Hard constraints
140
158
 
141
- - **Never touch any `.env` at the project root** — Clancy's credentials live in `.clancy/.env` and are only removed as part of `.clancy/` in Step 5
142
- - Steps 1–2 (commands removal), Steps 3–4 (CLAUDE.md and .gitignore cleanup), and Step 5 (`.clancy/` removal) are always asked separately — never bundle them into one confirmation
159
+ - **Never touch any `.env` at the project root** — Clancy's credentials live in `.clancy/.env` and are only removed as part of `.clancy/` in Step 6
160
+ - Steps 1–2 (commands removal), Steps 3–5 (CLAUDE.md, .gitignore, and .prettierignore cleanup), and Step 6 (`.clancy/` removal) are always asked separately — never bundle them into one confirmation
143
161
  - If the user says no to commands removal in Step 2, skip all remaining steps and stop