mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
fix: use npx degit for template cloning
This commit is contained in:
@@ -14,7 +14,7 @@ export async function createProject(options: ProjectOptions) {
|
|||||||
spinner.succeed();
|
spinner.succeed();
|
||||||
|
|
||||||
spinner.start("Cloning template repository...");
|
spinner.start("Cloning template repository...");
|
||||||
await execa("git", [
|
await execa("npx", [
|
||||||
"degit",
|
"degit",
|
||||||
"https://github.com/AmanVarshney01/Better-T-Stack.git",
|
"https://github.com/AmanVarshney01/Better-T-Stack.git",
|
||||||
projectDir,
|
projectDir,
|
||||||
|
|||||||
Reference in New Issue
Block a user