Socket
Socket
Sign inDemoInstall

@capacitor/create-app

Package Overview
Dependencies
Maintainers
8
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capacitor/create-app - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

dist/config.js

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

const writeFile = util_1.default.promisify(fs_1.default.writeFile);
exports.createConfigFile = async ({ name: appName, dir, 'package-id': appId, }) => {
exports.createConfigFile = async ({ name: appName, dir, 'app-id': appId, }) => {
const config = {

@@ -11,0 +11,0 @@ appId,

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

--name <name> ............. Human-friendly app name
--package-id <id> ......... Unique app ID in reverse-DNS notation
--app-id <id> ............. Unique app ID in reverse-DNS notation

@@ -12,0 +12,0 @@ -h, --help ................ Print help, then quit

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

exports.CLI_ARGS = ['dir'];
exports.CLI_OPTIONS = ['name', 'package-id'];
exports.CLI_OPTIONS = ['name', 'app-id'];
exports.VALIDATORS = {

@@ -14,4 +14,4 @@ name: value => typeof value !== 'string' || value.trim().length === 0

: true,
'package-id': value => typeof value !== 'string' || value.trim().length === 0
? 'Must provide a Package ID, e.g. "com.example.app"'
'app-id': value => typeof value !== 'string' || value.trim().length === 0
? 'Must provide an App ID, e.g. "com.example.app"'
: /[A-Z]/.test(value)

@@ -18,0 +18,0 @@ ? 'Must be lowercase'

@@ -29,9 +29,9 @@ "use strict";

type: 'text',
name: 'package-id',
message: `What should be the Package ID for your app?\n\n` +
`${kleur_1.default.reset(` Package IDs (aka Bundle ID in iOS and Application ID in Android) are unique\n` +
name: 'app-id',
message: `What should be the App ID for your app?\n\n` +
`${kleur_1.default.reset(` App IDs (aka Bundle ID in iOS and Application ID in Android) are unique\n` +
` identifiers for apps. They must be in reverse domain name notation, generally\n` +
` representing a domain name that you or your company owns.\n`)}\n`,
initial: 'com.example.app',
validate: options_1.VALIDATORS['package-id'],
validate: options_1.VALIDATORS['app-id'],
format: value => value.trim(),

@@ -38,0 +38,0 @@ },

{
"name": "@capacitor/create-app",
"version": "0.1.0",
"version": "0.1.1",
"description": "Create a new Capacitor project",

@@ -5,0 +5,0 @@ "author": "Ionic Team <hi@ionicframework.com>",

@@ -27,3 +27,3 @@ # Create Capacitor App

--name <name> ............. Human-friendly app name
--package-id <id> ......... Unique app ID in reverse-DNS notation
--app-id <id> ............. Unique app ID in reverse-DNS notation
```
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