fix types

This commit is contained in:
Aman Varshney
2025-02-11 11:24:29 +05:30
parent 23f9b0adb7
commit e02ee56d74
3 changed files with 16 additions and 18 deletions

View File

@@ -2,15 +2,7 @@ import { execa } from "execa";
import fs from "fs-extra";
import ora from "ora";
import path from "node:path";
interface ProjectOptions {
projectName: string;
typescript: boolean;
git: boolean;
database: "libsql" | "postgres";
auth: boolean;
features: string[];
}
import type { ProjectOptions } from "./types";
export async function createProject(options: ProjectOptions) {
const spinner = ora("Creating project directory...").start();