jettypod 4.4.5 → 4.4.7

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.
@@ -7,7 +7,7 @@
7
7
  * 2. Imports database snapshots after checkout
8
8
  */
9
9
 
10
- const { importAll } = require('../lib/db-import');
10
+ const { importAll } = require('jettypod/lib/db-import');
11
11
  const { execSync } = require('child_process');
12
12
 
13
13
  (async () => {
package/hooks/post-merge CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const { importAll } = require('../lib/db-import');
3
+ const { importAll } = require('jettypod/lib/db-import');
4
4
 
5
5
  (async () => {
6
6
  try {
package/hooks/pre-commit CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const { exportAll } = require('../lib/db-export');
3
+ const { exportAll } = require('jettypod/lib/db-export');
4
4
  const { execSync } = require('child_process');
5
5
 
6
6
  (async () => {
package/jettypod.js CHANGED
@@ -127,6 +127,24 @@ function ensureJettypodGitignores() {
127
127
  } catch (e) {
128
128
  // File not tracked or git error - that's fine
129
129
  }
130
+
131
+ // Untrack SQLite WAL files if they're currently tracked
132
+ const walFiles = ['.jettypod/work.db-shm', '.jettypod/work.db-wal'];
133
+ for (const walFile of walFiles) {
134
+ try {
135
+ const { execSync } = require('child_process');
136
+ execSync(`git ls-files --error-unmatch ${walFile} 2>/dev/null`, {
137
+ encoding: 'utf-8',
138
+ stdio: ['pipe', 'pipe', 'pipe']
139
+ });
140
+
141
+ // If we get here, file is tracked - untrack it
142
+ execSync(`git rm --cached ${walFile}`, { stdio: 'pipe' });
143
+ console.log(`📝 Untracked ${walFile} (now gitignored)`);
144
+ } catch (e) {
145
+ // File not tracked or git error - that's fine
146
+ }
147
+ }
130
148
  }
131
149
 
132
150
  // CLAUDE.md generation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jettypod",
3
- "version": "4.4.5",
3
+ "version": "4.4.7",
4
4
  "description": "AI-powered development workflow manager with TDD, BDD, and automatic test generation",
5
5
  "main": "jettypod.js",
6
6
  "bin": {