fix(home): always converge backpass and acpx to the latest npm release on rebuild #19

Merged
hermes merged 4 commits from fm/dotfiles-backpass-latest into main 2026-11-11 13:15:57 -05:00
4 Commits
Author SHA1 Message Date
Lap Tran 5bf1e05091 no-mistakes(document): correct stale backpass skip reference in comment 2026-11-11 13:08:13 -05:00
Lap Tran 9598499dcf no-mistakes(review): match real backpass and acpx launch paths 2026-11-11 12:49:41 -05:00
Lap Tran 9addc502fa no-mistakes(review): always install latest backpass and acpx on rebuild 2026-11-11 12:39:56 -05:00
Lap Tran d4e8c24b2f fix(home): converge backpass and acpx to the latest npm release on rebuild
Both npm globals were installed only when the binary was missing, so a
rebuild never moved them and the installed copies drifted behind the
registry. Read the installed version and the registry's latest instead,
and install only when they differ.

The running-process guard skips a package while one of its own processes
is alive, the registry lookup and the install warn and continue on
failure so the switch never aborts, and one shared function serves both
packages.
2026-11-11 12:29:27 -05:00