Update an existing Vibes app to the latest plugin version without regenerating code
Safely update Vibes apps to latest plugin versions. Use when import maps need upgrading, components are outdated, or patterns are missing. Dry-run by default with backups and rollback support.
/plugin marketplace add popmechanic/vibes-cli/plugin install vibes@vibes-cliDeterministically update a Vibes app's infrastructure (import maps, library versions, components) while preserving your custom code.
Use this command when you have:
?external= parameters# Analyze an app (dry-run, no changes made)
node "${CLAUDE_PLUGIN_ROOT}/scripts/update.js" path/to/app.html
# Apply all recommended updates
node "${CLAUDE_PLUGIN_ROOT}/scripts/update.js" path/to/app.html --apply
# Apply specific updates by number
node "${CLAUDE_PLUGIN_ROOT}/scripts/update.js" path/to/app.html --apply=1,2
# Batch analyze a directory
node "${CLAUDE_PLUGIN_ROOT}/scripts/update.js" ./apps/
# Restore from backup
node "${CLAUDE_PLUGIN_ROOT}/scripts/update.js" --rollback path/to/app.html
# Show detailed diffs
node "${CLAUDE_PLUGIN_ROOT}/scripts/update.js" path/to/app.html --verbose
?deps= → ?external=)?external= parameters--apply.bak.html before any modification--rollback to restore from backupvibes update analysis for: my-app.html
Current state:
Template: vibes-basic
use-vibes: 0.18.9
Era: 0.18.x Stable
Available updates:
[1] Update import map
Update library versions to latest stable
• useVibes: 0.18.9 → 0.19.4
[Recommended]
[2] Update VibesSwitch component
Update to latest VibesSwitch with improved animations
[Optional]
Run with --apply to execute all updates
Run with --apply=1,2 to execute specific updates
vibes sync first to ensure your plugin cache is up to date--verbose to see exactly what will change before applying/updateCrées la documentation pour la fonctionnalité en cours. Mets à jour le readme global du projet si nécessaire. Lie les documents entre eux pour ne pas avoir de documentation orpheline. La documentation est générée dans les répertoire de documentation du projet.