create-prpl
Advanced tools
Comparing version 0.0.12 to 0.0.13
31
index.js
@@ -8,3 +8,3 @@ #!/usr/bin/env node | ||
const starter = 'https://github.com/tyhopp/prpl-starter-minimal.git'; | ||
const repoPath = path.resolve(__dirname, 'prpl-starter-minimal'); | ||
const repoPath = path.resolve('prpl-starter-minimal'); | ||
@@ -17,20 +17,15 @@ // Clone basic starter | ||
console.log('Created in ', path.resolve('')); | ||
// Remove remote from starter | ||
fs.rmdirSync(path.resolve(repoPath, '.git'), { recursive }); | ||
// // Remove remote from starter | ||
// execSync(`git remote remove origin`, { | ||
// stdio: [0, 1, 2], | ||
// cwd: repoPath | ||
// }); | ||
// Install dependency | ||
execSync('npm i', { | ||
stdio: [0, 1, 2], | ||
cwd: repoPath | ||
}); | ||
// // Install dependency | ||
// execSync('npm i', { | ||
// stdio: [0, 1, 2], | ||
// cwd: repoPath | ||
// }); | ||
// // Run project | ||
// execSync('npm run start', { | ||
// stdio: [0, 1, 2], | ||
// cwd: repoPath | ||
// }); | ||
// Run project | ||
execSync('npm run start', { | ||
stdio: [0, 1, 2], | ||
cwd: repoPath | ||
}); |
{ | ||
"name": "create-prpl", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "Initializer for prpl projects", | ||
@@ -5,0 +5,0 @@ "author": "Ty Hopp (https://tyhopp.com)", |
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
2227
23