Skip to content

Commit

Permalink
feat: Capacitor 7 plugin migration support
Browse files Browse the repository at this point in the history
  • Loading branch information
damiant committed Jan 22, 2025
1 parent b7534fb commit c54f8cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
### Version 1.101

- Capacitor 7 migration support
- Capacitor 7 plugin migration support

### Version 1.100

Expand Down
4 changes: 4 additions & 0 deletions src/rules-capacitor-plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ export interface CapacitorPluginMigrationOptions {
}

export function checkCapacitorPluginMigration(project: Project) {
suggestCapacitorPluginMigration('6.0.0', '7.0.0', TipType.Capacitor, project, {
changesLink: 'https://capacitorjs.com/docs/updating/plugins/7-0',
migrateCommand: '@capacitor/plugin-migration-v6-to-v7@latest',
});
suggestCapacitorPluginMigration('5.0.0', '6.0.0', TipType.Capacitor, project, {
changesLink: 'https://capacitorjs.com/docs/updating/plugins/6-0',
migrateCommand: '@capacitor/plugin-migration-v5-to-v6@latest',
Expand Down

0 comments on commit c54f8cc

Please sign in to comment.