@capacitor-plus/cli 8.3.7 → 8.3.9
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/android/update.js +3 -2
- package/dist/plugin.js +3 -2
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/android/update.js
CHANGED
|
@@ -28,6 +28,7 @@ async function updateAndroid(config) {
|
|
|
28
28
|
if (cordovaPlugins.length > 0) {
|
|
29
29
|
await copyPluginsNativeFiles(config, cordovaPlugins);
|
|
30
30
|
}
|
|
31
|
+
await copyPluginsNativeFiles(config, capacitorPlugins);
|
|
31
32
|
if (!(await (0, fs_extra_1.pathExists)(config.android.webDirAbs))) {
|
|
32
33
|
await (0, copy_1.copy)(config, platform);
|
|
33
34
|
}
|
|
@@ -97,8 +98,8 @@ async function installGradlePlugins(config, capacitorPlugins, cordovaPlugins) {
|
|
|
97
98
|
capacitorAndroidPackagePath = (0, node_1.resolveNode)(config.app.rootDir, '@capacitor/android', 'package.json');
|
|
98
99
|
}
|
|
99
100
|
if (!capacitorAndroidPackagePath) {
|
|
100
|
-
(0, errors_1.fatal)(`Unable to find ${colors_1.default.strong('node_modules/@capacitor
|
|
101
|
-
`Are you sure ${colors_1.default.strong('@capacitor
|
|
101
|
+
(0, errors_1.fatal)(`Unable to find ${colors_1.default.strong('node_modules/@capacitor/android')}.\n` +
|
|
102
|
+
`Are you sure ${colors_1.default.strong('@capacitor/android')} is installed?`);
|
|
102
103
|
}
|
|
103
104
|
const capacitorAndroidPath = (0, path_1.resolve)((0, path_1.dirname)(capacitorAndroidPackagePath), 'capacitor');
|
|
104
105
|
const settingsPath = config.android.platformDirAbs;
|
package/dist/plugin.js
CHANGED
|
@@ -38,6 +38,8 @@ async function resolvePlugin(config, name) {
|
|
|
38
38
|
if (!meta) {
|
|
39
39
|
return null;
|
|
40
40
|
}
|
|
41
|
+
const pluginXMLPath = (0, path_1.join)(rootPath, 'plugin.xml');
|
|
42
|
+
const xmlMeta = await (0, xml_1.readXML)(pluginXMLPath);
|
|
41
43
|
if (meta.capacitor) {
|
|
42
44
|
return {
|
|
43
45
|
id: name,
|
|
@@ -46,10 +48,9 @@ async function resolvePlugin(config, name) {
|
|
|
46
48
|
rootPath,
|
|
47
49
|
repository: meta.repository,
|
|
48
50
|
manifest: meta.capacitor,
|
|
51
|
+
xml: xmlMeta ? xmlMeta.plugin : undefined,
|
|
49
52
|
};
|
|
50
53
|
}
|
|
51
|
-
const pluginXMLPath = (0, path_1.join)(rootPath, 'plugin.xml');
|
|
52
|
-
const xmlMeta = await (0, xml_1.readXML)(pluginXMLPath);
|
|
53
54
|
return {
|
|
54
55
|
id: name,
|
|
55
56
|
name: fixName(name),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor-plus/cli",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.9",
|
|
4
4
|
"description": "Capacitor+: Enhanced Capacitor with automated upstream sync - Cross-platform apps with JavaScript and the web",
|
|
5
5
|
"homepage": "https://capgo.app/docs/plugins/capacitor-plus/",
|
|
6
6
|
"author": "Capgo Team <support@capgo.app> (https://capgo.app)",
|