@capacitor/cli 6.0.0-beta.1 → 6.0.0-dev-20231222T034502.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/android-template.tar.gz +0 -0
- package/assets/capacitor-cordova-android-plugins.tar.gz +0 -0
- package/assets/capacitor-cordova-ios-plugins.tar.gz +0 -0
- package/assets/ios-pods-template.tar.gz +0 -0
- package/assets/ios-spm-template.tar.gz +0 -0
- package/dist/tasks/migrate.js +6 -8
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/tasks/migrate.js
CHANGED
|
@@ -176,9 +176,9 @@ async function migrateCommand(config, noprompt, packagemanager) {
|
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
const pluginVariables = {
|
|
179
|
-
firebaseMessagingVersion: '23.
|
|
179
|
+
firebaseMessagingVersion: '23.3.1',
|
|
180
180
|
playServicesLocationVersion: '21.0.1',
|
|
181
|
-
androidxBrowserVersion: '1.
|
|
181
|
+
androidxBrowserVersion: '1.7.0',
|
|
182
182
|
androidxMaterialVersion: '1.10.0',
|
|
183
183
|
androidxExifInterfaceVersion: '1.3.6',
|
|
184
184
|
androidxCoreKTXVersion: '1.12.0',
|
|
@@ -304,9 +304,10 @@ async function installLatestLibs(dependencyManager, runInstall, config) {
|
|
|
304
304
|
async function writeBreakingChanges() {
|
|
305
305
|
const breaking = [
|
|
306
306
|
'@capacitor/camera',
|
|
307
|
-
'@capacitor/
|
|
307
|
+
'@capacitor/filesystem',
|
|
308
|
+
'@capacitor/geolocation',
|
|
309
|
+
'@capacitor/google-maps',
|
|
308
310
|
'@capacitor/local-notifications',
|
|
309
|
-
'@capacitor/push-notifications',
|
|
310
311
|
];
|
|
311
312
|
const broken = [];
|
|
312
313
|
for (const lib of breaking) {
|
|
@@ -315,7 +316,7 @@ async function writeBreakingChanges() {
|
|
|
315
316
|
}
|
|
316
317
|
}
|
|
317
318
|
if (broken.length > 0) {
|
|
318
|
-
log_1.logger.info(`IMPORTANT: Review https://capacitorjs.com/docs/updating/
|
|
319
|
+
log_1.logger.info(`IMPORTANT: Review https://capacitorjs.com/docs/next/updating/6-0#plugins for breaking changes in these plugins that you use: ${broken.join(', ')}.`);
|
|
319
320
|
}
|
|
320
321
|
}
|
|
321
322
|
async function getAndroidVariablesAndClasspaths(config) {
|
|
@@ -427,9 +428,6 @@ async function movePackageFromManifestToBuildGradle(manifestFilename, buildGradl
|
|
|
427
428
|
(0, utils_fs_1.writeFileSync)(buildGradleFilename, buildGradleReplaced, 'utf-8');
|
|
428
429
|
}
|
|
429
430
|
async function updateBuildGradle(filename, variablesAndClasspaths) {
|
|
430
|
-
// In build.gradle add dependencies:
|
|
431
|
-
// classpath 'com.android.tools.build:gradle:8.2.0-rc02'
|
|
432
|
-
// classpath 'com.google.gms:google-services:4.4.0'
|
|
433
431
|
const txt = readFile(filename);
|
|
434
432
|
if (!txt) {
|
|
435
433
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/cli",
|
|
3
|
-
"version": "6.0.0-
|
|
3
|
+
"version": "6.0.0-dev-20231222T034502.0",
|
|
4
4
|
"description": "Capacitor: Cross-platform apps with JavaScript and the web",
|
|
5
5
|
"homepage": "https://capacitorjs.com",
|
|
6
6
|
"author": "Ionic Team <hi@ionic.io> (https://ionic.io)",
|