@rosswilson23/create-boilerplate
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -0,1 +1,3 @@ | ||
#!/usr/bin/env node | ||
const { execSync } = require('child_process'); | ||
@@ -7,3 +9,3 @@ const fs = require('fs'); | ||
if (!appName) { | ||
console.error('You must provide a valid for your application.'); | ||
console.error('You must provide a valid name for your application.'); | ||
process.exit(1); | ||
@@ -13,3 +15,3 @@ } | ||
if (fs.existsSync(appName)) { | ||
console.error(`The name ${appName} already exists in your current directory. Please choose another.`); | ||
console.error(`The name "${appName}" already exists in your current directory. Please choose another.`); | ||
process.exit(1); | ||
@@ -27,3 +29,4 @@ } | ||
console.log('Installing dependencies...'); | ||
execSync(`cd ${appName} && npm i`); | ||
execSync(`cd ${appName}`); | ||
execSync('npm i', { stdio: 'inherit' }); | ||
@@ -30,0 +33,0 @@ console.log('Opening in VSCode...') |
{ | ||
"name": "@rosswilson23/create-boilerplate", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Starter project generator", | ||
@@ -9,3 +9,5 @@ "main": "index.js", | ||
}, | ||
"bin": "./bin/create.js", | ||
"bin": { | ||
"create-boilerplate": "bin/create.js" | ||
}, | ||
"repository": { | ||
@@ -12,0 +14,0 @@ "type": "git", |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
1914
3
29
1
10