Skip to content

feat: add version check and update option#14

Merged
robertjbass merged 1 commit intomainfrom
dev
Jan 25, 2026
Merged

feat: add version check and update option#14
robertjbass merged 1 commit intomainfrom
dev

Conversation

@robertjbass
Copy link
Copy Markdown
Owner

Summary

  • Replace all interface with type per codebase conventions
  • Add smart install/update detection with package manager support

Changes

  • Detect installed version vs latest npm version
  • Show "Update lpgp (0.4.1 → 0.4.2)" when outdated
  • Show "Install lpgp globally" when not installed
  • Detect user's package manager (pnpm > yarn > npm) and use accordingly

User Experience

Not installed:

+ Install lpgp globally (for offline use)

Outdated version:

+ Update lpgp (0.4.1 → 0.4.2)

Up to date: No install/update option shown

- Replace interface with type throughout codebase
- Detect installed version vs latest npm version
- Show "Update" option when outdated (with version numbers)
- Detect package manager (pnpm/yarn/npm) and use accordingly
- Show "Install" option when not installed globally
@robertjbass robertjbass merged commit cc2e788 into main Jan 25, 2026
1 of 2 checks passed
@vercel
Copy link
Copy Markdown

vercel bot commented Jan 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
pgp Error Error Jan 25, 2026 10:08pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant