@capacitor/cli
Advanced tools
Comparing version 0.0.106 to 0.0.107
@@ -129,3 +129,2 @@ "use strict"; | ||
initIosConfig() { | ||
console.log('BEFORE IOS CONFIG', this.ios.platformDir, this.ios.nativeProjectName, this.ios.webDir); | ||
this.platforms.push(this.ios.name); | ||
@@ -135,3 +134,2 @@ this.ios.platformDir = path_1.join(this.app.rootDir, this.ios.name); | ||
this.ios.webDirAbs = path_1.join(this.ios.platformDir, this.ios.nativeProjectName, this.ios.webDir); | ||
console.log('IOS WEB DIR', this.ios.webDirAbs); | ||
} | ||
@@ -138,0 +136,0 @@ initWindowsConfig() { |
@@ -137,3 +137,3 @@ "use strict"; | ||
async function generateCordovaPodspec(cordovaPlugins, config) { | ||
const pluginsPath = path_1.resolve('node_modules', '@capacitor/cli', 'assets', 'capacitor-cordova-ios-plugins'); | ||
const pluginsPath = path_1.resolve(config.app.rootDir, 'node_modules', '@capacitor/cli', 'assets', 'capacitor-cordova-ios-plugins'); | ||
let frameworksString = ''; | ||
@@ -200,3 +200,3 @@ let weakFrameworks = []; | ||
function copyPluginsNativeFiles(config, cordovaPlugins) { | ||
const pluginsPath = path_1.resolve('node_modules', '@capacitor/cli', 'assets', 'capacitor-cordova-ios-plugins'); | ||
const pluginsPath = path_1.resolve(config.app.rootDir, 'node_modules', '@capacitor/cli', 'assets', 'capacitor-cordova-ios-plugins'); | ||
cordovaPlugins.map(p => { | ||
@@ -218,5 +218,5 @@ const sourceFiles = plugin_1.getPlatformElement(p, platform, 'source-file'); | ||
function removePluginsNativeFiles(config) { | ||
const pluginsPath = path_1.resolve('node_modules', '@capacitor/cli', 'assets', 'capacitor-cordova-ios-plugins'); | ||
const pluginsPath = path_1.resolve(config.app.rootDir, 'node_modules', '@capacitor/cli', 'assets', 'capacitor-cordova-ios-plugins'); | ||
fs_1.removeSync(path_1.join(pluginsPath, 'sources')); | ||
fs_1.removeSync(path_1.join(pluginsPath, 'resources')); | ||
} |
@@ -103,2 +103,5 @@ "use strict"; | ||
common_1.log(chalk_1.default `${emoji_1.emoji('✅ ', '')}Your app is ready!`); | ||
common_1.log(`\nNext steps:`); | ||
common_1.log(`cd ./${path_1.basename(config.app.rootDir)}`); | ||
common_1.log(`Read more about the Capacitor workflow: https://capacitor.ionicframework.com/docs/basics/workflow`); | ||
} |
{ | ||
"name": "@capacitor/cli", | ||
"version": "0.0.106", | ||
"version": "0.0.107", | ||
"description": "Capacitor: Cross-platform apps with JavaScript and the web", | ||
@@ -5,0 +5,0 @@ "homepage": "https://capacitor.ionicframework.com/", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1518751
2835