Comparing version 6.2.0 to 7.0.0-preview
{ | ||
"name": "forceios", | ||
"version": "6.2.0", | ||
"version": "7.0.0-preview", | ||
"description": "Utilities for creating mobile apps based on the Salesforce Mobile SDK for iOS", | ||
@@ -5,0 +5,0 @@ "keywords": [ "mobilesdk", "ios", "salesforce", "mobile", "sdk" ], |
@@ -37,3 +37,3 @@ # Salesforce Mobile SDK for iOS Package | ||
forceios create | ||
--apptype=application type (native, native_swift) | ||
[--apptype=application type (native_swift or native, leave empty for native_swift)] | ||
--appname=application name | ||
@@ -75,6 +75,6 @@ --packagename=app package identifier (e.g. com.mycompany.myapp) | ||
**App Type:** The type of application you wish to develop: | ||
**App Type:** \( *Optional* \) The type of application you wish to develop: | ||
- **native\_swift** (default) — A fully native iOS application written in Swift | ||
- **native** — A fully native iOS application written in Objective C | ||
- **native\_swift** — A fully native iOS application written in Swift | ||
@@ -81,0 +81,0 @@ **App Name:** The name of your application |
@@ -146,10 +146,12 @@ /* | ||
logInfo(cliName, COLOR.magenta); | ||
logInfo('\nWe also offer:', COLOR.cyan); | ||
for (var otherCliName in SDK.forceclis) { | ||
var otherCli = SDK.forceclis[otherCliName]; | ||
if (otherCli.name != cli.name) { | ||
logInfo('- ' + otherCli.name + ': Tool for building ' + otherCli.purpose + ' using Salesforce Mobile SDK', COLOR.cyan); | ||
if (cli.name !== 'forceios') { | ||
logInfo('\nWe also offer:', COLOR.cyan); | ||
for (var otherCliName in SDK.forceclis) { | ||
var otherCli = SDK.forceclis[otherCliName]; | ||
if (otherCli.name != cli.name) { | ||
logInfo('- ' + otherCli.name + ': Tool for building ' + otherCli.purpose + ' using Salesforce Mobile SDK', COLOR.cyan); | ||
} | ||
} | ||
logInfo('\n'); | ||
} | ||
logInfo('\n'); | ||
} | ||
@@ -156,0 +158,0 @@ |
@@ -31,3 +31,3 @@ /* | ||
var VERSION = '6.2.0'; | ||
var VERSION = '7.0.0-preview'; | ||
@@ -45,3 +45,3 @@ module.exports = { | ||
minVersion: '6.9', | ||
maxVersion: '8.11', | ||
maxVersion: '8.12', | ||
}, | ||
@@ -59,5 +59,5 @@ npm: { | ||
checkCmd: 'cordova -v', | ||
//pluginRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin#dev', // dev | ||
pluginRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin#dev', // dev | ||
minVersion: '8.0.0', | ||
pluginRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin#v' + VERSION, // GA | ||
//pluginRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin#v' + VERSION, // GA | ||
platformVersion: { | ||
@@ -75,4 +75,4 @@ ios: '4.5.4', | ||
//templatesRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-Templates#dev', // dev | ||
templatesRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-Templates#v' + VERSION, // GA | ||
templatesRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-Templates#dev70preview', // dev | ||
//templatesRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-Templates#v' + VERSION, // GA | ||
@@ -87,3 +87,3 @@ forceclis: { | ||
toolNames: ['git', 'node', 'npm', 'pod'], | ||
appTypes: ['native', 'native_swift'], | ||
appTypes: ['native_swift', 'native'], | ||
appTypesToPath: { | ||
@@ -102,3 +102,3 @@ 'native': 'iOSNativeTemplate', | ||
toolNames: ['git', 'node', 'npm'], | ||
appTypes: ['native', 'native_kotlin'], | ||
appTypes: ['native_kotlin', 'native'], | ||
appTypesToPath: { | ||
@@ -152,7 +152,8 @@ 'native': 'AndroidNativeTemplate', | ||
'char':'t', | ||
description: cli => 'application type (' + cli.appTypes.join(', ') + ')', | ||
description: cli => 'application type (' + cli.appTypes.join(' or ') + ', leave empty for ' + cli.appTypes[0] + ')', | ||
longDescription: cli => 'You can choose one of the following types of applications: ' + cli.appTypes.join(', ') + '.', | ||
prompt: cli => 'Enter your application type (' + cli.appTypes.join(', ') + '):', | ||
prompt: cli => 'Enter your application type (' + cli.appTypes.join(' or ') + ', leave empty for ' + cli.appTypes[0] + '):', | ||
error: cli => val => 'App type must be ' + cli.appTypes.join(' or ') + '.', | ||
validate: cli => val => cli.appTypes.indexOf(val) >=0 | ||
validate: cli => val => val === undefined || val === '' || cli.appTypes.indexOf(val) >=0, | ||
required: false | ||
}, | ||
@@ -175,3 +176,3 @@ templateRepoUri: { | ||
error: cli => val => 'Invalid value for application name: \'' + val + '\'.', | ||
validate: cli => val => /^\S+$/.test(val) | ||
validate: cli => val => (cli.platforms.indexOf('ios') != -1 ? /^[^\s-]+$/ : /^\S+$/).test(val) | ||
}, | ||
@@ -178,0 +179,0 @@ packageName: { |
@@ -196,3 +196,3 @@ /* | ||
// Adding app type | ||
if (forcecli.appTypes.length == 1) { | ||
if (forcecli.appTypes.length == 1 || config.apptype === undefined || config.apptype === '') { | ||
config.apptype = forcecli.appTypes[0]; | ||
@@ -199,0 +199,0 @@ } |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
66310
1387
1
1