@capacitor/cli 9.0.0-alpha.0 → 9.0.0-alpha.2
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/ipc.js +3 -3
- package/dist/util/cordova-ios.js +1 -1
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/ipc.js
CHANGED
|
@@ -36,16 +36,16 @@ async function receive(msg) {
|
|
|
36
36
|
const { data } = msg;
|
|
37
37
|
// This request is only made if telemetry is on.
|
|
38
38
|
const req = (0, https_1.request)({
|
|
39
|
-
hostname: '
|
|
39
|
+
hostname: 'metrics-capacitor.outsystems.com',
|
|
40
40
|
port: 443,
|
|
41
|
-
path: '/
|
|
41
|
+
path: '/metrics',
|
|
42
42
|
method: 'POST',
|
|
43
43
|
headers: {
|
|
44
44
|
'Content-Type': 'application/json',
|
|
45
45
|
},
|
|
46
46
|
}, (response) => {
|
|
47
47
|
debug('Sent %O metric to events service (status: %O)', data.name, response.statusCode);
|
|
48
|
-
if (response.statusCode !==
|
|
48
|
+
if (response.statusCode !== 202) {
|
|
49
49
|
response.on('data', (chunk) => {
|
|
50
50
|
debug('Bad response from events service. Request body: %O', chunk.toString());
|
|
51
51
|
});
|
package/dist/util/cordova-ios.js
CHANGED
|
@@ -165,7 +165,7 @@ async function copyPluginsNativeFiles(config, cordovaPlugins) {
|
|
|
165
165
|
const isSPM = (await config.ios.packageManager) === 'SPM';
|
|
166
166
|
for (const p of cordovaPlugins) {
|
|
167
167
|
const platformTag = (0, plugin_1.getPluginPlatform)(p, platform);
|
|
168
|
-
if ((_a = platformTag.$) === null || _a === void 0 ? void 0 : _a.package) {
|
|
168
|
+
if (isSPM && ((_a = platformTag.$) === null || _a === void 0 ? void 0 : _a.package)) {
|
|
169
169
|
continue;
|
|
170
170
|
}
|
|
171
171
|
const sourceFiles = (0, plugin_1.getPlatformElement)(p, platform, 'source-file');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/cli",
|
|
3
|
-
"version": "9.0.0-alpha.
|
|
3
|
+
"version": "9.0.0-alpha.2",
|
|
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)",
|