clocktopus 1.6.9 → 1.6.10

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/README.md CHANGED
@@ -74,7 +74,7 @@ xattr -cr /Applications/Clocktopus.app
74
74
 
75
75
  The app manages the dashboard server for you:
76
76
 
77
- - **Install Clocktopus** — if the CLI is not installed, the popup offers a one-click installer that runs `bun install -g clocktopus` for you.
77
+ - **Install Clocktopus** — if the CLI is not installed, the popup offers a one-click installer that runs `bun i -g clocktopus --trust` for you.
78
78
  - **Start Server** — when the dashboard is not running, the popup shows a "Start Server" button. Click it and the app spawns `clocktopus dash` in the background, then loads the dashboard once it's up.
79
79
  - **Stop Server** / **Restart Server** — available from the tray menu when the server is reachable. Stop also kills any pre-existing process on port 4001 (terminal, PM2, prior session).
80
80
 
@@ -61,7 +61,7 @@ export function ensureNativeAddons() {
61
61
  if (!nodeGypCmd) {
62
62
  console.warn('Warning: node-gyp not found. Native addons could not be built.');
63
63
  console.warn(' Install Node.js (includes npx) then restart, or run:');
64
- console.warn(' bun pm trust clocktopus && bun install -g clocktopus');
64
+ console.warn(' bun i -g clocktopus --trust');
65
65
  return;
66
66
  }
67
67
  const failed = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clocktopus",
3
- "version": "1.6.9",
3
+ "version": "1.6.10",
4
4
  "description": "Time-tracking automation for Clockify with idle monitoring, Jira integration, Google Calendar sync, CLI, web dashboard, and desktop app.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -8,6 +8,7 @@
8
8
  "clocktopus": "dist/index.js"
9
9
  },
10
10
  "license": "MIT",
11
+ "preferGlobal": true,
11
12
  "files": [
12
13
  "dist",
13
14
  "data/.gitkeep",