jobtrack 1.0.11 → 1.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jobtrack",
3
- "version": "1.0.11",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Runs the JobTrack API + web UI as one background process with a Windows tray icon",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@fastify/static": "^10.1.3",
33
- "@jobtrack/api": "^1.0.6",
33
+ "@jobtrack/api": "^1.0.8",
34
34
  "fastify": "^5.12.1",
35
35
  "systray": "^1.0.5",
36
36
  "tsx": "^4.23.12"
package/src/server.ts CHANGED
@@ -70,7 +70,7 @@ export async function startServer(): Promise<RunningServer> {
70
70
  return reply.status(404).send({ error: 'not_found', message: 'Not found' });
71
71
  });
72
72
  } else {
73
- console.warn('[tray] no built web UI found run "npm run build" to serve it. API-only for now.');
73
+ console.warn('[tray] no built web UI found. Run "npm run build" to serve it. API-only for now.');
74
74
  }
75
75
 
76
76
  await search.start();
@@ -86,7 +86,7 @@ export async function startServer(): Promise<RunningServer> {
86
86
  `JOBTRACK_ERROR ${JSON.stringify({ code: 'EADDRINUSE', host: config.host, port: config.port })}`,
87
87
  );
88
88
  console.error(
89
- `Port ${config.port} is already in use JobTrack may already be running. Stop it, or set PORT in .env to something else.`,
89
+ `Port ${config.port} is already in use. JobTrack may already be running. Stop it, or set PORT in .env to something else.`,
90
90
  );
91
91
  search.stop();
92
92
  await app.close();
package/src/tray.ts CHANGED
@@ -36,7 +36,7 @@ export interface TrayHandlers {
36
36
  export function createTray(handlers: TrayHandlers): InstanceType<SysTrayCtor> {
37
37
  const webDist = resolveWebDist();
38
38
  if (!webDist) {
39
- throw new Error('No built web UI found run "npm run build" before starting the tray.');
39
+ throw new Error('No built web UI found. Run "npm run build" before starting the tray.');
40
40
  }
41
41
  const icon = readFileSync(resolve(webDist, 'favicon.ico')).toString('base64');
42
42