@hienlh/ppm 0.5.5 → 0.5.6

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,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.5.6] - 2026-03-18
4
+
5
+ ### Added
6
+ - All CLI commands now print PPM version before execution for easy version verification
7
+
3
8
  ## [0.5.5] - 2026-03-18
4
9
 
5
10
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hienlh/ppm",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "description": "Personal Project Manager — mobile-first web IDE with AI assistance",
5
5
  "module": "src/index.ts",
6
6
  "type": "module",
package/src/index.ts CHANGED
@@ -7,7 +7,10 @@ const program = new Command();
7
7
  program
8
8
  .name("ppm")
9
9
  .description("Personal Project Manager — mobile-first web IDE")
10
- .version(VERSION);
10
+ .version(VERSION)
11
+ .hook("preAction", () => {
12
+ console.log(` PPM v${VERSION}\n`);
13
+ });
11
14
 
12
15
  program
13
16
  .command("start")
@@ -358,7 +358,7 @@ export async function startServer(options: {
358
358
  writeFileSync(statusFile, JSON.stringify(status));
359
359
  writeFileSync(pidFile, String(childPid));
360
360
 
361
- console.log(`\n PPM v${VERSION} daemon started (PID: ${childPid})\n`);
361
+ console.log(` Daemon started (PID: ${childPid})\n`);
362
362
  console.log(` ➜ Local: http://localhost:${port}/`);
363
363
  if (shareUrl) {
364
364
  console.log(` ➜ Share: ${shareUrl}`);
@@ -441,7 +441,7 @@ export async function startServer(options: {
441
441
  // Start background usage polling
442
442
  import("../services/claude-usage.service.ts").then(({ startUsagePolling }) => startUsagePolling()).catch(() => {});
443
443
 
444
- console.log(`\n PPM v${VERSION} ready\n`);
444
+ console.log(`\n PPM ready\n`);
445
445
  console.log(` ➜ Local: http://localhost:${server.port}/`);
446
446
 
447
447
  const { networkInterfaces } = await import("node:os");