refactor: flatten project structure for npm publishing#10
Merged
robertjbass merged 7 commits intomainfrom Jan 25, 2026
Merged
Conversation
- Add config.ts for cross-platform config directory handling - Update db.ts to use ~/.lpgp/data.db instead of project-local storage - Add migration from legacy location to new location
- Add keychain.ts for storing passphrases in system keychain (macOS Keychain, Windows Credential Manager, Linux libsecret) - Add prompts.ts with global escape key handling for menu navigation - Add cross-keychain dependency
- Add ui.ts with color palette, icons, and helper functions - Define semantic colors (primary, success, warning, error, muted) - Add colored icons for actions, navigation, and status - Add banner, section header, and divider helpers - Add standardized menu choice helpers (mainMenuChoice, backChoice, etc.)
- Update all menus with colored icons and consistent casing - Add separators before and after navigation items on scrollable menus - Integrate escape key handling for menu navigation - Add keychain passphrase storage prompts in decrypt flow - Reorder recipient selection (Someone else, Multiple, Myself) - Use centralized UI helpers for all status messages and prompts
- Rename from @pgp/cli to lpgp - Update bin command from pgp to lpgp - Set version to 0.2.0 - Add author, license, files, and keywords fields - Move @types/inquirer to devDependencies
- Move CLI source from packages/cli/src to root src/ - Remove monorepo structure (packages/, pnpm-workspace.yaml) - Remove Vercel API package - Add GitHub Actions for version check and auto-publish - Update documentation for flat structure - Configure OIDC trusted publishing for npm
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
src/now at root (waspackages/cli/src/)packages/,pnpm-workspace.yaml,vercel.json.github/workflows/version-check.yml- blocks PR if version not bumped.github/workflows/publish.yml- publishes to npm on merge to mainTest plan
pnpm installsucceedspnpm buildsucceedspnpm devruns the CLI