mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
2d3ed0cfa7
Previously, getLatestNpmVersion() hardcoded a fetch to registry.npmjs.org, which 404s for packages on alternate registries (private, Verdaccio, GitHub Packages, etc.). The error was silently swallowed, so users never saw update notifications for these packages. Replace the direct fetch with via the existing runCommandCapture helper. This uses the same registry resolution as npm install (reads .npmrc config chain), respects the npmCommand setting, and runs with this.cwd for correct .npmrc lookup.
2d3ed0cfa7
ยท
2026-04-14 20:20:14 +02:00
History