Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-payload-app

Package Overview
Dependencies
Maintainers
1
Versions
462
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-payload-app - npm Package Compare versions

Comparing version 0.1.15 to 0.1.16

2

package.json

@@ -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 };
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