clocktopus 1.0.5 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +6 -4
  2. package/package.json +4 -3
package/README.md CHANGED
@@ -10,16 +10,18 @@ CLI-based time-tracking automation for Clockify with idle monitoring, Jira integ
10
10
 
11
11
  Most users only need the dashboard — a web UI to manage timers, connect integrations, and monitor idle time.
12
12
 
13
- ### Install
13
+ ### Prerequisites
14
+
15
+ [Bun](https://bun.sh) is required (used as the runtime):
14
16
 
15
17
  ```bash
16
- npm i -g clocktopus
18
+ curl -fsSL https://bun.sh/install | bash
17
19
  ```
18
20
 
19
- Requires [Bun](https://bun.sh) runtime:
21
+ ### Install
20
22
 
21
23
  ```bash
22
- curl -fsSL https://bun.sh/install | bash
24
+ bun i -g clocktopus
23
25
  ```
24
26
 
25
27
  ### Run
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clocktopus",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -15,6 +15,7 @@
15
15
  "scripts": {
16
16
  "build": "bunx tsc",
17
17
  "prepublishOnly": "bunx tsc",
18
+ "postinstall": "cd node_modules/macos-notification-state && node-gyp rebuild 2>/dev/null; cd ../desktop-idle && node-gyp rebuild 2>/dev/null; true",
18
19
  "lint": "eslint . --ext .ts",
19
20
  "clock": "bun dist/index.js",
20
21
  "clockd": "bunx pm2 start dist/index.js --name clocktopus --",
@@ -41,9 +42,9 @@
41
42
  "inquirer": "^8.2.4",
42
43
  "macos-notification-state": "^3.0.0",
43
44
  "node-notifier": "^10.0.1",
45
+ "pm2": "^6.0.8",
44
46
  "uuid": "^11.1.0",
45
- "zod": "^3.25.76",
46
- "pm2": "^6.0.8"
47
+ "zod": "^3.25.76"
47
48
  },
48
49
  "devDependencies": {
49
50
  "@types/bun": "^1.3.11",