create-claude-cabinet 0.7.1 → 0.7.2

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.
Files changed (2) hide show
  1. package/lib/cli.js +4 -0
  2. package/package.json +1 -1
package/lib/cli.js CHANGED
@@ -547,10 +547,14 @@ async function run() {
547
547
  }
548
548
 
549
549
  // --- Clean up files removed upstream ---
550
+ // Phase files are excluded from the manifest (they're user-customized),
551
+ // so skip them during cleanup even if they were in the old manifest.
550
552
  if (Object.keys(existingManifest).length > 0) {
551
553
  let totalRemoved = 0;
552
554
  for (const oldPath of Object.keys(existingManifest)) {
553
555
  if (!allManifest[oldPath]) {
556
+ // Skip phase files — they may be user-customized
557
+ if (/\/phases\//.test(oldPath)) continue;
554
558
  const fullPath = path.join(projectDir, oldPath);
555
559
  if (fs.existsSync(fullPath)) {
556
560
  if (!flags.dryRun) fs.unlinkSync(fullPath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-claude-cabinet",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Claude Cabinet — opinionated process scaffolding for Claude Code projects",
5
5
  "bin": {
6
6
  "create-claude-cabinet": "bin/create-claude-cabinet.js"