-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example
More file actions
40 lines (31 loc) · 1.49 KB
/
Copy pathconfig.example
File metadata and controls
40 lines (31 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# pkgup config — copy to ~/.config/pkgup/config
# This file is sourced by zsh.
# Slack incoming webhook URL (if unset, Slack sending is skipped; the report still goes to log/stdout)
SLACK_WEBHOOK_URL="https://hooks.slack.com/services/XXXX/YYYY/ZZZZ"
# npm global update target:
# "latest" → newest version (npm install -g pkg@latest) [default]
# "wanted" → within semver range only (npm update -g pkg)
NPM_UPDATE_TARGET="latest"
# Run brew cleanup after upgrading
BREW_CLEANUP=false
# Also check GUI casks that auto-update themselves (brew outdated --greedy)
BREW_CASK_GREEDY=false
# Exclude casks from updates entirely (formulae/npm still run)
SKIP_CASK=false
# Seconds to allow `npm outdated -g` before giving up (an unreachable private
# registry can hang it). Needs coreutils `timeout`/`gtimeout`; ignored if absent.
NPM_OUTDATED_TIMEOUT=20
# Delete pkgup run logs older than this many days on every update run.
LOG_RETENTION_DAYS=30
# Extra PATH entries for scheduled (launchd/cron) runs (e.g. nvm/fnm node path)
# EXTRA_PATH="$HOME/.nvm/versions/node/v22.0.0/bin"
# ── launchd schedule (pkgup schedule install) ──
# Run weekday/time. Weekday: 0 or 7 = Sunday.
# SCHEDULE_WEEKDAY= → run DAILY at HOUR:MINUTE
# SCHEDULE_WEEKDAY=0 → run weekly (Sunday)
# SCHEDULE_WEEKDAY="1 2 3 4 5" → run on those weekdays only (Mon–Fri)
# SCHEDULE_WEEKDAY=0
# SCHEDULE_HOUR=10
# SCHEDULE_MINUTE=0
# LaunchAgent label (default com.user.pkgup)
# PKGUP_LABEL="com.user.pkgup"