capacitor-plugin-upgrade-v5-to-v6
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Capacitor Plugin Upgrade v5 to v6
Move a plugin library to Capacitor 6. Source of truth: https://capacitorjs.com/docs/updating/plugins/6-0
When to Use
- Snapshot shows
@capacitor/core5.x and the plugin must work in Capacitor 6 apps. definitions.tsstill declaresPromise<PluginListenerHandle> & PluginListenerHandle.- The user wants to add SPM support while moving to 6.
Do not use:
- Upgrading an app ->
capacitor-app-upgrade-v5-to-v6. - Plugin on 4.x ->
capacitor-plugin-upgrade-v4-to-v5first; on 6.x ->capacitor-plugin-upgrade-v6-to-v7. Multi-hop ->capacitor-plugin-upgrades. - Full SPM conversion details ->
capacitor-plugin-spm-support.