Socket
Socket
Sign inDemoInstall

@capacitor/cli

Package Overview
Dependencies
Maintainers
5
Versions
847
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capacitor/cli - npm Package Compare versions

Comparing version 0.0.112 to 0.0.113

assets/plugin-template/android/.idea/gradle.xml

1

dist/android/update.js

@@ -16,3 +16,2 @@ "use strict";

});
console.log('Android found these plugins: ', plugins);
const capacitorPlugins = plugins.filter(p => plugin_1.getPluginType(p, platform) === 0 /* Code */);

@@ -19,0 +18,0 @@ const cordovaPlugins = plugins.filter(p => plugin_1.getPluginType(p, platform) === 2 /* Cordova */);

@@ -24,2 +24,3 @@ "use strict";

resDir: 'app/src/main/res',
resDirAbs: '',
assets: {

@@ -126,12 +127,12 @@ templateName: 'android-template',

this.platforms.push(this.android.name);
this.android.platformDir = path_1.join(this.app.rootDir, this.android.name);
this.android.assets.templateDir = path_1.join(this.cli.assetsDir, this.android.assets.templateName);
this.android.webDirAbs = path_1.join(this.android.platformDir, this.android.webDir);
this.android.resDir = path_1.join(this.android.platformDir, this.android.resDir);
this.android.platformDir = path_1.resolve(this.app.rootDir, this.android.name);
this.android.assets.templateDir = path_1.resolve(this.cli.assetsDir, this.android.assets.templateName);
this.android.webDirAbs = path_1.resolve(this.android.platformDir, this.android.webDir);
this.android.resDirAbs = path_1.resolve(this.android.platformDir, this.android.resDir);
}
initIosConfig() {
this.platforms.push(this.ios.name);
this.ios.platformDir = path_1.join(this.app.rootDir, this.ios.name);
this.ios.assets.templateDir = path_1.join(this.cli.assetsDir, this.ios.assets.templateName);
this.ios.webDirAbs = path_1.join(this.ios.platformDir, this.ios.nativeProjectName, this.ios.webDir);
this.ios.platformDir = path_1.resolve(this.app.rootDir, this.ios.name);
this.ios.assets.templateDir = path_1.resolve(this.cli.assetsDir, this.ios.assets.templateName);
this.ios.webDirAbs = path_1.resolve(this.ios.platformDir, this.ios.nativeProjectName, this.ios.webDir);
}

@@ -138,0 +139,0 @@ initWindowsConfig() {

@@ -110,3 +110,3 @@ "use strict";

async function autoGenerateConfig(config, cordovaPlugins, platform) {
let xmlDir = path_1.join(config.android.resDir, 'xml');
let xmlDir = path_1.join(config.android.resDirAbs, 'xml');
let target = 'res/xml/config.xml';

@@ -113,0 +113,0 @@ if (platform === 'ios') {

@@ -49,4 +49,7 @@ "use strict";

catch (e) {
common_3.log('Usage: npx @capacitor/cli create appDir appName appId');
common_3.log('Example: npx @capacitor/cli create my-app "My App" "com.example.myapp"');
// String errors are our check errors (most likely)
if (typeof e === 'string') {
common_3.log('Usage: npx @capacitor/cli create appDir appName appId');
common_3.log('Example: npx @capacitor/cli create my-app "My App" "com.example.myapp"');
}
common_3.logFatal(e);

@@ -53,0 +56,0 @@ }

{
"name": "@capacitor/cli",
"version": "0.0.112",
"version": "0.0.113",
"description": "Capacitor: Cross-platform apps with JavaScript and the web",

@@ -5,0 +5,0 @@ "homepage": "https://capacitor.ionicframework.com/",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc