create-l3-app
Advanced tools
Comparing version 1.0.2 to 1.0.3
13
bin.js
@@ -37,12 +37,4 @@ #!/usr/bin/env Node | ||
return new Promise(resolve => { | ||
const process = spawn('bun', ['create', 'lukeb06/create-l3-app', projectName]); | ||
const process = spawn('git', ['clone', 'https://github.com/lukeb06/create-l3-app', `./${projectName}`, '--depth', '1']); | ||
process.stdout.on('data', data => { | ||
console.log(data.toString()); | ||
}); | ||
process.stderr.on('data', data => { | ||
console.log(data.toString()); | ||
}); | ||
process.on('close', code => { | ||
@@ -59,3 +51,6 @@ resolve(code); | ||
console.log('Creating project...'); | ||
await createProject(projectName); | ||
console.log('Project created!'); | ||
} | ||
@@ -62,0 +57,0 @@ |
{ | ||
"name": "create-l3-app", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"bin": { | ||
@@ -5,0 +5,0 @@ "create-l3-app": "bin.js" |
1369
45