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

create-next-app

Package Overview
Dependencies
Maintainers
2
Versions
2457
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-next-app - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

24

createNextApp.js

@@ -68,2 +68,6 @@ /**

)
.option(
'--example <example>',
'example from https://github.com/zeit/next.js/tree/master/examples/ {example}'
)
.allowUnknownOption()

@@ -128,9 +132,17 @@ .on('--help', () => {

createApp(
projectName,
program.verbose,
program.scriptsVersion,
hiddenProgram.internalTestingTemplate
);
const nextExamplesBaseCommand = `mkdir -p ${projectName} | curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz -C ${projectName} --strip=3 next.js-master/examples/`;
if (program.example) {
console.log(program.example);
const exampleCommand = `${nextExamplesBaseCommand}${program.example}`;
execSync(exampleCommand, { stdio: 'inherit' });
} else {
createApp(
projectName,
program.verbose,
program.scriptsVersion,
hiddenProgram.internalTestingTemplate
);
}
function createApp(name, verbose, version, template) {

@@ -137,0 +149,0 @@ const root = path.resolve(name);

{
"name": "create-next-app",
"version": "0.3.1",
"version": "0.3.2",
"keywords": [

@@ -5,0 +5,0 @@ "next",

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