jettypod 4.4.24 → 4.4.26

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/jettypod.js CHANGED
@@ -146,6 +146,26 @@ function ensureJettypodGitignores() {
146
146
  // File not tracked or git error - that's fine
147
147
  }
148
148
  }
149
+
150
+ // Untrack .jettypod/ directory if it's currently tracked
151
+ // This is critical for worktrees - tracked .jettypod causes "deleted" file issues
152
+ try {
153
+ const { execSync } = require('child_process');
154
+ // Check if any files in .jettypod are tracked
155
+ const trackedFiles = execSync('git ls-files .jettypod/', {
156
+ encoding: 'utf-8',
157
+ stdio: ['pipe', 'pipe', 'pipe']
158
+ }).trim();
159
+
160
+ if (trackedFiles) {
161
+ // Files are tracked - untrack the entire directory
162
+ execSync('git rm -r --cached .jettypod/', { stdio: 'pipe' });
163
+ console.log('📝 Untracked .jettypod/ directory (now gitignored)');
164
+ console.log(' Run: git commit -m "Stop tracking .jettypod"');
165
+ }
166
+ } catch (e) {
167
+ // Directory not tracked or git error - that's fine
168
+ }
149
169
  }
150
170
 
151
171
  // CLAUDE.md generation
@@ -74,11 +74,11 @@ function getLatestVersion() {
74
74
  * @returns {boolean} True if update succeeded
75
75
  */
76
76
  function updateJettyPod(version = 'latest') {
77
+ const packageName = packageJson.name;
77
78
  try {
78
79
  console.log(`📦 Installing jettypod@${version}...`);
79
80
 
80
81
  // Use npm to update globally
81
- const packageName = packageJson.name;
82
82
  execSync(`npm install -g ${packageName}@${version}`, {
83
83
  stdio: 'inherit'
84
84
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jettypod",
3
- "version": "4.4.24",
3
+ "version": "4.4.26",
4
4
  "description": "AI-powered development workflow manager with TDD, BDD, and automatic test generation",
5
5
  "main": "jettypod.js",
6
6
  "bin": {