create-payload-app
Advanced tools
Comparing version 0.1.15 to 0.1.16
@@ -25,3 +25,3 @@ { | ||
}, | ||
"version": "0.1.15" | ||
"version": "0.1.16" | ||
} |
@@ -11,9 +11,14 @@ # Create Payload App | ||
$ yarn create payload-app --name my-payload-app | ||
$ npx create-payload-app --name my-payload-app | ||
$ npx create-payload-app | ||
OPTIONS | ||
--template template-name Choose specific template | ||
--help Shows this help message | ||
``` | ||
--name my-payload-app Set project name | ||
--template template_name Choose specific template | ||
Available templates: js-blog, js-todo, ts-blog, ts-todo | ||
--use-npm Use npm to install dependencies | ||
--no-deps Do not install any dependencies | ||
--help Show help | ||
``` |
@@ -44,3 +44,3 @@ const path = require('path'); | ||
const { stdout } = await execa('npm info payload version', [], { shell: true }); | ||
return stdout; | ||
return `^${stdout}`; | ||
} catch (error) { | ||
@@ -47,0 +47,0 @@ result = error; |
@@ -16,2 +16,7 @@ const prompts = require('prompts'); | ||
if (args._[0]) { | ||
PROJECT_NAME = args._[0]; | ||
return PROJECT_NAME; | ||
} | ||
const response = await prompts( | ||
@@ -35,2 +40,2 @@ { | ||
module.exports = { getProjectName }; | ||
module.exports = { getProjectName }; |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
33473
978
24
1