mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
add Turso database setup functionality to project creation
This commit is contained in:
@@ -15,16 +15,11 @@ export async function createProject(options: ProjectOptions) {
|
||||
|
||||
spinner.start("Cloning template repository...");
|
||||
await execa("git", [
|
||||
"clone",
|
||||
"--depth",
|
||||
"1",
|
||||
"degit",
|
||||
"https://github.com/AmanVarshney01/Better-T-Stack.git",
|
||||
projectDir,
|
||||
]);
|
||||
spinner.succeed();
|
||||
spinner.start("Removing template .git folder...");
|
||||
await fs.remove(path.join(projectDir, ".git"));
|
||||
spinner.succeed();
|
||||
|
||||
if (options.git) {
|
||||
spinner.start("Initializing git repository...");
|
||||
|
||||
Reference in New Issue
Block a user