prjct-cli 1.24.0 → 1.25.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/CHANGELOG.md CHANGED
@@ -1,5 +1,65 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.25.0] - 2026-02-11
4
+
5
+ ### Features
6
+
7
+ - kill all JSON file I/O — everything to SQLite (PRJ-303) (#172)
8
+
9
+
10
+ ## [1.25.0] - 2026-02-10
11
+
12
+ ### Features
13
+
14
+ - **Kill all JSON file I/O — everything to SQLite (PRJ-303)**: Migrated 4 modules that were still reading/writing JSON files directly, bypassing the SQLite migration. All storage now goes through `prjctDb` or `StorageManager`.
15
+
16
+ ### Changes
17
+
18
+ - `core/integrations/linear/sync.ts` — Replaced `readFile`/`writeFile` on `issues.json` with `prjctDb.getDoc/setDoc`
19
+ - `core/services/context-generator.ts` — Replaced direct `state.json`, `queue.json`, `ideas.json`, `shipped.json` reads with `stateStorage`, `queueStorage`, `ideasStorage`, `shippedStorage`
20
+ - `core/services/sync-service.ts` — `updateProjectJson` and `updateStateJson` now use `prjctDb`/`stateStorage` instead of `fs.readFile`/`fs.writeFile`
21
+ - `core/services/hooks-service.ts` — `getHookConfig`/`saveHookConfig` now use `prjctDb.getDoc/setDoc` for `project.json` data
22
+ - `core/storage/migrate-json.ts` — Added `sweepLegacyJson()` that runs on every sync to import and delete any ghost JSON files
23
+ - Templates updated to reference `prjct.db` instead of `storage/*.json`
24
+
25
+ ### Test Plan
26
+
27
+ #### For QA
28
+ 1. Run `bun test` — 1057 tests pass
29
+ 2. Run `prjct linear sync` — issues stored in `prjct.db`, no `issues.json` on disk
30
+ 3. Run `prjct sync --yes` — regenerates context without JSON file errors
31
+ 4. Verify `ls ~/.prjct-cli/projects/*/storage/` has no `.json` files
32
+ 5. Run `prjct status` — works without JSON files
33
+
34
+ #### For Users
35
+ **What changed:** Internal storage optimization — no user action needed.
36
+ **Breaking changes:** None
37
+
38
+ ## [1.24.1] - 2026-02-11
39
+
40
+ ### Bug Fixes
41
+
42
+ - strip shebangs in build via esbuild plugin (#171)
43
+
44
+
45
+ ## [1.24.2] - 2026-02-10
46
+
47
+ ### Bug Fixes
48
+
49
+ - **Strip shebangs in build via esbuild plugin**: Added a `stripShebangPlugin` to the build script that removes shebangs from source files before bundling. This prevents double-shebang SyntaxErrors when source files (e.g. `#!/usr/bin/env bun`) are compiled with a banner that also injects a shebang. The previous fix (v1.24.1) removed shebangs manually from known files; this fix handles it generically for all future source files.
50
+
51
+ ### Test Plan
52
+
53
+ #### For QA
54
+ 1. Add `#!/usr/bin/env bun` to any source `.ts` file used as an entry point
55
+ 2. Run `node scripts/build.js`
56
+ 3. Verify compiled output has exactly one shebang (`#!/usr/bin/env node`) — not two
57
+ 4. Run `node dist/cli/linear.mjs --help` — should work without SyntaxError
58
+
59
+ #### For Users
60
+ **What changed:** Build-time fix — no user action needed.
61
+ **Breaking changes:** None
62
+
3
63
  ## [1.24.0] - 2026-02-11
4
64
 
5
65
  ### Features
@@ -10,7 +70,6 @@
10
70
 
11
71
  - remove source shebang causing SyntaxError in compiled linear CLI (#169)
12
72
 
13
-
14
73
  ## [1.24.1] - 2026-02-10
15
74
 
16
75
  ### Bug Fixes