-
Notifications
You must be signed in to change notification settings - Fork 2
feat: migrate from cap 7 to cap 8 #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 15 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
248a4b7
feat: migrate from cap 7 to cap 8
ItsChaceD 0a61107
add kotlin 2.2 migration
ItsChaceD de0954e
fix propName deprecations and simplify kotlinOptions replacement
ItsChaceD 33fadb4
change plugin version to 8.0.0
ItsChaceD d83c2ea
update lib versions, package version, and replace compileSdkVersion
ItsChaceD 4334174
update core version to next
ItsChaceD ddb2804
remove compileSdkVersion logic
ItsChaceD a5e9677
update android lib versions
ItsChaceD a4d9370
revert core version to alpha
ItsChaceD ee5c903
add carat back in
ItsChaceD 402c007
optionally set kotlin version
ItsChaceD 7895323
change kotlin start
ItsChaceD cddf24f
update npm dependencies
ItsChaceD c0ea9d0
update to beta
ItsChaceD 8505134
fix kotlin version regex and update npm dependencies in migrate script
ItsChaceD 9bbd468
change to 8.0.0 and cleanup prettier logic
ItsChaceD 592e401
update package.json version
OS-ruimoreiramendes c71a2d5
added missing variables
OS-ruimoreiramendes 79d2753
update missing variables
OS-ruimoreiramendes b6659fa
remove unnecessary properties
OS-ruimoreiramendes 2ab8393
fix updateKotlinOptions to remove whitespace and update JVM version
OS-ruimoreiramendes 5ae21b7
update logger.info message in updateKotlinOptions
OS-ruimoreiramendes 187033b
added new regex to update kotlin_version
OS-ruimoreiramendes c973568
added new regex to update kotlin_version
OS-ruimoreiramendes 8794872
update typescript and types/node
OS-ruimoreiramendes 2aa42c6
change typeScript and types/node update logic
OS-ruimoreiramendes e60e5fb
remove types/node check
OS-ruimoreiramendes 1b6e88f
update @capacitor/docgen version
OS-ruimoreiramendes fd9e010
fix kotlin-stdlib transform and add new tranform for kotlin-gradle-pl…
OS-ruimoreiramendes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| # Migrate Capacitor Plugin | ||
|
|
||
| Migrate a Capacitor 6 plugin to Capacitor 7. | ||
| Migrate a Capacitor 7 plugin to Capacitor 8. | ||
|
|
||
| ## Usage | ||
|
|
||
| ``` | ||
| npx @capacitor/plugin-migration-v6-to-v7@latest | ||
| npx @capacitor/plugin-migration-v7-to-v8@latest | ||
| ``` |
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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,7 +1,7 @@ | ||||||
| { | ||||||
| "name": "@capacitor/plugin-migration-v6-to-v7", | ||||||
| "version": "0.0.7", | ||||||
| "description": "Utility to help migrate Capacitor 6 plugins to Capacitor 7", | ||||||
| "name": "@capacitor/plugin-migration-v7-to-v8", | ||||||
| "version": "1.0.0-beta.1", | ||||||
|
||||||
| "version": "1.0.0-beta.1", | |
| "version": "0.0.1", |
The package version should be reset to 0.0.1, this is an experimental package and whenever we change the name for the next major version the version should be 0.0.1, we can do breaking changes if needed since it hasn't reached version 1.0.0
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
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.
Uh oh!
There was an error while loading. Please reload this page.