You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(cli): add npm registry support for vibe installation
MAJOR FEATURE: Users can now install vibes directly from npm!
Before:
- ❌ Only GitHub URLs worked
- ❌ vdt install @vibe-devtools/basic → error
After:
- ✅ npm packages work: vdt install @vibe-devtools/basic
- ✅ Version pinning: vdt install @vibe-devtools/basic@1.0.1
- ✅ npx workflow: npx vibe-devtools install @vibe-devtools/basic
- ✅ Zero installation needed with npx
Implementation:
- Add npm-installer.ts (npm pack + tar extraction)
- Parse npm package names correctly (@scope/pkg@version)
- Validate vibe.json in extracted package
- Cache management in ~/.vibes/cache/npm
- Error handling for invalid packages
Documentation:
- Update CLI README with npx examples
- Update monorepo README with both methods
- Add comparison: global vs npx
- Show quickstart for both approaches
Impact:
- 🚀 Much better UX - official packages via npm
- ⚡ Faster onboarding with npx
- 📦 Consistent with npm ecosystem
- 🎯 Always get latest with npx
This unlocks the full potential of the vibe-devtools ecosystem!
0 commit comments