chore: Upgrade capacitor to v6

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2024-07-20 15:41:36 +02:00
parent 2db6bed22f
commit 191358aa39
10 changed files with 3642 additions and 2280 deletions

View File

@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android {
namespace "org.handmadeideas.floccus"
compileSdkVersion rootProject.ext.compileSdkVersion
compileSdk rootProject.ext.compileSdkVersion
defaultConfig {
applicationId "org.handmadeideas.floccus"
minSdkVersion rootProject.ext.minSdkVersion

View File

@ -5,6 +5,9 @@
"npmClient": "npm",
"webDir": "dist",
"loggingBehavior": "production",
"server": {
"androidScheme": "http"
},
"plugins": {
"SplashScreen": {
"launchAutoHide": false,

View File

@ -7,7 +7,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.3.0'
classpath 'com.android.tools.build:gradle:8.5.0'
}
}

View File

@ -1,6 +1,6 @@
#Sat Mar 19 14:08:52 CET 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

View File

@ -1,14 +1,14 @@
ext {
minSdkVersion = 22
compileSdkVersion = 33
targetSdkVersion = 33
androidxActivityVersion = '1.7.0'
compileSdkVersion = 34
targetSdkVersion = 34
androidxActivityVersion = '1.8.0'
androidxAppCompatVersion = '1.6.1'
androidxCoordinatorLayoutVersion = '1.2.0'
androidxCoreVersion = '1.10.0'
androidxFragmentVersion = '1.5.6'
coreSplashScreenVersion = '1.0.0'
androidxWebkitVersion = '1.6.1'
androidxCoreVersion = '1.12.0'
androidxFragmentVersion = '1.6.2'
coreSplashScreenVersion = '1.0.1'
androidxWebkitVersion = '1.9.0'
junitVersion = '4.13.2'
androidxJunitVersion = '1.1.5'
androidxEspressoCoreVersion = '3.5.1'

View File

@ -5,6 +5,9 @@
"npmClient": "npm",
"webDir": "dist",
"loggingBehavior": "production",
"server": {
"androidScheme": "http"
},
"plugins": {
"SplashScreen": {
"launchAutoHide": false,

View File

@ -5,6 +5,9 @@
"npmClient": "npm",
"webDir": "dist",
"loggingBehavior": "production",
"server": {
"androidScheme": "http"
},
"plugins": {
"SplashScreen": {
"launchAutoHide": false,
@ -15,5 +18,17 @@
"enabled": true
}
},
"cordova": {}
"cordova": {},
"packageClassList": [
"OAuth2ClientPlugin",
"AppPlugin",
"DevicePlugin",
"FilesystemPlugin",
"CAPNetworkPlugin",
"PreferencesPlugin",
"SharePlugin",
"SplashScreenPlugin",
"SendIntent",
"CDVPlugin"
]
}

5849
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -23,7 +23,7 @@
"devDependencies": {
"@babel/core": "7.x",
"@babel/preset-env": "7.x",
"@capacitor/cli": "^5.0.0",
"@capacitor/cli": "^6.0.0",
"@mdi/font": "^6.6.96",
"@types/node": "^14.14.37",
"@typescript-eslint/eslint-plugin": "^5.2.0",
@ -60,6 +60,7 @@
"mocha": "^8.2.1",
"node-fetch": "^2.6.1",
"prettier": "^2.2.1",
"process": "^0.11.10",
"sass": "1.x",
"sass-loader": "^12.3.0",
"seedrandom": "^3.0.5",
@ -75,16 +76,16 @@
},
"dependencies": {
"@byteowls/capacitor-oauth2": "5.x",
"@capacitor/android": "^5.0.0",
"@capacitor/app": "^5.0.0",
"@capacitor/core": "^5.0.0",
"@capacitor/device": "^5.0.0",
"@capacitor/filesystem": "^5.0.0",
"@capacitor/ios": "^5.0.0",
"@capacitor/network": "^5.0.0",
"@capacitor/preferences": "^5.0.0",
"@capacitor/share": "^5.0.0",
"@capacitor/splash-screen": "^5.0.0",
"@capacitor/android": "6.x",
"@capacitor/app": "6.x",
"@capacitor/core": "6.x",
"@capacitor/device": "6.x",
"@capacitor/filesystem": "6.x",
"@capacitor/ios": "6.x",
"@capacitor/network": "6.x",
"@capacitor/preferences": "6.x",
"@capacitor/share": "6.x",
"@capacitor/splash-screen": "6.x",
"@isomorphic-git/lightning-fs": "^4.6.0",
"@sentry/vue": "7.x",
"@sentry/webpack-plugin": "2.x",
@ -103,10 +104,9 @@
"js-base64": "^3.7.5",
"lodash": "^4.17.20",
"p-queue": "^5.0.0",
"process": "^0.11.10",
"punycode": "^2.1.1",
"random": "^2.2.0",
"send-intent": "5.x",
"send-intent": "6.x",
"stream-browserify": "^3.0.0",
"throttle-debounce": "^2.3.0",
"vue": "^2.7.0",

View File

@ -88,14 +88,14 @@ module.exports = {
Buffer: ['buffer', 'Buffer'],
}),
new webpack.ProvidePlugin({
process: 'process/browser',
process: 'process/browser.js',
}),
],
resolve: {
extensions: ['.js', '.vue', '.ts', '.json'],
fallback: {
buffer: require.resolve('buffer'),
process: require.resolve('process/browser'),
process: require.resolve('process/browser.js'),
stream: require.resolve('stream-browserify'),
},
},