fix: use npx degit for template cloning

This commit is contained in:
Aman Varshney
2025-02-12 12:17:56 +05:30
parent 2ef648ecf8
commit 78340fca07

View File

@@ -14,7 +14,7 @@ export async function createProject(options: ProjectOptions) {
spinner.succeed();
spinner.start("Cloning template repository...");
await execa("git", [
await execa("npx", [
"degit",
"https://github.com/AmanVarshney01/Better-T-Stack.git",
projectDir,