qcobjects-cli
Advanced tools
Comparing version 0.1.47 to 0.1.48
@@ -156,2 +156,19 @@ /** | ||
let createAppCommandCustom = `echo \ | ||
{ \ | ||
"name": "`+appName.toLowerCase()+`", \ | ||
"repository": { \ | ||
"type": "git", \ | ||
"url": "`+giturl+`" \ | ||
}, \ | ||
"description": "This is a custom NPM template app from ${options.createCustom} generated with QCObjects.", \ | ||
"main": "js/init.js", \ | ||
"license": "LGPL-3.0-or-later", \ | ||
"dependencies": { \ | ||
"${options.createCustom}": "latest", \ | ||
"qcobjects": "latest" \ | ||
} \ | ||
} > package.json`; | ||
let createAppCommandPWA = `echo \ | ||
@@ -222,2 +239,5 @@ { \ | ||
createAppCommand = createAppCommandPHP; | ||
} else if (options.createCustom){ | ||
appTemplateName = options.createCustom; | ||
createAppCommand = createAppCommandCustom; | ||
} else { | ||
@@ -268,2 +288,3 @@ appTemplateName = 'qcobjectsnewapp'; | ||
.option('--php, --create-php', 'Creates the PWA PHP assets') | ||
.option('--custom, --create-custom <templateappname>', 'Creates an App from any NPM package template') | ||
.option('--tests, --create-tests', 'Creates the test suite') | ||
@@ -278,2 +299,3 @@ .action(function(args, options){ | ||
.option('--php, --create-php', 'Creates the PWA PHP assets') | ||
.option('--custom, --create-custom', 'Creates an App from any NPM package template') | ||
.option('--tests, --create-tests', 'Publishes the test suite') | ||
@@ -280,0 +302,0 @@ .action(function(args, options){ |
{ | ||
"name": "qcobjects-cli", | ||
"version": "0.1.47", | ||
"version": "0.1.48", | ||
"description": "qcobjects cli command line tool", | ||
@@ -5,0 +5,0 @@ "main": "qcobjects-cli.js", |
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
95476
2213